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

Method _resultMutableKernel1DLoop

src/backend/cpu/kernel.js:481–489  ·  view source on GitHub ↗
(kernelString)

Source from the content-addressed store, hash-verified

479 }
480
481 _resultMutableKernel1DLoop(kernelString) {
482 return ` const outputX = _this.output[0];
483 for (let x = 0; x < outputX; x++) {
484 this.thread.x = x;
485 this.thread.y = 0;
486 this.thread.z = 0;
487 ${ kernelString }
488 }`;
489 }
490
491 _resultImmutableKernel2DLoop(kernelString) {
492 const constructorString = this._getKernelResultTypeConstructorString();

Callers 1

_resultKernelBodyMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected