Skip to content

Commit 165505d

Browse files
jfuentessys_zuul
authored andcommitted
Remove unused GTPin vISA option.
Change-Id: I965bca8108b62c01e7296ae0ebb27a4ae0c4b2b1
1 parent b811ab6 commit 165505d

File tree

2 files changed

+0
-14
lines changed

2 files changed

+0
-14
lines changed

visa/Option.cpp

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -46,16 +46,6 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
4646
// reset to the default value after the builder is destroyed. We will move these options to be
4747
// part of the builder in the near future.
4848

49-
void Options::setGTPin()
50-
{
51-
// GTPin mode, we need to
52-
// 1. reserve 16 GRF's worth of spill memory starting at 0
53-
// 3. produce asm output
54-
// spillMemOffset = 16 * G4_GRF_REG_NBYTES;
55-
m_vISAOptions.setUint32(vISA_SpillMemOffset, (uint32_t) 16 * G4_GRF_REG_NBYTES);
56-
m_vISAOptions.setBool(vISA_outputToFile, true); //outputToFile = true;
57-
}
58-
5949
bool Options::get_isaasm(int argc, const char *argv[])
6050
{
6151
return true;
@@ -199,9 +189,6 @@ bool Options::parseOptions(int argc, const char* argv[])
199189
return false;
200190
}
201191
}
202-
if (m_vISAOptions.isArgSetByUser(vISA_Gtpin)) {
203-
setGTPin();
204-
}
205192
if (m_vISAOptions.isArgSetByUser(vISA_DumpPasses)) {
206193
m_vISAOptions.setBool(vISA_DumpDotAll, true);
207194
}

visa/include/VISAOptions.def

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ DEF_VISA_OPTION(vISA_dumpVISAOptions, ET_BOOL, "-dumpVisaOptions", UNUSED,
2626
DEF_VISA_OPTION(vISA_dumpVISAOptionsAll, ET_BOOL, "-dumpVisaOptionsAll", UNUSED, false)
2727
DEF_VISA_OPTION(vISA_Debug, ET_BOOL, "-debug", UNUSED, false)
2828
DEF_VISA_OPTION(vISA_DebugConsoleDump, ET_BOOL, "-dumpDebugConsoleOutput", UNUSED, false)
29-
DEF_VISA_OPTION(vISA_Gtpin, ET_BOOL, "-gtpin", UNUSED, false)
3029
DEF_VISA_OPTION(vISA_EmitLocation, ET_BOOL, "-emitLocation", UNUSED, false)
3130
DEF_VISA_OPTION(vISA_dumpRPE, ET_BOOL, "-dumpRPE", UNUSED, false)
3231
DEF_VISA_OPTION(vISA_dumpLiveness, ET_BOOL, "-dumpLiveness", UNUSED, false)

0 commit comments

Comments
 (0)