Regain control of a device pointer after a call to device() More...

void unlock () const
 Regain control of a device pointer after a call to device() More...
 

Detailed Description

Regain control of a device pointer after a call to device()

Release pointers from device() after finished so can be garbage collectedThis function returns control to the array object after the device() function is used. This call will allow ArrayFire to manage the memory exposed by the device pointer.

Function Documentation

void unlock ( ) const

Regain control of a device pointer after a call to device()

Release pointers from device() after finished so can be garbage collectedThis function returns control to the array object after the device() function is used. This call will allow ArrayFire to manage the memory exposed by the device pointer.