We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 888b756 commit 4dd0f41Copy full SHA for 4dd0f41
sycl/source/detail/scheduler/commands.cpp
@@ -3217,6 +3217,7 @@ ur_result_t ExecCGCommand::enqueueImpQueue() {
3217
HostTask->MHostTask->MInteropTask};
3218
3219
ur_bool_t NativeCommandSupport = false;
3220
+ assert(MQueue && "Native command should have an associated queue");
3221
MQueue->getPlugin()->call<UrApiKind::urDeviceGetInfo>(
3222
detail::getSyclObjImpl(MQueue->get_device())->getHandleRef(),
3223
UR_DEVICE_INFO_ENQUEUE_NATIVE_COMMAND_SUPPORT_EXP,
0 commit comments