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
This commit is contained in:
@@ -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;
|
||||
|
||||
Referens i nytt ärende
Block a user