You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rank-specialized interfaces for batched HIP/ROCm functions are not usable in the current state as
the backend expects a pointer to pointer as argument, which cannot be mapped to a multidimensional Fortran array.
However, the direct bindings might work by passing the first element of a contiguous array of type(c_ptr) type to the backend, i.e. something like this:
type(c_ptr),dimension(5) :: mybatch
! allocate the batch items
...
!
! Call the HIP/ROCm binding or interface and pass the first element:
ierr = myhipfunction_batched(... mybatch(1))
Further testing is necessary to confirm that this works.
The text was updated successfully, but these errors were encountered:
domcharrier
added
bug
Something isn't working
testing
Issue describing testing needs or current testing infrastructure deficiencies
labels
Feb 24, 2022
Rank-specialized interfaces for batched HIP/ROCm functions are not usable in the current state as
the backend expects a pointer to pointer as argument, which cannot be mapped to a multidimensional Fortran array.
However, the direct bindings might work by passing the first element of a contiguous array of
type(c_ptr)
type to the backend, i.e. something like this:Further testing is necessary to confirm that this works.
The text was updated successfully, but these errors were encountered: