[Rose-public] Generating .cl file to insert outlined kernel function

Prarthana HonneGowda prarthana3090 at gmail.com
Wed May 28 03:35:30 PDT 2014


Hi all,

I am working on translating C programs to OpenCL. I was able to create
kernel function to be outlined to .cl file. But generating the new source
file with .cl extension throws me the error as below:

///////////////////////////////////////////////
...
...
...
"/home/trainee01/pratna/roseDevelopmentFramework/buildRose/include-staging/opencl_HEADERS/preinclude-opencl.h",
line 517: error:
          unrecognized token
  void write_mem_fence (cl_mem_fence_flags flags);
                                              ^

"/home/trainee01/pratna/roseDevelopmentFramework/buildRose/include-staging/opencl_HEADERS/preinclude-opencl.h",
line 521: error:
          identifier "event_t" is undefined
  void wait_group_events (int num_events, event_t * event_list);
                                          ^

Error limit reached.
100 errors detected in the compilation of
"/home/trainee01/pratna/ctoclTranslator/translator/kernel_OUT__1__1527__.cl".
Compilation terminated.
abort on exit from EDG front-end processing! (severity = 6)
Terminating compliation (in term_compilation instead of exit_compilation)
Aborted

//////////////////////////////////////////////////
What am I missing here. Could any one help me out please.

Thanks
Prarthana
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nersc.gov/pipermail/rose-public/attachments/20140528/1c42d546/attachment.html>


More information about the rose-public mailing list