SWDEV-407818 - Fixed bug when opening LinkerFile fstream on windows

Change-Id: If6f083d9fa83066eb2b20ab24dceaa9df7a2f0a0


[ROCm/clr commit: 791cea44f1]
Цей коміт міститься в:
Ioannis Assiouras
2023-07-06 00:08:16 +01:00
джерело 73c16500c4
коміт 41381e9557
+1 -1
Переглянути файл
@@ -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;
}