Skip to main content

Module jit

Module jit 

Source
Expand description

JIT backend type for compiling DiffSL code at runtime.

This module defines JitBackendType, an enum representing the available JIT compilation backends for DiffSL code:

  • Cranelift — available when the diffsl-cranelift feature is enabled.
  • Llvm — available when the diffsl-llvm feature is enabled.

The function default_enabled_jit_backend returns the preferred backend based on which features are compiled in (LLVM is preferred over Cranelift if both are available).

Enums§

JitBackendType

Functions§

default_enabled_jit_backend