# Memory Directives

([Main README](README.md))

These directives can be used for invoking GPU memory operations.

**data map([\<var\>])**  
Maps a variable to and from host.

**data map(from:[\<var\>])**  
Maps a variable from host.

**data map(to:[\<var\>])**  
Maps a variable to host.

**data map(alloc:[\<var\>])**  
Allocate space for the variable on device.
