Skip to content

Commit 876de49

Browse files
authored
SWDEV-506467 - Fixing compilation issue seen on clang compilation for ASAN. (#253)
1 parent f9199ac commit 876de49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rocclr/device/device.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1678,6 +1678,7 @@ class Device : public RuntimeObject {
16781678
// Max Scratch size is based on ISA and thus per device.
16791679
// Def value is as per GFX9 being the least among supported devices.
16801680
size_t maxStackSize_ = kMaxStackSize9X;
1681+
static bool device_not_usable_; //!< If set, we should not launch any commands anymore.
16811682

16821683
typedef std::list<CommandQueue*> CommandQueues;
16831684

@@ -2200,7 +2201,6 @@ class Device : public RuntimeObject {
22002201
uint64_t initial_heap_size_{HIP_INITIAL_DM_SIZE}; //!< Initial device heap size
22012202
amd::Monitor activeQueuesLock_ {}; //!< Guards access to the activeQueues set
22022203
std::unordered_set<amd::CommandQueue*> activeQueues; //!< The set of active queues
2203-
static bool device_not_usable_; //!< If set, we should not launch any commands anymore.
22042204

22052205
private:
22062206
const Isa *isa_; //!< Device isa

0 commit comments

Comments
 (0)