Adding compiler option to be passed to comgr
Change-Id: I6247cfc8f323e7ccbc95e35408ab3e8a55e16495
This commit is contained in:
committato da
Jatin Chaudhary
parent
97dd6c128b
commit
9943fcd81b
@@ -670,6 +670,15 @@ bool Program::compileImplLC(const std::string& sourceCode,
|
||||
}
|
||||
}
|
||||
|
||||
// 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));
|
||||
}
|
||||
}
|
||||
|
||||
// Compile source to IR
|
||||
char* binaryData = nullptr;
|
||||
size_t binarySize = 0;
|
||||
|
||||
Fai riferimento in un nuovo problema
Block a user