[Issue]: myInfo input variable to rocsolver_dgetrf_batched expects c_int, but should expect c_ptr (to be a ptr to an array of c_ints)
Problem Description
myInfo input variable to rocsolver_dgetrf_batched expects c_int, but should expect c_ptr (to be a ptr to an array of c_ints).
Operating System
SUSE Linux Enterprise Server 15 SP6
CPU
AMD EPYC 7763
GPU
AMD Instinct MI210
ROCm Version
ROCm 6.2.4
ROCm Component
hipfort
Steps to Reproduce
No response
(Optional for Linux users) Output of /opt/rocm/bin/rocminfo --support
No response
Additional Information
This bug applies also to the most recent develop branch of hipfort (as is seen by perusing code).
Hi @jjepson2. Internal ticket has been created to investigate this issue. Thanks!
@ppanchad-amd Great, sounds good. You're welcome!
Hi @jjepson2, can you clarify where this is in the code?
@ppanchad-amd Yes. It is in lib/hipfort/hipfort_rocsolver.F90. Specifically it is an error with the interfaces of rocsolver_*_batched routines in that file (the myInfo input variable specifically).
@jjepson2 Sorry for the delay on this, was working on a fix but my attention was pulled elsewhere. Is this blocking you? I have changes in https://github.com/schung-amd/hipfort/tree/rocsolver-interface-fix with a corresponding f2003 test but couldn't get a f2008 test to build.
I did find a work around (not including any of the "include" files for the library, and defining my own interfaces as needed), so it isn't blocking me at present.