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

Method injectNative

src/gpu.js:532–535  ·  view source on GitHub ↗

* Inject a string just before translated kernel functions * @param {String} source * @return {GPU}

(source)

Source from the content-addressed store, hash-verified

530 * @return {GPU}
531 */
532 injectNative(source) {
533 this.injectedNative = source;
534 return this;
535 }
536
537 /**
538 * @desc Destroys all memory associated with gpu.js & the webGl if we created it

Callers 2

gpuAddABFunction · 0.95
cpuAddABFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected