Skip to content
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

Wrap cl_ext.h and handle CL_PLATFORM_NOT_FOUND_KHR gracefully. #223

Merged
merged 1 commit into from
Sep 10, 2024

Conversation

maleadt
Copy link
Member

@maleadt maleadt commented Sep 10, 2024

julia> cl.platforms()
┌ Warning: No OpenCL driver JLLs were detected at the time of the first call into OpenCL.jl.
│ Only system drivers will be available.
└ @ OpenCL.cl ~/Julia/pkg/OpenCL/lib/api.jl:80
ERROR: CLError(code=-1001, CL_PLATFORM_NOT_FOUND_KHR)
Stacktrace:
 [1] platforms()
   @ OpenCL.cl ~/Julia/pkg/OpenCL/lib/platform.jl:52
 [2] top-level scope
   @ REPL[3]:1

->

julia> cl.platforms()
OpenCL.cl.Platform[]

Copy link

codecov bot commented Sep 10, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 70.45%. Comparing base (9ccf867) to head (a6fa635).
Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #223   +/-   ##
=======================================
  Coverage   70.45%   70.45%           
=======================================
  Files           3        3           
  Lines         132      132           
=======================================
  Hits           93       93           
  Misses         39       39           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@maleadt maleadt merged commit 3b60b84 into master Sep 10, 2024
5 checks passed
@maleadt maleadt deleted the tb/cl_ext branch September 10, 2024 10:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant