TEST_SOURCE = *.cu
TARGETBIN := ./hello_cuda.PHONY
CC = /usr/local/cuda/bin/nvcc
$(TARGETBIN):$(TEST_SOURCE)
$(CC) $(TEST_SOURCE) -o $(TARGETBIN)
.PHONY:clean
clean:
-rm -rf $(TARGETBIN)
2023-12-17 19:18:21
TEST_SOURCE = *.cu
TARGETBIN := ./hello_cuda.PHONY
CC = /usr/local/cuda/bin/nvcc
$(TARGETBIN):$(TEST_SOURCE)
$(CC) $(TEST_SOURCE) -o $(TARGETBIN)
.PHONY:clean
clean:
-rm -rf $(TARGETBIN)
下一篇:openmp和TBB的选择