-
-
Notifications
You must be signed in to change notification settings - Fork 8
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
Trouble getting diagnostics for CL files. #36
Comments
Update: I did manage to find the most recent Intel OpenCL SDK from a different link here, but it does still need you to sign up for it. However, installing it didn't provide diagnostics and I got the same errors in my log as above |
Hello, @LouChiSoft! The error |
I updated |
That's worked perfectly. Opened the same test folder and all the cl files immediately had diagnostics. Thanks for the quick turn around |
Hi I am trying to set up the extension to provide diagnostics for my CL files. I have the extension installed and the AMD OpenCL runtime as part of my driver. I have checked using the
OpenCL: Info
command and it returns a valid platform. My CL files have autocomplete and syntax highlighting, but doesn't provide any diagnostics for incorrect code. I see in the extension page that it mentions that for offline compilation it needs the Intel OpenCL SDK, is it also required for the diagnostics? If so this seems inconvenient as the link in the extension page take you a site that no longer links to Intel's SDK or System Studio. Instead taking you to their oneAPI site which only mentions SYCL and not OpenCL and also requiring you sign up to download anything. The SDK I have installed was built from the official Khronos repo, is there anyway to use that if offline kernel compilation is needed for the diagnostics?I have tried this on two machines, one using AMDs runtime and the Khronos SDK. And another one using Intel's runtime and an older version of Intel's SDK
Example kernel I used to test diagnostics, there should be an error on line 4 where there is a missing semi-colon
The output from the log
Output from the language server window
The text was updated successfully, but these errors were encountered: