File: compute_increment_kernel.cl

package info (click to toggle)
intel-gpu-tools 2.2-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 63,368 kB
  • sloc: xml: 781,458; ansic: 360,567; python: 8,336; yacc: 2,781; perl: 1,196; sh: 1,177; lex: 487; asm: 227; lisp: 35; makefile: 30
file content (6 lines) | stat: -rw-r--r-- 176 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
__kernel void square(__global float* output, const unsigned int count) {
  int i = get_global_id(0);
  for (int j = 0; j < count ; j++) {
    output[i] = output[i] + 1;
   }
}