SWDEV-380035 - Check for agent and ptr match for hsa LOCKED ptr
Change-Id: I2503aa05512aebc3535963e188ca8d1dbfab08f0
This commit is contained in:
committed by
Anusha Godavarthy Surya
parent
695f169ed0
commit
fa35239b4b
@@ -544,7 +544,7 @@ class Device : public NullDevice {
|
||||
const bool isFineGrainSupported() const;
|
||||
|
||||
//! Returns True if memory pointer is known to ROCr (excludes HMM allocations)
|
||||
bool IsValidAllocation(const void* dev_ptr, size_t size) const;
|
||||
bool IsValidAllocation(const void* dev_ptr, size_t size, hsa_amd_pointer_info_t* ptr_info);
|
||||
|
||||
//! Allocates hidden heap for device memory allocations
|
||||
void HiddenHeapAlloc(const VirtualGPU& gpu);
|
||||
|
||||
Reference in New Issue
Block a user