SWDEV-407818 - Fixed bug when opening LinkerFile fstream on windows
Change-Id: If6f083d9fa83066eb2b20ab24dceaa9df7a2f0a0
[ROCm/clr commit: 791cea44f1]
This commit is contained in:
@@ -598,7 +598,7 @@ bool RTCLinkProgram::AddLinkerDataImpl(std::vector<char>& link_data, hiprtcJITIn
|
||||
}
|
||||
|
||||
bool RTCLinkProgram::AddLinkerFile(std::string file_path, hiprtcJITInputType input_type) {
|
||||
std::ifstream file_stream{file_path};
|
||||
std::ifstream file_stream{file_path, std::ios_base::in | std::ios_base::binary};
|
||||
if (!file_stream.good()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
Verwijs in nieuw issue
Block a user