... | ... | @@ -84,7 +84,7 @@ Allocate space for the variable on device, but do not copy anything. |
|
|
There are also directives that you can use to allocate memory on the device and is accessible by the kernel.
|
|
|
|
|
|
One can allocate memory on the device with:
|
|
|
`!$omp target enter data map (\<specifier\>)`
|
|
|
`!$omp target enter data map (<specifier>)`
|
|
|
Where the specifier is one of the operations listed in the section above.
|
|
|
|
|
|
One can deallocate memory on the device (after the kernel finishes) with:
|
... | ... | |