You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
oneAPI 2024.0.0 has changed the interface of make_queue() which is used for interop. New interface now takes isImmCmdList as one of the argument hence chipStar runtime has to have an interface to query the same info.
chipStar can plan to implement get_native similar to SYCL which returns std::variant. Variant will be object of type ze_command_list_handle_t for ICL and ze_command_queue_handle_t otherwise.
For example:
std::variant<ze_command_queue_handle_t, ze_command_list_handle_t> queue_var_handle =
get_nativesycl::backend::level_zero(queue)
The text was updated successfully, but these errors were encountered:
Even when using ICL, we can still return the command queue. We can thus always set isImmCmdList = false which is what we do now and interop seems to work.
Please reopen the issue if there is a legitimate need to use ICL with interop.
oneAPI 2024.0.0 has changed the interface of make_queue() which is used for interop. New interface now takes isImmCmdList as one of the argument hence chipStar runtime has to have an interface to query the same info.
queue make_queue(const context &Context, const device &Device,
pi_native_handle InteropHandle,
bool IsImmCmdList, bool keep_ownership,
const property_list &Properties);
chipStar can plan to implement get_native similar to SYCL which returns std::variant. Variant will be object of type ze_command_list_handle_t for ICL and ze_command_queue_handle_t otherwise.
For example:
std::variant<ze_command_queue_handle_t, ze_command_list_handle_t> queue_var_handle =
get_nativesycl::backend::level_zero(queue)
The text was updated successfully, but these errors were encountered: