You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue is to track changes that need to be made to get Quokka to compile with the SYCL GPU backend:
Can't use function references (used in ODEIntegrate.hpp for rhs function)
/home/runner/work/quokka/quokka/src/ODEIntegrate.hpp:136:2: error: SYCL kernel cannot call through a function pointer
136 | rhs(t0, y0, ydot0, user_data);
| ^
Can't use global variables on device (used everywhere in Microphysics...)
In file included from /home/runner/work/quokka/quokka/src/EOS.hpp:20:
/home/runner/work/quokka/quokka/extern/Microphysics/interfaces/eos.H:86:35: error: SYCL kernel cannot use a non-const global variable
86 | state.rho = amrex::min(EOSData::maxdens, amrex::max(EOSData::mindens, state.rho));
|
### Description
Updates the documentation to note that Quokka cannot currently be
compiled for Intel GPUs due to design limitations in Intel's GPU
programming model.
### Related issues
#619
### Checklist
_Before this pull request can be reviewed, all of these tasks should be
completed. Denote completed tasks with an `x` inside the square brackets
`[ ]` in the Markdown source below:_
- [x] I have added a description (see above).
- [x] I have added a link to any related issues see (see above).
- [x] I have read the [Contributing
Guide](https://github.com/quokka-astro/quokka/blob/development/CONTRIBUTING.md).
- [ ] I have added tests for any new physics that this PR adds to the
code.
- [ ] I have tested this PR on my local computer and all tests pass.
- [ ] I have manually triggered the GPU tests with the magic comment
`/azp run`.
- [x] I have requested a reviewer for this PR.
Describe the proposal
This issue is to track changes that need to be made to get Quokka to compile with the SYCL GPU backend:
ODEIntegrate.hpp
for rhs function)fp-model=precise
to compiler flags:Additional context
SYCL 2020 specification lists many restrictions that CUDA and HIP do not have.
https://registry.khronos.org/SYCL/specs/sycl-2020/html/sycl-2020.html#sec:language.restrictions.kernels
The text was updated successfully, but these errors were encountered: