File: group__NVRULES__NM.html

package info (click to toggle)
nvidia-cuda-toolkit 11.8.0-5~deb12u1
  • links: PTS, VCS
  • area: non-free
  • in suites: bookworm
  • size: 18,338,396 kB
  • sloc: ansic: 172,472; cpp: 57,058; javascript: 21,597; python: 12,656; xml: 12,438; makefile: 2,949; sh: 2,056; perl: 352
file content (132 lines) | stat: -rw-r--r-- 6,258 bytes parent folder | download | duplicates (3)
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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>NvRulesAPI: NvRules non-member functions.</title>
<link href="tabs.css" rel="stylesheet" type="text/css">
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.8 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="main.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
    </ul>
  </div>
</div>
<div class="contents">
<h1>NvRules non-member functions.</h1>Non-member utility functions.  

<p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">IContext *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__NVRULES__NM.html#g21f96fa3e5314fea33ed395fc59bc3a6">NV::Rules::get_context</a> (ContextHandle h)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Converts the context handle.  <a href="#g21f96fa3e5314fea33ed395fc59bc3a6"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">IEvaluator *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__NVRULES__NM.html#ga1ef938d12d653281c08a7b946bf0f51">NV::Rules::get_evaluator</a> (ContextHandle h)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the evaluator object.  <a href="#ga1ef938d12d653281c08a7b946bf0f51"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">std::string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__NVRULES__NM.html#g9dce07e8e99cf88e06a47095d9515522">NV::Rules::get_version</a> (ContextHandle h)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get version number of this interface.  <a href="#g9dce07e8e99cf88e06a47095d9515522"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__NVRULES__NM.html#geaa0d437069f2fcc2313627f99338d7e">NV::Rules::raise_exception</a> (ContextHandle h, const char *msg)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Raises a python exception.  <a href="#geaa0d437069f2fcc2313627f99338d7e"></a><br></td></tr>
</table>
<hr><h2>Function Documentation</h2>
<a class="anchor" name="g21f96fa3e5314fea33ed395fc59bc3a6"></a><!-- doxytag: member="NV::Rules::get_context" ref="g21f96fa3e5314fea33ed395fc59bc3a6" args="(ContextHandle h)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">IContext* NV::Rules::get_context           </td>
          <td>(</td>
          <td class="paramtype">ContextHandle&nbsp;</td>
          <td class="paramname"> <em>h</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Converts the context handle <code>h</code> to an <a class="el" href="classNV_1_1Rules_1_1IContext.html" title="Context interface.">IContext</a> object 
</div>
</div><p>
<a class="anchor" name="ga1ef938d12d653281c08a7b946bf0f51"></a><!-- doxytag: member="NV::Rules::get_evaluator" ref="ga1ef938d12d653281c08a7b946bf0f51" args="(ContextHandle h)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">IEvaluator* NV::Rules::get_evaluator           </td>
          <td>(</td>
          <td class="paramtype">ContextHandle&nbsp;</td>
          <td class="paramname"> <em>h</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Return the <a class="el" href="classNV_1_1Rules_1_1IEvaluator.html" title="Evaluator interface.">IEvaluator</a> object from the context handle <code>h</code> 
</div>
</div><p>
<a class="anchor" name="g9dce07e8e99cf88e06a47095d9515522"></a><!-- doxytag: member="NV::Rules::get_version" ref="g9dce07e8e99cf88e06a47095d9515522" args="(ContextHandle h)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::string NV::Rules::get_version           </td>
          <td>(</td>
          <td class="paramtype">ContextHandle&nbsp;</td>
          <td class="paramname"> <em>h</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns the version number of this interface as a string of the form &lt;year&gt;.&lt;major&gt;.&lt;minor&gt; It matches the Nsight Compute version this interface originates from. 
</div>
</div><p>
<a class="anchor" name="geaa0d437069f2fcc2313627f99338d7e"></a><!-- doxytag: member="NV::Rules::raise_exception" ref="geaa0d437069f2fcc2313627f99338d7e" args="(ContextHandle h, const char *msg)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void NV::Rules::raise_exception           </td>
          <td>(</td>
          <td class="paramtype">ContextHandle&nbsp;</td>
          <td class="paramname"> <em>h</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>msg</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Raise a python exception with <code>msg</code>. This will terminate the script execution, if the context does not chose to mask the exception 
</div>
</div><p>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Wed Aug 24 21:21:30 2022 for NvRulesAPI by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address>
</body>
</html>