MCPcopy Create free account
hub / github.com/gpujs/gpu.js / _graphicalKernelBody

Method _graphicalKernelBody

src/backend/cpu/kernel.js:424–431  ·  view source on GitHub ↗
(kernelThreadString)

Source from the content-addressed store, hash-verified

422 }
423
424 _graphicalKernelBody(kernelThreadString) {
425 switch (this.output.length) {
426 case 2:
427 return this._graphicalKernel2DLoop(kernelThreadString) + this._graphicalOutput();
428 default:
429 throw new Error('unsupported size kernel');
430 }
431 }
432
433 _graphicalOutput() {
434 return `

Callers 1

getKernelStringMethod · 0.95

Calls 2

_graphicalOutputMethod · 0.95

Tested by

no test coverage detected