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

oneapi 2024.0 - make_queue native API prototype update #379

Closed
kballeda opened this issue Nov 30, 2023 · 1 comment
Closed

oneapi 2024.0 - make_queue native API prototype update #379

kballeda opened this issue Nov 30, 2023 · 1 comment

Comments

@kballeda
Copy link
Contributor

@maleadt we found that if we set conda to point to latest oneAPI it picks oneAPI 2024.0 release (recently released) and in this version, there is a difference in prototype of L0 queue to sycl_queue conversion native API. We will look into this, opening this issue for tracking.

oneAPI.jl/deps/src/sycl.cpp:54:132: error: too few arguments to function call, expected 6, have 4
   54 |     auto sycl_queue = sycl::ext::oneapi::level_zero::make_queue(context->val, device->val, (pi_native_handle) queue, keep_ownership);
      |                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                                    ^
/home/kali/.julia/scratchspaces/8f75cd03-7ff8-4ecb-9b8f-daf728133b1b/conda/include/sycl/ext/oneapi/backend/level_zero.hpp:27:21: note: 'make_queue' declared here
   27 | __SYCL_EXPORT queue make_queue(const context &Context, const device &Device,
      |                     ^          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   28 |                                pi_native_handle InteropHandle,
      |                                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   29 |                                bool IsImmCmdList, bool keep_ownership,
      |                                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   30 |                                const property_list &Properties);
      |                                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
@kballeda
Copy link
Contributor Author

kballeda commented Feb 20, 2024

#386 - Enables oneAPI 2024.0.0 and provides a fix to this issue.

@maleadt maleadt closed this as completed Feb 27, 2024
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

No branches or pull requests

2 participants