OpenACC: Difference between revisions

Jump to navigation Jump to search
 
Line 7: Line 7:


= Code examples =
= Code examples =
OpenACC can be used in [[Fortran]], [[C]] and [[C++]], which we illustrate here using the simple example of a definite integral which is equal to the arctangent of unity, i.e. π/4,
OpenACC can be used in [[Fortran]], [[C]] and [[C++]], which we illustrate here using a simple program that computes a decimal approximation to π based on a definite integral which is equal to arctan(1), i.e. π/4.
<tabs>
<tabs>
<tab name="C">
<tab name="C">
Bureaucrats, cc_docs_admin, cc_staff
2,314

edits

Navigation menu