tiny.accy.executable
Defined in tiny.accy.
API (106)
Actions
Public operations.
allocatePipelineIntermediates: Allocates each intermediate, a scratch buffer between stages, once so the caller can pass the buffers to many launches.compileFragmentFromArtifactJobcompileFragmentFromArtifactJobWithLaunchPlancompileFragmentFromPreparedJobcompileFragmentFromPreparedModule: Compiles the stored stage results ofprepared, rebuilding their plans inside the caller'sworkspace, into a compiled fragment so the caller can turn a finished preparation into device code it can later load.compileFragmentFromSemanticModulecreateArtifactJobFromPreparedJobcreateArtifactJobFromPreparedModule: Compiles the stored stage results ofprepared, usingworkspacefor the rebuilt plans, into a new artifact job that the caller frees withdeinit, so the caller can obtain the compiled kernels by themselves before building a runnable fragment.createDataflowLaunchGraphPlandecodeGeneratedRowPipelineScheduleTuningArtifactdecodeGeneratedScanScheduleTuningArtifactdecodeLaunchTuningArtifactdecodeMatrixProductFamilyScheduleTuningArtifactdeinitPipelineIntermediatesencodeGeneratedRowPipelineScheduleTuningArtifactencodeGeneratedScanScheduleTuningArtifactencodeLaunchTuningArtifactencodeMatrixProductFamilyScheduleTuningArtifactgeneratedRowPipelineScheduleCandidateSetFingerprintgeneratedRowPipelineScheduleTuningArtifactFingerprintgeneratedRowPipelineScheduleTuningArtifactProductStampgeneratedScanScheduleCandidateSetFingerprintgeneratedScanScheduleTuningArtifactFingerprintgeneratedScanScheduleTuningArtifactProductStampincomingDependencyCountinvokelaunchGraphFingerprintlaunchGraphLoopCarryFinalSlotlaunchGraphNeedsDependencyEventslaunchPipeline: Runs a kernel pipeline once for the caller.launchTuningArtifactFingerprintlaunchTuningArtifactProductStamploadFragmentloadPipelineArtifacts: Prepares a reusable set of loaded kernels once for a kernel pipeline.matrixProductFamilyScheduleTuningArtifactFingerprintprepareFragmentFromSemanticModuleprepareInvocationvalidateLaunchGraph
Types and contracts
Public types and contracts.
CompiledFragmentFragmentCompilationRequestFragmentCompilerCache: The cache holds one preparation cache and the loaded fragment built from it.FragmentCompilerCacheUpdateFragmentCompilerOptionsFragmentInstrumentationFragmentPhaseFragmentPhaseObserverGeneratedRowPipelineScheduleTuningCacheGeneratedRowPipelineScheduleTuningKey: The key records the identity a measured row-pipeline schedule choice is stored under: the same device, format, element type, schedule version and candidate-set fields as the scan key, with the row and column counts as the problem size.GeneratedRowPipelineScheduleTuningProblemGeneratedRowPipelineScheduleTuningRecordGeneratedRowPipelineScheduleTuningSelectionGeneratedScanScheduleTuningCacheGeneratedScanScheduleTuningKey: The key records the identity a measured scan schedule choice is stored under: backend, device family, artifact format, vendor and device ids when known, fingerprints of the device name and driver version, the element count, the element type, the schedule version, and the candidate set.GeneratedScanScheduleTuningProblemGeneratedScanScheduleTuningRecordGeneratedScanScheduleTuningSelectionInvocationInvocationErrorInvocationStateKernelCompilerOptionsLaunchCandidateBenchmarkOptionsLaunchCandidateMeasurementLaunchCandidateRecordLaunchCandidateSynchronizationLaunchGraphDependencyLaunchGraphLoopLaunchGraphLoopCarryLaunchGraphNodeLaunchGraphPlanLaunchOptionsLaunchTuningLaunchTuningCacheRecordLaunchTuningSelectionLoadedFragmentMatrixProductFamilyScheduleTuningCacheOwnedLaunchGraphPlanPipelineArtifactPool: The compiled and loaded kernels of one kernel pipeline, one per stage, labeled with the chain's target, version and artifact format, and owned by the caller.PipelineLaunch
Namespaces
Public namespaces.
Values and defaults
Public values and defaults.
generated_row_pipeline_schedule_tuning_artifact_magicgenerated_row_pipeline_schedule_tuning_artifact_versiongenerated_row_pipeline_schedule_tuning_max_candidatesgenerated_row_pipeline_schedule_tuning_product_namegenerated_row_pipeline_schedule_tuning_record_versiongenerated_scan_schedule_tuning_artifact_magicgenerated_scan_schedule_tuning_artifact_versiongenerated_scan_schedule_tuning_max_candidatesgenerated_scan_schedule_tuning_product_namegenerated_scan_schedule_tuning_record_versionlaunch_tuning_artifact_magiclaunch_tuning_artifact_versionlaunch_tuning_cache_record_versionlaunch_tuning_product_namematrix_product_family_schedule_tuning_artifact_magicmatrix_product_family_schedule_tuning_artifact_versionproduct_name
Source
Source: lib/accy/src/executable/root.zig
zig
pub const binding = @import("binding.zig");pub const candidate = @import("candidate.zig");pub const composition = @import("composition/root.zig");pub const fragment = @import("fragment.zig");pub const compiler = @import("compiler.zig");pub const invocation = @import("invocation.zig");pub const phase = @import("phase.zig");pub const pipeline = @import("pipeline.zig");pub const plan = @import("plan.zig");pub const schedule = @import("schedule.zig");pub const tuning = @import("tuning.zig");pub const PipelineLaunch = pipeline.PipelineLaunch;pub const launchPipeline = pipeline.launchPipeline;pub const allocatePipelineIntermediates = pipeline.allocatePipelineIntermediates;pub const deinitPipelineIntermediates = pipeline.deinitPipelineIntermediates;pub const PipelineArtifactPool = pipeline.PipelineArtifactPool;pub const loadPipelineArtifacts = pipeline.loadPipelineArtifacts;pub const product_name = plan.product_name;pub const CompiledFragment = plan.CompiledFragment;pub const LaunchOptions = plan.LaunchOptions;pub const LaunchGraphNode = plan.LaunchGraphNode;pub const LaunchGraphDependency = plan.LaunchGraphDependency;pub const LaunchGraphLoopCarry = plan.LaunchGraphLoopCarry;pub const LaunchGraphLoop = plan.LaunchGraphLoop;pub const LaunchGraphPlan = plan.LaunchGraphPlan;pub const OwnedLaunchGraphPlan = plan.OwnedLaunchGraphPlan;pub const compileFragmentFromArtifactJob = plan.compileFragmentFromArtifactJob;pub const compileFragmentFromArtifactJobWithLaunchPlan = plan.compileFragmentFromArtifactJobWithLaunchPlan;pub const createDataflowLaunchGraphPlan = plan.createDataflowLaunchGraphPlan;pub const launchGraphFingerprint = plan.launchGraphFingerprint;pub const launchGraphLoopCarryFinalSlot = plan.launchGraphLoopCarryFinalSlot;pub const validateLaunchGraph = plan.validateLaunchGraph;pub const launchGraphNeedsDependencyEvents = plan.launchGraphNeedsDependencyEvents;pub const incomingDependencyCount = plan.incomingDependencyCount;pub const LaunchCandidateMeasurement = tuning.LaunchCandidateMeasurement;pub const LaunchTuningSelection = tuning.LaunchTuningSelection;pub const launch_tuning_product_name = tuning.product_name;pub const launch_tuning_cache_record_version = tuning.launch_tuning_cache_record_version;pub const launch_tuning_artifact_magic = tuning.launch_tuning_artifact_magic;pub const launch_tuning_artifact_version = tuning.launch_tuning_artifact_version;pub const LaunchTuningCacheRecord = tuning.LaunchTuningCacheRecord;pub const LaunchTuning = tuning.LaunchTuning;pub const launchTuningArtifactFingerprint = tuning.artifactFingerprint;pub const launchTuningArtifactProductStamp = tuning.artifactProductStamp;pub const encodeLaunchTuningArtifact = tuning.encodeLaunchTuningArtifact;pub const decodeLaunchTuningArtifact = tuning.decodeLaunchTuningArtifact;pub const matrix_product_family_schedule_tuning_artifact_magic = schedule.matrix_product_family_schedule_tuning_artifact_magic;pub const matrix_product_family_schedule_tuning_artifact_version = schedule.matrix_product_family_schedule_tuning_artifact_version;pub const MatrixProductFamilyScheduleTuningCache = schedule.MatrixProductFamilyScheduleTuningCache;pub const matrixProductFamilyScheduleTuningArtifactFingerprint = schedule.matrixProductFamilyScheduleTuningArtifactFingerprint;pub const encodeMatrixProductFamilyScheduleTuningArtifact = schedule.encodeMatrixProductFamilyScheduleTuningArtifact;pub const decodeMatrixProductFamilyScheduleTuningArtifact = schedule.decodeMatrixProductFamilyScheduleTuningArtifact;pub const generated_scan_schedule_tuning_product_name = schedule.generated_scan_schedule_tuning_product_name;pub const generated_scan_schedule_tuning_record_version = schedule.generated_scan_schedule_tuning_record_version;pub const generated_scan_schedule_tuning_artifact_magic = schedule.generated_scan_schedule_tuning_artifact_magic;pub const generated_scan_schedule_tuning_artifact_version = schedule.generated_scan_schedule_tuning_artifact_version;pub const generated_scan_schedule_tuning_max_candidates = schedule.generated_scan_schedule_tuning_max_candidates;pub const GeneratedScanScheduleTuningProblem = schedule.GeneratedScanScheduleTuningProblem;pub const GeneratedScanScheduleTuningKey = schedule.GeneratedScanScheduleTuningKey;pub const GeneratedScanScheduleTuningSelection = schedule.GeneratedScanScheduleTuningSelection;pub const GeneratedScanScheduleTuningRecord = schedule.GeneratedScanScheduleTuningRecord;pub const GeneratedScanScheduleTuningCache = schedule.GeneratedScanScheduleTuningCache;pub const generatedScanScheduleCandidateSetFingerprint = schedule.generatedScanScheduleCandidateSetFingerprint;pub const generatedScanScheduleTuningArtifactFingerprint = schedule.generatedScanScheduleTuningArtifactFingerprint;pub const generatedScanScheduleTuningArtifactProductStamp = schedule.generatedScanScheduleTuningArtifactProductStamp;pub const encodeGeneratedScanScheduleTuningArtifact = schedule.encodeGeneratedScanScheduleTuningArtifact;pub const decodeGeneratedScanScheduleTuningArtifact = schedule.decodeGeneratedScanScheduleTuningArtifact;pub const generated_row_pipeline_schedule_tuning_product_name = schedule.generated_row_pipeline_schedule_tuning_product_name;pub const generated_row_pipeline_schedule_tuning_record_version = schedule.generated_row_pipeline_schedule_tuning_record_version;pub const generated_row_pipeline_schedule_tuning_artifact_magic = schedule.generated_row_pipeline_schedule_tuning_artifact_magic;pub const generated_row_pipeline_schedule_tuning_artifact_version = schedule.generated_row_pipeline_schedule_tuning_artifact_version;pub const generated_row_pipeline_schedule_tuning_max_candidates = schedule.generated_row_pipeline_schedule_tuning_max_candidates;pub const GeneratedRowPipelineScheduleTuningProblem = schedule.GeneratedRowPipelineScheduleTuningProblem;pub const GeneratedRowPipelineScheduleTuningKey = schedule.GeneratedRowPipelineScheduleTuningKey;pub const GeneratedRowPipelineScheduleTuningSelection = schedule.GeneratedRowPipelineScheduleTuningSelection;pub const GeneratedRowPipelineScheduleTuningRecord = schedule.GeneratedRowPipelineScheduleTuningRecord;pub const GeneratedRowPipelineScheduleTuningCache = schedule.GeneratedRowPipelineScheduleTuningCache;pub const generatedRowPipelineScheduleCandidateSetFingerprint = schedule.generatedRowPipelineScheduleCandidateSetFingerprint;pub const generatedRowPipelineScheduleTuningArtifactFingerprint = schedule.generatedRowPipelineScheduleTuningArtifactFingerprint;pub const generatedRowPipelineScheduleTuningArtifactProductStamp = schedule.generatedRowPipelineScheduleTuningArtifactProductStamp;pub const encodeGeneratedRowPipelineScheduleTuningArtifact = schedule.encodeGeneratedRowPipelineScheduleTuningArtifact;pub const decodeGeneratedRowPipelineScheduleTuningArtifact = schedule.decodeGeneratedRowPipelineScheduleTuningArtifact;pub const Invocation = invocation.Invocation;pub const InvocationState = invocation.InvocationState;pub const InvocationError = invocation.InvocationError;pub const prepareInvocation = invocation.prepare;pub const invoke = invocation.run;pub const FragmentCompilerCache = compiler.FragmentCompilerCache;pub const FragmentCompilerCacheUpdate = compiler.FragmentCompilerCacheUpdate;pub const FragmentCompilationRequest = compiler.FragmentCompilationRequest;pub const LaunchCandidateSynchronization = fragment.LaunchCandidateSynchronization;pub const LaunchCandidateBenchmarkOptions = fragment.LaunchCandidateBenchmarkOptions;pub const FragmentPhase = fragment.FragmentPhase;pub const FragmentPhaseObserver = fragment.FragmentPhaseObserver;pub const FragmentInstrumentation = fragment.FragmentInstrumentation;pub const FragmentCompilerOptions = fragment.FragmentCompilerOptions;pub const KernelCompilerOptions = fragment.KernelCompilerOptions;pub const LaunchCandidateRecord = fragment.LaunchCandidateRecord;pub const LoadedFragment = fragment.LoadedFragment;pub const loadFragment = fragment.loadFragment;pub const compileFragmentFromPreparedJob = fragment.compileFragmentFromPreparedJob;pub const createArtifactJobFromPreparedJob = fragment.createArtifactJobFromPreparedJob;pub const compileFragmentFromPreparedModule = fragment.compileFragmentFromPreparedModule;pub const createArtifactJobFromPreparedModule = fragment.createArtifactJobFromPreparedModule;pub const prepareFragmentFromSemanticModule = fragment.prepareFragmentFromSemanticModule;pub const compileFragmentFromSemanticModule = fragment.compileFragmentFromSemanticModule;Source: lib/accy/src/root.zig:84
zig
pub const executable = @import("executable/root.zig");Audit
| Definitions | 1 |
|---|---|
| Public names | 1 |
| Members | 0 |
| Version | 26.7.0 |
| Revision | daab053ee433 |