vibespatial.runtime.crossover

Attributes

Classes

DispatchDecision

Enum where members are also (and must be) strings

CrossoverPolicy

Functions

default_crossover_policy(→ CrossoverPolicy)

select_dispatch_for_rows(→ DispatchDecision)

Module Contents

class vibespatial.runtime.crossover.DispatchDecision

Enum where members are also (and must be) strings

CPU = 'cpu'
GPU = 'gpu'
class vibespatial.runtime.crossover.CrossoverPolicy
kernel_name: str
kernel_class: vibespatial.runtime.precision.KernelClass
auto_min_rows: int
reason: str
vibespatial.runtime.crossover.DEFAULT_CROSSOVER_POLICIES: dict[vibespatial.runtime.precision.KernelClass, int]
vibespatial.runtime.crossover.default_crossover_policy(kernel_name: str, kernel_class: vibespatial.runtime.precision.KernelClass | str) CrossoverPolicy
vibespatial.runtime.crossover.select_dispatch_for_rows(*, requested_mode: vibespatial.runtime._runtime.ExecutionMode | str, row_count: int, policy: CrossoverPolicy, gpu_available: bool) DispatchDecision