summaryrefslogtreecommitdiff
path: root/ext/webgpu/01_webgpu.js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/webgpu/01_webgpu.js')
-rw-r--r--ext/webgpu/01_webgpu.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/webgpu/01_webgpu.js b/ext/webgpu/01_webgpu.js
index 5bc185727..db0dc9264 100644
--- a/ext/webgpu/01_webgpu.js
+++ b/ext/webgpu/01_webgpu.js
@@ -11,7 +11,7 @@ const {
isDataView,
isTypedArray,
} = core;
-const {
+import {
op_webgpu_buffer_get_map_async,
op_webgpu_buffer_get_mapped_range,
op_webgpu_buffer_unmap,
@@ -87,7 +87,7 @@ const {
op_webgpu_request_device,
op_webgpu_write_buffer,
op_webgpu_write_texture,
-} = core.ensureFastOps();
+} from "ext:core/ops";
const {
ArrayBuffer,
ArrayBufferPrototypeGetByteLength,