summaryrefslogtreecommitdiff
path: root/ext/webgpu/00_init.js
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2024-01-29 22:02:26 +0100
committerGitHub <noreply@github.com>2024-01-29 22:02:26 +0100
commit345423cf7697326258ce8b32f681910f4a2f77de (patch)
tree484dd157be01e3dc0d4f34f28526dac1804d0250 /ext/webgpu/00_init.js
parent909986fa6ed3404e76590438b387391a6c213e46 (diff)
refactor: Use virtul ops module (#22175)
Follow up to #22157. This leaves us with 4 usages of `ensureFastOps()` in `deno` itself. There's also about 150 usages of `Deno.core.ops.<op_name>` left as well.
Diffstat (limited to 'ext/webgpu/00_init.js')
-rw-r--r--ext/webgpu/00_init.js5
1 files changed, 1 insertions, 4 deletions
diff --git a/ext/webgpu/00_init.js b/ext/webgpu/00_init.js
index d33230e58..b7014bd45 100644
--- a/ext/webgpu/00_init.js
+++ b/ext/webgpu/00_init.js
@@ -1,9 +1,6 @@
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
-import { core } from "ext:core/mod.js";
-const {
- op_lazy_load_esm,
-} = core.ensureFastOps(true);
+import { op_lazy_load_esm } from "ext:core/ops";
let webgpu;