magma_devptr_t :: dA
...
!$acc parallel loop collapse(2) deviceptr(dA)
do i = 2, ldda
do j = 1, n
k = MOD(j, i-1) + 1
dA(i,k) = 0.0D0
end do ! j
end do ! i
!$acc end parallel
....
<<< use the upper triangular matrix dA in other magma gpu routines>>>>
------------------------------------------------------------------------
The compiler tells me that dA(i,k) = 0.0D0 is an unclassified statement. How do I mke openacc aware of the array that is already on device?
I have tried the !$acc data present (dA) as well.
Thanks for your time looking into this,
Soham.
--
You received this message because you are subscribed to the Google Groups "MAGMA User" group.
To unsubscribe from this group and stop receiving emails from it, send an email to magma-user+...@icl.utk.edu.
To view this discussion on the web visit https://groups.google.com/a/icl.utk.edu/d/msgid/magma-user/21651ee5-16f4-4ec9-9985-097997345aa2n%40icl.utk.edu.
Hello,Sorry to bother you all on this again, but I tested magmablas_dlaset() and could not find an easy way to leave the diagonal elements alone. Is there a way to set the lower triangle (not including the diagonal elements)?