Skip to content

Commit

Permalink
Internal change
Browse files Browse the repository at this point in the history
Internal change
  • Loading branch information
pratikashar authored and igcbot committed Dec 22, 2023
1 parent 86f42e2 commit 9a4665a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions visa/G4_Kernel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -210,9 +210,9 @@ void *gtPinData::getIndirRefs(unsigned int &size) {
unsigned int offset = 0;
write<uint32_t>(buffer, numRanges, offset);
for (auto &item : indirRefMap) {
vISA_ASSERT(offset < size, "Out of bounds");
write<uint32_t>(buffer, item.first, offset);
for (const auto &arg : item.second) {
vISA_ASSERT(offset < size, "Out of bounds");
write<uint32_t>(buffer, item.first, offset);
vISA_ASSERT(offset < size, "Out of bounds");
write<uint16_t>(buffer, arg.first, offset);
vISA_ASSERT(offset < size, "Out of bounds");
Expand Down

0 comments on commit 9a4665a

Please sign in to comment.