Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/gpujs/gpu.js
/ customAdder
Function
customAdder
test/features/inject-native.js:56–58 ·
view source on GitHub ↗
(a, b)
Source
from the content-addressed store, hash-verified
54
55
function
cpuAddAB(mode) {
56
function
customAdder(a, b) {
57
return
a + b;
58
}
59
const
gpu =
new
GPU({mode});
60
gpu
61
.injectNative(customAdder.toString());
Callers
1
cpuAddAB
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…