# `wai-ops/1-npu` on neural processors: the integer operator set's arithmetic # operators as kernels for one compute core of a tile array, built at run time # with the array's open toolchain and run through its device runtime, exact for # every graph of the accelerator subset (extensions/integer-operators.md §9.2, # §9.5). # # A SEPARATE crate with its own lockfile and no dependency but `wai-ops`, so # that `wai-ops` stays `no_std` and `wai-rs` never sees a device runtime. The # device is found, and the program and host side are built, only on Linux with # the device present; everywhere else the crate builds and its device tests # say SKIPPED. [package] name = "wai-ops-npu" version = "0.1.0" edition = "2024" license = "Apache-2.0" publish = false description = "WAI integer operator set wai-ops/1-npu on neural processors: tile-array kernels exact for the accelerator subset" [lib] name = "wai_ops_npu" path = "src/lib.rs" [dependencies] wai-ops = { path = "../wai-ops" } # Time and energy of graphs on the device and on the CPU (src/bin/bench.rs). [[bin]] name = "ops-npu-bench" path = "src/bin/bench.rs" [profile.release] debug = false