rsnt_translations
56,430
edits
No edit summary |
No edit summary |
||
Line 260: | Line 260: | ||
</div> | </div> | ||
== Comprendre le code == | == Comprendre le code == | ||
Regardons attentivement | Regardons attentivement la boucle principale de | ||
[https://github.com/calculquebec/cq-formation-openacc/blob/main/cpp/matrix_functions.h#L29 la fonction <code>matvec()</code> implémentée dans <code>matrix_functions.h</code>]: | |||
<syntaxhighlight lang="cpp" line start="29" highlight="1,5,10,12"> | <syntaxhighlight lang="cpp" line start="29" highlight="1,5,10,12"> | ||
for(int i=0;i<num_rows;i++) { | for(int i=0;i<num_rows;i++) { |