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
This commit is contained in:
@@ -145,6 +145,7 @@ HSAILProgram::HSAILProgram(Device& device)
|
||||
executable_(nullptr),
|
||||
loaderContext_(this) {
|
||||
xnackEnabled_ = dev().hwInfo()->xnackEnabled_;
|
||||
sramEccEnabled_ = dev().info().sramEccEnabled_;
|
||||
if (dev().asicRevision() == Pal::AsicRevision::Bristol) {
|
||||
machineTarget_ = Carrizo;
|
||||
} else {
|
||||
@@ -164,6 +165,7 @@ HSAILProgram::HSAILProgram(NullDevice& device)
|
||||
loaderContext_(this) {
|
||||
isNull_ = true;
|
||||
xnackEnabled_ = dev().hwInfo()->xnackEnabled_;
|
||||
sramEccEnabled_ = dev().info().sramEccEnabled_;
|
||||
if (dev().asicRevision() == Pal::AsicRevision::Bristol) {
|
||||
machineTarget_ = Carrizo;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user