SWDEV-506467 - Fixing compilation issue seen on clang compilation for ASAN. (#253)

这个提交包含在:
Jayaprakash, Karthik
2025-05-12 17:16:56 -04:00
提交者 GitHub
父节点 f9199ac205
当前提交 876de49b11
+1 -1
查看文件
@@ -1678,6 +1678,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.
typedef std::list<CommandQueue*> CommandQueues;
@@ -2200,7 +2201,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 bool device_not_usable_; //!< If set, we should not launch any commands anymore.
private:
const Isa *isa_; //!< Device isa