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_; }