OpenACC Tutorial - Adding directives: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 406: Line 406:
Both approaches are equally valid and can perform equally well.
Both approaches are equally valid and can perform equally well.


== Challenge: Add OpenACC <tt>kernels</tt> or <tt>parallel loop</tt> == <!--T:46-->
<!--T:46-->
{{Challenge
{{Challenge
|title=Adding OpenACC directives  
|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.  
rsnt_translations
56,430

edits

Navigation menu