Intel® Cilk™ Plus

Intel Software Tools Webinar Series Archive

This free webinar series presented tools, tips, and techniques that will help sharpen your development skills on Intel processors/coprocessors including Intel® Xeon® processor and Intel® Xeon Phi™ coprocessor. Intel technical experts as well as open source innovators discuss topics ranging from compiler techniques including vectorization & OpenMP 4.0, performance libraries, debugging, error checking and tuning to boost application and platform performance. Come to the live sessions with your programming questions for Intel technical experts to answer.

  • Developers
  • C/C++
  • Fortran
  • Intel® Cilk™ Plus
  • Intel® MPI Library
  • Intel® Threading Building Blocks
  • Intel® Cluster Studio XE
  • Intel® Fortran Studio XE
  • Intel® Parallel Studio XE
  • Intel® Advisor XE
  • Intel® VTune™ Amplifier XE
  • Intel® Inspector XE
  • Webinars
  • Intel® Many Integrated Core Architecture
  • simple cilk_spawn Segmentation Fault

    I'm having difficulty running a simple test case using cilk_spawn.  I'm compiling under gcc 4.9.0 20130520.

    The following fib2010.cpp example, executes in 0.028s without cilk and takes 0.376s with cilk as long as I set the number of workers to 1.  If I change the number of workers to any number greater than one, I get a segmentation fault.

    How can I parallelize implicit loop ?

    I have the loop, inside its body running the function with array member (dependent on loop index) as an argument, and returning one value.
    I can parallelized this loop by using cilk_for() operator instead of regular for() - and it is simple and works well.  This is explicit parallelization.  
    Instead of explicit loop instruction I can use Array Notation contruction (as shown below) - it is implicit loop.
    My routine is relatively long and complecs, and has Array Notation constructions inside, so it cannot be declared as a vector (elemental) one.

    Patches or configure options to build the trunk on arm

    Hello, 

    I want to build the trunk on an embedded system supporting armv7 instructions. The build was accomplished without errors but cilk/cilk.h and libcilkrts weren't built. I checked out the patches available on the internet they do support non x86 architectures but I think just i386 not arm.

    Are there other patches or config options to add while building so that I get those libraries along with the build 

    Regards   

    Parallel Computation of Sparse Rulers

    This article explains the sparse ruler problem, two parallel codes for computing sparse rulers, and some new results that reveal a surprising "gap" behavior for solutions to the sparse ruler problem. The code and results are included in the attached zip file.

    Background

    A complete sparse ruler is a ruler with M marks than can measure any integer distance between 0 and L units. For example, the following ruler has 6 marks (including the ends) and can measure integer distance from 0 to 13:

  • Developers
  • Professors
  • Students
  • C/C++
  • Intermediate
  • Intel® Cilk™ Plus
  • Cilk Plus
  • Intel® Streaming SIMD Extensions
  • Parallel Computing
  • Subscribe to Intel® Cilk™ Plus