Revert "Pass revision ID to ocloc"

This reverts commit 05990b628b.

Change-Id: I7213d5cb75d6e5657410773da8c7ff386c6bbf8a
This commit is contained in:
Plewka, Maciej
2020-07-24 06:13:29 -07:00
committed by sys_ocldev
parent 1bc474db87
commit 48d990dfc9
4 changed files with 0 additions and 25 deletions

View File

@@ -238,7 +238,6 @@ int OfflineCompiler::getHardwareInfo(const char *pDeviceName) {
if (hardwarePrefix[productId] && (0 == strcmp(pDeviceName, hardwarePrefix[productId]))) {
if (hardwareInfoTable[productId]) {
hwInfo = *hardwareInfoTable[productId];
hwInfo.platform.usRevId = revisionId;
hardwareInfoSetup[hwInfo.platform.eProductFamily](&hwInfo, true, 0x0);
familyNameWithType.clear();
familyNameWithType.append(familyName[hwInfo.platform.eRenderCoreFamily]);
@@ -525,9 +524,6 @@ int OfflineCompiler::parseCommandLine(size_t numArgs, const std::vector<std::str
} else if ("--help" == currArg) {
printUsage();
retVal = PRINT_USAGE;
} else if (("-revision_id" == currArg) && hasMoreArgs) {
revisionId = std::stoi(argv[argIndex + 1]);
argIndex++;
} else {
argHelper->printf("Invalid option (arg %d): %s\n", argIndex, argv[argIndex].c_str());
retVal = INVALID_COMMAND_LINE;

View File

@@ -137,7 +137,6 @@ class OfflineCompiler {
std::unique_ptr<OsLibrary> igcLib = nullptr;
CIF::RAII::UPtr_t<CIF::CIFMain> igcMain = nullptr;
CIF::RAII::UPtr_t<IGC::IgcOclDeviceCtxTagOCL> igcDeviceCtx = nullptr;
int revisionId = REVISION_A0;
std::unique_ptr<OsLibrary> fclLib = nullptr;
CIF::RAII::UPtr_t<CIF::CIFMain> fclMain = nullptr;