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 75d315c commit 8845263Copy full SHA for 8845263
sycl/source/detail/program_manager/program_manager.cpp
@@ -628,9 +628,7 @@ void ProgramManager::populateSpecConstRegistry() {
628
}
629
for (const auto &Entry : m_DeviceImages) {
630
const std::vector<RTDeviceBinaryImageUPtr> &Imgs = *Entry.second.get();
631
-
632
- if (Imgs.size() == 0)
633
- continue;
+ assert((Imgs.size() > 0) && "no device binary image for a kernel set");
634
OSModuleHandle H = Imgs[0]->getOSModuleHandle();
635
SpecConstMapTy &GlobalIDMap = SpecConstRegistry[H];
636
0 commit comments