mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 23:03:02 +08:00
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:
committed by
Compute-Runtime-Automation
parent
7e8cbf749b
commit
aeb85c202c
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user