fixup! It was returning the path instead of the command output

This commit is contained in:
MatheusGASource 2023-12-17 00:47:03 -03:00
parent 3d7628fce6
commit ea98db46fd

View file

@ -442,7 +442,7 @@ ifdef LLAMA_HIPBLAS
ifeq ($(wildcard /opt/rocm),)
ROCM_PATH ?= /usr
GPU_TARGETS ?= $(shell which amdgpu-arch)
GPU_TARGETS ?= $(shell $(shell which amdgpu-arch))
else
ROCM_PATH ?= /opt/rocm
GPU_TARGETS ?= $(shell $(ROCM_PATH)/llvm/bin/amdgpu-arch)