P4 to Git Change 1983234 by vsytchen@vsytchen-remote-ocl-win10 on 2019/08/14 12:32:40
SWDEV-79445 - OCL generic changes and code clean-up
1. Bitcode binaries should be saved as binaries
ReviewBoardURL = http://ocltc.amd.com/reviews/r/17820/diff/
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.cpp#60 edit
[ROCm/clr commit: b795e200b3]
Este commit está contenido en:
@@ -259,7 +259,7 @@ amd_comgr_status_t Program::extractByteCodeBinary(const amd_comgr_data_set_t inD
|
||||
|
||||
// save the binary to the file as output file name is specified
|
||||
if (!outFileName.empty()) {
|
||||
std::ofstream f(outFileName.c_str(), std::ios::trunc);
|
||||
std::ofstream f(outFileName.c_str(), std::ios::trunc | std::ios::binary);
|
||||
if (f.is_open()) {
|
||||
f.write(binary, binarySize);
|
||||
f.close();
|
||||
|
||||
Referencia en una nueva incidencia
Block a user