MCPcopy Index your code
hub / github.com/gpujs/gpu.js / run

Method run

src/backend/kernel.js:285–287  ·  view source on GitHub ↗

* @desc Run the kernel program, and send the output to renderOutput * This method calls a helper method *renderOutput* to return the result. * @returns {Float32Array|Float32Array[]|Float32Array[][]|void} Result The final output of the program, as float, and as Textures for reuse. *

()

Source from the content-addressed store, hash-verified

283 * @abstract
284 */
285 run() {
286 throw new Error(`"run" not defined on ${ this.constructor.name }`)
287 }
288
289 /**
290 * @abstract

Callers 4

benchmark.jsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected