SWDEV-311271 - Update mempool errors
Add extra validations for negative tests. Change-Id: I7b2879b8840b5d1b6c5cb0d919a651cd868b7529
Esse commit está contido em:
@@ -74,6 +74,13 @@ bool Device::Create() {
|
||||
return true;
|
||||
}
|
||||
|
||||
// ================================================================================================
|
||||
bool Device::IsMemoryPoolValid(MemoryPool* pool) {
|
||||
amd::ScopedLock lock(lock_);
|
||||
bool result = (mem_pools_.find(pool) != mem_pools_.end()) ? true : false;
|
||||
return result;
|
||||
}
|
||||
|
||||
// ================================================================================================
|
||||
void Device::AddMemoryPool(MemoryPool* pool) {
|
||||
amd::ScopedLock lock(lock_);
|
||||
|
||||
Referência em uma Nova Issue
Bloquear um usuário