forked from arrayfire/arrayfire-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path__init__.py
More file actions
60 lines (48 loc) · 1.51 KB
/
__init__.py
File metadata and controls
60 lines (48 loc) · 1.51 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
#######################################################
# Copyright (c) 2015, ArrayFire
# All rights reserved.
#
# This file is distributed under 3-clause BSD license.
# The complete license agreement can be obtained at:
# http://arrayfire.com/licenses/BSD-3-Clause
########################################################
"""
A high performance scientific computing library for CUDA, OpenCL and CPU devices.
The functionality provided by ArrayFire spans the following domains:
1. Vector Algorithms
2. Image Processing
3. Signal Processing
4. Computer Vision
5. Linear Algebra
6. Statistics
Programs written using ArrayFire are portable across CUDA, OpenCL and CPU devices
The default backend is chosen in the following order of preference based on the available libraries:
1. CUDA
2. OpenCL
3. CPU
The backend can be chosen at the beginning of the program by using the following function
>>> af.backend.set(name)
where name is one of 'cuda', 'opencl' or 'cpu'
"""
from .library import *
from .array import *
from .data import *
from .util import *
from .algorithm import *
from .device import *
from .blas import *
from .arith import *
from .statistics import *
from .lapack import *
from .signal import *
from .image import *
from .features import *
from .vision import *
from .graphics import *
from .bcast import *
from .index import *
# do not export default modules as part of arrayfire
del ct
del inspect
del numbers
del os