diff --git a/arrayfire/array.py b/arrayfire/array.py index 76afece01..801cd502b 100644 --- a/arrayfire/array.py +++ b/arrayfire/array.py @@ -563,6 +563,7 @@ def device_ptr(self): Note ---- - This can be used to integrate with custom C code and / or PyCUDA or PyOpenCL. + - Implies `af.device.lock_array()`. The device pointer of `a` is not freed by memory manager until `unlock_device_ptr()` is called. - No other arrays will share the same device pointer. - A copy of the memory is done if multiple arrays share the same memory or the array is not the owner of the memory. - In case of a copy the return value points to the newly allocated memory which is now exclusively owned by the array.