cc_staff
782
edits
(Trying to fix the table with translation) |
(Fixing another table row with translated content) |
||
Line 97: | Line 97: | ||
} | } | ||
</syntaxhighlight> || <syntaxhighlight lang="cpp" line> | </syntaxhighlight> || <syntaxhighlight lang="cpp" line> | ||
void | void kernelName(A, B, C, i) | ||
{ | { | ||
C[i] = A[i] + B[i]; | C[i] = A[i] + B[i]; | ||
} | } | ||
</syntaxhighlight> | </syntaxhighlight> | ||
<translate><!--T:11--> | |||
|- | |||
| Calculates sequentially from index <tt>i=0</tt> to <tt>i=N-1</tt>, inclusive. || Each compute core calculates for one value of <tt>i</tt>.</translate> | | Calculates sequentially from index <tt>i=0</tt> to <tt>i=N-1</tt>, inclusive. || Each compute core calculates for one value of <tt>i</tt>.</translate> | ||
|} | |} |