[arrayfire] 35/408: DOCS: Fixing documentation for lock and unlock

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Mon Sep 21 19:11:11 UTC 2015


This is an automated email from the git hooks/post-receive script.

ghisvail-guest pushed a commit to branch debian/sid
in repository arrayfire.

commit 6bd71f01fef433e8436ee44b65c9958051a79cf2
Author: Pavan Yalamanchili <pavan at arrayfire.com>
Date:   Wed Jun 24 11:51:23 2015 -0400

    DOCS: Fixing documentation for lock and unlock
---
 include/af/device.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/include/af/device.h b/include/af/device.h
index 3297c1a..0717d59 100644
--- a/include/af/device.h
+++ b/include/af/device.h
@@ -261,9 +261,9 @@ extern "C" {
     AFAPI af_err af_lock_device_ptr(const af_array arr);
 
     /**
-       Lock the device buffer in the memory manager.
+       Unlock device buffer in the memory manager.
 
-       Locked buffers are not freed by memory manager until \ref af_unlock_device_ptr is called.
+       This function will give back the control over the device pointer to the memory manager.
        \ingroup device_func_mem
     */
     AFAPI af_err af_unlock_device_ptr(const af_array arr);
@@ -271,7 +271,7 @@ extern "C" {
     /**
        Get the device pointer and lock the buffer in memory manager.
 
-       Locked buffers are not freed by memory manager until \ref af_unlock_device_ptr is called.
+       The device pointer \p ptr is notfreed by memory manager until \ref af_unlock_device_ptr is called.
        \ingroup device_func_mem
     */
     AFAPI af_err af_get_device_ptr(void **ptr, const af_array arr);

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/arrayfire.git



More information about the debian-science-commits mailing list