[arrayfire] 222/248: Update unified api docs

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Tue Nov 17 15:54:29 UTC 2015


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

ghisvail-guest pushed a commit to branch dfsg-clean
in repository arrayfire.

commit e0233fcafbcf5ddbfc0eddd74ba75c5ef1c13a03
Author: Shehzan Mohammed <shehzan at arrayfire.com>
Date:   Tue Nov 10 13:17:07 2015 -0500

    Update unified api docs
---
 docs/pages/unified_backend.md | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/docs/pages/unified_backend.md b/docs/pages/unified_backend.md
index 89fe0b5..96bf94d 100644
--- a/docs/pages/unified_backend.md
+++ b/docs/pages/unified_backend.md
@@ -167,11 +167,10 @@ switching of backends.
 
 ### Don't: Do not use arrays between different backends
 
-ArrayFire does not track associations between array objects and the backends
-they were created on. Hence, there will be no compiler errors when an array
-created on one backend is used on another. But this is not allowed and will
-result in exceptions and/or segmenation faults. An example of this is as
-follows.
+ArrayFire checks the input arrays to functions for mismatches with the active
+backend. If an array created on one backend, but used when another backend is
+set to active, an exception with code 503 (`AF_ERR_ARR_BKND_MISMATCH`) is
+thrown.
 
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~{.c}
 #include <arrayfire.h>

-- 
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