Skip to content

Commit f2d1f8f

Browse files
committed
fix build error
Signed-off-by: Larsen, Steffen <[email protected]>
1 parent 834a25f commit f2d1f8f

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

sycl/source/device.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ bool device::ext_oneapi_can_access_peer(const device &peer,
265265
// If the backend doesn't support P2P access, neither does its devices.
266266
if (Err == UR_RESULT_ERROR_UNSUPPORTED_FEATURE)
267267
return false;
268-
checkUrResult<errc>(Err);
268+
Adapter.checkUrResult(Err);
269269
return value == 1;
270270
}
271271

sycl/test-e2e/USM/P2P/p2p_copy.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// REQUIRES: cuda || hip || level_zero
21
// RUN: %{build} -o %t.out
32
// RUN: %{run} %t.out
43

0 commit comments

Comments
 (0)