Skip to content

Commit

Permalink
Changes in code.
Browse files Browse the repository at this point in the history
  • Loading branch information
anikaushik authored and igcbot committed Aug 23, 2024
1 parent 7645aa3 commit dcfcd82
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions visa/PreDefinedVars.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ static const PreDefinedVarInfo preDefinedVarTable[static_cast<int>(
{PreDefinedVarsInternal::LOCAL_ID_BUF_PTR, ISA_TYPE_UQ, 3, false, false, 0,
1, "%local_id_buf_ptr"},
{PreDefinedVarsInternal::MSG0, ISA_TYPE_UD, 3, false, false, 0, 3, "%msg0"},
{PreDefinedVarsInternal::SCRATCHLOC, ISA_TYPE_UQ, 1, false, false, 0, 1, "%scratchloc"},
};

// This is the same as visa_igc_common_header.h/PreDefined_Vars
Expand Down
3 changes: 2 additions & 1 deletion visa/PreDefinedVars.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ enum class PreDefinedVarsInternal {
IMPL_ARG_BUF_PTR = 24,
LOCAL_ID_BUF_PTR = 25,
MSG0 = 26,
VAR_LAST = 27
SCRATCHLOC = 27,
VAR_LAST = 28
};

const std::array<PreDefinedVarsInternal, (int)PreDefinedVarsInternal::VAR_LAST>
Expand Down
2 changes: 1 addition & 1 deletion visa/VISAKernelImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9198,4 +9198,4 @@ void VISAKernelImpl::emitPerfStats(std::ostream & os) {
<< stats.AfterWriteTokenDepCount << "\n";
os << "//.AfterReadTokenDepCount: "
<< stats.AfterReadTokenDepCount << "\n";
}
}

0 comments on commit dcfcd82

Please sign in to comment.