AMReX-Codes / amrex

AMReX: Software Framework for Block Structured AMR
https://amrex-codes.github.io/amrex
Other
503 stars 336 forks source link

Match the dimensions of reqd_work_group_size to submitted nd_range #4002

Closed zhaomaosu closed 1 week ago

zhaomaosu commented 1 week ago

Summary

According to sycl spec, the number of arguments of reqd_work_group_size must match the dimensions of the work-group used to invoke the kernel.

Additional background

https://registry.khronos.org/SYCL/specs/sycl-2020/html/sycl-2020.html#sec:kernel.attributes

Checklist

The proposed changes: