P4 to Git Change 1753587 by smekhano@stas-msdn-pluto-ocl on 2019/03/08 14:20:41

SWDEV-79445 - compiler dumps were damaged on Windows

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.cpp#31 edit
This commit is contained in:
foreman
2019-03-08 14:45:57 -05:00
والد e3c07cbf4e
کامیت ea146a3c5d
@@ -238,7 +238,7 @@ amd_comgr_status_t Program::extractByteCodeBinary(const amd_comgr_data_set_t inD
// For log dataset, outputs are directed to stdout and stderr if
// the file name is "stdout" and "stderr", respectively.
if (!outFileName.empty()) {
std::ios_base::openmode mode = std::ios::trunc;
std::ios_base::openmode mode = std::ios::trunc | std::ios::binary;
bool done = false;
// handle the log outputs