Fix ocltst test issue
Fix dumpImage() issue exposed on Win10.
It's called by internal compiler on Navi14
Change-Id: I693ffd45b6b03657822afdc872781901bc69b65d
[ROCm/clr commit: b74d120627]
Этот коммит содержится в:
@@ -930,7 +930,7 @@ bool Elf::dumpImage(char** buff, size_t* len)
|
||||
|
||||
if (buff != nullptr && len != nullptr) {
|
||||
std::ifstream is;
|
||||
is.open(dumpFile); // open input file
|
||||
is.open(dumpFile, std::ifstream::in | std::ifstream::binary); // open input file
|
||||
if (!is.good()) {
|
||||
LogElfError("failed in is.open(%s)", dumpFile.c_str());
|
||||
return false;
|
||||
|
||||
Ссылка в новой задаче
Block a user