mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-04 07:14:10 +08:00
Revert "Pass revision ID to ocloc"
This reverts commit 05990b628b.
Change-Id: I7213d5cb75d6e5657410773da8c7ff386c6bbf8a
This commit is contained in:
committed by
sys_ocldev
parent
1bc474db87
commit
48d990dfc9
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user