Mercurial > hg > Game > Cerium
changeset 1842:17d06be35858 draft
fix SC failed error
author | yuhi |
---|---|
date | Fri, 20 Dec 2013 20:56:04 +0900 |
parents | 3a5825ad4f4e |
children | bf4867621732 |
files | example/word_count/gpu/Exec.cl |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/example/word_count/gpu/Exec.cl Fri Dec 20 20:38:21 2013 +0900 +++ b/example/word_count/gpu/Exec.cl Fri Dec 20 20:56:04 2013 +0900 @@ -1,9 +1,9 @@ __kernel void wordcount(__constant long *param, __global char *i_data, - __global unsigned long long *o_data) + __global unsigned long *o_data) { - __global unsigned long long *head_tail_flag = o_data+2; + __global unsigned long *head_tail_flag = o_data+2; long length = param[0]; long word_flag = 0; long word_num = 0; @@ -30,7 +30,7 @@ // s->printf("SPE word %d line %d\n",word_num,line_num); - o_data[0] = (unsigned long long)word_num; - o_data[1] = (unsigned long long)line_num; + o_data[0] = (unsigned long)word_num; + o_data[1] = (unsigned long)line_num; }