Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/AdvancedCompiler/AdvancedCompiler
/ init_array_A
Function
init_array_A
code/Chapter9/9-8.c:5–9 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
3
#define N 2000
4
int A[N];
5
void init_array_A(int* a){
6
#pragma omp parallel for
7
for(int i=0;i<N;i++)
8
a[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