[flang][cuda] Add interface and lowering for all_sync (#134001)

This commit is contained in:
Valentin Clement (バレンタイン クレメン)
2025-04-01 17:59:11 -07:00
committed by GitHub
parent e25187bc3e
commit ae8dd63681
4 changed files with 36 additions and 0 deletions

View File

@@ -1015,6 +1015,13 @@ implicit none
end function
end interface
interface all_sync
attributes(device) integer function all_sync(mask, pred)
!dir$ ignore_tkr(d) mask, (td) pred
integer, value :: mask, pred
end function
end interface
! LDCG
interface __ldcg
attributes(device) pure integer(4) function __ldcg_i4(x) bind(c)