Cilk Plus

A Parallel Stable Sort Using C++11 for TBB, Cilk Plus, and OpenMP

This article describes a parallel merge sort code, and why it is more scalable than parallel quicksort or parallel samplesort. The code relies on the C++11 “move” semantics. It also points out a scalability trap to watch out for with C++. The attached code has implementations in Intel® Threading Building Blocks (Intel® TBB), Intel® Cilk™ Plus, and OpenMP*.

  • Desenvolvedores
  • Professores
  • Estudantes
  • C/C++
  • Intermediário
  • Intel® Cilk™ Plus
  • Módulos de sub-rotinas Intel®
  • parallel
  • Merge Sort
  • Cilk Plus
  • tbb
  • openmp
  • OpenMP*
  • Computação paralela
  • 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:

  • Desenvolvedores
  • Professores
  • Estudantes
  • C/C++
  • Intermediário
  • Intel® Cilk™ Plus
  • Cilk Plus
  • Extensões Intel® Streaming SIMD
  • Computação paralela
  • Parallel sorts for Cilk Plus

    This article describes the parallel sorts in the latest release of “Cilkpub”, an open-source library of utilities for Intel® Cilk™ Plus. 

    • cilk_sort
    • cilk_sort_in_place

    They are designed to be replacements for std::sort that may provide speedup when sorting many items (on the order of at least 10000). For example:

    extern float a[];
    cilkpub::cilk_sort( a, a+n );
    
  • Desenvolvedores
  • Professores
  • Estudantes
  • C/C++
  • Intermediário
  • Intel® Cilk™ Plus
  • Cilk Plus
  • parallel sorting
  • Computação paralela
  • 借助英特尔® Cilk™ Plus 实现并行化

    面向英特尔® MIC 架构的编译器方法

    面向英特尔® MIC 架构的编译器方法
    高效并行化,借助英特尔® Cilk™ Plus 实现并行化

    概述

  • Desenvolvedores
  • Linux*
  • C/C++
  • Fortran
  • Avançado
  • Compilador C++ Intel®
  • Compilador Fortran Intel®+
  • Intel Many Integrated Core
  • Cilk Plus
  • Arquitetura Intel® Many Integrated Core
  • Otimização
  • Vetorização
  • New Contributed Code for Cilk™ Plus: DotMix, a Deterministic Parallel Random-Number Generator

    DotMix is a new user-contributed code that provides programmers with a repeatable but efficient way to deterministically generate pseudorandom numbers in parallel in Intel® Cilk™ Plus. In this post, I explain what "contributed code" is, where it comes from, and give a brief preview of DotMix.
    Assine o Cilk Plus