|
tfel
|
kernel applying a function at one point and updating the statistics of the batch. More...
#include </home/runner/work/tfel/tfel/mfront/include/MFront/GenericParallel/SYCL.hxx>
Public Member Functions | |
| void | operator() (const ::sycl::id< 1 > i) const |
| apply the function at the i-th point | |
Public Attributes | |
| PointFunction | f |
| function object applied at one point | |
| Statistics * | statistics |
| statistics, accessible by the device, or null if the function never reports an event | |
| atomic_size_type | rdt0 |
| ordered key of the initial time step scaling factor | |
kernel applying a function at one point and updating the statistics of the batch.
The statistics are updated by atomic operations, which are only performed if an event occurs at this point (see updateStatistics). Parallel reductions are not used since their synchronisation barriers make the compilation of large kernels fail with AdaptiveCpp on CPUs.
| Statistics | statistics updated by the devices |
| PointFunction | function object applied at one point |