P4 to Git Change 1318412 by lmoriche@lmoriche_opencl_dev on 2016/09/23 17:57:01
SWDEV-94610 - Remove the padding at the end of the kernargs (It was for the hidden arguments, but now, LC reports the correct size). Set the LLVM triple to amdgcn-amd-amdhsa-opencl when building the built-in library. Affected files ... ... //depot/stg/opencl/drivers/opencl/opencldefs#186 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/roccompiler.cpp#20 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.cpp#37 edit
Tá an tiomantas seo le fáil i:
1 tuismitheoir
27bc59ab60
tiomantas
0fb0fb1d8b
2 comhad athraithe
+2
-5
Níor tháinig aon chomhaid le do chuardach
@@ -168,7 +168,7 @@ HSAILProgram::compileImpl_LC(
|
||||
std::ofstream f(options->getDumpFileName(".cl").c_str(), std::ios::trunc);
|
||||
if(f.is_open()) {
|
||||
f << "/* Compiler options:\n" \
|
||||
"-c -emit-llvm -target amdgcn--amdhsa-opencl -x cl" \
|
||||
"-c -emit-llvm -target amdgcn-amd-amdhsa-opencl -x cl" \
|
||||
" -include opencl-c.h " << driverOptions
|
||||
<< "\n*/\n\n" << sourceCode;
|
||||
} else {
|
||||
|
||||
Tagairt in Eagrán Nua
Cuir bac ar úsáideoir