Man page - futhark-wasm(1)
Packages contas this manual
- futhark-wasm(1)
- futhark-test(1)
- futhark-wasm-multicore(1)
- futhark-hip(1)
- futhark-doc(1)
- futhark-autotune(1)
- futhark-python(1)
- futhark-c(1)
- futhark-literate(1)
- futhark-pkg(1)
- futhark-fmt(1)
- futhark-opencl(1)
- futhark-profile(1)
- futhark-repl(1)
- futhark(1)
- futhark-cuda(1)
- futhark-dataset(1)
- futhark-multicore(1)
- futhark-bench(1)
- futhark-ispc(1)
- futhark-pyopencl(1)
- futhark-script(1)
- futhark-run(1)
Package: futhark
apt-get install futhark
apt-get install futhark
Manuals in package:
Documentations in package:
Manual
| FUTHARK-WASM(1) | Futhark | FUTHARK-WASM(1) |
NAME
futhark-wasm - compile Futhark to WebAssembly
SYNOPSIS
futhark wasm [options...] <program.fut>
DESCRIPTION
futhark wasm translates a Futhark program to sequential WebAssembly code by first generating C as futhark c, and then using Emscripten (emcc). This produces a .js file that allows the compiled code to be invoked from JavaScript. Executables implement the Futhark server protocol and can be run with Node.js.
OPTIONS
Accepts the same options as futhark-c.
ENVIRONMENT VARIABLES
CFLAGS
Space-separated list of options passed to emcc.
Defaults to -O3 -std=c99 if unset.
EMCFLAGS
Space-separated list of options passed to
emcc.
EXECUTABLE OPTIONS
The following options are accepted by executables generated by futhark wasm.
- -h, --help
- Print help text to standard output and exit.
- -D, --debugging
- Perform possibly expensive internal correctness checks and verbose logging. Implies -L.
- -L, --log
- Print various low-overhead logging information to stderr while running.
SEE ALSO
futhark-c, futhark-wasm-multicore
COPYRIGHT
2013-2020, DIKU, University of Copenhagen
| March 1, 2025 | 0.25.27 |