P4 to Git Change 1752541 by wchau@wchau_OCL_Linux on 2019/03/06 17:02:07
SWDEV-168145 - Add ECC target feature to OpenCL runtime Affected files ... ... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#334 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.cpp#29 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.hpp#17 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#125 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#86 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#119 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.hpp#35 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rockernel.cpp#50 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.cpp#99 edit
Este commit está contenido en:
@@ -113,6 +113,7 @@ bool Program::initClBinary(char* binaryIn, size_t size) {
|
||||
|
||||
HSAILProgram::HSAILProgram(roc::NullDevice& device) : roc::Program(device) {
|
||||
xnackEnabled_ = dev().settings().enableXNACK_;
|
||||
sramEccEnabled_ = dev().info().sramEccEnabled_;
|
||||
machineTarget_ = dev().deviceInfo().complibTarget_;
|
||||
}
|
||||
|
||||
@@ -319,6 +320,7 @@ LightningProgram::LightningProgram(roc::NullDevice& device)
|
||||
: roc::Program(device) {
|
||||
isLC_ = true;
|
||||
xnackEnabled_ = dev().settings().enableXNACK_;
|
||||
sramEccEnabled_ = dev().info().sramEccEnabled_;
|
||||
machineTarget_ = dev().deviceInfo().machineTargetLC_;
|
||||
}
|
||||
|
||||
|
||||
Referencia en una nueva incidencia
Block a user