From 42c8a8a270d2c804be3f86b22111e346fd7cc349 Mon Sep 17 00:00:00 2001 From: Treece Burgess Date: Mon, 29 Jul 2024 15:55:33 +0000 Subject: [PATCH] Removing conditional check for -arch=native flag. --- src/components/cuda/tests/Makefile | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/components/cuda/tests/Makefile b/src/components/cuda/tests/Makefile index 57da3d948..1b4d4db2a 100644 --- a/src/components/cuda/tests/Makefile +++ b/src/components/cuda/tests/Makefile @@ -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)