summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/webnn/conformance_tests/gpu/buffer.https.any.js
blob: 225bc401858ce62388d7e8c3321251ff32ecc87e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// META: title=test WebNN API buffer operations
// META: global=window,dedicatedworker
// META: script=../../resources/utils.js
// META: timeout=long

'use strict';

// https://webmachinelearning.github.io/webnn/#api-mlbuffer

testCreateWebNNBuffer("create", 4, 'gpu');

testDestroyWebNNBuffer('destroyTwice', 'gpu');

testReadWebNNBuffer('read', 'gpu');

testWriteWebNNBuffer('write', 'gpu');