GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||
GeezerVison is showing cilkplus.github.io — Cilk Plus/LLVM Intel® Cilk™ Plus is an extension to the C and C++ languages to support data and task parallelism. It is one of the easiest, quickest way to harness the power of both multicore and vector processing. Visit cilkplus.org for details. This project implements the Intel® Cilk™ Plus language extensions in the Clang frontend for LLVM. There are two other implementations available. A commercial version of Cilk Plus is available as part of the Intel® C++ Composer XE compiler. There is also an open source version available in the "cilkplus" branch of the GCC C/C++ compiler. More information is available on cilkplus.org. NewsFebruary 4, 2016
December 29, 2015 - Big new update, including: September 17, 2014 - Binary images of the compiler added for both Linux and Mac. Try Cilk Plus/LLVMNote: Cilk Plus/LLVM does not yet support all of the Intel® Cilk™ Plus extensions. See Status. RequirementsMost software and hardware requirements are the same as for LLVM. However, support is currently limited to 64 bit Linux and Mac OS X - see status for details on supported configurations and known issues. CMake version 2.8.8 or greater is required to compile compiler-rt when using the recommended build process. Alternatively, it is also possible to use configure/make by following the directions at http://clang.llvm.org/get_started.html. Getting the source code
The source code structure follows Clang/LLVM: http://llvm.org/docs/GettingStarted.html. BuildingThe recommended way to build Cilk Plus/LLVM is using CMake. Detailed instructions on how to build Clang/LLVM/Compiler-rt with CMake can be found in the following page: http://llvm.org/docs/CMake.html. In the following command, make sure to replace
The most important thing here is -DINTEL_SPECIFIC_CILKPLUS=1. Without this define you won't be able to build anything (later we'll change it). Attention: To run (rather than just compile) code you need to get or build an Intel Cilk Runtime. Mac OS X The basic steps are the same as above. However, on Mac OS X it is recommended to build with the Clang compiler shipped with the OS. Add the following definitions to the cmake command above.
Windows Follow instructions described on Clang web site:DownloadingInstead of building from sources you're able simply to download the precompiled image of our compiler related to your OS: Linux or Mac. Attention: these images were not updated for the latest sources. We're planning to updatem the images soon and to add Windows image as well. UsingTo use the newly installed compiler, add the following to your environment. On Mac OS X, replace LD_LIBRARY_PATH with DYLD_LIBRARY_PATH.
When you build a program that uses Intel® Cilk™ Plus extensions, add the following option to enable Cilk Plus support and link to the runtime library.
A simple program
Confirm that the compiler is working correctly by saving the above code code to a file.
You can check that the code is executing in parallel by using the time command and CILK_NWORKERS environment variable to control the number of workers.
StatusWhat works right now
Known issues
Supported platformsOS: Linux, Windows or OS X LicenseLLVM, Clang, and Compiler-rt are distributed under LLVM's "UIUC" BSD-Style license. For details, including information about third-party components, see LICENSE.txt in the code repositories. The Intel® Cilk™ Plus runtime library is distributed under a BSD 3-Clause license. ContactIf you would like to report a bug, or make a feature request, you can submit an issue in Github here. © 2012-2013 Intel Corporation. Intel and Cilk are trademarks of Intel Corporation in the U.S. and/or other countries. Slate theme maintained by Jason Costello | ||||||||||||||
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |