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
|
<!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_GraphNodeLaunchData 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_GraphNodeLaunchData Struct Reference<br>
<small>
[<a class="el" href="group__SANITIZER__CALLBACK__API.html">Sanitizer Callback API</a>]</small>
</h1><!-- doxytag: class="Sanitizer_GraphNodeLaunchData" -->Data passed into a graph node 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>union {</td></tr>
<tr><td class="memItemLeft" nowrap> <a class="el" href="structSanitizer__LaunchData.html">Sanitizer_LaunchData</a> <a class="el" href="structSanitizer__GraphNodeLaunchData.html#b72a6cc5de9dbd55624130fb65b66f7b">launchData</a></td></tr>
<tr><td class="memItemLeft" nowrap> <a class="el" href="structSanitizer__ResourceMemoryData.html">Sanitizer_ResourceMemoryData</a> <a class="el" href="group__SANITIZER__CALLBACK__API.html#ge334046a272b7c07489c0d80fab9f8b6">Sanitizer_GraphNodeLaunchData::memAllocData</a></td></tr>
<tr><td class="memItemLeft" nowrap> <a class="el" href="structSanitizer__MemcpyData.html">Sanitizer_MemcpyData</a> <a class="el" href="group__SANITIZER__CALLBACK__API.html#gf2b961a7eae0b73c12f7ec099d4726f6">Sanitizer_GraphNodeLaunchData::memcpyData</a></td></tr>
<tr><td class="memItemLeft" nowrap> uint64_t <a class="el" href="group__SANITIZER__CALLBACK__API.html#gda8d9c0a133719825143b35a3e544eea">Sanitizer_GraphNodeLaunchData::memFreeAddress</a></td></tr>
<tr><td class="memItemLeft" nowrap> <a class="el" href="structSanitizer__MemsetData.html">Sanitizer_MemsetData</a> <a class="el" href="group__SANITIZER__CALLBACK__API.html#ga931adc0a0129a4490a2c6bb786b8d0f">Sanitizer_GraphNodeLaunchData::memsetData</a></td></tr>
<tr><td class="memItemLeft" nowrap valign="top">}; </td><td class="memItemRight" valign="bottom"></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">CUgraphExec </td><td class="memItemRight" valign="bottom"><a class="el" href="structSanitizer__GraphNodeLaunchData.html#b00ea3b5300dd8133a8eb887e0cb11ea">graphExec</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">uint32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="group__SANITIZER__CALLBACK__API.html#g72f04317e3ea0b0ba1e62d54c06606ad">isGraphUpload</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">uint32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="group__SANITIZER__CALLBACK__API.html#gdf81e4d9627fd5f003f01075878e2a89">launchId</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">CUgraphNode </td><td class="memItemRight" valign="bottom"><a class="el" href="group__SANITIZER__CALLBACK__API.html#g86c2a7422b28ed2929f072e3d546b9c3">node</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">CUgraphNodeType </td><td class="memItemRight" valign="bottom"><a class="el" href="group__SANITIZER__CALLBACK__API.html#ge6c93bc5c7a5dc8a5d6ec72a42f87526">nodeType</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_NODE_BEGIN or SANITIZER_CBID_GRAPHS_LAUNCH_NODE_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="b00ea3b5300dd8133a8eb887e0cb11ea"></a><!-- doxytag: member="Sanitizer_GraphNodeLaunchData::graphExec" ref="b00ea3b5300dd8133a8eb887e0cb11ea" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">CUgraphExec <a class="el" href="structSanitizer__GraphNodeLaunchData.html#b00ea3b5300dd8133a8eb887e0cb11ea">Sanitizer_GraphNodeLaunchData::graphExec</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Instance of the CUDA graph being launched.
</div>
</div><p>
<a class="anchor" name="b72a6cc5de9dbd55624130fb65b66f7b"></a><!-- doxytag: member="Sanitizer_GraphNodeLaunchData::launchData" ref="b72a6cc5de9dbd55624130fb65b66f7b" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="structSanitizer__LaunchData.html">Sanitizer_LaunchData</a> <a class="el" href="structSanitizer__GraphNodeLaunchData.html#b72a6cc5de9dbd55624130fb65b66f7b">Sanitizer_GraphNodeLaunchData::launchData</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
This is only valid if nodeType is CU_GRAPH_NODE_TYPE_KERNEL.
</div>
</div><p>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Fri Mar 15 15:58:05 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>
|