We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8b53b20 + 1ec152e commit 20fa0b5Copy full SHA for 20fa0b5
source/adapters/native_cpu/device.cpp
@@ -60,7 +60,7 @@ UR_APIEXPORT ur_result_t UR_APICALL urDeviceGetInfo(ur_device_handle_t hDevice,
60
UR_ASSERT(hDevice, UR_RESULT_ERROR_INVALID_NULL_HANDLE);
61
UrReturnHelper ReturnValue(propSize, pPropValue, pPropSizeRet);
62
63
- switch (propName) {
+ switch (static_cast<uint32_t>(propName)) {
64
case UR_DEVICE_INFO_TYPE:
65
return ReturnValue(UR_DEVICE_TYPE_CPU);
66
case UR_DEVICE_INFO_PARENT_DEVICE:
0 commit comments