Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

// META: title=test parallel WebNN API compute operations
// META: global=window,dedicatedworker
// META: variant=?cpu
// META: variant=?gpu
// META: script=../resources/utils.js
// META: timeout=long
'use strict';
if (navigator.ml) {
testParallelCompute();
} else {
// Show indication to users why the test failed
test(
() => assert_not_equals(
navigator.ml, undefined, 'ml property is defined on navigator'));
}