← Back to C-Kernel-Engine Docs Doxygen Source Documentation
Loading...
Searching...
No Matches
ckernel_checked_guided_flow.h
Go to the documentation of this file.
1#ifndef CKERNEL_CHECKED_GUIDED_FLOW_H
2#define CKERNEL_CHECKED_GUIDED_FLOW_H
3#include <stddef.h>
4#include <stdint.h>
5typedef int (*ck_flow_entry)(uint8_t *,size_t);
6typedef int (*ck_flow_noise)(float *,size_t,size_t,uint64_t,uint64_t);
7typedef int (*ck_flow_cancel)(void *);
8/* Artifact-bound offsets, in bytes, are supplied from generated layout metadata.
9 * Model output points to the selected patch, not the complete sequence output. */
37/* 0=complete; -1=invalid contract; -2=native stage failed; -3=invalid
38 * numeric output; -7=cancelled. Output is unchanged unless the run completes.
39 * Timesteps and native counter RNG are explicit, separate from PyTorch RNG.
40 * The caller holds both libraries/arenas alive and serializes access. */
43#endif
int(* ck_flow_cancel)(void *)
int ck_validate_guided_flow_request(const ck_guided_flow_request *request)
int(* ck_flow_noise)(float *, size_t, size_t, uint64_t, uint64_t)
int(* ck_flow_entry)(uint8_t *, size_t)
int ck_run_checked_guided_flow(const ck_guided_flow_request *request)