pub struct CompiledRule {
pub rule_id: String,
pub version: u64,
pub ptx: Vec<u8>,
pub compute_cap: String,
pub depends_on: Vec<String>,
pub signature: Option<Vec<u8>>,
pub actor_config: ActorConfig,
pub metadata: RuleMetadata,
}Expand description
A compiled rule artifact ready for GPU hot-swap.
RingKernel does not inspect ptx beyond validating compute capability,
dependencies and (optionally) signature. The caller owns semantic
correctness of the compilation.
Fields§
§rule_id: StringCaller-scoped rule set identifier (e.g. "gaap-consolidation").
version: u64Monotonically increasing version; later versions must be strictly greater than the currently active version.
ptx: Vec<u8>Compiled PTX bytes for the actor kernel.
compute_cap: StringRequired compute capability, e.g. "sm_90" for H100.
depends_on: Vec<String>Other rule_ids that must already be registered before this rule
can be installed. Used for inference-rule dependency graphs.
signature: Option<Vec<u8>>Optional integrity signature (format is verifier-specific).
actor_config: ActorConfigActor launch configuration.
metadata: RuleMetadataOpaque metadata passed through for audit/logging. RingKernel does not interpret any of these fields.
Trait Implementations§
Source§impl Clone for CompiledRule
impl Clone for CompiledRule
Source§fn clone(&self) -> CompiledRule
fn clone(&self) -> CompiledRule
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more