• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

.calcite/H03-May-2022-

.github/workflows/H15-Jul-2021-1,6101,325

.gitlab/H15-Jul-2021-86

benchmarks/H03-May-2022-1,5711,323

builtins/H15-Jul-2021-62,96755,012

cmake/H03-May-2022-758708

contrib/H15-Jul-2021-5139

docker/H15-Jul-2021-1,324998

docs/H03-May-2022-7,7935,847

examples/H15-Jul-2021-99,54094,226

ispcrt/H03-May-2022-5,4773,958

llvm_patches/H15-Jul-2021-1,5081,356

scripts/H15-Jul-2021-14279

src/H03-May-2022-48,56933,994

tests/H03-May-2022-30,15624,460

tests_errors/H15-Jul-2021-1,439967

utils/lit/H15-Jul-2021-5,2783,927

.appveyor.ymlH A D15-Jul-20216.8 KiB154146

.clang-formatH A D15-Jul-20213.4 KiB122121

.gitignoreH A D15-Jul-2021236 2421

.gitmodulesH A D15-Jul-2021281 76

.travis.ymlH A D15-Jul-20214 KiB9287

README.mdH A D15-Jul-20214.5 KiB9473

SECURITY.mdH A D15-Jul-2021227 64

alloy.pyH A D03-May-202249.9 KiB1,074866

bitcode2cpp.pyH A D03-May-20225.3 KiB148120

check_env.pyH A D03-May-20224.8 KiB11878

check_format.shH A D15-Jul-20212.9 KiB6528

check_isa.cppH A D15-Jul-20217 KiB17391

common.pyH A D03-May-202217.9 KiB503378

doxygen.cfgH A D15-Jul-202167.9 KiB1,6611,197

perf.iniH A D15-Jul-20211.2 KiB6259

perf.pyH A D03-May-202225 KiB612499

run_tests.pyH A D03-May-202243 KiB1,103806

stdlib.ispcH A D15-Jul-2021244.2 KiB6,8365,976

stdlib2cpp.pyH A D03-May-2022460 2112

test_static.cppH A D15-Jul-20216.9 KiB233173

test_static_l0.cppH A D15-Jul-202132.1 KiB743550

tt_dump_read.pyH A D03-May-20225.1 KiB13874

README.md

1[![Appveyor build status (Windows)](https://ci.appveyor.com/api/projects/status/xfllw9vkp3lj4l0v/branch/main?svg=true)](https://ci.appveyor.com/project/ispc/ispc/branch/main)
2
3Intel® Implicit SPMD Program Compiler (Intel® ISPC)
4===================================================
5
6``ispc`` is a compiler for a variant of the C programming language, with
7extensions for
8[single program, multiple data](http://en.wikipedia.org/wiki/SPMD)
9programming.  Under the SPMD model,
10the programmer writes a program that generally appears to be a regular
11serial program, though the execution model is actually that a number of
12*program instances* execute in parallel on the hardware.
13
14Overview
15--------
16
17``ispc`` compiles a C-based SPMD programming language to run on the SIMD
18units of CPUs and GPUs; it frequently provides a 3x or more speedup on architectures
19with 4-wide vector SSE units and 5x-6x on architectures with 8-wide AVX vector units,
20without any of the difficulty of writing intrinsics code.  Parallelization
21across multiple cores is also supported by ``ispc``, making it
22possible to write programs that achieve performance improvement that scales
23by both number of cores and vector unit size.
24
25There are a few key principles in the design of ``ispc``:
26
27  * To build a small set of extensions to the C language that
28    would deliver excellent performance to performance-oriented
29    programmers who want to run SPMD programs on the CPU and GPU.
30
31  * To provide a thin abstraction layer between the programmer
32    and the hardware--in particular, to have an execution and
33    data model where the programmer can cleanly reason about the
34    mapping of their source program to compiled assembly language
35    and the underlying hardware.
36
37  * To make it possible to harness the computational power of SIMD
38    vector units without the extremely low-programmer-productivity
39    activity of directly writing intrinsics.
40
41  * To explore opportunities from close coupling between C/C++
42    application code and SPMD ``ispc`` code running on the
43    same processor--to have lightweight function calls between
44    the two languages and to share data directly via pointers without
45    copying or reformatting.
46
47``ispc`` is an open source compiler with the BSD license.  It uses the
48remarkable [LLVM Compiler Infrastructure](http://llvm.org) for back-end
49code generation and optimization and is [hosted on
50github](http://github.com/ispc/ispc). It supports Windows, Mac, and
51Linux, with both x86 and x86-64 targets.  It currently supports the SSE2,
52SSE4, AVX, AVX2, and AVX512 instruction sets.
53
54Features
55--------
56
57``ispc`` provides a number of key features to developers:
58
59  * Familiarity as an extension of the C programming
60    language: ``ispc`` supports familiar C syntax and
61    programming idioms, while adding the ability to write SPMD
62    programs.
63
64  * High-quality SIMD code generation: the performance
65    of code generated by ``ispc`` is often close to that of
66    hand-written intrinsics code.
67
68  * Ease of adoption with existing software
69    systems: functions written in ``ispc`` directly
70    interoperate with application functions written in C/C++ and
71    with application data structures.
72
73  * Portability across over a decade of CPU
74    generations: ``ispc`` has targets for SSE2, SSE4, AVX, AVX2, and AVX512 and
75    recent Intel GPUs.
76
77  * Portability across operating systems: Microsoft
78    Windows, macOS, Linux, and FreeBSD are all supported
79    by ``ispc``.
80
81  * Debugging with standard tools: ``ispc``
82    programs can be debugged with standard debuggers.
83
84Additional Resources
85--------------------
86
87Prebuilt ``ispc`` binaries for Windows, macOS and Linux can be downloaded
88from the [ispc downloads page](http://ispc.github.com/downloads.html).
89Latest ``ispc`` binaries corresponding to main branch can be downloaded
90from Appveyor for [Linux](https://ci.appveyor.com/api/projects/ispc/ispc/artifacts/build%2Fispc-trunk-linux.tar.gz?job=Environment%3A%20APPVEYOR_BUILD_WORKER_IMAGE%3DUbuntu1604%2C%20LLVM_VERSION%3Dlatest) and Windows ([msi](https://ci.appveyor.com/api/projects/ispc/ispc/artifacts/build%2Fispc-trunk-windows.msi?job=Environment%3A%20APPVEYOR_BUILD_WORKER_IMAGE%3DVisual%20Studio%202019%2C%20LLVM_VERSION%3Dlatest) or [zip](https://ci.appveyor.com/api/projects/ispc/ispc/artifacts/build%2Fispc-trunk-windows.zip?job=Environment%3A%20APPVEYOR_BUILD_WORKER_IMAGE%3DVisual%20Studio%202019%2C%20LLVM_VERSION%3Dlatest))
91See also additional
92[documentation](http://ispc.github.com/documentation.html) and additional
93[performance information](http://ispc.github.com/perf.html).
94