Skip to content

Commit 39ab8a3

Browse files
clementvalgithub-actions[bot]
authored andcommitted
Automerge: [flang][cuda] Add on_device interface to cudadevice (#134747)
2 parents a3f9d07 + 3f4e4e0 commit 39ab8a3

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

flang/module/cudadevice.f90

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1609,4 +1609,9 @@ attributes(device) integer function ballot_sync(mask, pred)
16091609
end subroutine
16101610
end interface
16111611

1612+
interface
1613+
attributes(device,host) logical function on_device() bind(c)
1614+
end function
1615+
end interface
1616+
16121617
end module

0 commit comments

Comments
 (0)