Skip to content

Commit

Permalink
GNUmake: Update Includes in hip.mak
Browse files Browse the repository at this point in the history
Use public prefix.
  • Loading branch information
ax3l committed Sep 14, 2022
1 parent 0a536cc commit 87be058
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Tools/GNUMake/comps/hip.mak
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ ifeq ($(HIP_COMPILER),clang)

# Generic HIP info
ROC_PATH=$(realpath $(dir $(HIP_PATH)))
SYSTEM_INCLUDE_LOCATIONS += $(HIP_PATH)/include
SYSTEM_INCLUDE_LOCATIONS += $(ROC_PATH)/include $(HIP_PATH)/include

# rocRand
SYSTEM_INCLUDE_LOCATIONS += $(ROC_PATH)/include/hiprand $(ROC_PATH)/include/rocrand
Expand All @@ -124,7 +124,6 @@ ifeq ($(HIP_COMPILER),clang)
# rocTracer
CXXFLAGS += -DAMREX_USE_ROCTX
HIPCC_FLAGS += -DAMREX_USE_ROCTX
SYSTEM_INCLUDE_LOCATIONS += $(ROC_PATH)/include/roctracer $(ROC_PATH)/include/rocprofiler
LIBRARY_LOCATIONS += $(ROC_PATH)/lib
LIBRARIES += -lroctracer64 -lroctx64
endif
Expand Down

0 comments on commit 87be058

Please sign in to comment.