From 4d4cb007af78779901af9fff476bea0a71ea39e0 Mon Sep 17 00:00:00 2001 From: foreman Date: Wed, 23 Jul 2014 15:23:50 -0400 Subject: [PATCH] P4 to Git Change 1058429 by gandryey@gera-dev-w7 on 2014/07/23 14:41:31 ECR #304775 - Device enqueuing - Add 1 to count the queue for the blit engine Affected files ... ... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.cpp#326 edit [ROCm/clr commit: 431b0d10479fb59d4d61610750f06ca2f5d8e866] --- projects/clr/rocclr/runtime/device/gpu/gpuvirtual.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/projects/clr/rocclr/runtime/device/gpu/gpuvirtual.cpp b/projects/clr/rocclr/runtime/device/gpu/gpuvirtual.cpp index ff00d8bed5..865c216ea4 100644 --- a/projects/clr/rocclr/runtime/device/gpu/gpuvirtual.cpp +++ b/projects/clr/rocclr/runtime/device/gpu/gpuvirtual.cpp @@ -458,7 +458,8 @@ VirtualGPU::create( //! @todo Temporary workaround for Linux, because 2 HW queues only //! Fixes conformance failures with multi queues if ((0 == deviceQueueSize) || IS_WINDOWS) { - idx = index() % (dev().engines().numComputeRings() - + //! @note: Add 1 to account the device queue for transfers + idx = (index() + 1) % (dev().engines().numComputeRings() - gpuDevice_.numDeviceQueues_); } else {