Quantcast
Viewing all articles
Browse latest Browse all 77

status of cilkplus in gcc?

What's going on with cilkplus in gcc? Is it still being actively used and developed? 

This link says it's been "supported" for some time: https://www.cilkplus.org/which-license#gcc-development.

​Yet it doesn't seem to work with some of the simplest code like below which gives an ICE with gcc.

http://melpon.org/wandbox/permlink/PxcBvdYh1nMvUlsZ

#include <cilk/cilk.h>
#include <vector>

auto f() {
  std::vector<double> v;
  return v;
}

int main() {
  auto x = cilk_spawn f();
  auto y = f();
  cilk_sync;
  return 0;
} 

 


Viewing all articles
Browse latest Browse all 77

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>