ROCm / hipfort

Fortran interfaces for ROCm libraries
https://rocm.docs.amd.com/projects/hipfort/en/latest/
Other
66 stars 34 forks source link

Remove unsed *outofplace* interfaces and functions #168

Closed Saldivarcher closed 1 month ago

Saldivarcher commented 1 month ago

Noticed that when building hipfort and linking against rocm-6.1.0, we were getting undefined reference errors to these symbols:

undefined reference to `rocblas_strmm_outofplace'
undefined reference to `rocblas_dtrmm_outofplace'
undefined reference to `rocblas_ctrmm_outofplace'
undefined reference to `rocblas_ztrmm_outofplace'
undefined reference to `rocblas_strmm_outofplace_batched'
undefined reference to `rocblas_dtrmm_outofplace_batched'
undefined reference to `rocblas_ctrmm_outofplace_batched'
undefined reference to `rocblas_ztrmm_outofplace_batched'
undefined reference to `rocblas_strmm_outofplace_strided_batched'
undefined reference to `rocblas_dtrmm_outofplace_strided_batched'
undefined reference to `rocblas_ctrmm_outofplace_strided_batched'
undefined reference to `rocblas_ztrmm_outofplace_strided_batched'

After doing some digging it looks like, as of rocm-6.1.0 those objects should no longer exist.

$ nm /opt/rocm-6.1.0/lib/librocblas.so | grep "rocblas_ctrmm_outofplace"
$ nm /opt/rocm-5.6.0/lib/librocblas.so | grep "rocblas_ctrmm_outofplace"
00000000166a1080 T rocblas_ctrmm_outofplace
00000000166ada40 T rocblas_ctrmm_outofplace_batched
00000000166b9e10 T rocblas_ctrmm_outofplace_strided_batched