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

4 lines
49 B
Common Lisp

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