why the following code cannot compile?
Just read through the guide. The following code is from the guide page 44. The error message is/usr/include/c++/4.2/complex:532: error: invalid initialization of non-const reference of type...
View Articlesegmentation fault in capture
the following compiles but runs with a seg fault. Anthing wrong?===============================================#include #include using arbb::i32;bool condition = true;// it is fine if data is passed by...
View ArticleIssues with the product documentation
Hope someone will fix them. (0) Example code could be well-aligned, quite a few places. (1) There are a number of places with "Note iconNote" or "Tip iconTip". (2) Missing a ")"__declspec (vector...
View ArticleTwo compiler crashes
The following tests cause compiler crashes, although they should be incorrect uses of _Cilk_spwan. (The spec seemly does not exclude the first test). icc version 12.1.4 (gcc version 4.6.0...
View Articlepragma simd vectorlength does not take compile time constants?
Hello, The following code vectorlength.cpp does not compile with icc version 12.1.4 vectorlength.cpp(4): error: expression must have a constant value #pragma simd vectorlength(m)...
View ArticleICC 13.0.1 crashes while spawning a lambda
HiNotice that ICC 13.0.1 failed to compile a cilk spawn with a lambda capturing an array by value. Here is the small test case.void foo(const float*);void bar() { float A[2] = {0, 1}; _Cilk_spawn...
View ArticleIs this a bug for icc
The following program causes a runtime crash reducer_impl.cpp:527: cilk assertion failed: hMy compiler is icc 13.1.1 on Ubuntu 12.04. #include <cilk/reducer.h> #include...
View ArticleInstalling cilkplus on Mac Os X Mountain Lion
Hello, I am trying to install cilkplus on Mac Os X Mountain Lion without too much success. First of all I have dowloaded the cilkplus branch from the gcc git repo and then I have configured as...
View Articlevector/elementals attribute syntax on GCC
Hi folks. Me again; trying to incorporate the elemental feature into GCC trunk.The attribute syntax, as specified in the language spec is a bit problematic for the GCC infrastructure, and I'm...
View Article