I try to call Magma from Fortran and I used the wrapper control/magma_*fortran.F90 and magma.F90 offered by Magma.

I add them in my projet and compile them, there are lots of bugs with "magma_devptr_t" which is a pointer for GPU memory . Does anyone know how to fix it?

Thanks in advance

Code: Select all

`error #5082: Syntax error, found '::' when expecting one of: ( % [ : . = => G:\PROJECTS\magma-1.6.1\control\magma_zfortran.F90 131 `

Code: Select all

```
subroutine magmaf_dlarfb_gpu_gemm( side, trans, direct, storev, m, n, k, dV, lddv, dT, &
lddt, dC, lddc, dwork, ldwork, dworkvt, ldworkvt )
character :: side
character :: trans
character :: direct
character :: storev
integer :: m
integer :: n
integer :: k
magma_devptr_t :: dV
integer :: lddv
magma_devptr_t :: dT
integer :: lddt
magma_devptr_t :: dC
integer :: lddc
magma_devptr_t :: dwork
integer :: ldwork
magma_devptr_t :: dworkvt
integer :: ldworkvt
end subroutine magmaf_dlarfb_gpu_gemm
```