P4 to Git Change 1781540 by kpyzhov@hip-vdi-pal-win on 2019/05/10 17:10:30
SWDEV-188234 - Corrected reading binary module file in hipModuleLoad(). Affected files ... ... //depot/stg/opencl/drivers/opencl/api/hip/hip_module.cpp#26 edit
Этот коммит содержится в:
@@ -59,7 +59,7 @@ hipError_t hipModuleLoad(hipModule_t *module, const char *fname)
|
||||
HIP_RETURN(hipErrorInvalidValue);
|
||||
}
|
||||
|
||||
std::ifstream file{fname};
|
||||
std::ifstream file(fname, std::ios::binary);
|
||||
|
||||
if (!file.is_open()) {
|
||||
HIP_RETURN(hipErrorFileNotFound);
|
||||
|
||||
Ссылка в новой задаче
Block a user