configure
phasic.configure(**kwargs)Configure phasic globally.
Parameters
****kwargs** : = {}-
Configuration options (see PTDAlgorithmsConfig for details) Valid options: jax, jit, ffi, openmp, strict, platform, backend, verbose
Raises
:PTDConfigError-
If strict=True and configuration is invalid
Examples
>>> import phasic as ptd>>> # Standard configuration (FFI+OpenMP enabled by default)
>>> ptd.configure(jax=True, jit=True, ffi=True, openmp=True)>>> # Disable FFI/OpenMP if build issues (slower, single-core only)
>>> ptd.configure(ffi=False, openmp=False)>>> # Permissive (warnings not errors)
>>> ptd.configure(jax=True, strict=False)>>> # Pure C++ (no JAX)
>>> ptd.configure(jax=False, jit=False, backend='cpp')>>> # Check what's available first
>>> print(ptd.get_available_options())
>>> ptd.configure(jax=True, jit=True)