File: structSanitizer__ResourceMempoolData.html

package info (click to toggle)
nvidia-cuda-toolkit 12.5.0-1
  • links: PTS, VCS
  • area: non-free
  • in suites: experimental
  • size: 13,247,276 kB
  • sloc: ansic: 214,716; cpp: 65,455; javascript: 24,274; python: 22,339; xml: 11,484; makefile: 3,079; sh: 2,288; perl: 356
file content (92 lines) | stat: -rw-r--r-- 5,070 bytes parent folder | download
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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>SanitizerApi: Sanitizer_ResourceMempoolData Struct Reference</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 class="current"><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
      <li><a href="functions.html"><span>Data&nbsp;Fields</span></a></li>
    </ul>
  </div>
</div>
<div class="contents">
<h1>Sanitizer_ResourceMempoolData Struct Reference<br>
<small>
[<a class="el" href="group__SANITIZER__CALLBACK__API.html">Sanitizer Callback API</a>]</small>
</h1><!-- doxytag: class="Sanitizer_ResourceMempoolData" -->Data passed into a mempool resource callback function.  
<a href="#_details">More...</a>
<p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Data Fields</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">CUdevice&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structSanitizer__ResourceMempoolData.html#9d01c7ed7b6d8b3ea539b530393edb43">device</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">CUmemoryPool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structSanitizer__ResourceMempoolData.html#3d0781cbd3a394516eba1208292b2b55">memoryPool</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">CUdevice&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structSanitizer__ResourceMempoolData.html#60c827072502fc8e4aa10c8e8abd8e1b">peerDevice</a></td></tr>

</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Data passed into a mempool resource callback function as the <code>cbdata</code> argument to <a class="el" href="group__SANITIZER__CALLBACK__API.html#gf031ccd4dcc013ab017d9ee1032858c4">Sanitizer_CallbackFunc</a>. The <code>cbdata</code> will be this type for <code>domain</code> equal to SANITIZER_CB_DOMAIN_RESOURCE and <code>cbid</code> equal to SANITIZER_CBID_RESOURCE_MEMPOOL_CREATED, SANITIZER_CBID_RESOURCE_MEMPOOL_DESTROYING, SANITIZER_CBID_RESOURCE_MEMPOOL_PEER_ACCESS_ENABLED or SANITIZER_CBID_RESOURCE_MEMPOOL_PEER_ACCESS_DISABLING. The callback data is only valid within the invocation of the callback function that is passed the data. If you need to retain some data for use outside of the callback, you must make a copy of it. <hr><h2>Field Documentation</h2>
<a class="anchor" name="9d01c7ed7b6d8b3ea539b530393edb43"></a><!-- doxytag: member="Sanitizer_ResourceMempoolData::device" ref="9d01c7ed7b6d8b3ea539b530393edb43" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">CUdevice <a class="el" href="structSanitizer__ResourceMempoolData.html#9d01c7ed7b6d8b3ea539b530393edb43">Sanitizer_ResourceMempoolData::device</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Device that owns the memory pool. 
</div>
</div><p>
<a class="anchor" name="3d0781cbd3a394516eba1208292b2b55"></a><!-- doxytag: member="Sanitizer_ResourceMempoolData::memoryPool" ref="3d0781cbd3a394516eba1208292b2b55" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">CUmemoryPool <a class="el" href="structSanitizer__ResourceMempoolData.html#3d0781cbd3a394516eba1208292b2b55">Sanitizer_ResourceMempoolData::memoryPool</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Memory pool being created or destroyed. 
</div>
</div><p>
<a class="anchor" name="60c827072502fc8e4aa10c8e8abd8e1b"></a><!-- doxytag: member="Sanitizer_ResourceMempoolData::peerDevice" ref="60c827072502fc8e4aa10c8e8abd8e1b" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">CUdevice <a class="el" href="structSanitizer__ResourceMempoolData.html#60c827072502fc8e4aa10c8e8abd8e1b">Sanitizer_ResourceMempoolData::peerDevice</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Device that access type changed. Available if cbid is SANITIZER_CBID_RESOURCE_MEMPOOL_PEER_ACCESS_ENABLED or SANITIZER_CBID_RESOURCE_MEMPOOL_PEER_ACCESS_DISABLING. 
</div>
</div><p>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Mon Apr 15 23:05:33 2024 for SanitizerApi 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>