HPC-Testing/matrix multiplication/CUDA/makefile
2025-02-23 14:38:55 +08:00

14 lines
No EOL
199 B
Makefile

NVCC = nvcc
NVCC_FLAGS = -O3 -arch=sm_75
TARGET = matrix_mul
SRC = matrix_mul.cu
CXX = gcc-13
$(TARGET): $(SRC)
$(NVCC) $(NVCC_FLAGS) -ccbin $(CXX) -o $@ $<
.PHONY: clean
clean:
rm -f $(TARGET)