[arrayfire] 52/84: Add detail for AF_ERR_ARR_BKND_MISMATCH

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Mon Jan 4 23:22:24 UTC 2016


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

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

commit 1ed27ff87fb9227e988eee60168bea1700167bdb
Author: Shehzan Mohammed <shehzan at arrayfire.com>
Date:   Mon Dec 28 14:18:14 2015 -0500

    Add detail for AF_ERR_ARR_BKND_MISMATCH
---
 src/api/c/err_common.cpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/api/c/err_common.cpp b/src/api/c/err_common.cpp
index e7faeae..7f8d89e 100644
--- a/src/api/c/err_common.cpp
+++ b/src/api/c/err_common.cpp
@@ -181,6 +181,8 @@ const char *af_err_to_string(const af_err err)
     case AF_ERR_NO_DBL:         return "Double precision not supported for this device";
     case AF_ERR_LOAD_LIB:       return "Failed to load dynamic library. See http://www.arrayfire.com/docs/unifiedbackend.htm for instructions to set up environment for Unified backend";
     case AF_ERR_LOAD_SYM:       return "Failed to load symbol";
+    case AF_ERR_ARR_BKND_MISMATCH   :
+                                return "There was a mismatch between an array and the current backend";
     case AF_ERR_UNKNOWN:
     default:
         return "Unknown error";

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