Translations:OpenACC Tutorial - Adding directives/50/en

From Alliance Doc
Jump to navigation Jump to search

The NVidia compilers use the -acc (target accelerator) option to enable compilation for an accelerator. We use the sub-option -gpu=managed to tell the compiler that we want to use managed memory. This 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.