hanchenye-llvm-project/libclc/test/fabs.cl

4 lines
49 B
Common Lisp
Raw Normal View History

2012-05-29 06:22:13 +08:00
__kernel void foo(float *f) {
*f = fabs(*f);
}