Skip to content

Commit

Permalink
[SYCL][ESIMD] Fix a test with a esimd private global pinned to GRF (i…
Browse files Browse the repository at this point in the history
…ntel#9596)

Private global in the test collides with kernel arguments in GRF.
The offset must be a multiple of the register size.
  • Loading branch information
turinevgeny authored May 25, 2023
1 parent 6c602bb commit ff4c936
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion sycl/test-e2e/ESIMD/regression/Inputs/dgetrf.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ using namespace sycl;
using namespace std;
using namespace sycl::ext::intel::esimd;

ESIMD_PRIVATE ESIMD_REGISTER(192) simd<double, 3 * 32 * 4> GRF;
ESIMD_PRIVATE ESIMD_REGISTER(256) simd<double, 3 * 32 * 4> GRF;

#define V(x, w, i) (x).template select<w, 1>(i)
#define V1(x, i) V(x, 1, i)
Expand Down
3 changes: 0 additions & 3 deletions sycl/test-e2e/ESIMD/regression/dgetrf.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@
// RUN: %{build} -I%S/.. -o %t.out
// RUN: %{run} %t.out 3 2 1
//
// Failure is under investigation, tracked internally:
// UNSUPPORTED: gpu-intel-pvc
//
// This test checks the correctness of ESIMD program for batched LU
// decomposition without pivoting. The program contains multiple branches
// corresponding to LU input sizes; all internal functions are inlined.
Expand Down

0 comments on commit ff4c936

Please sign in to comment.