Skip to content

Commit 719a25b

Browse files
[SYCL] Remove idle assert from releaseCG function (#2766)
Co-authored-by: mdimakov <[email protected]>
1 parent 060a5f6 commit 719a25b

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

sycl/source/detail/scheduler/commands.hpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -509,8 +509,6 @@ class ExecCGCommand : public Command {
509509
// memory in DispatchNativeKernel.
510510
// TODO remove when native kernel support is terminated.
511511
void releaseCG() {
512-
assert(MCommandGroup->getType() == CG::RUN_ON_HOST_INTEL &&
513-
"Only 'native kernel' is allowed to release command group");
514512
MCommandGroup.release();
515513
}
516514

0 commit comments

Comments
 (0)