File: get_global_size.cl

package info (click to toggle)
libclc 0.2.0%2Bgit20180917-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 3,552 kB
  • sloc: lisp: 13,186; ansic: 2,418; python: 647; cpp: 93; sh: 29; makefile: 10; pascal: 7
file content (5 lines) | stat: -rw-r--r-- 118 bytes parent folder | download | duplicates (9)
1
2
3
4
5
#include <clc/clc.h>

_CLC_DEF size_t get_global_size(uint dim) {
  return get_num_groups(dim)*get_local_size(dim);
}