Re: Does gcc cilk plus support include offloading to graphics hardware?

2016-04-21 Thread Hal Ashburner
I'm likely to be suspicious of gcc's claims of support of cilk plus in the future. Thank you very much for your help, Ilya I appreciate it. It's good to find these things out as early as possible. On 22 April 2016 at 05:31, Ilya Verbin wrote: > 2016-04-21 7:09 GMT+03:00 Hal Ashb

Re: Does gcc cilk plus support include offloading to graphics hardware?

2016-04-20 Thread Hal Ashburner
Another cilk plus question: Is op_ostream also considered to be outside of cilk plus? https://www.cilkplus.org/docs/doxygen/include-dir/group___reducers_ostream.html I am trying to compile the basic "Cilk Plus Tutorial Sources" code as supplied at http://cilkplus.org/download reducer-ostream-demo.c

Re: Does gcc cilk plus support include offloading to graphics hardware?

2016-04-20 Thread Hal Ashburner
/talks/Intel%20Graphics%20Technology%20for%20general%20purpose%20computing.pdf Thanks again. On 20 April 2016 at 19:31, Ilya Verbin wrote: > 2016-04-20 4:01 GMT+03:00 Hal Ashburner : >> Release notes say: >> "Full support for Cilk Plus has been added to the GCC compiler

Does gcc cilk plus support include offloading to graphics hardware?

2016-04-19 Thread Hal Ashburner
Release notes say: "Full support for Cilk Plus has been added to the GCC compiler. Cilk Plus is an extension to the C and C++ languages to support data and task parallelism." gcc-5.2 (centos-7, devtoolset-4) says: g++ -std=c++14 -Wall -O3 -march=native -fcilkplus vec_add.cpp -o vec_add vec_add.cp

__attribute__((aligned())) address of (&) arithmetic

2014-06-28 Thread Hal Ashburner
//alignment.cpp #include struct Struct_containing_64aligned_member { Struct_containing_64aligned_member() : aligned_var(80) {} uint64_t aligned_var __attribute__((aligned(64))); }; struct Struct_no_aligned_member { Struct_no_aligned_member() : var(80) {} uint64_t