Sohan - 2011-09-13

Hello all!

I'm a student and new to hiCUDA. I'm working on one of the assignment during which I came across following error. Here is the screen dump of terminal.

hicuda -o ffos_hicuda -m32 ffos_hicuda.c common.c
Invalid induction variable type in init_expr in a FOR statement!
### Compiler Error during Writing WHIRL file phase:
### Invalid syntax in the FOR statement at line: 293, file number: 1.!

opencc INTERNAL ERROR: /home/swalimbe/opt/hicuda/lib/gcc-lib/x86_64-open64-linux/4.1/gfec returned non-zero status 1

==================================================================
    CUDA code generation FAILED (in opencc).
    The error message should be right above, starting with ###.

    If you believe that there is a bug in the hiCUDA compiler,
    please submit a report to:
          http://sourceforge.net/projects/hicuda/
==================================================================

make: ***  Error 1

Line 293 of code is,

#pragma hicuda loop_partition over_tblock over_thread
-> for (h = 0; h < image_h; h++)
{

Could anyone please tell me where might I be going wrong?

Thanks in advance!

Regards