Skip to content

Commit a01d397

Browse files
authored
Revert "[SYCL] [L0 PI] Added an assert to piEnqueueKernelLaunch() when the GlobalWorkOffset!=0. (#2410)"
This reverts commit 63cbae3.
1 parent 211f259 commit a01d397

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

sycl/plugins/level_zero/pi_level_zero.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2864,11 +2864,6 @@ piEnqueueKernelLaunch(pi_queue Queue, pi_kernel Kernel, pi_uint32 WorkDim,
28642864
assert(Kernel);
28652865
assert(Queue);
28662866
assert((WorkDim > 0) && (WorkDim < 4));
2867-
if (GlobalWorkOffset != NULL) {
2868-
for (pi_uint32 i = 0; i < WorkDim; i++) {
2869-
assert(GlobalWorkOffset[i] == 0);
2870-
}
2871-
}
28722867

28732868
ze_group_count_t ZeThreadGroupDimensions{1, 1, 1};
28742869
uint32_t WG[3];

sycl/test/basic_tests/free_function_queries/free_function_queries.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@
44
// RUN: %CPU_RUN_PLACEHOLDER %t.out
55
// RUN: %GPU_RUN_PLACEHOLDER %t.out
66

7-
// TODO: Support global work offset on Level Zero.
8-
// XFAIL: level_zero
9-
107
//==- free_function_queries.cpp - SYCL free function queries test -=//
118
//
129
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.

0 commit comments

Comments
 (0)