Skip to content

Commit

Permalink
Removing conditional check for -arch=native flag.
Browse files Browse the repository at this point in the history
  • Loading branch information
Treece Burgess committed Jul 29, 2024
1 parent bd0b206 commit 6e2357c
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/components/cuda/tests/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,6 @@ TESTS_NOCTX = concurrent_profiling_noCuCtx pthreads_noCuCtx \
simpleMultiGPU_noCuCtx

NVCC = $(PAPI_CUDA_ROOT)/bin/nvcc
NVCC_VERSION := $(shell $(NVCC) --version | grep -oP '(?<=release )\d+\.\d+')
ifeq ($(shell echo "$(NVCC_VERSION) >= 11.6" | bc), 1)
NVCFLAGS := -arch=native
else
NVCFLAGS :=
endif

PAPI_FLAG = -DPAPI # Comment this line for tests to run without PAPI profiling
NVCFLAGS += -g -ccbin='$(CC)' $(PAPI_FLAG)
Expand Down

0 comments on commit 6e2357c

Please sign in to comment.