OpenMP_VV icon indicating copy to clipboard operation
OpenMP_VV copied to clipboard

declare_target local

Open andrewkallai opened this issue 7 months ago • 1 comments

Does not compile with clang 22.0.0

andrewkallai avatar Sep 25 '25 17:09 andrewkallai

@andrewkallai , I see what you are trying to do using tofrom in the absence of support for the local clause, BUT you cannot use a scalar in that case, since every device has a unique value of "x" and hence "sum", you will need a sum[TotGpus] array to store unique value for each device "i" at index "i".

spophale avatar Oct 16 '25 19:10 spophale