alpaka-group / alpaka

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

enable support for mapped memory allocation for the SYCL backend #2375

Closed AuroraPerego closed 2 months ago

AuroraPerego commented 2 months ago

The allocMappedBuf method was already there, but when calling allocMappedBufIfSupported it was not used because the trait hasMappedBufSupport has never been specialized to be true. This led to spotting a bug in Buffer.hpp used in mathTest, where the accelerator platform was used to allocate memory on the host (never seen before because CUDA/HIP and the CPU backend don't use the Platform to do the allocation).

psychocoderHPC commented 2 months ago

@AuroraPerego could you please perform locally git commit --amend -a and force push again to re-trigger the CI. Simple restarting does not work, I am not sure if some caches avoid a clean re-test.