File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed
source/adapters/level_zero Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -17,9 +17,8 @@ UR_APIEXPORT ur_result_t UR_APICALL urUsmP2PEnablePeerAccessExp(
17
17
std::ignore = commandDevice;
18
18
std::ignore = peerDevice;
19
19
20
- logger::error (logger::LegacyMessage (" [UR][L0] {} function not implemented!" ),
21
- " {} function not implemented!" , __FUNCTION__);
22
- return UR_RESULT_ERROR_UNSUPPORTED_FEATURE;
20
+ // L0 has peer devices enabled by default
21
+ return UR_RESULT_SUCCESS;
23
22
}
24
23
25
24
UR_APIEXPORT ur_result_t UR_APICALL urUsmP2PDisablePeerAccessExp (
@@ -28,9 +27,8 @@ UR_APIEXPORT ur_result_t UR_APICALL urUsmP2PDisablePeerAccessExp(
28
27
std::ignore = commandDevice;
29
28
std::ignore = peerDevice;
30
29
31
- logger::error (logger::LegacyMessage (" [UR][L0] {} function not implemented!" ),
32
- " {} function not implemented!" , __FUNCTION__);
33
- return UR_RESULT_ERROR_UNSUPPORTED_FEATURE;
30
+ // L0 has peer devices enabled by default
31
+ return UR_RESULT_SUCCESS;
34
32
}
35
33
36
34
UR_APIEXPORT ur_result_t UR_APICALL urUsmP2PPeerAccessGetInfoExp (
You can’t perform that action at this time.
0 commit comments