llvm-capstone/libclc/test/fabs.cl
Peter Collingbourne 6f154f16cd Add fabs builtin.
llvm-svn: 157595
2012-05-28 22:22:13 +00:00

4 lines
49 B
Common Lisp

__kernel void foo(float *f) {
*f = fabs(*f);
}