compute.kernels · function ·
TensorKernelReport
Tensor kernel report.
Describe reusable compute kernels and their workload contracts.
external TensorKernelReport(text label, text operationKind, text executionPath, int inputCount, int outputCount, int blockCount, bool cacheable, bool fallbackUsed, text note) returns kernelTensorReportStatus: source-declared
Parameters
text label- Supply label as text.
text operationKind- Supply operation kind as text.
text executionPath- Supply execution path as text.
int inputCount- Supply input count as int.
int outputCount- Supply output count as int.
int blockCount- Supply block count as int.
bool cacheable- Supply cacheable as bool.
bool fallbackUsed- Supply fallback used as bool.
text note- Supply note as text.
Use TensorKernelReport
A complete small caller. Values are illustrative; check the returned result and package requirements before connecting live resources.
cpu · source-example · type checked
using compute.kernels
// Describe reusable compute kernels and their workload contracts.
text label = "Player health"
text operationKind = "operation Kind"
text executionPath = "execution Path"
int inputCount = 1
int outputCount = 1
int blockCount = 1
bool cacheable = true
bool fallbackUsed = true
text note = "note"
kernelTensorReport result = TensorKernelReport(label, operationKind, executionPath, inputCount, outputCount, blockCount, cacheable, fallbackUsed, note)
Console.Log("Inspect result in your debugger")
project.mech
manifestVersion = "2"
package = "api.example.compute_kernels__tensorkernelreport"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"
[app]
kind = "headless"
[[dependencies]]
package = "compute.kernels"
version = "0.1.0"
path = "../../../yeho/packages/compute/kernels"
[[dependencies]]
package = "compute.tensor"
version = "0.1.0"
path = "../../../yeho/packages/compute/tensor"
[[dependencies]]
package = "console"
version = "0.1.0"
path = "../../../yeho/packages/console"
[[dependencies]]
package = "diagnostics"
version = "0.1.0"
path = "../../../yeho/packages/diagnostics"
Notes and source
Package presence and a declaration do not establish support on every host. Host services need their platform and lifecycle setup.
yeho/packages/compute/kernels/kernels.yh:1080