Skip to content

Commit d7bc4fc

Browse files
authored
[SYCL][Graph] Update L0 aspect test (#14093)
The `Graph/UnsupportedDevice/device_query.cpp` test asserts that L0 devices will never have full graph support. This is not the case, depending on the L0 device and driver version full graphs support is possible. Update the test to remove asserting on this, as diving into these details is out of the scope of the test. This was previously decided when discussion how to check the OpenCL backend for similar possible variances in aspect support.
1 parent bdeb0ef commit d7bc4fc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sycl/test-e2e/Graph/UnsupportedDevice/device_query.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ int main() {
1818
auto Backend = Device.get_backend();
1919

2020
if ((Backend == backend::ext_oneapi_level_zero)) {
21-
assert(!SupportsGraphs);
21+
// Full graph support is dependent on the Level Zero device & driver,
22+
// and cannot be asserted without diving into these details.
2223
assert(SupportsLimitedGraphs);
23-
2424
} else if ((Backend == backend::ext_oneapi_cuda) ||
2525
(Backend == backend::ext_oneapi_hip)) {
2626
assert(SupportsGraphs);

0 commit comments

Comments
 (0)