Man page - futhark-ispc(1)
Packages contains this manual
- futhark-pkg(1)
- futhark-autotune(1)
- futhark-opencl(1)
- futhark-wasm-multicore(1)
- futhark-profile(1)
- futhark-repl(1)
- futhark-c(1)
- futhark-python(1)
- futhark-dataset(1)
- futhark-multicore(1)
- futhark-test(1)
- futhark-ispc(1)
- futhark-wasm(1)
- futhark-fmt(1)
- futhark-bench(1)
- futhark-cuda(1)
- futhark-run(1)
- futhark-hip(1)
- futhark-pyopencl(1)
- futhark-literate(1)
- futhark-script(1)
- futhark(1)
- futhark-doc(1)
apt-get install futhark
Manual
FUTHARK-ISPC
NAMESYNOPSIS
DESCRIPTION
OPTIONS
ENVIRONMENT VARIABLES
EXECUTABLE OPTIONS
LIBRARY USAGE
BUGS
SEE ALSO
COPYRIGHT
NAME
futhark-ispc - compile Futhark to multithreaded ISPC
SYNOPSIS
futhark ispc [options...] <program.fut>
DESCRIPTION
futhark ispc translates a Futhark program to a combination of C and ISPC code, with ISPC used for parallel loops. It otherwise operates similarly to futhark-multicore . You need to have ispc on your PATH .
OPTIONS
Accepts the same options as futhark-multicore .
ENVIRONMENT VARIABLES
CC
The C compiler used to compile the program. Defaults to cc if unset.
CFLAGS
Space-separated list of options passed to the C compiler. Defaults to -O3 -std=c99 -pthread if unset.
ISPCFLAGS
Space-separated list of options passed to ispc . Defaults to -O3 --woff if unset.
EXECUTABLE OPTIONS
Generated executables accept the same options as those generated by futhark-multicore .
LIBRARY USAGE
When compiling a program foo.fut with futhark ispc --library , a foo.kernels.ispc file is produced that must be compiled with ispc and linked with the final program. For example:
$ ispc -o foo.kernels.o foo.kernels.ispc --addressing=64 --pic --woff -O3
BUGS
Currently works only on Unix-like systems because of a dependency on pthreads. Adding support for Windows would likely not be difficult.
SEE ALSO
futhark-multicore , futhark-test
COPYRIGHT
2013-2020, DIKU, University of Copenhagen