P4 to Git Change 1334142 by gandryey@gera-ocl-lc on 2016/10/31 14:17:14

SWDEV-86035 - Add PAL backend to OpenCL
	- Fix 2 warnings with LC path

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palcompiler.cpp#9 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#19 edit
这个提交包含在:
foreman
2016-10-31 14:30:53 -04:00
父节点 b925842e4e
当前提交 a214437836
修改 2 个文件,包含 3 行新增2 行删除
+1 -1
查看文件
@@ -211,7 +211,7 @@ LightningProgram::newCompilerInstance()
pthread_once(&once, checkLLVM_BIN);
#endif // defined(ATI_OS_LINUX)
#if defined(DEBUG)
std::string clangExe(llvmBin_ + "/clang");
std::string clangExe(llvmBin_ + LINUX_SWITCH("/clang", "\\clang.exe"));
struct stat buf;
if (stat(clangExe.c_str(), &buf)) {
std::string msg("Could not find the Clang binary in " + llvmBin_);
+2 -1
查看文件
@@ -1338,7 +1338,8 @@ LightningProgram::setKernels(
return false;
}
setGlobalVariableTotalSize(progvarsTotalSize);
// note: The global variable size is updated in the context loader
//setGlobalVariableTotalSize(progvarsTotalSize);
// Get the list of kernels
std::vector<std::string> kernelNameList;