38,760
edits
(Updating to match new version of source page) |
(Updating to match new version of source page) |
||
Line 333: | Line 333: | ||
Both approaches are equally valid and can perform equally well. | Both approaches are equally valid and can perform equally well. | ||
{{Challenge | |||
|title=Challenge: Add OpenACC directives <tt>kernels</tt> or <tt>parallel loop</tt> | |||
|content= | |content= | ||
# Modify the functions <tt>matvec</tt>, <tt>waxpby</tt> and <tt>dot</tt> to use OpenACC. You may use either the <tt>kernels</tt> or the <tt>parallel loop</tt> directives. The directories <tt>step1.*</tt> contain the solution. | # Modify the functions <tt>matvec</tt>, <tt>waxpby</tt> and <tt>dot</tt> to use OpenACC. You may use either the <tt>kernels</tt> or the <tt>parallel loop</tt> directives. The directories <tt>step1.*</tt> contain the solution. |