From 83f8573a664d2e58afcc973884c30f3228e751ea Mon Sep 17 00:00:00 2001 From: foreman Date: Fri, 13 Jul 2018 14:32:29 -0400 Subject: [PATCH] P4 to Git Change 1580311 by gandryey@gera-w8 on 2018/07/13 14:24:01 SWDEV-154474 - [Task]: TAN Dual Realtime Queue Enhancement For Radeon Rays - Add support for the second RT queue Affected files ... ... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_command.cpp#16 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.cpp#422 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#97 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.hpp#32 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#114 edit --- opencl/api/opencl/amdocl/cl_command.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/opencl/api/opencl/amdocl/cl_command.cpp b/opencl/api/opencl/amdocl/cl_command.cpp index fad490bc09..6192183f1b 100644 --- a/opencl/api/opencl/amdocl/cl_command.cpp +++ b/opencl/api/opencl/amdocl/cl_command.cpp @@ -103,6 +103,9 @@ RUNTIME_ENTRY_RET(cl_command_queue, clCreateCommandQueueWithProperties, #define CL_QUEUE_MEDIUM_PRIORITY_AMD 0x4050 case CL_QUEUE_MEDIUM_PRIORITY_AMD: priority = amd::CommandQueue::Priority::Medium; + if (p->value.size != 0) { + queueRTCUs = p->value.size; + } break; default: *not_null(errcode_ret) = CL_INVALID_QUEUE_PROPERTIES;