We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 62d4ea7 commit 4e1bf1fCopy full SHA for 4e1bf1f
README.md
@@ -535,7 +535,7 @@ const megaKernel = gpu.createKernelMap({
535
},
536
}, function(a, b, c) {
537
return multiply(add(a[this.thread.x], b[this.thread.x]), c[this.thread.x]);
538
-});
+}, { output: [10] });
539
540
megaKernel(a, b, c);
541
// Result: { addResult: Float32Array, multiplyResult: Float32Array, result: Float32Array }
@@ -551,7 +551,7 @@ const megaKernel = gpu.createKernelMap([
551
}
552
], function(a, b, c) {
553
554
555
556
557
// Result: { 0: Float32Array, 1: Float32Array, result: Float32Array }
0 commit comments