You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# check for ROCM directory and give user hint how to set it
ifeq ($(ROCM_PATH),)
rocm := $(shell which hipcc | perl -pe 's|/bin/hipcc||')
ifeq ($(rocm),)
rocm := /opt/rocm
endif
$(error Set $$ROCM_PATH, preferably in your environment, e.g., run "export ROCM_PATH=/opt/rocm" in ~/.bashrc, or "setenv ROCM_PATH $(rocm)" in ~/.cshrc)
endif
ifeq ($(wildcard $(ROCM_PATH)),)
$(error $$ROCM_PATH=$(ROCM_PATH) does not exist. Please set $$ROCM_PATH to where ROCM is installed. (normally in /opt/rocm))
$(warning Specified 'BACKEND=hip', but the ROCm platform gave 'nvcc', which means you're using HIP on NVIDIA (this is not recommended; try setting 'BACKEND' to 'cuda'))