[python-arrayfire] 148/250: Adding new enums from arrayfire 3.2
Ghislain Vaillant
ghisvail-guest at moszumanska.debian.org
Mon Mar 28 22:59:42 UTC 2016
This is an automated email from the git hooks/post-receive script.
ghisvail-guest pushed a commit to branch debian/master
in repository python-arrayfire.
commit ce41bf78f4dea81c29e1dcc8d8d5741b80d2f219
Author: Pavan Yalamanchili <pavan at arrayfire.com>
Date: Tue Dec 8 18:23:44 2015 -0500
Adding new enums from arrayfire 3.2
---
arrayfire/library.py | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/arrayfire/library.py b/arrayfire/library.py
index 49f1a37..5701eac 100644
--- a/arrayfire/library.py
+++ b/arrayfire/library.py
@@ -114,6 +114,11 @@ class ERR(_Enum):
NO_DBL = _Enum_Type(401)
NO_GFX = _Enum_Type(402)
+ # 500-599 Errors specific to the heterogeneous API
+ LOAD_LIB = _Enum_Type(501)
+ LOAD_SYM = _Enum_Type(502)
+ ARR_BKND_MISMATCH = _Enum_Type(503)
+
# 900-999 Errors from upstream libraries and runtimes
INTERNAL = _Enum_Type(998)
UNKNOWN = _Enum_Type(999)
@@ -132,6 +137,8 @@ class Dtype(_Enum):
u8 = _Enum_Type(7)
s64 = _Enum_Type(8)
u64 = _Enum_Type(9)
+ s16 = _Enum_Type(10)
+ u16 = _Enum_Type(11)
class Source(_Enum):
"""
@@ -350,3 +357,19 @@ class IMAGE_FORMAT(_Enum):
EXR = _Enum_Type(29)
JP2 = _Enum_Type(31)
RAW = _Enum_Type(34)
+
+class HOMOGRAPHY(_Enum):
+ """
+ Homography Types
+ """
+ RANSAC = _Enum_Type(0)
+ LMEDS = _Enum_Type(1)
+
+class BACKEND(_Enum):
+ """
+ Backend libraries
+ """
+ DEFAULT = _Enum_Type(0)
+ CPU = _Enum_Type(1)
+ CUDA = _Enum_Type(2)
+ OPENCL = _Enum_Type(4)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/python-arrayfire.git
More information about the debian-science-commits
mailing list