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
...
!$acc loop vector private(LOCAL_ARR)
DO JL=KIDIA,KFDIA
...
ENDDO
...
which is a problem!
Potential solutions
dataflow analysis to check whether local array should be privatised or not (whether it is written to before the offload region and only read in the offload region)
providing information via config or via the routine that prevents relevant variables from being privatised
non-loki fix: hoist the relevant array (so it is no longer a local array)
Version
main
Platform (OS and architecture)
Relevant log output
No response
Accompanying data
No response
Organisation
No response
The text was updated successfully, but these errors were encountered:
What happened?
the current logic in
SCCAnnotateTransformation.annotate_vector_loops()
is to make all arrays private thatThis is perfectly fine for kernels but not always at the driver level.
What are the steps to reproduce the bug?
Imagine having
The resulting code would have
which is a problem!
Potential solutions
Version
main
Platform (OS and architecture)
Relevant log output
No response
Accompanying data
No response
Organisation
No response
The text was updated successfully, but these errors were encountered: