compile_kernels
Stable function · Other
Tier: stable · Kind: function · Topic: Other
| Julia | TypeScript | Python | Rust | Go |
|---|---|---|---|---|
compile_kernels | not exported | compile_kernels | compile_kernels | not exported |
Julia
compile_kernels(prob::EsmProblem, specs)
compile_kernels(prob::EsmProblem, specs) -> KernelSet
Compile kernel specs (API_SPEC §5.8, “Kernel specs”) against prob’s build:
each spec a Dict or a JSON string, specs a vector of them or one JSON array
string. The reserved name rhs, with no outputs, is the stripped right-hand
side. Refuses with kernel_output_unresolved and affect_reads_post_value.
TypeScript
TypeScript does not export this function.
Python
compile_kernels(prob: Any, specs: Any) -> Any
Standalone kernels (API_SPEC §5.8) are compiled by Julia and Rust only.
Rust
pub fn compile_kernels(prob: &EsmProblem, specs: &[KernelSpec]) -> Result<KernelSet, SimulateError>
Compile specs against prob’s (stripped) build (API_SPEC §5.8). The
reserved name rhs, with no outputs, is the stripped right-hand side.
Go
Go does not export this function.