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 a89e577 commit ceea7f8Copy full SHA for ceea7f8
sycl/source/detail/sycl_mem_obj_t.cpp
@@ -92,6 +92,7 @@ void SYCLMemObjT::updateHostMemory() {
92
// record. We may get detached before we do this.
93
if (MRecord) {
94
bool Result = Scheduler::getInstance().removeMemoryObject(this);
95
+ std::ignore = Result; // for no assert build
96
assert(
97
Result &&
98
"removeMemoryObject should not return false in mem object destructor");
0 commit comments