File tree Expand file tree Collapse file tree 2 files changed +0
-4
lines changed Expand file tree Collapse file tree 2 files changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -486,8 +486,6 @@ struct ur_mem_handle_t_ {
486
486
487
487
void setLastEventWritingToMemObj (ur_event_handle_t NewEvent) {
488
488
assert (NewEvent && " Invalid event!" );
489
- // This entry point should only ever be called when using multi device ctx
490
- assert (Context->Devices .size () > 1 );
491
489
urEventRetain (NewEvent);
492
490
if (LastEventWritingToMemObj != nullptr ) {
493
491
urEventRelease (LastEventWritingToMemObj);
Original file line number Diff line number Diff line change @@ -482,8 +482,6 @@ struct ur_mem_handle_t_ {
482
482
483
483
void setLastEventWritingToMemObj (ur_event_handle_t NewEvent) {
484
484
assert (NewEvent && " Invalid event!" );
485
- // This entry point should only ever be called when using multi device ctx
486
- assert (Context->Devices .size () > 1 );
487
485
if (LastEventWritingToMemObj != nullptr ) {
488
486
urEventRelease (LastEventWritingToMemObj);
489
487
}
You can’t perform that action at this time.
0 commit comments