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 c5ce1c6 commit 1abde50Copy full SHA for 1abde50
IGC/AdaptorOCL/OCL/sp/spp_g8.cpp
@@ -197,6 +197,8 @@ RETVAL CGen8OpenCLProgramBase::GetProgramDebugDataSize(size_t& totalDbgInfoBuffe
197
totalDbgInfoBufferSize += sizeof(iOpenCL::SProgramDebugDataHeaderIGC);
198
for (auto& data : m_KernelBinaries)
199
{
200
+ if (!data.dbgInfo.header)
201
+ continue;
202
totalDbgInfoBufferSize += (size_t)data.dbgInfo.header->Size() +
203
(size_t)(data.dbgInfo.dbgInfoBufferSize +
204
data.dbgInfo.extraAlignBytes);
0 commit comments