From fc26da39c2ee61faa5f21ecc79c2e54766fb1405 Mon Sep 17 00:00:00 2001 From: Bob Robey Date: Tue, 31 Oct 2023 16:59:42 -0500 Subject: [PATCH] Cleaning up OpenACC Makefiles --- Pragma_Examples/OpenACC/C/reduction/Makefile | 1 - Pragma_Examples/OpenACC/C/saxpy/Makefile | 1 - Pragma_Examples/OpenACC/C/vecadd/Makefile | 1 - 3 files changed, 3 deletions(-) diff --git a/Pragma_Examples/OpenACC/C/reduction/Makefile b/Pragma_Examples/OpenACC/C/reduction/Makefile index 2d0658eb..9f99f50b 100644 --- a/Pragma_Examples/OpenACC/C/reduction/Makefile +++ b/Pragma_Examples/OpenACC/C/reduction/Makefile @@ -5,7 +5,6 @@ all: ${EXEC} ROCM_GPU ?= $(strip $(shell rocminfo |grep -m 1 -E gfx[^0]{1} | sed -e 's/ *Name: *//')) UNAMEP = $(shell uname -p) ROCM_CPUTARGET = $(UNAMEP)-pc-linux-gnu -ROCM_GPUTARGET ?= amdgcn-amd-amdhsa ifeq ($(notdir $(CC)), clang) OPENACC_FLAGS = Clang_does_not_support_OpenACC_for_AMD_GPUs diff --git a/Pragma_Examples/OpenACC/C/saxpy/Makefile b/Pragma_Examples/OpenACC/C/saxpy/Makefile index 86090c0d..7e18212c 100644 --- a/Pragma_Examples/OpenACC/C/saxpy/Makefile +++ b/Pragma_Examples/OpenACC/C/saxpy/Makefile @@ -5,7 +5,6 @@ all: ${EXEC} ROCM_GPU ?= $(strip $(shell rocminfo |grep -m 1 -E gfx[^0]{1} | sed -e 's/ *Name: *//')) UNAMEP = $(shell uname -p) ROCM_CPUTARGET = $(UNAMEP)-pc-linux-gnu -ROCM_GPUTARGET ?= amdgcn-amd-amdhsa CC1=$(notdir $(CC)) diff --git a/Pragma_Examples/OpenACC/C/vecadd/Makefile b/Pragma_Examples/OpenACC/C/vecadd/Makefile index 4ec5a208..2ce9ac13 100644 --- a/Pragma_Examples/OpenACC/C/vecadd/Makefile +++ b/Pragma_Examples/OpenACC/C/vecadd/Makefile @@ -5,7 +5,6 @@ all: ${EXEC} ROCM_GPU ?= $(strip $(shell rocminfo |grep -m 1 -E gfx[^0]{1} | sed -e 's/ *Name: *//')) UNAMEP = $(shell uname -p) ROCM_CPUTARGET = $(UNAMEP)-pc-linux-gnu -ROCM_GPUTARGET ?= amdgcn-amd-amdhsa CC1=$(notdir $(CC))