-
Notifications
You must be signed in to change notification settings - Fork 11.7k
Windows CLBlast: kernel compile error #2065
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
Comments
I cannot repo. I am using Windows 11 + VS2020 + vcpkg. It works well. I suggest you add printf before compile opencl kernel to see what is the problem with your kernel code. |
Alright i tried it on another machine (Windows 10 + VS2022 + vcpkg) and i get the same error. How did you setup vcpkg? And how did you install the opencl and clblast packages? I will try to print out the kernels and attach them later. |
Here is the generated |
Please check if #2086 works for you. |
Yup, with #2086 i can compile and infere with clblast support. Good job figuring that out👍 I don't want to sound ungrateful, but the the fix seams a bit hacky 😅 |
Yes, the fix is hacky. I just want to have it instead of revert back the change. The ultimate change will be split out the file out of .cpp file into cl. Not priority for me, maybe someone else. |
Running on Windows using currently latest official release master build from 6Jul2023 : lama-master-dfd9fce-bin-win-clblast-x64.zip :2:14138: error: expected expression Pretty sure nobody can currently successfully run up-to-date CLBlast inference (main.exe) on MS Windows 10 & 11 using official release build I don't have build pipeline setup to use workaround mentioned in this thread and from what I see the fix Merging is blocked |
Appears to be fixed by the linked PR, closing issue |
Expected Behavior
When compiling and running the current main branch, it compiles without problems but when i'm trying to run
main.exe
it throws anggml_opencl: kernel compile error
Current Behavior
error message:
Environment and Context
Physical hardware you are using:
AMD Ryzen 3700X
NVIDIA GeForce RTX 3090
Operating System:
Windows 11
SDK version:
cmake version 3.27.0-rc3
MSVC 19.35.32217.1
clblast 1.5.2
opencl 2.2
Steps to Reproduce
CMAKE Log
Build Log
The text was updated successfully, but these errors were encountered: