-
Notifications
You must be signed in to change notification settings - Fork 0
/
cudatype_8hpp_source.html
113 lines (111 loc) · 9.36 KB
/
cudatype_8hpp_source.html
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
<!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">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>libcudaisp: /builds/ridgerun/rnd/libcudaisp/rr/include/libcudaisp/cudatype.hpp 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="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">libcudaisp
 <span id="projectnumber">0.1.0</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_4308c347a8925fe03bb0c6144b7007d3.html">rr</a></li><li class="navelem"><a class="el" href="dir_fa3db636adf90fe59970a0aa671df06e.html">include</a></li><li class="navelem"><a class="el" href="dir_6c7c75103029e69b04aae0fd900161b1.html">libcudaisp</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">cudatype.hpp</div> </div>
</div><!--header-->
<div class="contents">
<a href="cudatype_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/*</span></div>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> * Copyright (C) 2023 RidgeRun, LLC (http://www.ridgerun.com)</span></div>
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> * All Rights Reserved.</span></div>
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> * Author: Nicolas Morua <[email protected]></span></div>
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> * The contents of this software are proprietary and confidential to RidgeRun,</span></div>
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> * LLC. No part of this program may be photocopied, reproduced or translated</span></div>
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment"> * into another programming language without prior written consent of</span></div>
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment"> * RidgeRun, LLC. The user is free to modify the source code after obtaining</span></div>
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment"> * a software license from RidgeRun. All source code changes must be provided</span></div>
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment"> * back to RidgeRun without any encumbrance.</span></div>
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment"> */</span></div>
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span>  </div>
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="preprocessor">#ifndef RR_INCLUDE_LIBCUDAISP_CUDATYPE_HPP_</span></div>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="preprocessor">#define RR_INCLUDE_LIBCUDAISP_CUDATYPE_HPP_</span></div>
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>  </div>
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="keyword">namespace </span><a class="code" href="namespacerr.html">rr</a> {</div>
<div class="line"><a name="l00033"></a><span class="lineno"><a class="line" href="namespacerr.html#ad66ee896409726778ddacf78f09de37a"> 33</a></span> <span class="keyword">enum class</span> <a class="code" href="namespacerr.html#ad66ee896409726778ddacf78f09de37a">CudaType</a> {</div>
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  <a class="code" href="namespacerr.html#ad66ee896409726778ddacf78f09de37aaab2568040d6d4e966d109b5adf7f5175">kHost</a> = 0,</div>
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  <a class="code" href="namespacerr.html#ad66ee896409726778ddacf78f09de37aa040394711ad65e20323fe0114e507103">kDevice</a>,</div>
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  <a class="code" href="namespacerr.html#ad66ee896409726778ddacf78f09de37aa6cfafb52f266dacc4afe9ad59914fcd6">kUnified</a>,</div>
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  <a class="code" href="namespacerr.html#ad66ee896409726778ddacf78f09de37aa2d147c7119731e0732790134e089e4b3">kExternal</a></div>
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span> };</div>
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span> } <span class="comment">// namespace rr</span></div>
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  </div>
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span> <span class="preprocessor">#endif // RR_INCLUDE_LIBCUDAISP_CUDATYPE_HPP_</span></div>
</div><!-- fragment --></div><!-- contents -->
<div class="ttc" id="anamespacerr_html_ad66ee896409726778ddacf78f09de37aa2d147c7119731e0732790134e089e4b3"><div class="ttname"><a href="namespacerr.html#ad66ee896409726778ddacf78f09de37aa2d147c7119731e0732790134e089e4b3">rr::CudaType::kExternal</a></div><div class="ttdeci">@ kExternal</div><div class="ttdoc">Externally allocated memory, not allocated by CudaIsp.</div></div>
<div class="ttc" id="anamespacerr_html_ad66ee896409726778ddacf78f09de37a"><div class="ttname"><a href="namespacerr.html#ad66ee896409726778ddacf78f09de37a">rr::CudaType</a></div><div class="ttdeci">CudaType</div><div class="ttdoc">This class contains different types of memory.</div><div class="ttdef"><b>Definition:</b> cudatype.hpp:33</div></div>
<div class="ttc" id="anamespacerr_html"><div class="ttname"><a href="namespacerr.html">rr</a></div><div class="ttdoc">RR Namespace.</div><div class="ttdef"><b>Definition:</b> runtimeerror.cpp:16</div></div>
<div class="ttc" id="anamespacerr_html_ad66ee896409726778ddacf78f09de37aaab2568040d6d4e966d109b5adf7f5175"><div class="ttname"><a href="namespacerr.html#ad66ee896409726778ddacf78f09de37aaab2568040d6d4e966d109b5adf7f5175">rr::CudaType::kHost</a></div><div class="ttdeci">@ kHost</div><div class="ttdoc">Host memory.</div></div>
<div class="ttc" id="anamespacerr_html_ad66ee896409726778ddacf78f09de37aa040394711ad65e20323fe0114e507103"><div class="ttname"><a href="namespacerr.html#ad66ee896409726778ddacf78f09de37aa040394711ad65e20323fe0114e507103">rr::CudaType::kDevice</a></div><div class="ttdeci">@ kDevice</div><div class="ttdoc">Device memory.</div></div>
<div class="ttc" id="anamespacerr_html_ad66ee896409726778ddacf78f09de37aa6cfafb52f266dacc4afe9ad59914fcd6"><div class="ttname"><a href="namespacerr.html#ad66ee896409726778ddacf78f09de37aa6cfafb52f266dacc4afe9ad59914fcd6">rr::CudaType::kUnified</a></div><div class="ttdeci">@ kUnified</div><div class="ttdoc">Unified memory.</div></div>
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Tue Mar 14 2023 20:22:00 for libcudaisp by  <a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.17
</small></address>
</body>
</html>