Struct ispc::Config [] [src]

pub struct Config { /* fields omitted */ }

Extra configuration to be passed to ISPC

Methods

impl Config
[src]

[src]

[src]

Add an ISPC file to be compiled

[src]

Set the output directory to override the default of env!("OUT_DIR")

[src]

Set whether debug symbols should be generated, symbols are generated by default if env!("DEBUG") == "true"

[src]

Set the optimization level to override the default of env!("OPT_LEVEL")

[src]

Set the target triple to compile for, overriding the default of env!("TARGET")

[src]

Set whether Cargo metadata should be emitted to link to the compiled library

[src]

Add a define to be passed to the ISPC compiler, e.g. -DFOO or -DBAR=FOO if a value should also be set.

[src]

Select the 32 or 64 bit addressing calculations for addressing calculations in ISPC.

[src]

Set the math library used by ISPC code, defaults to the ISPC math library.

[src]

Set an optimization option.

[src]

Set the cpu target. This overrides the default choice of ISPC which is to target the host CPU.

[src]

Force ISPC memory allocations to be aligned to alignment.

[src]

Add an extra include path for the ispc compiler to search for files.

[src]

Disable frame pointer omission. It may be useful for profiling to disable omission.

[src]

Don't make the ispc standard library available.

[src]

Don't run the C preprocessor

[src]

Enable suppression of all ispc compiler output.

[src]

Enable treating warnings as errors.

[src]

Disable all warnings.

[src]

Don't issue warnings related to performance issues

[src]

Emit instrumentation code for ISPC to gather performance data such as vector utilization.

[src]

Select the target ISA and vector width. If none is specified ispc will choose the host CPU ISA and vector width. Run the compiler, producing the library lib. If compilation fails the process will exit with EXIT_FAILURE to log build errors to the console.

[src]

The library name should not have any prefix or suffix, e.g. instead of libexample.a or example.lib simply pass example

[src]

Get the ISPC compiler version.

Trait Implementations

impl Default for Config
[src]

[src]

Returns the "default value" for a type. Read more

Auto Trait Implementations

impl Send for Config

impl Sync for Config