From d91cb4ed8323a08e223b3bdf6bdcd319397b0144 Mon Sep 17 00:00:00 2001 From: foreman Date: Fri, 13 Jul 2018 15:00:01 -0400 Subject: [PATCH] P4 to Git Change 1580345 by gandryey@gera-lnx-rcf on 2018/07/13 14:50:14 SWDEV-154474 - [Task]: TAN Dual Realtime Queue Enhancement For Radeon Rays - Fix linux build error Affected files ... ... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.hpp#33 edit [ROCm/clr commit: 494b22221bb64441980fac8c26d0995b798b3060] --- projects/clr/rocclr/runtime/device/pal/paldevice.hpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/projects/clr/rocclr/runtime/device/pal/paldevice.hpp b/projects/clr/rocclr/runtime/device/pal/paldevice.hpp index bb25529240..f3fd74fc6b 100644 --- a/projects/clr/rocclr/runtime/device/pal/paldevice.hpp +++ b/projects/clr/rocclr/runtime/device/pal/paldevice.hpp @@ -406,8 +406,9 @@ class Device : public NullDevice { //! Returns the number of available compute rings uint numExclusiveComputeEngines() const { return exclusiveComputeEnginesId_.size(); } - //! Returns the array of available compute rings - const auto& exclusiveComputeEnginesId() const { return exclusiveComputeEnginesId_; } + //! Returns the map of available exclusive compute rings with the engine index + const std::map& exclusiveComputeEnginesId() const + { return exclusiveComputeEnginesId_; } //! Returns the number of available DMA engines uint numDMAEngines() const { return numDmaEngines_; }