Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dmtcp/dmtcp
/ ScoreCallback
Function
ScoreCallback
test/openmp-2.cpp:113–119 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
111
}
112
113
void
114
ScoreCallback(unsigned int m)
115
{
116
int threadNum = omp_get_thread_num();
117
118
scratch[threadNum] += m * (threadNum - 2); // meaningless calculation
119
}
Callers
1
ScoreMetaCallback
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected