SWDEV-531711 - Fixing compilation error by moving static var to public. (#438)

[ROCm/clr commit: b72812d324]
This commit is contained in:
Jayaprakash, Karthik authored and GitHub committed 2025-05-30 11:42:50 +05:30
1 parent 4a85b5c88a
commit 4691ca2f39
1 file changed
+1 -2
+1 -2
View File
@@ -1698,7 +1698,7 @@ class Device : public RuntimeObject {
// Max Scratch size is based on ISA and thus per device.
// Def value is as per GFX9 being the least among supported devices.
size_t maxStackSize_ = kMaxStackSize9X;
static bool device_not_usable_; //!< If set, we should not launch any commands anymore.
static cl_int gpu_error_; //!< Store the GPU error cause during kernel launch
typedef std::list<CommandQueue*> CommandQueues;
@@ -2224,7 +2224,6 @@ class Device : public RuntimeObject {
uint64_t initial_heap_size_{HIP_INITIAL_DM_SIZE}; //!< Initial device heap size
amd::Monitor activeQueuesLock_ {}; //!< Guards access to the activeQueues set
std::unordered_set<amd::CommandQueue*> activeQueues; //!< The set of active queues
static cl_int gpu_error_; //!< Store the GPU error cause during kernel launch
private:
const Isa *isa_; //!< Device isa