VTK Cuda Memory Management Classes

From NAMIC Wiki
Jump to: navigation, search
Home < VTK Cuda Memory Management Classes

Objective

The Idea is to get a safe object oriented interface for the memory management of CUDA devices in VTK.

Also take a look at [[Cuda

Cuda Memory

Cuda memory comes in different:

  • Host Memory: Non-Paged Memory on the host side for fast interaction with the CUDA devices. Defined in vtkCudaHostMemory.h
  • Linear Memory: Linerely arranged memory on the CUDA device. vtk
  • Pitch Memory: 2D memory arrays that are aligned in the correct fashion for a fast interaction on the cuda devices. (Arranged over the memory banks for quick access)
  • Array Memory: Arrays allocated over the CUDA API.
  • Texture Memory: Not discussed here.

Class Diagram

VtkCudaMemoryManagementClassDiagram.png