Get the device pointer from the array and lock the buffer in memory manager. More...

Functions

template<typename T >
T * device () const
 

Detailed Description

Get the device pointer from the array and lock the buffer in memory manager.

The device memory returned by this function is not freed until unlock() is called.

Function Documentation

T* device ( ) const