P4 to Git Change 1601829 by marsenau@marsenau-fiji on 2018/09/05 09:00:19

SWDEV-79445 - Stop using -opencl component of triple. This
	  hasn't been needed in a while.

	  Also stop redundantly defining extension macros.

Affected files ...

... //depot/stg/opencl/drivers/opencl/opencldefs#231 edit
... //depot/stg/opencl/drivers/opencl/runtime/CMakeLists.txt#10 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palcompiler.cpp#24 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/CMakeLists.txt#12 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/roccompiler.cpp#43 edit


[ROCm/clr commit: b0396b47e1]
This commit is contained in:
foreman
2018-09-05 09:11:51 -04:00
parent 0b524cf5f8
commit 4208e8e04b
4 changed files with 4 additions and 13 deletions
@@ -322,7 +322,7 @@ bool LightningProgram::compileImpl(const std::string& sourceCode,
std::ofstream f(options->getDumpFileName(".cl").c_str(), std::ios::trunc);
if (f.is_open()) {
f << "/* Compiler options:\n"
"-c -emit-llvm -target amdgcn-amd-amdhsa-opencl -x cl "
"-c -emit-llvm -target amdgcn-amd-amdhsa -x cl "
<< driverOptions << " -include opencl-c.h "
<< "\n*/\n\n"
<< sourceCode;