Skip to content

Commit 31ffd98

Browse files
committed
Add missing enums from arrayfire 3.4 release
1 parent f79c1a0 commit 31ffd98

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

arrayfire/library.py

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -373,6 +373,25 @@ class BINARYOP(_Enum):
373373
MIN = _Enum_Type(2)
374374
MAX = _Enum_Type(3)
375375

376+
class RANDOM_ENGINE(_Enum):
377+
"""
378+
Random engine types
379+
"""
380+
PHILOX_4X32_10 = _Enum_Type(100)
381+
THREEFRY_2X32_16 = _Enum_Type(200)
382+
MERSENNE_GP11213 = _Enum_Type(300)
383+
PHILOX = PHILOX_4X32_10
384+
THREEFRY = THREEFRY_2X32_16
385+
DEFAULT = PHILOX
386+
387+
class STORAGE(_Enum):
388+
"""
389+
Matrix Storage types
390+
"""
391+
DENSE = _Enum_Type(0)
392+
CSR = _Enum_Type(1)
393+
CSC = _Enum_Type(2)
394+
COO = _Enum_Type(3)
376395

377396
def _setup():
378397
import platform

0 commit comments

Comments
 (0)