Programowanie w systemie UNIX/CPU: Różnice pomiędzy wersjami

Usunięta treść Dodana treść
Nie podano opisu zmian
Linia 18:
 
 
<sourcesyntaxhighlight lang=bash>
# bash
export OMP_DISPLAY_ENV="TRUE"
</syntaxhighlight>
</source>
 
 
Wywołanie programu korzystajaćego z OpenMP spowoduje wyświetlenie dodatkowego komunikatu:
 
<sourcesyntaxhighlight lang=bash>
OPENMP DISPLAY ENVIRONMENT BEGIN
_OPENMP = '201511'
Linia 43:
OMP_MAX_TASK_PRIORITY = '0'
OPENMP DISPLAY ENVIRONMENT END
</syntaxhighlight>
</source>
 
 
Linia 131:
===Hello world!===
 
<sourcesyntaxhighlight lang=c>
/*
export OMP_DISPLAY_ENV="TRUE"
Linia 149:
}
 
</syntaxhighlight>
</source>
 
===Wypełnianie tablicy===
 
<sourcesyntaxhighlight lang=c>
 
// fill array using symmetry of image
Linia 191:
}
 
</syntaxhighlight>
</source>
===zbiór Mandelbrota===