Skip to content

Commit

Permalink
Added some fixes to makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
Jooorgen committed Jun 26, 2023
1 parent cd3ced9 commit 2c15714
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions epochX/cudacpp/ee_mumu.mad/SubProcesses/cudacpp.mk
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,8 @@ endif

#-------------------------------------------------------------------------------

CUDA_COMPILER_PATH := $(shell compiler="`which nvcc`" && while [ -L "$$compiler" ]; do compiler=`readlink "$$compiler"`; done && echo "$$compiler")
HIP_COMPILER_PATH := $(shell compiler="`which hipcc`" && while [ -L "$$compiler" ]; do compiler=`readlink "$$compiler"`; done && echo "$$compiler")
CUDA_COMPILER_PATH := $(shell compiler="`which nvcc 2>/dev/null`" && while [ -L "$$compiler" ]; do compiler=`readlink "$$compiler"`; done && echo "$$compiler")
HIP_COMPILER_PATH := $(shell compiler="`which hipcc 2>/dev/null`" && while [ -L "$$compiler" ]; do compiler=`readlink "$$compiler"`; done && echo "$$compiler")

ifeq ($(findstring nvcc,$(CUDA_COMPILER_PATH)),nvcc)
#=== Configure the CUDA compiler
Expand Down

0 comments on commit 2c15714

Please sign in to comment.