英特尔® Cilk™ Plus

cilkview and gcc 4.9 cilkplus branch on 64 bit linux

Hello, I've downloaded the latest (I think) version fo cilkview from the cilkplus website. For some reason it is not working (even if I try to run it from the same folder, it doesn't find the program...) I'm thinking it has to do with some 32 vs 64-bit library. I exported the lib64 to no avail. Is there any kind of support for cilkview? If not, will you guys just release the source, so we can patch it? This would be great. Same with cilkprof.

Thanks for your time.

Is it possible to me to improve a simple O(n) algorithm with Cilk Plus?

Hi everybody!

I have a simple algorithm to print the very first unique ASCII character from a stream. In the worst case the algorithm scans through the stream twice, doing some comparisons and increments. So, roughly, my algorithm is O(n).

The algorithm0 do two main things:

vectorizing with an inline function?

I attached two code files mandel1.cpp and mandel2.cpp.

mandel1.cpp has a loop with all the code in the body

mandel2.cpp has equivalent code but instead of having the code in the body it calls an inline function

Compiling with intel c++ compiler 15 with "icc  -O3 -fp-model fast=2 -xCORE-AVX2 -fma -c -S", I can vectorize mandel1.cpp but not mandel2.cpp.

Is there I way I can vectorize mandel2.cpp and still have a separate function? It seems like the optimizer ought to just be able to inline and then apply the vectorization if it can vectorize mandel1.cpp.

How to compile cilk plus runtime source with Intel® C++ Composer XE 2013

Dear all,

I want to compile cilk plus runtime source with Intel® C++ Composer XE 2013. I build the cilk plus runtime according to the directions in the "readme" file (libtoolize; aclocal; automake --add-missing; autoconf; ./configure; make; make install). But in this way, gcc is used by default.

Please, could somebody give me some guidelines in order to compile cilk plus runtime source with Intel® C++ Composer XE 2013? 

Thanks a lot for your help.

Best Regards,

Yaqiong Peng

Intel® System Studio - Multicore Programming with Intel® Cilk™ Plus

Intel System Studio not only provides a variety of signal processing primitives via Intel® Integrated Performance Primitives (Intel® IPP), and Intel® Math Kernel Library (Intel® MKL), but also allows developing high-performance low-latency custom code (Intel C++ Compiler with Intel Cilk Plus). Since Intel Cilk Plus is built into the compiler, it can be used where it demands an efficient threading runtime in order to extract parallelism. Therefore it's possible to effectively introduce multicore parallelism even without introducing it into each of the important algorithms e.g., by employing a parallel pattern called pipeline. For custom code (e.g., code that's not reused via a library), one can rely (in addition to auto-vectorization) on an extended Array Notation incl. elemental functions (kernels) to explicitly vectorize at a higher level compared to ISA-specific intrinsic functions.
  • 学生
  • Linux*
  • Yocto 项目
  • C/C++
  • 高级
  • 入门级
  • 中级
  • 英特尔® C++ 编译器
  • 英特尔® Cilk™ Plus
  • 英特尔® 集成性能原件
  • 英特尔® 数学核心函数库
  • 英特尔® System Studio
  • 并行计算
  • 能效
  • 线程
  • 矢量化
  • Why does the available number of workers changes execution for a 1 cilk_spawn program?

    While optimizing a matrix manipulation code in C, I used CilkPlus to spawn a thread to execute in parallel two functions that are data independent and somewhat computationally intensive. Cilk_spawn is used in only one place in the code as follows:

    Run-time exit function

    Hello,
    I would like to understand run-time execution in Cilk a little better. 
    I have downloaded Intel Cilk run-time release (cilkplus-rtl-003365 - released 3-May-2013).

    On 09/09/2013 I had asked a question seeking to figure out which is the last function executed before Cilk run-time ends assuming execution went without any problems.

    Barry suggested to look at “__cilkrts_c_return_from_initial()” in scheduler.c  and indeed that was what I needed at that time.

    订阅 英特尔® Cilk™ Plus