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).
@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.
The
allocMappedBuf
method was already there, but when callingallocMappedBufIfSupported
it was not used because the traithasMappedBufSupport
has never been specialized to betrue
. This led to spotting a bug inBuffer.hpp
used inmathTest
, 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 thePlatform
to do the allocation).