SWDEV-283267 - Fix a bug where rocclr appends compiler options twice

Change-Id: I54ca6e8458cf6414c263df7a8bf61f7ce39a64df
Šī revīzija ir iekļauta:
cjatin
2021-06-02 16:48:41 +05:30
revīziju iesūtīja Maneesh Gupta
vecāks a9a1e21445
revīzija 228662bf3f
-8
Parādīt failu
@@ -713,14 +713,6 @@ bool Program::compileImplLC(const std::string& sourceCode,
buildLog_ += "Warning: opening the file to dump the OpenCL source failed.\n";
}
}
// Append Options provided by user to driver options
if (isHIP()) {
if (options->origOptionStr.size()) {
std::istringstream userOptions{options->origOptionStr};
std::copy(std::istream_iterator<std::string>(userOptions),
std::istream_iterator<std::string>(), std::back_inserter(driverOptions));
}
}
// Append Options provided by user to driver options
if (isHIP()) {