AMDGPU.jl icon indicating copy to clipboard operation
AMDGPU.jl copied to clipboard

unsafe_copy3d! requires 2^4 alignment

Open jpsamaroo opened this issue 3 years ago • 2 comments

As reported by HSA in CI on master. We should probably switch to a kernel copy for the portions which aren't aligned.

jpsamaroo avatar Nov 21 '22 16:11 jpsamaroo

Is this still the case? (cc @jpsamaroo @pxl-th) Maybe worth checking as I saw the function got refactored in https://github.com/JuliaGPU/AMDGPU.jl/pull/374

luraess avatar Apr 04 '23 06:04 luraess

hsa_amd_memory_async_copy_rect accepts hsa_pitched_ptr_s docs for which still say that alignment is required.

We may however, add hsa_amd_memory_async_copy for regular async copy.

pxl-th avatar Apr 07 '23 11:04 pxl-th