From b3860e965dbaf4d0e0675db6090be81fd91571d4 Mon Sep 17 00:00:00 2001 From: foreman Date: Wed, 9 Nov 2016 19:58:26 -0500 Subject: [PATCH] P4 to Git Change 1339111 by lmoriche@lmoriche_opencl_dev on 2016/11/09 19:34:29 SWDEV-95488 - Limiting max cap Context on ROCm, it is limited to 100 - Re-order the member variables to match the initializer list. Affected files ... ... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.hpp#8 edit [ROCm/clr commit: 1f5d19b75bc2e6641e56d88a091931ee1fd42601] --- projects/clr/rocclr/runtime/device/rocm/rocdevice.hpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/projects/clr/rocclr/runtime/device/rocm/rocdevice.hpp b/projects/clr/rocclr/runtime/device/rocm/rocdevice.hpp index 560ba509dc..eb5721d478 100644 --- a/projects/clr/rocclr/runtime/device/rocm/rocdevice.hpp +++ b/projects/clr/rocclr/runtime/device/rocm/rocdevice.hpp @@ -221,8 +221,6 @@ public: static bool loadHsaModules(); - amd::Atomic numOfVgpus_; //!< Virtual gpu unique index - bool create(); //! Construct a new physical HSA device @@ -367,6 +365,9 @@ private: VirtualGPU *xferQueue_; //!< Transfer queue, created on demand VirtualGPU* xferQueue() const; + +public: + amd::Atomic numOfVgpus_; //!< Virtual gpu unique index }; // class roc::Device } // namespace roc