rsnt_translations
56,430
edits
(Marked this version for translation) |
No edit summary |
||
Line 411: | Line 411: | ||
|title=Challenge: Add OpenACC directives <tt>kernels</tt> or <tt>parallel loop</tt> | |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 | # 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 step1.* from the [https://github.com/calculquebec/cq-formation-openacc Github repository] contain solutions. | ||
# Modify the Makefile to add <tt>-ta{{=}}tesla:managed</tt> and <tt>-Minfo{{=}}accel</tt> to your compiler flags. | # Modify the Makefile to add <tt>-ta{{=}}tesla:managed</tt> and <tt>-Minfo{{=}}accel</tt> to your compiler flags. | ||
}} | }} |