P4 to Git Change 1337771 by gandryey@gera-w8 on 2016/11/07 17:16:58

SWDEV-106509 - [CQE OCL][OpenCL on PAL][QR] 3 Conformance tests are failing/crashing
	- Add missing constant argument into the qualifiers lookup
	- Initialize rtCU count to the internal constant

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#33 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palkernel.cpp#23 edit
This commit is contained in:
foreman
2016-11-07 17:32:56 -05:00
parent 3459794cb3
commit 7f539761ca
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -928,7 +928,7 @@ Device::createVirtualDevice(
{
bool profiling = false;
bool interopQueue = false;
uint rtCUs = 0;
uint rtCUs = amd::CommandQueue::RealTimeDisabled;
uint deviceQueueSize = 0;
if (queue != nullptr) {
+2
View File
@@ -141,8 +141,10 @@ GetHSAILAddrQual(const aclArgData* argInfo)
{
if (argInfo->type == ARG_TYPE_POINTER) {
switch (argInfo->arg.pointer.memory) {
case PTR_MT_UAV_CONSTANT:
case PTR_MT_CONSTANT_EMU:
case PTR_MT_CONSTANT:
return HSAIL_ADDRESS_CONSTANT;
case PTR_MT_UAV:
case PTR_MT_GLOBAL:
return HSAIL_ADDRESS_GLOBAL;