================================================================================================
| 84 | |
| 85 | // ================================================================================================ |
| 86 | bool 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 | // ================================================================================================ |
| 93 | void Device::AddMemoryPool(MemoryPool* pool) { |