rocm-defs.make 368 B

123456789
  1. # Common definitions for the various Makefiles which set cuda settings
  2. # No rules are defined here so this is safe to include at the beginning of other makefiles
  3. ifeq ($(OS),windows)
  4. HIP_COMPILER:=$(wildcard $(HIP_PATH)/bin/hipcc.bin.exe)
  5. else ifeq ($(OS),linux)
  6. HIP_PATH?=$(shell ls -d /opt/rocm 2>/dev/null)
  7. HIP_COMPILER:=$(wildcard $(HIP_PATH)/bin/hipcc)
  8. endif