array::device<T>

Functions
array::device<T>
Complete List of ArrayFire Functions ArrayFire Functions by Category » Functions to create and modify Arrays » | Managing devices in ArrayFire

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

## § device()

T* device | ( |  | ) | const