- CompilationTarget applies to the creation of the compiled function.
- The following settings can be used:
"WVM" the Wolfram Virtual Machine "C" C code
- CompilationTarget -> "WVM" creates code for the traditional Wolfram System virtual machine.
- CompilationTarget -> "C" creates C code, which is compiled to an external machine code library and linked back into the Wolfram Language.
- External files created when a "C" target is specified are deleted either after use or when the Wolfram System exits.
- A suitable external C compiler is required to target C code. If one is not found, the Wolfram System will use the "WVM".
- When either "C" or "WVM" targets are specified, the following additional settings can be used:
RuntimeAttributes -> Listable compile a function with Listable attribute Parallelization -> True try using multiple threads if possible
Examplesopen allclose all
Basic Examples (3)
You can target C code generation from Compile:
Neat Examples (1)
Introduced in 2010