(kernelString)
| 409 | } |
| 410 | |
| 411 | _resultKernelBody(kernelString) { |
| 412 | switch (this.output.length) { |
| 413 | case 1: |
| 414 | return (!this.immutable && this.pipeline ? this._resultMutableKernel1DLoop(kernelString) : this._resultImmutableKernel1DLoop(kernelString)) + this._kernelOutput(); |
| 415 | case 2: |
| 416 | return (!this.immutable && this.pipeline ? this._resultMutableKernel2DLoop(kernelString) : this._resultImmutableKernel2DLoop(kernelString)) + this._kernelOutput(); |
| 417 | case 3: |
| 418 | return (!this.immutable && this.pipeline ? this._resultMutableKernel3DLoop(kernelString) : this._resultImmutableKernel3DLoop(kernelString)) + this._kernelOutput(); |
| 419 | default: |
| 420 | throw new Error('unsupported size kernel'); |
| 421 | } |
| 422 | } |
| 423 | |
| 424 | _graphicalKernelBody(kernelThreadString) { |
| 425 | switch (this.output.length) { |
no test coverage detected