Cilk 技术应用实例

下面以 Quicksort 为例,演示如何用 Cilk 技术编写一个并行化程序。

其中使用函数名 sample_qsort 以避免和标准 C 函数库中的 qsort 函数的冲突。例中的一些语句行被删除,但是保留了相应的行号。 

9 #include <algorithm>


作者: 最后更新时间: 2017/06/14 - 13:09

Intel® Cilk™ Plus – AOBench Sample

This is the AOBench example associated with the "Intel® Cilk™ Plus – The Simplest Path to Parallelism" how-to article.  It shows an Ambient Occlusion algorithm implemented as serial loops, one us
作者: 最后更新时间: 2018/05/25 - 15:30

Parallel Universe Magazine #12: Advanced Vectorization

This blog contains additional content for the article "Advanced Vectorization" from Parallel Universe #12:

作者: 最后更新时间: 2019/07/03 - 20:08

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...
作者: Hans P. (Intel) 最后更新时间: 2017/12/11 - 10:48

Cilk Plus Solver for a Chess Puzzle or: How I Learned to Love Fast Rejection

Intel® Cilk™ Plus enabled parallelizing a chess puzzle solver with a few changes.
作者: 最后更新时间: 2017/06/07 - 09:12

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®

作者: 最后更新时间: 2017/06/07 - 10:29

Late-initialization of frame descriptors in Cilk Plus/LLVM

The Intel® Cilk™ Plus C/C++ language extensions support the expression of portable and efficient task and vector parallel programs. Cilk Plus/LLVM is an implementation of these extensions in the Clang frontend for LLVM. In this article we explain one of the optimizations that we have implemented in Cilk Plus/LLVM: late-initialization of frame descriptors[1]. With this explanation, we provide a...
作者: 最后更新时间: 2017/06/07 - 09:11

Utilities 来自 Intel® C++ Compiler Code Samples

This section contains the following utility classes:

最后更新时间: 2019/03/21 - 09:08

Finance: Monte Carlo 来自 Intel® C++ Compiler Code Samples

Monte Carlo algorithms solve deterministic problems by using a probabilistic analogue.

最后更新时间: 2019/03/21 - 09:08

Classic Algorithms 来自 Intel® C++ Compiler Code Samples

The followings are samples to demonstrate the Intel(R) Cilk(TM) Plus implementations and its performance benefits for the popular classic algorithms.

最后更新时间: 2019/03/21 - 09:08