Commit 6fb90a35 authored by Christoph Gerum's avatar Christoph Gerum

Some changes to pi.c

parent 3ef76ba7
...@@ -9,7 +9,7 @@ char *pi_kernel_source= "\n" \ ...@@ -9,7 +9,7 @@ char *pi_kernel_source= "\n" \
"{ \n" \ "{ \n" \
" int i = get_global_id(0); \n" \ " int i = get_global_id(0); \n" \
" if(i < count){ \n" \ " if(i < count){ \n" \
" output[i] = input[i] * input[i]; \n" \ " buffer[i] = input[i] * input[i]; \n" \
" } \n" \ " } \n" \
"} \n" \ "} \n" \
"\n"; "\n";
......
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