-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
exceeds register size
error when building with SYCL backend
#593
Comments
Any progress here? |
Sorry about the delay on this. First, for background (briefly discussed on slack) each I haven't been able to reproduce in my most recent builds, but this sounds like it's at the application level. Do you see this in any in-repo tests or examples (and if not can you give more detail on what your kernel looks like)? For fixing this, my first attempts were to use the same strategy as Kokkos managed As a different approach, we also have a new option Last, adding @masterleinad here who has led the Kokkos SYCL backend development to see if he has suggestions |
I don't have much to add. You could try explicitly copying the kernel by swapping all |
Dockerfile.txt |
When using AoSoA datastructure and slices Intel compilers will
exceeds register size
when building with SYCL backend for Intel GPUs.With the help of @igorvorobtsov, the problem was identified being the labels. Labels in Cabana are stored as
char
arrays. The Intel compiler will expand eachchar
to 4 bytes for alignment reasons. By passing slices by value to kernels this can exceed the register size.The text was updated successfully, but these errors were encountered: