P4 to Git Change 1611180 by gandryey@gera-ocl-lc on 2018/09/26 16:54:02
SWDEV-79445 - OCL generic changes and code clean-up - Fix Ellesmere compilation with LC path. Switch to multiple device info fields to support LC and HSAIL at the same time Affected files ... ... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldefs.hpp#40 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#110 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#77 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.hpp#33 edit
Este commit está contenido en:
@@ -234,14 +234,14 @@ class LightningProgram : public HSAILProgram {
|
||||
: HSAILProgram(device) {
|
||||
isLC_ = true;
|
||||
xnackEnabled_ = dev().hwInfo()->xnackEnabled_;
|
||||
machineTarget_ = dev().hwInfo()->machineTarget_;
|
||||
machineTarget_ = dev().hwInfo()->machineTargetLC_;
|
||||
}
|
||||
|
||||
LightningProgram(Device& device)
|
||||
: HSAILProgram(device) {
|
||||
isLC_ = true;
|
||||
xnackEnabled_ = dev().hwInfo()->xnackEnabled_;
|
||||
machineTarget_ = dev().hwInfo()->machineTarget_;
|
||||
machineTarget_ = dev().hwInfo()->machineTargetLC_;
|
||||
}
|
||||
virtual ~LightningProgram() {}
|
||||
|
||||
|
||||
Referencia en una nueva incidencia
Block a user