Fix HIP flag inconsistency & build docs (#10524)
* Fix inconsistency of HIP flags in cmake & make * Fix docs regarding GGML_HIP
This commit is contained in:
parent
249cd93da3
commit
be0e350c8b
2 changed files with 4 additions and 4 deletions
4
Makefile
4
Makefile
|
@ -752,7 +752,7 @@ vulkan-shaders-gen: ggml/src/ggml-vulkan/vulkan-shaders/vulkan-shaders-gen.cpp
|
|||
|
||||
endif # GGML_VULKAN
|
||||
|
||||
ifdef GGML_HIPBLAS
|
||||
ifdef GGML_HIP
|
||||
ifeq ($(wildcard /opt/rocm),)
|
||||
ROCM_PATH ?= /usr
|
||||
AMDGPU_TARGETS ?= $(shell $(shell which amdgpu-arch))
|
||||
|
@ -807,7 +807,7 @@ ggml/src/ggml-cuda/%.o: \
|
|||
ggml/src/ggml-common.h \
|
||||
ggml/src/ggml-cuda/common.cuh
|
||||
$(HIPCC) $(CXXFLAGS) $(HIPFLAGS) -x hip -c -o $@ $<
|
||||
endif # GGML_HIPBLAS
|
||||
endif # GGML_HIP
|
||||
|
||||
ifdef GGML_MUSA
|
||||
ifeq ($(wildcard /opt/musa),)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue