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:
foreman
2018-09-26 17:10:57 -04:00
padre e17b448874
commit 42e7f37f69
Se han modificado 4 ficheros con 74 adiciones y 63 borrados
+2 -2
Ver fichero
@@ -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() {}