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 fca0f5c commit 7f58893Copy full SHA for 7f58893
sycl/source/detail/program_manager/program_manager.cpp
@@ -1287,10 +1287,6 @@ void ProgramManager::addImages(pi_device_binaries DeviceBinary) {
1287
DeviceGlobalInfo.consume<std::uint32_t, std::uint32_t>();
1288
assert(DeviceGlobalInfo.empty() && "Extra data left!");
1289
1290
- // Give the image pointer as an identifier for the image the
1291
- // device-global is associated with.
1292
- uintptr_t ImgId = reinterpret_cast<uintptr_t>(Img.get());
1293
-
1294
auto ExistingDeviceGlobal = m_DeviceGlobals.find(DeviceGlobal->Name);
1295
if (ExistingDeviceGlobal != m_DeviceGlobals.end()) {
1296
// If it has already been registered we update the information.
0 commit comments