-
Notifications
You must be signed in to change notification settings - Fork 10.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Question: Use cmake to compile CLBAST on windows #2034
Comments
Hi, This appears to be a pathing and installation error. I don't see that you've installed OpenCL SDK which is required to enable CLBlast. If CLBlast is installed then ensure you change the path in your command. The post shows it's set with, "-DCLBlast_dir=/some/path". Some path needs to be renamed to the actual CLBlast directory on your machine.
|
|
I was able to resolve the mismatch errors by building CLBlast with |
This issue was closed because it has been inactive for 14 days since being marked as stale. |
Prerequisites
Please answer the following questions for yourself before submitting an issue.
Expected Behavior
I want to use the AMD GPU using CLBLAST on windows
cmake CLBlast success
Current Behavior
The following command failed
cmake .. -DLLAMA_CLBLAST=ON -DCLBlast_dir=/some/path
cmake --build . --config Release
Please provide a detailed written description of what
llama.cpp
did, instead.Environment and Context
Physical (or virtual) hardware you are using, e.g. for Linux:
AMD Ryzen™ 7 7735HS
Operating System, e.g. for Linux:
Window 11 Pro X64
SDK version, e.g. for Linux:
cmake version 3.26.4
Failure Information (for bugs)
Cmake failed
Steps to Reproduce
Run
cmake --build . --config Release
result:
many errors, mainly is "fatal error LNK1169: one or more multiply defined symbols found "
Failure Logs
PS C:\Github\llama.cpp\build> cmake .. -DLLAMA_CLBLAST=ON -DCLBlast_dir=/some/path
PS C:\Github\llama.cpp\build> cmake --build . --config Release
The text was updated successfully, but these errors were encountered: