blob: 6344051820c7988fdd29c86b7f1b07fcc041d4a1 [file] [log] [blame]
#include <clc/clc.h>
// Map the llvm intrinsic to an OpenCL function.
#define __CLC_FUNCTION __clc_round
#define __CLC_INTRINSIC "llvm.round"
#include <clc/math/unary_intrin.inc>
#undef __CLC_FUNCTION
#define __CLC_FUNCTION round
#include <clc/math/unary_builtin.inc>