File: test_clBuildProgram_macros.cl

package info (click to toggle)
pocl 0.13-8
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 18,452 kB
  • ctags: 13,529
  • sloc: lisp: 113,221; cpp: 57,376; ansic: 25,021; sh: 6,150; makefile: 2,067; python: 699; pascal: 98; java: 72; xml: 49
file content (15 lines) | stat: -rw-r--r-- 360 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifdef cl_khr_fp64
#  pragma OPENCL EXTENSION cl_khr_fp64 : enable
#else
#  error "cl_khr_fp64 macro undefined"
#endif

#ifdef cl_khr_global_int32_base_atomics
#  pragma OPENCL EXTENSION cl_khr_global_int32_base_atomics : disable
#else
#  error "cl_khr_global_int32_base_atomics macro undefined"
#endif

__kernel void kernel_1() {
  printf("Hello World\n");
}