mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-17 00:36:34 +00:00
[CUF] Moving __fadd_rd and __fadd_ru to cudadevice.f90 as they are symbol already known upstream. (#123127)
They are defined under `__clang_cuda_device_functions.h` --------- Co-authored-by: Valentin Clement (バレンタイン クレメン) <clementval@gmail.com>
This commit is contained in:
parent
06edefac10
commit
acba822a45
@ -14,19 +14,4 @@ implicit none
|
||||
! Set PRIVATE by default to explicitly only export what is meant
|
||||
! to be exported by this MODULE.
|
||||
|
||||
interface
|
||||
attributes(device) function __fadd_rd(x, y) bind(c, name='__nv_fadd_rd')
|
||||
real, intent(in), value :: x, y
|
||||
real :: __fadd_rd
|
||||
end function
|
||||
end interface
|
||||
public :: __fadd_rd
|
||||
|
||||
interface
|
||||
attributes(device) function __fadd_ru(x, y) bind(c, name='__nv_fadd_ru')
|
||||
real, intent(in), value :: x, y
|
||||
real :: __fadd_ru
|
||||
end function
|
||||
end interface
|
||||
public :: __fadd_ru
|
||||
end module
|
||||
|
@ -75,4 +75,22 @@ implicit none
|
||||
end interface
|
||||
public :: threadfence_system
|
||||
|
||||
! Math API
|
||||
|
||||
interface
|
||||
attributes(device) function __fadd_rd(x, y) bind(c, name='__nv_fadd_rd')
|
||||
real, intent(in), value :: x, y
|
||||
real :: __fadd_rd
|
||||
end function
|
||||
end interface
|
||||
public :: __fadd_rd
|
||||
|
||||
interface
|
||||
attributes(device) function __fadd_ru(x, y) bind(c, name='__nv_fadd_ru')
|
||||
real, intent(in), value :: x, y
|
||||
real :: __fadd_ru
|
||||
end function
|
||||
end interface
|
||||
public :: __fadd_ru
|
||||
|
||||
end module
|
||||
|
Loading…
x
Reference in New Issue
Block a user