P4 to Git Change 1619908 by wchau@wchau_OCL_cmake on 2018/10/16 14:08:33

SWDEV-167383 - [OCL]: Switch to new object format
	- Add flag to disable Ver 3 Object format until it is support by OCL

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.cpp#11 edit
This commit is contained in:
foreman
2018-10-18 09:36:36 -04:00
parent e4f80bc457
commit 4ef369958b
+1
View File
@@ -335,6 +335,7 @@ bool Program::compileImplLC(const std::string& sourceCode,
driverOptions.append(" -include-pch " + pch->Name());
driverOptions.append(" -Xclang -fno-validate-pch");
driverOptions.append(" -Xclang -target-feature -Xclang -code-object-v3");
// Tokenize the options string into a vector of strings
std::istringstream istrstr(driverOptions);