Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/AdvancedCompiler/AdvancedCompiler
/ init_array_B
Function
init_array_B
code/Chapter9/9-9.c:5–9 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
3
#define N 2000
4
int B[N];
5
void init_array_B(int* b){
6
#pragma omp for
7
for(int i=0;i<N;i++)
8
b[i]=i;
9
}
10
int main()
11
{
12
double start_time,end_time,used_time;
Callers
1
main
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected