fix: Add more return types to parseUSMType

Related-To: NEO-15604, GSD-11403

Signed-off-by: Chandio, Bibrak Qamar <bibrak.qamar.chandio@intel.com>
This commit is contained in:
Chandio, Bibrak Qamar
2025-07-24 21:00:04 +00:00
committed by Compute-Runtime-Automation
parent 7e8cbf749b
commit aeb85c202c
2 changed files with 26 additions and 0 deletions

View File

@@ -36,8 +36,10 @@ struct Context : _ze_context_handle_t {
case InternalMemoryType::sharedUnifiedMemory:
return ZE_MEMORY_TYPE_SHARED;
case InternalMemoryType::deviceUnifiedMemory:
case InternalMemoryType::reservedDeviceMemory:
return ZE_MEMORY_TYPE_DEVICE;
case InternalMemoryType::hostUnifiedMemory:
case InternalMemoryType::reservedHostMemory:
return ZE_MEMORY_TYPE_HOST;
default:
return ZE_MEMORY_TYPE_UNKNOWN;