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
|
<!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_GraphLaunchData 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 Page</span></a></li>
<li><a href="modules.html"><span>Modules</span></a></li>
<li class="current"><a href="annotated.html"><span>Data Structures</span></a></li>
</ul>
</div>
<div class="tabs">
<ul>
<li><a href="annotated.html"><span>Data Structures</span></a></li>
<li><a href="functions.html"><span>Data Fields</span></a></li>
</ul>
</div>
</div>
<div class="contents">
<h1>Sanitizer_GraphLaunchData Struct Reference<br>
<small>
[<a class="el" href="group__SANITIZER__CALLBACK__API.html">Sanitizer Callback API</a>]</small>
</h1><!-- doxytag: class="Sanitizer_GraphLaunchData" -->Data passed into a graph launch 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">CUcontext </td><td class="memItemRight" valign="bottom"><a class="el" href="structSanitizer__GraphLaunchData.html#08f23b8640526f12957833e86638a942">context</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">CUgraphExec </td><td class="memItemRight" valign="bottom"><a class="el" href="structSanitizer__GraphLaunchData.html#6c69e3440ef748c6c5338505f6bb521e">graphExec</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">Sanitizer_StreamHandle </td><td class="memItemRight" valign="bottom"><a class="el" href="structSanitizer__GraphLaunchData.html#27bdfc7058401c7a88e7bf538752c5ab">hStream</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">uint32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="structSanitizer__GraphLaunchData.html#43ba40476321bc1b026eab8e3ef364d1">isGraphUpload</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">CUstream </td><td class="memItemRight" valign="bottom"><a class="el" href="structSanitizer__GraphLaunchData.html#4e19a42decf1a32b5582e4ba19346209">stream</a></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Data passed into a graphs 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_GRAPHS and <code>cbid</code> equal to SANITIZER_CBID_GRAPHS_LAUNCH_BEGIN or SANITIZER_CBID_GRAPHS_LAUNCH_END. 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="08f23b8640526f12957833e86638a942"></a><!-- doxytag: member="Sanitizer_GraphLaunchData::context" ref="08f23b8640526f12957833e86638a942" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">CUcontext <a class="el" href="structSanitizer__GraphLaunchData.html#08f23b8640526f12957833e86638a942">Sanitizer_GraphLaunchData::context</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
The context where the graph is launched.
</div>
</div><p>
<a class="anchor" name="6c69e3440ef748c6c5338505f6bb521e"></a><!-- doxytag: member="Sanitizer_GraphLaunchData::graphExec" ref="6c69e3440ef748c6c5338505f6bb521e" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">CUgraphExec <a class="el" href="structSanitizer__GraphLaunchData.html#6c69e3440ef748c6c5338505f6bb521e">Sanitizer_GraphLaunchData::graphExec</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Instance of the CUDA graph being launched.
</div>
</div><p>
<a class="anchor" name="27bdfc7058401c7a88e7bf538752c5ab"></a><!-- doxytag: member="Sanitizer_GraphLaunchData::hStream" ref="27bdfc7058401c7a88e7bf538752c5ab" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Sanitizer_StreamHandle <a class="el" href="structSanitizer__GraphLaunchData.html#27bdfc7058401c7a88e7bf538752c5ab">Sanitizer_GraphLaunchData::hStream</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Unique handle for the stream.
</div>
</div><p>
<a class="anchor" name="43ba40476321bc1b026eab8e3ef364d1"></a><!-- doxytag: member="Sanitizer_GraphLaunchData::isGraphUpload" ref="43ba40476321bc1b026eab8e3ef364d1" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint32_t <a class="el" href="structSanitizer__GraphLaunchData.html#43ba40476321bc1b026eab8e3ef364d1">Sanitizer_GraphLaunchData::isGraphUpload</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Boolean value indicating if the launch callback is part of a graph upload. This field is only valid if the driver version is 510 or newer.
</div>
</div><p>
<a class="anchor" name="4e19a42decf1a32b5582e4ba19346209"></a><!-- doxytag: member="Sanitizer_GraphLaunchData::stream" ref="4e19a42decf1a32b5582e4ba19346209" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">CUstream <a class="el" href="structSanitizer__GraphLaunchData.html#4e19a42decf1a32b5582e4ba19346209">Sanitizer_GraphLaunchData::stream</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
The stream where the graph is launched.
</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
<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>
|