MCPcopy Create free account
hub / github.com/ROCm/clr / IsMemoryPoolValid

Method IsMemoryPoolValid

hipamd/src/hip_device.cpp:86–90  ·  view source on GitHub ↗

================================================================================================

Source from the content-addressed store, hash-verified

84
85// ================================================================================================
86bool Device::IsMemoryPoolValid(MemoryPool* pool) {
87 amd::ScopedLock lock(lock_);
88 bool result = (mem_pools_.find(pool) != mem_pools_.end()) ? true : false;
89 return result;
90}
91
92// ================================================================================================
93void Device::AddMemoryPool(MemoryPool* pool) {

Callers 1

IsMemPoolValidFunction · 0.80

Calls 1

endMethod · 0.45

Tested by

no test coverage detected