alpaka-group / alpaka

Abstraction Library for Parallel Kernel Acceleration :llama:
https://alpaka.readthedocs.io
Mozilla Public License 2.0
337 stars 69 forks source link

Make all Examples use getValidWorkDivForKernel function [II] #2261

Open mehmetyusufoglu opened 2 months ago

mehmetyusufoglu commented 2 months ago

Replaces the getValidWorkDiv function with getValidWorkDivForKernel which take into account the kernel in calculating workdiv.

This PR should be merged together with a Next PR: Change exec and task creation function. They will use KernelBundle as a single argument not KernelObject + Args... Otherwise kernel arguments would be used in kernel bundle and exec 2 times...

psychocoderHPC commented 6 days ago

Please rebase against the dev branch to pull https://github.com/alpaka-group/alpaka/pull/2293 and update this example too.