summaryrefslogtreecommitdiff
path: root/kernels/compiler_double_3.cl
blob: 8b324045c932a7d6d989f099d87f152aae390058 (plain)
1
2
3
4
5
6
#pragma OPENCL EXTENSION cl_khr_fp64 : enable
kernel void compiler_double_3(global float *src, global double *dst) {
  int i = get_global_id(0);
  float d = 1.234567890123456789f;
  dst[i] = i < 14 ? d : 14;
}