Commit 5e89c845 authored by Kazutomo Yoshii's avatar Kazutomo Yoshii
Browse files

accidentaly removed before. reverted it

parent 0d365e37
\ No newline at end of file
// just a dummy OpenCL kernel for testing
// Kaz Yoshii <>
__kernel void dummy(__global int *restrict g1,
__global int *restrict g2)
int g_idx = get_global_id(0);
int l_idx = get_local_id(0);
g1[g_idx] = g_idx;
g2[g_idx] = l_idx;
printf("dummy: dim=%d global_size=%2lu global_id=%2lu local_size=%2lu local_id=%2lu num_groups=%2lu group_id=%2lu\n",
get_global_size(0), get_global_id(0),
get_local_size(0), get_local_id(0),
get_num_groups(0), get_group_id(0));
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment