These functions are all mapped to LLVM intrinsics. The clspv and spirv targets don't declare or define any of these CLC functions, and instead map these to their corresponding OpenCL symbols.
7 lines
132 B
Common Lisp
7 lines
132 B
Common Lisp
#include <clc/clc.h>
|
|
#include <clc/math/clc_rint.h>
|
|
|
|
#undef __CLC_FUNCTION
|
|
#define __CLC_FUNCTION rint
|
|
#include "unary_builtin.inc"
|