diff --git a/Makefile b/Makefile index a755c30..05a02c3 100644 --- a/Makefile +++ b/Makefile @@ -15,7 +15,7 @@ CUDA_OUTPUT_FILE = -o $@ # -t=0 is short for --threads, 0 = number of CPUs on the machine # include PTX for both SM52 (Maxwell) and SM80 (Ampere, our main optimisation target at the moment) + native SASS for current GPU # this increases compile time by ~5%, but we need >=SM70 PTX for some optimisations, and it allows "cuobjdump --dump-sass" to work -NVCC_FLAGS = -O3 -t=0 --use_fast_math -gencode=arch=compute_52,code=compute_52 -gencode=arch=compute_80,code=compute_80 -arch=native +NVCC_FLAGS = -O3 -t=0 --use_fast_math -gencode=arch=compute_52,code=compute_52 -gencode=arch=compute_80,code=sm_80 NVCC_LDFLAGS = -lcublas -lcublasLt NVCC_INCLUDES = NVCC_LDLIBS =