P4 to Git Change 1274956 by gandryey@gera-w8 on 2016/05/31 17:12:40

SWDEV-86035 - Add PAL backend to OpenCL
	- Fix imagebuffer and SRGB failures in Conformance 2.0. The new PAL is required for all imagebuffer formats.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#8 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.cpp#5 edit
This commit is contained in:
foreman
2016-05-31 17:46:13 -04:00
parent c87a217105
commit bb3678a080
2 ha cambiato i file con 29 aggiunte e 17 eliminazioni
+3 -2
Vedi File
@@ -367,9 +367,10 @@ void NullDevice::fillDeviceInfo(
info_.deviceTopology_.pcie.bus = (calAttr.pciTopologyInformation&(0xFF<<8))>>8;
info_.deviceTopology_.pcie.device = (calAttr.pciTopologyInformation&(0x1F<<3))>>3;
info_.deviceTopology_.pcie.function = (calAttr.pciTopologyInformation&0x07);
::strncpy(info_.boardName_, calAttr.boardName, sizeof(info_.boardName_));
*/
::strncpy(info_.boardName_, palProp.gpuName,
::strnlen(palProp.gpuName, sizeof(info_.boardName_)));
// OpenCL1.2 device info fields
info_.builtInKernels_ = "";
info_.imageMaxBufferSize_ = MaxImageBufferSize;