From 1db01eaf7f1a0e06abe689c55f746518598d5f4c Mon Sep 17 00:00:00 2001 From: Sam Nystrom Date: Thu, 7 Mar 2024 21:47:56 -0500 Subject: Begin vectorizing the Math node --- src/wasm.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/wasm.ts') diff --git a/src/wasm.ts b/src/wasm.ts index 3a308b2..311a088 100644 --- a/src/wasm.ts +++ b/src/wasm.ts @@ -2,8 +2,9 @@ import { instantiate } from '../build/out.js'; import url from '../build/out.wasm'; export const { memory, + mathS, mathV, mathSS, mathSV, mathVS, mathVV, linspace, intersperse, dft, fft, -} = await instantiate(await WebAssembly.compileStreaming(fetch(url))); \ No newline at end of file +} = await instantiate(await WebAssembly.compileStreaming(fetch(url)), {}); \ No newline at end of file -- cgit v1.2.3