Hi I am trying to offload some parallel work to MIC using _Cilk_Shared and _Cilk_offload.
I declare a Cilk shared function:
_Cilk_shared void somefun(int count)
In main I call this function using
_Cilk_offload somefun(12) ;
inside this function everything is expected to be offloaded to MIC;
I want to declare a Cilk reducer inside somefun, so I can then use cilk_for and append to a cilk reducer list,
but I get error: