Skip to content

Commit

Permalink
Cleaning up OpenACC Makefiles
Browse files Browse the repository at this point in the history
  • Loading branch information
bobrobey committed Oct 31, 2023
1 parent c4b89ec commit fc26da3
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion Pragma_Examples/OpenACC/C/reduction/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion Pragma_Examples/OpenACC/C/saxpy/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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))

Expand Down
1 change: 0 additions & 1 deletion Pragma_Examples/OpenACC/C/vecadd/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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))

Expand Down

0 comments on commit fc26da3

Please sign in to comment.