vpi.MemType
- class vpi.MemType
Set a memory type for container access.
To access the content of a container, e.g. an
image
, the memory type of the access must be provided. There are two ways of setting the memory type:Define it as an argument to an access method, e.g.
vpi.Container.to()
;Define it by using a specific access method, e.g.
vpi.Container.cpu()
.
Enumeration values
The data is in the CPU memory.
The data is in the CUDA memory.