Mercurial > hg > Game > Cerium
changeset 1838:759587e37bc7 draft
Change to long
author | yuhi |
---|---|
date | Fri, 20 Dec 2013 18:02:45 +0900 |
parents | 093bdd5e940e |
children | f71b722001dd 3a5825ad4f4e |
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 12:00:15 2013 +0900 +++ b/example/word_count/gpu/Exec.cl Fri Dec 20 18:02:45 2013 +0900 @@ -5,10 +5,10 @@ { __global unsigned long long *head_tail_flag = o_data+2; long length = param[0]; - int word_flag = 0; - int word_num = 0; - int line_num = 0; - int i = 0; + long word_flag = 0; + long word_num = 0; + long line_num = 0; + long i = 0; head_tail_flag[0] = (i_data[0] != 0x20) && (i_data[0] != 0x0A); word_num -= 1-head_tail_flag[0];