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.
1 parent f83b1f6 commit a042b84Copy full SHA for a042b84
unified-runtime/source/adapters/hip/context.cpp
@@ -61,7 +61,7 @@ urContextGetInfo(ur_context_handle_t hContext, ur_context_info_t propName,
61
62
UrReturnHelper ReturnValue(propSize, pPropValue, pPropSizeRet);
63
64
- switch (uint32_t{propName}) {
+ switch (propName) {
65
case UR_CONTEXT_INFO_NUM_DEVICES:
66
return ReturnValue(static_cast<uint32_t>(hContext->Devices.size()));
67
case UR_CONTEXT_INFO_DEVICES:
0 commit comments