amol- commented on a change in pull request #11245:
URL: https://github.com/apache/arrow/pull/11245#discussion_r719433571



##########
File path: python/pyarrow/io.pxi
##########
@@ -1478,6 +1542,18 @@ def foreign_buffer(address, size, base=None):
     The *base* object will be kept alive as long as this buffer is alive,
     including across language boundaries (for example if the buffer is
     referenced by C++ code).
+
+    Parameters
+    ----------
+    address : int
+        Specify the starting address of the buffer. The address can
+        refer to both device or host memory but it must be
+        accessible from device after mapping it with
+        `get_device_address` method.
+    size : int
+        Specify the size of device buffer in bytes.
+    base : {None, object}
+        Specify object that owns the referenced memory.

Review comment:
       :+1:




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscr...@arrow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to