14 lines
No EOL
199 B
Makefile
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)
|