[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:

line 517: error:
          unrecognized token
  void write_mem_fence (cl_mem_fence_flags flags);

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
Compilation terminated.
abort on exit from EDG front-end processing! (severity = 6)
Terminating compliation (in term_compilation instead of exit_compilation)

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

-------------- 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