mirror of
https://github.com/opnsense/src.git
synced 2026-03-22 10:50:09 -04:00
17 lines
271 B
LLVM
17 lines
271 B
LLVM
|
|
; Simple bit of IR to mimic CUDA's libdevice.
|
||
|
|
|
||
|
|
target triple = "nvptx-unknown-cuda"
|
||
|
|
|
||
|
|
define double @__nv_sin(double %a) {
|
||
|
|
ret double 1.0
|
||
|
|
}
|
||
|
|
|
||
|
|
define double @__nv_exp(double %a) {
|
||
|
|
ret double 3.0
|
||
|
|
}
|
||
|
|
|
||
|
|
define double @__unused(double %a) {
|
||
|
|
ret double 2.0
|
||
|
|
}
|
||
|
|
|