#include // Map the llvm intrinsic to an OpenCL function. #define __CLC_FUNCTION __clc_trunc #define __CLC_INTRINSIC "llvm.trunc" #include #undef __CLC_FUNCTION #define __CLC_FUNCTION trunc #include "unary_builtin.inc"