# ==========================================
# GPU vs Original confrontation (cuSTC port
# of benchmark/experiments/throuput_all)
# ==========================================
NVCC      = nvcc
ARCH      = sm_75
NVCCFLAGS = -O3 -arch=$(ARCH) -Xcompiler -O3

SRC  = ../../ml_stc_src
DEPS = $(SRC)/stc_cuda.cu $(SRC)/stc_embed_c.cpp $(SRC)/common.cpp

all: confrontation_gpu

confrontation_gpu: confrontation_gpu.cpp $(DEPS)
	$(NVCC) $(NVCCFLAGS) -o $@ $^

clean:
	rm -f confrontation_gpu

.PHONY: all clean
