refactor: Organize vendor-specific headers into vendors directory#8746
refactor: Organize vendor-specific headers into vendors directory#8746slaren merged 1 commit intoggml-org:masterfrom
Conversation
Signed-off-by: Xiaodong Ye <xiaodong.ye@mthreads.com>
…org#8746) Signed-off-by: Xiaodong Ye <xiaodong.ye@mthreads.com>
|
Hello, I used the make GGML_MUSA=1 command to compile and got an error: I ccache found, compilation results will be cached. Disable with GGML_NO_CCACHE. /usr/bin/ccache mcc -std=c++11 -O3 -g -x musa -mtgpu --cuda-gpu-arch=mp_22 -arch=native -DGGML_CUDA_DMMV_X=32 -DGGML_CUDA_MMV_Y=1 -DK_QUANTS_PER_ITERATION=2 -DGGML_CUDA_PEER_MAX_BATCH_SIZE=128 -Iggml/include -Iggml/src -Iinclude -Isrc -Icommon -D_XOPEN_SOURCE=600 -D_GNU_SOURCE -DNDEBUG -DGGML_USE_MUSA -DGGML_USE_OPENMP -I/usr/lib/llvm-10/include/openmp -DGGML_USE_LLAMAFILE -DGGML_USE_CUDA -I/usr/local/musa/include -c ggml/src/ggml-cuda/mmvq.cu -o ggml/src/ggml-cuda/mmvq.o What is the reason? |
Which version of MUSA Toolkits are you using? |
好的,已加您微信 |
…org#8746) Signed-off-by: Xiaodong Ye <xiaodong.ye@mthreads.com>
As @slaren suggested in #8383, it is beneficial to organize vendor-specific headers separately. This PR creates a new
vendorsdirectory and addscuda.h,hip.h, andmusa.hfor the three supported vendors.Testing done
make GGML_MUSA=1-> passed