Skip to content

Commit 2a48a39

Browse files
r-barnes9prady9
authored andcommitted
Fix a documentation issue
1 parent 9cea077 commit 2a48a39

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arrayfire/array.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -563,6 +563,7 @@ def device_ptr(self):
563563
Note
564564
----
565565
- This can be used to integrate with custom C code and / or PyCUDA or PyOpenCL.
566+
- Implies `af.device.lock_array()`. The device pointer of `a` is not freed by memory manager until `unlock_device_ptr()` is called.
566567
- No other arrays will share the same device pointer.
567568
- A copy of the memory is done if multiple arrays share the same memory or the array is not the owner of the memory.
568569
- In case of a copy the return value points to the newly allocated memory which is now exclusively owned by the array.

0 commit comments

Comments
 (0)