Cilk
在 阅读 ustc.edu False Sharing 时,其中给出的 example使用 cilk_spawn
、cilk_sync
,从而使我发现了Cilk。
wikipedia Cilk
Cilk, Cilk++ and Cilk Plus are general-purpose programming languages designed for multithreaded parallel computing. They are based on the C and C++ programming languages, which they extend with constructs to express parallel loops and the fork–join idiom.
mit.edu Programming in Cilk
The Cilk programming language provides a simple extension to the C and C++ languages that allow programmers to expose logically parallel tasks. Cilk extends C and C++ with three keywords: cilk_spawn
, cilk_sync
, and cilk_for
. This page describes the Cilk language extension.