-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbackend_8h_source.htm
More file actions
211 lines (211 loc) · 25.1 KB
/
backend_8h_source.htm
File metadata and controls
211 lines (211 loc) · 25.1 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
<!-- HTML header for doxygen 1.9.5-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-130950618-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-130950618-1');
</script>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.5"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>ArrayFire: backend.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
extensions: ["tex2jax.js"],
jax: ["input/TeX","output/HTML-CSS"],
});
</script>
<script type="text/javascript" async="async" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="arrayfire.css" rel="stylesheet" type="text/css"/>
<link href="doxygen-awesome.css" rel="stylesheet" type="text/css"/>
<link href="doxygen-awesome-sidebar-only.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="doxygen-awesome-darkmode-toggle.js"></script>
<script type="text/javascript" src="doxygen-awesome-fragment-copy-button.js"></script>
<script type="text/javascript" src="doxygen-awesome-interactive-toc.js"></script>
<script type="text/javascript">
DoxygenAwesomeDarkModeToggle.init()
DoxygenAwesomeInteractiveToc.init()
DoxygenAwesomeFragmentCopyButton.init()
</script>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="2" cellpadding="2" width="100%">
<tbody>
<tr id="projectrow">
<td id="projectlogo"><a href="index.htm"><img alt="Logo" src="arrayfire_logo.png"/></a></td>
</tr>
<tr id="projectrow">
<td>
<div id="projectbrief">A high-performance general-purpose compute library</div>
</td>
</tr>
<!--END !PROJECT_NAME-->
<div>
<td id="gsearch">
<script async src="https://cse.google.com/cse.js?cx=004356362924927882526:zup3ehe-7bs"></script>
<div class="gcse-search"></div>
</td>
</div>
</tr>
<tr>
<td>
<div id="togglediv"></div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part --><!-- Generated by Doxygen 1.9.5 -->
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.htm"><span>Main Page</span></a></li>
<li><a href="tutorials.htm"><span>Tutorials</span></a></li>
<li><a href="modules.htm"><span>Functions</span></a></li>
<li><a href="releasenotes.htm"><span>Release Notes</span></a></li>
<li><a href="examples.htm"><span>Examples</span></a></li>
</ul>
</div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
$(document).ready(function(){initNavTree('backend_8h_source.htm',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<div class="header">
<div class="headertitle"><div class="title">backend.h</div></div>
</div><!--header-->
<div class="contents">
<a href="backend_8h.htm">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno"> 1</span><span class="comment">/*******************************************************</span></div>
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno"> 2</span><span class="comment"> * Copyright (c) 2014, ArrayFire</span></div>
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno"> 3</span><span class="comment"> * All rights reserved.</span></div>
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno"> 4</span><span class="comment"> *</span></div>
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno"> 5</span><span class="comment"> * This file is distributed under 3-clause BSD license.</span></div>
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno"> 6</span><span class="comment"> * The complete license agreement can be obtained at:</span></div>
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno"> 7</span><span class="comment"> * http://arrayfire.com/licenses/BSD-3-Clause</span></div>
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno"> 8</span><span class="comment"> ********************************************************/</span></div>
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno"> 9</span> </div>
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno"> 10</span><span class="preprocessor">#pragma once</span></div>
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno"> 11</span><span class="preprocessor">#include <<a class="code" href="defines_8h.htm">af/defines.h</a>></span></div>
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno"> 12</span> </div>
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno"> 13</span><span class="preprocessor">#ifdef __cplusplus</span></div>
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno"> 14</span><span class="keyword">extern</span> <span class="stringliteral">"C"</span> {</div>
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno"> 15</span><span class="preprocessor">#endif</span></div>
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno"> 16</span> </div>
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno"> 17</span><span class="preprocessor">#if AF_API_VERSION >= 32</span></div>
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"><a class="line" href="group__unified__func__setbackend.htm#ga6fde820e8802776b7fc823504b37f1b4"> 24</a></span><a class="code hl_define" href="defines_8h.htm#ab23e67549eba2cfbaf0eb5f88f947e48">AFAPI</a> <a class="code hl_enumeration" href="defines_8h.htm#a82b94dc53bbd100a0e8ca9dd356aaf4f">af_err</a> <a class="code hl_function" href="group__unified__func__setbackend.htm#ga6fde820e8802776b7fc823504b37f1b4">af_set_backend</a>(<span class="keyword">const</span> <a class="code hl_enumeration" href="defines_8h.htm#ae7db039065fb80471a750bde2f652aca">af_backend</a> bknd);</div>
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno"> 25</span><span class="preprocessor">#endif</span></div>
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno"> 26</span> </div>
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno"> 27</span><span class="preprocessor">#if AF_API_VERSION >= 32</span></div>
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno"><a class="line" href="group__unified__func__getbackendcount.htm#gad38c2dfedfdabfa264afa46d8664e9cd"> 34</a></span><a class="code hl_define" href="defines_8h.htm#ab23e67549eba2cfbaf0eb5f88f947e48">AFAPI</a> <a class="code hl_enumeration" href="defines_8h.htm#a82b94dc53bbd100a0e8ca9dd356aaf4f">af_err</a> <a class="code hl_function" href="group__unified__func__getbackendcount.htm#gad38c2dfedfdabfa264afa46d8664e9cd">af_get_backend_count</a>(<span class="keywordtype">unsigned</span>* num_backends);</div>
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"> 35</span><span class="preprocessor">#endif</span></div>
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno"> 36</span> </div>
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"> 37</span><span class="preprocessor">#if AF_API_VERSION >= 32</span></div>
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno"><a class="line" href="group__unified__func__getavailbackends.htm#ga92a9ce85385763bfa83911cda905afe8"> 57</a></span><a class="code hl_define" href="defines_8h.htm#ab23e67549eba2cfbaf0eb5f88f947e48">AFAPI</a> <a class="code hl_enumeration" href="defines_8h.htm#a82b94dc53bbd100a0e8ca9dd356aaf4f">af_err</a> <a class="code hl_function" href="group__unified__func__getavailbackends.htm#ga92a9ce85385763bfa83911cda905afe8">af_get_available_backends</a>(<span class="keywordtype">int</span>* backends);</div>
<div class="line"><a id="l00058" name="l00058"></a><span class="lineno"> 58</span><span class="preprocessor">#endif</span></div>
<div class="line"><a id="l00059" name="l00059"></a><span class="lineno"> 59</span> </div>
<div class="line"><a id="l00060" name="l00060"></a><span class="lineno"> 60</span><span class="preprocessor">#if AF_API_VERSION >= 32</span></div>
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno"><a class="line" href="group__unified__func__getbackendid.htm#ga5fc39e209e1886cf250aec265c0d9079"> 68</a></span><a class="code hl_define" href="defines_8h.htm#ab23e67549eba2cfbaf0eb5f88f947e48">AFAPI</a> <a class="code hl_enumeration" href="defines_8h.htm#a82b94dc53bbd100a0e8ca9dd356aaf4f">af_err</a> <a class="code hl_function" href="group__unified__func__getbackendid.htm#ga5fc39e209e1886cf250aec265c0d9079">af_get_backend_id</a>(<a class="code hl_enumeration" href="defines_8h.htm#ae7db039065fb80471a750bde2f652aca">af_backend</a> *backend, <span class="keyword">const</span> <a class="code hl_typedef" href="defines_8h.htm#a8e45f4aa3dbea6a7aa021dbc50a4a089">af_array</a> in);</div>
<div class="line"><a id="l00069" name="l00069"></a><span class="lineno"> 69</span><span class="preprocessor">#endif</span></div>
<div class="line"><a id="l00070" name="l00070"></a><span class="lineno"> 70</span> </div>
<div class="line"><a id="l00071" name="l00071"></a><span class="lineno"> 71</span><span class="preprocessor">#if AF_API_VERSION >= 33</span></div>
<div class="line"><a id="l00079" name="l00079"></a><span class="lineno"><a class="line" href="group__unified__func__getactivebackend.htm#gac6a8e976a151d007e0cf5cf4f11da2a9"> 79</a></span><a class="code hl_define" href="defines_8h.htm#ab23e67549eba2cfbaf0eb5f88f947e48">AFAPI</a> <a class="code hl_enumeration" href="defines_8h.htm#a82b94dc53bbd100a0e8ca9dd356aaf4f">af_err</a> <a class="code hl_function" href="group__unified__func__getactivebackend.htm#gac6a8e976a151d007e0cf5cf4f11da2a9">af_get_active_backend</a>(<a class="code hl_enumeration" href="defines_8h.htm#ae7db039065fb80471a750bde2f652aca">af_backend</a> *backend);</div>
<div class="line"><a id="l00080" name="l00080"></a><span class="lineno"> 80</span><span class="preprocessor">#endif</span></div>
<div class="line"><a id="l00081" name="l00081"></a><span class="lineno"> 81</span> </div>
<div class="line"><a id="l00082" name="l00082"></a><span class="lineno"> 82</span><span class="preprocessor">#if AF_API_VERSION >= 33</span></div>
<div class="line"><a id="l00090" name="l00090"></a><span class="lineno"><a class="line" href="group__unified__func__getdeviceid.htm#ga5d94b64dccd1c7cbc7a3a69fa64888c3"> 90</a></span><a class="code hl_define" href="defines_8h.htm#ab23e67549eba2cfbaf0eb5f88f947e48">AFAPI</a> <a class="code hl_enumeration" href="defines_8h.htm#a82b94dc53bbd100a0e8ca9dd356aaf4f">af_err</a> <a class="code hl_function" href="group__unified__func__getdeviceid.htm#ga5d94b64dccd1c7cbc7a3a69fa64888c3">af_get_device_id</a>(<span class="keywordtype">int</span> *device, <span class="keyword">const</span> <a class="code hl_typedef" href="defines_8h.htm#a8e45f4aa3dbea6a7aa021dbc50a4a089">af_array</a> in);</div>
<div class="line"><a id="l00091" name="l00091"></a><span class="lineno"> 91</span><span class="preprocessor">#endif</span></div>
<div class="line"><a id="l00092" name="l00092"></a><span class="lineno"> 92</span> </div>
<div class="line"><a id="l00093" name="l00093"></a><span class="lineno"> 93</span> </div>
<div class="line"><a id="l00094" name="l00094"></a><span class="lineno"> 94</span><span class="preprocessor">#ifdef __cplusplus</span></div>
<div class="line"><a id="l00095" name="l00095"></a><span class="lineno"> 95</span>}</div>
<div class="line"><a id="l00096" name="l00096"></a><span class="lineno"> 96</span><span class="preprocessor">#endif</span></div>
<div class="line"><a id="l00097" name="l00097"></a><span class="lineno"> 97</span> </div>
<div class="line"><a id="l00098" name="l00098"></a><span class="lineno"> 98</span><span class="preprocessor">#ifdef __cplusplus</span></div>
<div class="line"><a id="l00099" name="l00099"></a><span class="lineno"> 99</span><span class="keyword">namespace </span><a class="code hl_namespace" href="namespaceaf.htm">af</a></div>
<div class="line"><a id="l00100" name="l00100"></a><span class="lineno"> 100</span>{</div>
<div class="line"><a id="l00101" name="l00101"></a><span class="lineno"> 101</span><span class="keyword">class </span>array;</div>
<div class="line"><a id="l00102" name="l00102"></a><span class="lineno"> 102</span> </div>
<div class="line"><a id="l00103" name="l00103"></a><span class="lineno"> 103</span><span class="preprocessor">#if AF_API_VERSION >= 32</span></div>
<div class="line"><a id="l00109" name="l00109"></a><span class="lineno"><a class="line" href="group__unified__func__setbackend.htm#gac807fa17346b6c4d05acef85d4f7c00e"> 109</a></span><a class="code hl_define" href="defines_8h.htm#ab23e67549eba2cfbaf0eb5f88f947e48">AFAPI</a> <span class="keywordtype">void</span> <a class="code hl_function" href="group__unified__func__setbackend.htm#gac807fa17346b6c4d05acef85d4f7c00e">setBackend</a>(<span class="keyword">const</span> <a class="code hl_enumeration" href="defines_8h.htm#ae7db039065fb80471a750bde2f652aca">Backend</a> bknd);</div>
<div class="line"><a id="l00110" name="l00110"></a><span class="lineno"> 110</span><span class="preprocessor">#endif</span></div>
<div class="line"><a id="l00111" name="l00111"></a><span class="lineno"> 111</span> </div>
<div class="line"><a id="l00112" name="l00112"></a><span class="lineno"> 112</span><span class="preprocessor">#if AF_API_VERSION >= 32</span></div>
<div class="line"><a id="l00118" name="l00118"></a><span class="lineno"><a class="line" href="group__unified__func__getbackendcount.htm#ga73e1330a23f5c72a2ad7b073bb4f1226"> 118</a></span><a class="code hl_define" href="defines_8h.htm#ab23e67549eba2cfbaf0eb5f88f947e48">AFAPI</a> <span class="keywordtype">unsigned</span> <a class="code hl_function" href="group__unified__func__getbackendcount.htm#ga73e1330a23f5c72a2ad7b073bb4f1226">getBackendCount</a>();</div>
<div class="line"><a id="l00119" name="l00119"></a><span class="lineno"> 119</span><span class="preprocessor">#endif</span></div>
<div class="line"><a id="l00120" name="l00120"></a><span class="lineno"> 120</span> </div>
<div class="line"><a id="l00121" name="l00121"></a><span class="lineno"> 121</span><span class="preprocessor">#if AF_API_VERSION >= 32</span></div>
<div class="line"><a id="l00137" name="l00137"></a><span class="lineno"><a class="line" href="group__unified__func__getavailbackends.htm#ga713d8092be09d225c62c9917deb35673"> 137</a></span><a class="code hl_define" href="defines_8h.htm#ab23e67549eba2cfbaf0eb5f88f947e48">AFAPI</a> <span class="keywordtype">int</span> <a class="code hl_function" href="group__unified__func__getavailbackends.htm#ga713d8092be09d225c62c9917deb35673">getAvailableBackends</a>();</div>
<div class="line"><a id="l00138" name="l00138"></a><span class="lineno"> 138</span><span class="preprocessor">#endif</span></div>
<div class="line"><a id="l00139" name="l00139"></a><span class="lineno"> 139</span> </div>
<div class="line"><a id="l00140" name="l00140"></a><span class="lineno"> 140</span><span class="preprocessor">#if AF_API_VERSION >= 32</span></div>
<div class="line"><a id="l00147" name="l00147"></a><span class="lineno"><a class="line" href="group__unified__func__getbackendid.htm#ga1ef4d377f243223d435f3e298c5b8dc9"> 147</a></span><a class="code hl_define" href="defines_8h.htm#ab23e67549eba2cfbaf0eb5f88f947e48">AFAPI</a> <a class="code hl_enumeration" href="defines_8h.htm#ae7db039065fb80471a750bde2f652aca">af::Backend</a> <a class="code hl_function" href="group__unified__func__getbackendid.htm#ga1ef4d377f243223d435f3e298c5b8dc9">getBackendId</a>(<span class="keyword">const</span> <a class="code hl_class" href="classaf_1_1array.htm">array</a> &in);</div>
<div class="line"><a id="l00148" name="l00148"></a><span class="lineno"> 148</span><span class="preprocessor">#endif</span></div>
<div class="line"><a id="l00149" name="l00149"></a><span class="lineno"> 149</span> </div>
<div class="line"><a id="l00150" name="l00150"></a><span class="lineno"> 150</span><span class="preprocessor">#if AF_API_VERSION >= 33</span></div>
<div class="line"><a id="l00156" name="l00156"></a><span class="lineno"><a class="line" href="namespaceaf.htm#a7c4cd12a67eb27fc57129e4e7ff06a03"> 156</a></span><a class="code hl_define" href="defines_8h.htm#ab23e67549eba2cfbaf0eb5f88f947e48">AFAPI</a> <a class="code hl_enumeration" href="defines_8h.htm#ae7db039065fb80471a750bde2f652aca">af::Backend</a> <a class="code hl_function" href="namespaceaf.htm#a7c4cd12a67eb27fc57129e4e7ff06a03">getActiveBackend</a>();</div>
<div class="line"><a id="l00157" name="l00157"></a><span class="lineno"> 157</span><span class="preprocessor">#endif</span></div>
<div class="line"><a id="l00158" name="l00158"></a><span class="lineno"> 158</span> </div>
<div class="line"><a id="l00159" name="l00159"></a><span class="lineno"> 159</span><span class="preprocessor">#if AF_API_VERSION >= 33</span></div>
<div class="line"><a id="l00168" name="l00168"></a><span class="lineno"><a class="line" href="group__unified__func__getdeviceid.htm#ga5213425c1fc7aa9f96901292f4092f24"> 168</a></span><a class="code hl_define" href="defines_8h.htm#ab23e67549eba2cfbaf0eb5f88f947e48">AFAPI</a> <span class="keywordtype">int</span> <a class="code hl_function" href="group__unified__func__getdeviceid.htm#ga5213425c1fc7aa9f96901292f4092f24">getDeviceId</a>(<span class="keyword">const</span> <a class="code hl_class" href="classaf_1_1array.htm">array</a> &in);</div>
<div class="line"><a id="l00169" name="l00169"></a><span class="lineno"> 169</span><span class="preprocessor">#endif</span></div>
<div class="line"><a id="l00170" name="l00170"></a><span class="lineno"> 170</span> </div>
<div class="line"><a id="l00171" name="l00171"></a><span class="lineno"> 171</span>}</div>
<div class="line"><a id="l00172" name="l00172"></a><span class="lineno"> 172</span><span class="preprocessor">#endif</span></div>
<div class="ttc" id="aclassaf_1_1array_htm"><div class="ttname"><a href="classaf_1_1array.htm">af::array</a></div><div class="ttdoc">A multi dimensional data container.</div><div class="ttdef"><b>Definition:</b> <a href="array_8h_source.htm#l00037">array.h:37</a></div></div>
<div class="ttc" id="adefines_8h_htm"><div class="ttname"><a href="defines_8h.htm">defines.h</a></div></div>
<div class="ttc" id="adefines_8h_htm_a82b94dc53bbd100a0e8ca9dd356aaf4f"><div class="ttname"><a href="defines_8h.htm#a82b94dc53bbd100a0e8ca9dd356aaf4f">af_err</a></div><div class="ttdeci">af_err</div><div class="ttdef"><b>Definition:</b> <a href="defines_8h_source.htm#l00071">defines.h:71</a></div></div>
<div class="ttc" id="adefines_8h_htm_a8e45f4aa3dbea6a7aa021dbc50a4a089"><div class="ttname"><a href="defines_8h.htm#a8e45f4aa3dbea6a7aa021dbc50a4a089">af_array</a></div><div class="ttdeci">void * af_array</div><div class="ttdef"><b>Definition:</b> <a href="defines_8h_source.htm#l00243">defines.h:243</a></div></div>
<div class="ttc" id="adefines_8h_htm_ab23e67549eba2cfbaf0eb5f88f947e48"><div class="ttname"><a href="defines_8h.htm#ab23e67549eba2cfbaf0eb5f88f947e48">AFAPI</a></div><div class="ttdeci">#define AFAPI</div><div class="ttdef"><b>Definition:</b> <a href="defines_8h_source.htm#l00038">defines.h:38</a></div></div>
<div class="ttc" id="adefines_8h_htm_ae7db039065fb80471a750bde2f652aca"><div class="ttname"><a href="defines_8h.htm#ae7db039065fb80471a750bde2f652aca">af_backend</a></div><div class="ttdeci">af_backend</div><div class="ttdef"><b>Definition:</b> <a href="defines_8h_source.htm#l00416">defines.h:416</a></div></div>
<div class="ttc" id="agroup__unified__func__getactivebackend_htm_gac6a8e976a151d007e0cf5cf4f11da2a9"><div class="ttname"><a href="group__unified__func__getactivebackend.htm#gac6a8e976a151d007e0cf5cf4f11da2a9">af_get_active_backend</a></div><div class="ttdeci">AFAPI af_err af_get_active_backend(af_backend *backend)</div></div>
<div class="ttc" id="agroup__unified__func__getavailbackends_htm_ga713d8092be09d225c62c9917deb35673"><div class="ttname"><a href="group__unified__func__getavailbackends.htm#ga713d8092be09d225c62c9917deb35673">af::getAvailableBackends</a></div><div class="ttdeci">AFAPI int getAvailableBackends()</div><div class="ttdoc">Returns a flag of all available backends.</div></div>
<div class="ttc" id="agroup__unified__func__getavailbackends_htm_ga92a9ce85385763bfa83911cda905afe8"><div class="ttname"><a href="group__unified__func__getavailbackends.htm#ga92a9ce85385763bfa83911cda905afe8">af_get_available_backends</a></div><div class="ttdeci">AFAPI af_err af_get_available_backends(int *backends)</div><div class="ttdoc">Returns a flag of all available backends.</div></div>
<div class="ttc" id="agroup__unified__func__getbackendcount_htm_ga73e1330a23f5c72a2ad7b073bb4f1226"><div class="ttname"><a href="group__unified__func__getbackendcount.htm#ga73e1330a23f5c72a2ad7b073bb4f1226">af::getBackendCount</a></div><div class="ttdeci">AFAPI unsigned getBackendCount()</div></div>
<div class="ttc" id="agroup__unified__func__getbackendcount_htm_gad38c2dfedfdabfa264afa46d8664e9cd"><div class="ttname"><a href="group__unified__func__getbackendcount.htm#gad38c2dfedfdabfa264afa46d8664e9cd">af_get_backend_count</a></div><div class="ttdeci">AFAPI af_err af_get_backend_count(unsigned *num_backends)</div></div>
<div class="ttc" id="agroup__unified__func__getbackendid_htm_ga1ef4d377f243223d435f3e298c5b8dc9"><div class="ttname"><a href="group__unified__func__getbackendid.htm#ga1ef4d377f243223d435f3e298c5b8dc9">af::getBackendId</a></div><div class="ttdeci">AFAPI af::Backend getBackendId(const array &in)</div></div>
<div class="ttc" id="agroup__unified__func__getbackendid_htm_ga5fc39e209e1886cf250aec265c0d9079"><div class="ttname"><a href="group__unified__func__getbackendid.htm#ga5fc39e209e1886cf250aec265c0d9079">af_get_backend_id</a></div><div class="ttdeci">AFAPI af_err af_get_backend_id(af_backend *backend, const af_array in)</div></div>
<div class="ttc" id="agroup__unified__func__getdeviceid_htm_ga5213425c1fc7aa9f96901292f4092f24"><div class="ttname"><a href="group__unified__func__getdeviceid.htm#ga5213425c1fc7aa9f96901292f4092f24">af::getDeviceId</a></div><div class="ttdeci">AFAPI int getDeviceId(const array &in)</div></div>
<div class="ttc" id="agroup__unified__func__getdeviceid_htm_ga5d94b64dccd1c7cbc7a3a69fa64888c3"><div class="ttname"><a href="group__unified__func__getdeviceid.htm#ga5d94b64dccd1c7cbc7a3a69fa64888c3">af_get_device_id</a></div><div class="ttdeci">AFAPI af_err af_get_device_id(int *device, const af_array in)</div></div>
<div class="ttc" id="agroup__unified__func__setbackend_htm_ga6fde820e8802776b7fc823504b37f1b4"><div class="ttname"><a href="group__unified__func__setbackend.htm#ga6fde820e8802776b7fc823504b37f1b4">af_set_backend</a></div><div class="ttdeci">AFAPI af_err af_set_backend(const af_backend bknd)</div></div>
<div class="ttc" id="agroup__unified__func__setbackend_htm_gac807fa17346b6c4d05acef85d4f7c00e"><div class="ttname"><a href="group__unified__func__setbackend.htm#gac807fa17346b6c4d05acef85d4f7c00e">af::setBackend</a></div><div class="ttdeci">AFAPI void setBackend(const Backend bknd)</div></div>
<div class="ttc" id="anamespaceaf_htm"><div class="ttname"><a href="namespaceaf.htm">af</a></div><div class="ttdef"><b>Definition:</b> <a href="algorithm_8h_source.htm#l00014">algorithm.h:15</a></div></div>
<div class="ttc" id="anamespaceaf_htm_a7c4cd12a67eb27fc57129e4e7ff06a03"><div class="ttname"><a href="namespaceaf.htm#a7c4cd12a67eb27fc57129e4e7ff06a03">af::getActiveBackend</a></div><div class="ttdeci">AFAPI af::Backend getActiveBackend()</div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- HTML footer for doxygen 1.9.3-->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="backend_8h.htm">backend.h</a></li>
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.5 </li>
</ul>
</div>
</body>
</html>