Translations:OpenACC Tutorial - Adding directives/50/en

From Alliance Doc
Revision as of 19:58, 21 June 2021 by FuzzyBot (talk | contribs) (Importing a new version from external source)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

The NVidia compilers use the -ta (target accelerator) option to enable compilation for an accelerator. We use the sub-option tesla:managed, to tell the compiler that we want it compiled for Tesla GPUs, and we want to use managed memory. Managed memory simplifies the process of transferring data to and from the device. We will remove this option in a later example. We also use the option -fast, which is an optimization option.