Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/emscripten-core/emscripten
/ Sum
Function
Sum
test/matrix_multiply.cpp:32–38 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
30
}
31
32
float Sum(float *m, int A, int B)
33
{
34
float acc = 0.f;
35
for(int i = 0; i < A*B; ++i)
36
acc += m[i];
37
return acc;
38
}
39
40
void Init(float *m, int A, int B)
41
{
Callers
1
Benchmark
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected