Adding compiler option to be passed to comgr
Change-Id: I6247cfc8f323e7ccbc95e35408ab3e8a55e16495
Este commit está contenido en:
cometido por
Jatin Chaudhary
padre
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;
|
||||
|
||||
Referencia en una nueva incidencia
Block a user