Cilk plus annotations in CLion (C++)

已回答

I need to use the cilk plus annotations in my C++ program, something like:

#inlcude <cilk/cilk.h>

cilk_spawn myFunction();
cilk_sync;

I'm using JetBrains CLion IDE and a red squiggly line under cilk_spawn notifies the error Error after macro substitution: can't resolve type '_Cilk_spawn'.

Does this mean I can't use cilk extensions inside CLion? 

Thanks in advance

0
Avatar
Permanently deleted user

I know that this is not the question, but Cilk Plus is dying slowly as it does not offer much over TBB, except being C compatible.

0

Hi! We already have the issue about Cilk Plus in our tracker. Please feel free to comment and upvote.

0

请先登录再写评论。