Bureaucrats, cc_docs_admin, cc_staff
2,314
edits
Line 7: | Line 7: | ||
= Code examples = | = Code examples = | ||
OpenACC can be used in [[Fortran]], [[C]] and [[C++]], which we illustrate here using | 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"> |