Skip to content

Commit

Permalink
warm kernel
Browse files Browse the repository at this point in the history
  • Loading branch information
kali committed Sep 26, 2024
1 parent a12a73d commit 00b2aac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions linalg/src/wasm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
/// > export CARGO_TARGET_WASM32_WASI_RUNNER=wasmtime
/// > cargo test --target=wasm32-wasi
/// ```
use crate::mmm::{FusedKerSpec, no_prefetch};
use crate::mmm::FusedKerSpec;
use crate::{Ops, Scaler};

pub fn plug(ops: &mut Ops) {
Expand Down Expand Up @@ -281,4 +281,4 @@ unsafe fn kernel_f32_4x4(mut pnl: *const FusedKerSpec<f32>) -> isize {
0
}

MMMKernelWrapper!(f32, wasm_f32_4x4; kernel_f32_4x4; 4, 4; 4, 4; 0, 0; no_prefetch, true);
MMMRustKernel!(kernel_f32_4x4 => wasm_f32_4x4<f32>(4,4)@(4,4));

0 comments on commit 00b2aac

Please sign in to comment.