P4 to Git Change 1602604 by gandryey@gera-ocl-lc on 2018/09/06 15:25:43
SWDEV-79445 - OCL generic changes and code clean-up - Combine opencl compiler options under a single function. Affected files ... ... //depot/stg/opencl/drivers/opencl/runtime/device/device.cpp#229 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#317 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.hpp#102 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palcompiler.cpp#25 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#68 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.hpp#23 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#55 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.hpp#19 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/roccompiler.cpp#44 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.cpp#84 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.hpp#34 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocsettings.hpp#17 edit
Этот коммит содержится в:
1 родитель
d305283689
Коммит
1d5f2b6dac
12 files changed
+109
-221
No files matched your search
@@ -120,7 +120,7 @@ bool HSAILProgram::compileImpl(const std::string& sourceCode,
|
||||
#endif
|
||||
|
||||
// Compile source to IR
|
||||
compileOptions_.append(hsailOptions(options));
|
||||
compileOptions_.append(ProcessOptions(options));
|
||||
errorCode = aclCompile(dev().compiler(), binaryElf_, compileOptions_.c_str(), ACL_TYPE_OPENCL,
|
||||
ACL_TYPE_LLVMIR_BINARY, nullptr);
|
||||
buildLog_ += aclGetCompilerLog(dev().compiler());
|
||||
@@ -258,7 +258,7 @@ bool LightningProgram::compileImpl(const std::string& sourceCode,
|
||||
}
|
||||
|
||||
driverOptions.append(options->llvmOptions);
|
||||
driverOptions.append(hsailOptions(options));
|
||||
driverOptions.append(ProcessOptions(options));
|
||||
|
||||
// Set whole program mode
|
||||
driverOptions.append(" -mllvm -amdgpu-early-inline-all -mllvm -amdgpu-prelink");
|
||||
|
||||
Reference in new issue
Block a user