P4 to Git Change 1129634 by jsjodin@jsjodin_linux_avx_hsa2 on 2015/03/11 12:04:50

ECR #304775 - Fix failure in TC. Allocation and deallocation cannot be done by different DLLs.

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/frontend.cpp#32 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/options.cpp#31 edit


[ROCm/clr commit: 99d43c3313]
Этот коммит содержится в:
foreman
2015-03-11 12:22:24 -04:00
родитель 117c599c57
Коммит 133d3d0928
2 изменённых файлов: 3 добавлений и 1 удалений
+1 -1
Просмотреть файл
@@ -276,7 +276,7 @@ amdcl::OCLFrontend::compileCommand(const std::string& singleSrc)
amd::Os::unlink(logFile.c_str());
if (isCpuTarget(Elf()->target)
&& Options()->oVariables->EnableDebug) {
Options()->sourceFileName_ = clFile;
Options()->sourceFileName_.assign(clFile);
} else {
amd::Os::unlink(clFile.c_str());
}
+2
Просмотреть файл
@@ -1270,6 +1270,8 @@ Options::Options() :
WorkGroupSize[2] = -1;
UseDefaultWGS = true;
NumAvailGPRs = -1;
sourceFileName_.reserve(1024);
}
Options::~Options()