odin_dust_options | R Documentation |
Options for controlling odin_dust; this is a superset of odin::odin_options
odin_dust_options(
...,
real_type = NULL,
rng_state_type = NULL,
gpu = NULL,
gpu_generate = NULL,
compiler_options = NULL,
optimisation_level = NULL,
options = NULL
)
... |
Arguments passed to odin::odin_options, including
|
real_type |
C++ type to use for real (floating point)
numbers. Defaults to |
rng_state_type |
C++ type to use for the random number
generator. Defaults to |
gpu |
Experimental! Generate support for running models
on a GPU. This implies |
gpu_generate |
Experimental Generate gpu support code. This does not require a gpu or nvcc toolchain, but creates code that could be compiled for a gpu. This is primarily intended for testing and development as the generated code will be slower than the normal cpu version, and the compilation time will be considerably slower. Currently not supported within package code. |
compiler_options |
Additional options for the C++ compiler, passed to dust::dust |
optimisation_level |
Shorthand control over optimisation
level, passed to dust::dust. If provided should be one of
|
options |
An odin::odin_options or odin_dust_options
object. If given it overrides arguments; if it is already a
|
A list of options (class odin_options
) to
pass to odin.dust::odin_dust
odin.dust::odin_dust_options()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.