File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -45,25 +45,25 @@ UR_APIEXPORT ur_result_t UR_APICALL urUsmP2PPeerAccessGetInfoExp(
45
45
UrReturnHelper ReturnValue (propSize, pPropValue, pPropSizeRet);
46
46
47
47
int value;
48
- CUdevice_P2PAttribute cu_attr ;
48
+ CUdevice_P2PAttribute cuAttr ;
49
49
try {
50
50
ScopedContext active (commandDevice->getContext ());
51
51
switch (propName) {
52
52
case UR_EXP_PEER_INFO_UR_PEER_ACCESS_SUPPORTED: {
53
- cu_attr = CU_DEVICE_P2P_ATTRIBUTE_ACCESS_SUPPORTED;
53
+ cuAttr = CU_DEVICE_P2P_ATTRIBUTE_ACCESS_SUPPORTED;
54
54
break ;
55
55
}
56
56
case UR_EXP_PEER_INFO_UR_PEER_ATOMICS_SUPPORTED: {
57
- cu_attr = CU_DEVICE_P2P_ATTRIBUTE_NATIVE_ATOMIC_SUPPORTED;
57
+ cuAttr = CU_DEVICE_P2P_ATTRIBUTE_NATIVE_ATOMIC_SUPPORTED;
58
58
break ;
59
59
}
60
60
default : {
61
61
return UR_RESULT_ERROR_INVALID_ENUMERATION;
62
62
}
63
63
}
64
64
65
- UR_CHECK_ERROR (cuDeviceGetP2PAttribute (
66
- &value, cu_attr, commandDevice-> get (), peerDevice->get ()));
65
+ UR_CHECK_ERROR (cuDeviceGetP2PAttribute (&value, cuAttr, commandDevice-> get (),
66
+ peerDevice->get ()));
67
67
} catch (ur_result_t err) {
68
68
return err;
69
69
}
You can’t perform that action at this time.
0 commit comments