| /wasmtime-44.0.1/crates/wasi-nn/src/backend/ |
| H A D | mod.rs | 33 let mut backends = vec![]; in list() localVariable 34 let _ = &mut backends; // silence warnings if none are enabled in list() 37 backends.push(Backend::from(OpenvinoBackend::default())); in list() 41 backends.push(Backend::from(WinMLBackend::default())); in list() 45 backends.push(Backend::from(OnnxBackend::default())); in list() 49 backends.push(Backend::from(PytorchBackend::default())); in list() 51 backends in list()
|
| /wasmtime-44.0.1/crates/wasi-nn/src/ |
| H A D | witx.rs | 34 pub(crate) backends: HashMap<GraphEncoding, Backend>, field 42 pub fn new(backends: impl IntoIterator<Item = Backend>, registry: Registry) -> Self { in new() 43 let backends = backends.into_iter().map(|b| (b.encoding(), b)).collect(); in new() localVariable 45 backends, in new() 135 let graph = if let Some(backend) = self.backends.get_mut(&encoding.into()) { in load()
|
| H A D | wit.rs | 27 pub(crate) backends: HashMap<GraphEncoding, Backend>, field 33 pub fn new(backends: impl IntoIterator<Item = Backend>, registry: Registry) -> Self { in new() 34 let backends = backends.into_iter().map(|b| (b.encoding(), b)).collect(); in new() localVariable 35 Self { backends, registry } in new() 177 if let Some(backend) = self.ctx.backends.get_mut(&encoding) { in load()
|
| H A D | lib.rs | 19 let mut backends = backend::list(); in preload() localVariable 23 let backend = backends in preload() 31 Ok((backends, Registry::from(registry))) in preload()
|
| /wasmtime-44.0.1/cranelift/filetests/filetests/runtests/ |
| H A D | fdemote_32.clif | 6 ;; Tests a fdemote+load combo which some backends may optimize
|
| H A D | fpromote_32.clif | 6 ;; Tests a fpromote+load combo which some backends may optimize
|
| H A D | fdemote_64.clif | 11 ;; Tests a fdemote+load combo which some backends may optimize
|
| H A D | fpromote_64.clif | 12 ;; Tests a fpromote+load combo which some backends may optimize
|
| H A D | simd-smulhi.clif | 6 ; The AArch64 and x86_64 backends only support scalar values.
|
| H A D | simd-bitselect.clif | 113 ;; some backends perform. Importantly the `fcmp` and the `bitselect`
|
| /wasmtime-44.0.1/cranelift/ |
| H A D | README.md | 50 active effort to formally verify Cranelift's instruction-selection backends. We 54 Cranelift has four backends: x86-64, aarch64 (aka ARM64), s390x (aka IBM 55 Z) and riscv64. All backends fully support enough functionality for Wasm MVP, and
|
| /wasmtime-44.0.1/crates/wasi-nn/ |
| H A D | README.md | 5 could support multiple machine learning backends. Since the [wasi-nn] API is
|
| /wasmtime-44.0.1/crates/bench-api/src/ |
| H A D | lib.rs | 494 let (backends, registry) = wasmtime_wasi_nn::preload(&[])?; in instantiate() 495 wasmtime_wasi_nn::witx::WasiNnCtx::new(backends, registry) in instantiate()
|
| /wasmtime-44.0.1/crates/wasi-nn/wit/ |
| H A D | wasi-nn.wit | 74 /// backends that encode (i.e., serialize) their graph IR with different formats. 94 /// This gets bundled up into an array of buffers because implementing backends may encode their
|
| /wasmtime-44.0.1/crates/wiggle/ |
| H A D | Cargo.toml | 63 # The `tracing` crate can use the `log` ecosystem of backends with this
|
| /wasmtime-44.0.1/winch/ |
| H A D | README.md | 55 Winch's aim is to support all the backends officially supported by Wasmtime:
|
| /wasmtime-44.0.1/crates/wasi-common/ |
| H A D | Cargo.toml | 69 # ecosystem of backends (e.g. `env_logger`. Disable this if you want to use
|
| /wasmtime-44.0.1/cranelift/codegen/src/opts/ |
| H A D | vector.isle | 12 ;; Scalar bitwise ops are usually not implemented in the backends for floats, so
|
| /wasmtime-44.0.1/docs/ |
| H A D | contributing.md | 55 compiler backends, learning about machine code, learning about wasm, learning
|
| H A D | stability-platform-support.md | 59 will never be as fast as native Cranelift backends. A performance penalty should
|
| H A D | stability-wasm-proposals.md | 136 compiler backends.
|
| /wasmtime-44.0.1/src/commands/ |
| H A D | run.rs | 1159 let (backends, registry) = self.collect_preloaded_nn_graphs()?; in populate_with_wasi() 1167 wasmtime_wasi_nn::witx::WasiNnCtx::new(backends, registry), in populate_with_wasi() 1183 wasmtime_wasi_nn::wit::WasiNnCtx::new(backends, registry), in populate_with_wasi()
|
| H A D | serve.rs | 406 let (backends, registry) = wasmtime_wasi_nn::preload(&graphs)?; in new_store() 407 host.nn.replace(WasiNnCtx::new(backends, registry)); in new_store()
|
| /wasmtime-44.0.1/pulley/ |
| H A D | CONTRIBUTING.md | 194 architecture backends too for inspiration.
|
| /wasmtime-44.0.1/crates/wasmtime/ |
| H A D | Cargo.toml | 176 # `cranelift` feature, the compiler backends for the `pulley32` and `pulley64`
|