Sophie

Sophie

distrib > Mageia > 5 > x86_64 > media > nonfree-updates > by-pkgid > fd8445e7e4d58b8cfe6e0150bd441ee1 > files > 1296

nvidia-cuda-toolkit-devel-6.5.14-6.1.mga5.nonfree.x86_64.rpm

<!DOCTYPE html
  PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-us" xml:lang="en-us">
   <head>
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8"></meta>
      <meta http-equiv="X-UA-Compatible" content="IE=edge"></meta>
      <meta name="copyright" content="(C) Copyright 2005"></meta>
      <meta name="DC.rights.owner" content="(C) Copyright 2005"></meta>
      <meta name="DC.Type" content="cppGlobalStruct"></meta>
      <meta name="DC.Title" content="CUDBGAPI_st"></meta>
      <meta name="abstract" content="The CUDA debugger API routines."></meta>
      <meta name="description" content=""></meta>
      <meta name="DC.Format" content="XHTML"></meta>
      <meta name="DC.Identifier" content="structCUDBGAPI__st"></meta>
      <link rel="stylesheet" type="text/css" href="../common/formatting/commonltr.css"></link>
      <link rel="stylesheet" type="text/css" href="../common/formatting/site.css"></link>
      <title>Debugger API :: CUDA Toolkit Documentation</title>
      <!--[if lt IE 9]>
      <script src="../common/formatting/html5shiv-printshiv.min.js"></script>
      <![endif]-->
      <script type="text/javascript" charset="utf-8" src="../common/scripts/tynt/tynt.js"></script>
      <script type="text/javascript" charset="utf-8" src="../common/formatting/jquery.min.js"></script>
      <script type="text/javascript" charset="utf-8" src="../common/formatting/jquery.ba-hashchange.min.js"></script>
      <script type="text/javascript" charset="utf-8" src="../common/formatting/jquery.scrollintoview.min.js"></script>
      <script type="text/javascript" src="../search/htmlFileList.js"></script>
      <script type="text/javascript" src="../search/htmlFileInfoList.js"></script>
      <script type="text/javascript" src="../search/nwSearchFnt.min.js"></script>
      <script type="text/javascript" src="../search/stemmers/en_stemmer.min.js"></script>
      <script type="text/javascript" src="../search/index-1.js"></script>
      <script type="text/javascript" src="../search/index-2.js"></script>
      <script type="text/javascript" src="../search/index-3.js"></script>
      <link rel="canonical" href="http://docs.nvidia.com/cuda/debugger-api/index.html"></link>
      <link rel="stylesheet" type="text/css" href="../common/formatting/qwcode.highlight.css"></link>
   </head>
   <body>
      
      <header id="header"><span id="company">NVIDIA</span><span id="site-title">CUDA Toolkit Documentation</span><form id="search" method="get" action="search">
            <input type="text" name="search-text"></input><fieldset id="search-location">
               <legend>Search In:</legend>
               <label><input type="radio" name="search-type" value="site"></input>Entire Site</label>
               <label><input type="radio" name="search-type" value="document"></input>Just This Document</label></fieldset>
            <button type="reset">clear search</button>
            <button id="submit" type="submit">search</button></form>
      </header>
      <div id="site-content">
         <nav id="site-nav">
            <div class="category closed"><a href="../index.html" title="The root of the site.">CUDA Toolkit
                  v6.5</a></div>
            <div class="category"><a href="index.html" title="Debugger API">Debugger API</a></div>
            <ul>
               <li>
                  <div class="section-link"><a href="release-notes.html#release-notes">1.&nbsp;Release Notes</a></div>
                  <ul>
                     <li>
                        <div class="section-link"><a href="release-notes.html#about-this-document">1.1.&nbsp;6.5 Release</a></div>
                     </li>
                  </ul>
               </li>
               <li>
                  <div class="section-link"><a href="r_main.html#r_main">2.&nbsp;Introduction</a></div>
                  <ul>
                     <li>
                        <div class="section-link"><a href="r_main.html#r_api">2.1.&nbsp;Debugger API</a></div>
                     </li>
                     <li>
                        <div class="section-link"><a href="r_main.html#r_elf">2.2.&nbsp;ELF and DWARF</a></div>
                     </li>
                     <li>
                        <div class="section-link"><a href="r_main.html#r_abi31">2.3.&nbsp;ABI Support</a></div>
                     </li>
                     <li>
                        <div class="section-link"><a href="r_main.html#r_exceptions31">2.4.&nbsp;Exception Reporting</a></div>
                     </li>
                     <li>
                        <div class="section-link"><a href="r_main.html#r_attach">2.5.&nbsp;Attaching and Detaching</a></div>
                     </li>
                  </ul>
               </li>
               <li>
                  <div class="section-link"><a href="modules.html#modules">3.&nbsp;Modules</a></div>
                  <ul>
                     <li>
                        <div class="section-link"><a href="group__GENERAL.html#group__GENERAL">3.1.&nbsp;General</a></div>
                     </li>
                     <li>
                        <div class="section-link"><a href="group__INIT.html#group__INIT">3.2.&nbsp;Initialization</a></div>
                     </li>
                     <li>
                        <div class="section-link"><a href="group__EXEC.html#group__EXEC">3.3.&nbsp;Device Execution Control</a></div>
                     </li>
                     <li>
                        <div class="section-link"><a href="group__BP.html#group__BP">3.4.&nbsp;Breakpoints</a></div>
                     </li>
                     <li>
                        <div class="section-link"><a href="group__READ.html#group__READ">3.5.&nbsp;Device State Inspection</a></div>
                     </li>
                     <li>
                        <div class="section-link"><a href="group__WRITE.html#group__WRITE">3.6.&nbsp;Device State Alteration</a></div>
                     </li>
                     <li>
                        <div class="section-link"><a href="group__GRID.html#group__GRID">3.7.&nbsp;Grid Properties</a></div>
                     </li>
                     <li>
                        <div class="section-link"><a href="group__DEV.html#group__DEV">3.8.&nbsp;Device Properties</a></div>
                     </li>
                     <li>
                        <div class="section-link"><a href="group__DWARF.html#group__DWARF">3.9.&nbsp;DWARF Utilities</a></div>
                     </li>
                     <li>
                        <div class="section-link"><a href="group__EVENT.html#group__EVENT">3.10.&nbsp;Events</a></div>
                     </li>
                  </ul>
               </li>
               <li>
                  <div class="section-link"><a href="annotated.html#annotated">4.&nbsp;Data Structures</a></div>
                  <ul>
                     <li>
                        <div class="section-link"><a href="structCUDBGAPI__st.html#structCUDBGAPI__st">4.1.&nbsp;CUDBGAPI_st</a></div>
                     </li>
                     <li>
                        <div class="section-link"><a href="structCUDBGEvent.html#structCUDBGEvent">4.2.&nbsp;CUDBGEvent</a></div>
                     </li>
                     <li>
                        <div class="section-link"><a href="unionCUDBGEvent_1_1cases__st.html#unionCUDBGEvent_1_1cases__st">4.3.&nbsp;CUDBGEvent::cases_st</a></div>
                     </li>
                     <li>
                        <div class="section-link"><a href="structCUDBGEvent_1_1cases__st_1_1contextCreate__st.html#structCUDBGEvent_1_1cases__st_1_1contextCreate__st">4.4.&nbsp;CUDBGEvent::cases_st::contextCreate_st</a></div>
                     </li>
                     <li>
                        <div class="section-link"><a href="structCUDBGEvent_1_1cases__st_1_1contextDestroy__st.html#structCUDBGEvent_1_1cases__st_1_1contextDestroy__st">4.5.&nbsp;CUDBGEvent::cases_st::contextDestroy_st</a></div>
                     </li>
                     <li>
                        <div class="section-link"><a href="structCUDBGEvent_1_1cases__st_1_1contextPop__st.html#structCUDBGEvent_1_1cases__st_1_1contextPop__st">4.6.&nbsp;CUDBGEvent::cases_st::contextPop_st</a></div>
                     </li>
                     <li>
                        <div class="section-link"><a href="structCUDBGEvent_1_1cases__st_1_1contextPush__st.html#structCUDBGEvent_1_1cases__st_1_1contextPush__st">4.7.&nbsp;CUDBGEvent::cases_st::contextPush_st</a></div>
                     </li>
                     <li>
                        <div class="section-link"><a href="structCUDBGEvent_1_1cases__st_1_1elfImageLoaded__st.html#structCUDBGEvent_1_1cases__st_1_1elfImageLoaded__st">4.8.&nbsp;CUDBGEvent::cases_st::elfImageLoaded_st</a></div>
                     </li>
                     <li>
                        <div class="section-link"><a href="structCUDBGEvent_1_1cases__st_1_1internalError__st.html#structCUDBGEvent_1_1cases__st_1_1internalError__st">4.9.&nbsp;CUDBGEvent::cases_st::internalError_st</a></div>
                     </li>
                     <li>
                        <div class="section-link"><a href="structCUDBGEvent_1_1cases__st_1_1kernelFinished__st.html#structCUDBGEvent_1_1cases__st_1_1kernelFinished__st">4.10.&nbsp;CUDBGEvent::cases_st::kernelFinished_st</a></div>
                     </li>
                     <li>
                        <div class="section-link"><a href="structCUDBGEvent_1_1cases__st_1_1kernelReady__st.html#structCUDBGEvent_1_1cases__st_1_1kernelReady__st">4.11.&nbsp;CUDBGEvent::cases_st::kernelReady_st</a></div>
                     </li>
                     <li>
                        <div class="section-link"><a href="structCUDBGEventCallbackData.html#structCUDBGEventCallbackData">4.12.&nbsp;CUDBGEventCallbackData</a></div>
                     </li>
                     <li>
                        <div class="section-link"><a href="structCUDBGEventCallbackData40.html#structCUDBGEventCallbackData40">4.13.&nbsp;CUDBGEventCallbackData40</a></div>
                     </li>
                     <li>
                        <div class="section-link"><a href="structCUDBGGridInfo.html#structCUDBGGridInfo">4.14.&nbsp;CUDBGGridInfo</a></div>
                     </li>
                  </ul>
               </li>
               <li>
                  <div class="section-link"><a href="functions.html#functions">5.&nbsp;Data Fields</a></div>
               </li>
               <li>
                  <div class="section-link"><a href="deprecated.html#deprecated">6.&nbsp;Deprecated List</a></div>
               </li>
               <li>
                  <div class="section-link"><a href="notices-header.html#notices-header">Notices</a></div>
                  <ul></ul>
               </li>
            </ul>
         </nav>
         <div id="resize-nav"></div>
         <nav id="search-results">
            <h2>Search Results</h2>
            <ol></ol>
         </nav>
         
         <div id="contents-container">
            <div id="breadcrumbs-container">
               <div id="breadcrumbs"><a href="annotated.html" shape="rect">&lt; Previous</a> | <a href="structCUDBGEvent.html" shape="rect">Next &gt;</a></div>
               <div id="release-info">Debugger API
                  (<a href="../../pdf/CUDA_Debugger_API.pdf">PDF</a>)
                  -
                  
                  v6.5
                  (<a href="https://developer.nvidia.com/cuda-toolkit-archive">older</a>)
                  -
                  Last updated August 1, 2014
                  -
                  <a href="mailto:cudatools@nvidia.com?subject=CUDA Toolkit Documentation Feedback: Debugger API">Send Feedback</a>
                  -
                  <span class="st_facebook"></span><span class="st_twitter"></span><span class="st_linkedin"></span><span class="st_reddit"></span><span class="st_slashdot"></span><span class="st_tumblr"></span><span class="st_sharethis"></span></div>
            </div>
            <article id="contents">
               <div class="topic reference apiRef apiClassifier cppClassifier cppStruct cppGlobalStruct" id="structCUDBGAPI__st"><a name="structCUDBGAPI__st" shape="rect">
                     <!-- --></a><h2 class="&#xA;            topictitle2 cppClass&#xA;          ">4.1.&nbsp;CUDBGAPI_st Struct Reference</h2>
                  <div class="section">
                     <p></p>
                  </div>
                  <h3 class="fake_sectiontitle member_header">Public Variables</h3>
                  <dl class="members">
                     <dt><span class="member_type"><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                           &nbsp;</span><span class="member_name">( *<a href="#group__EVENT_1gc57ee455f01b5c30fde2892f915ab2c6" shape="rect">acknowledgeEvent30</a> )(  CUDBGEvent30*<span>&nbsp;</span><span class="keyword keyword apiItemName">event</span> )</span></dt>
                     <dd class="shortdesc"><span></span><span class="desc">Inform the debugger API that the event has been processed. </span></dd>
                     <dt><span class="member_type"><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                           &nbsp;</span><span class="member_name">( *<a href="#group__EVENT_1g3824d048237dfa59600f3ab0b472df5a" shape="rect">acknowledgeEvents42</a> )(   )</span></dt>
                     <dd class="shortdesc"><span></span><span class="desc">Inform the debugger API that synchronous events have been processed. </span></dd>
                     <dt><span class="member_type"><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                           &nbsp;</span><span class="member_name">( *<a href="#group__EVENT_1g997714409a1a5cbfe5f38b2f9581259e" shape="rect">acknowledgeSyncEvents</a> )(   )</span></dt>
                     <dd class="shortdesc"><span></span><span class="desc">Inform the debugger API that synchronous events have been processed. </span></dd>
                     <dt><span class="member_type"><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                           &nbsp;</span><span class="member_name">( *<a href="#structCUDBGAPI__st_103f954eae9a972753e33229db7b88966" shape="rect">clearAttachState</a> )(   )</span></dt>
                     <dd class="shortdesc"><span></span><span class="desc">Clear attach-specific state prior to detach. </span></dd>
                     <dt><span class="member_type"><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                           &nbsp;</span><span class="member_name">( *<a href="#group__DWARF_1g80726303817744dc098f79fde1e4b1b8" shape="rect">disassemble</a> )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">dev</span>, uint64_t<span>&nbsp;</span><span class="keyword keyword apiItemName">addr</span>, uint32_t*<span>&nbsp;</span><span class="keyword keyword apiItemName">instSize</span>, char*<span>&nbsp;</span><span class="keyword keyword apiItemName">buf</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sz</span> )</span></dt>
                     <dd class="shortdesc"><span></span><span class="desc">Disassemble instruction at instruction address. </span></dd>
                     <dt><span class="member_type"><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                           &nbsp;</span><span class="member_name">( *<a href="#group__INIT_1g5d9034bcaedc68a146077886f6f22f6e" shape="rect">finalize</a> )(   )</span></dt>
                     <dd class="shortdesc"><span></span><span class="desc">Finalize the API and free all memory. </span></dd>
                     <dt><span class="member_type"><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                           &nbsp;</span><span class="member_name">( *<a href="#group__BP_1g545ebebfb57559b68a3cc0c2c9556ec4" shape="rect">getAdjustedCodeAddress</a> )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">devId</span>, uint64_t<span>&nbsp;</span><span class="keyword keyword apiItemName">address</span>, uint64_t*<span>&nbsp;</span><span class="keyword keyword apiItemName">adjustedAddress</span>, CUDBGAdjAddrAction<span>&nbsp;</span><span class="keyword keyword apiItemName">adjAction</span> )</span></dt>
                     <dd class="shortdesc"><span></span><span class="desc">The client must call this function before inserting a breakpoint, or when the previous or next code address is needed. Returns
                           the adjusted code address for a given code address for a given device. </span></dd>
                     <dt><span class="member_type"><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                           &nbsp;</span><span class="member_name">( *<a href="#group__GRID_1g06e21287848c46c04af1e70dc6b0ba26" shape="rect">getBlockDim</a> )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">dev</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sm</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">wp</span>, CuDim3*<span>&nbsp;</span><span class="keyword keyword apiItemName">blockDim</span> )</span></dt>
                     <dd class="shortdesc"><span></span><span class="desc">Get the number of threads in the given block. </span></dd>
                     <dt><span class="member_type"><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                           &nbsp;</span><span class="member_name">( *<a href="#group__DEV_1g2123c9bd415c82109693ef22d0ae703a" shape="rect">getDeviceName</a> )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">dev</span>, char*<span>&nbsp;</span><span class="keyword keyword apiItemName">buf</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sz</span> )</span></dt>
                     <dd class="shortdesc"><span></span><span class="desc">Get the device name string. </span></dd>
                     <dt><span class="member_type"><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                           &nbsp;</span><span class="member_name">( *<a href="#structCUDBGAPI__st_1085970bfc4a9edde8e0e87f188afa06a" shape="rect">getDevicePCIBusInfo</a> )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">devId</span>, uint32_t*<span>&nbsp;</span><span class="keyword keyword apiItemName">pciBusId</span>, uint32_t*<span>&nbsp;</span><span class="keyword keyword apiItemName">pciDevId</span> )</span></dt>
                     <dd class="shortdesc"><span></span><span class="desc">Get PCI bus and device ids associated with device devId. </span></dd>
                     <dt><span class="member_type"><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                           &nbsp;</span><span class="member_name">( *<a href="#group__DEV_1g1c2d87f6e85a237a74c739e1062a7348" shape="rect">getDeviceType</a> )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">dev</span>, char*<span>&nbsp;</span><span class="keyword keyword apiItemName">buf</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sz</span> )</span></dt>
                     <dd class="shortdesc"><span></span><span class="desc">Get the string description of the device. </span></dd>
                     <dt><span class="member_type"><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                           &nbsp;</span><span class="member_name">( *<a href="#group__GRID_1gc6053e8472b9bb02b23eec2aa6195d3f" shape="rect">getElfImage</a> )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">dev</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sm</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">wp</span>, bool <span>&nbsp;</span><span class="keyword keyword apiItemName">relocated</span>, void*<span>&nbsp;</span><span class="keyword keyword apiItemName">*elfImage</span>, uint64_t*<span>&nbsp;</span><span class="keyword keyword apiItemName">size</span> )</span></dt>
                     <dd class="shortdesc"><span></span><span class="desc">Get the relocated or non-relocated ELF image and size for the grid on the given device. </span></dd>
                     <dt><span class="member_type"><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                           &nbsp;</span><span class="member_name">( *<a href="#group__GRID_1gdda735fe23afd70e7b20df70d2259df3" shape="rect">getElfImage32</a> )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">dev</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sm</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">wp</span>, bool <span>&nbsp;</span><span class="keyword keyword apiItemName">relocated</span>, void*<span>&nbsp;</span><span class="keyword keyword apiItemName">*elfImage</span>, uint32_t*<span>&nbsp;</span><span class="keyword keyword apiItemName">size</span> )</span></dt>
                     <dd class="shortdesc"><span></span><span class="desc">Get the relocated or non-relocated ELF image and size for the grid on the given device. </span></dd>
                     <dt><span class="member_type"><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                           &nbsp;</span><span class="member_name">( *<a href="#group__DWARF_1gb5bc313ab611a302aa214a94a960067e" shape="rect">getElfImageByHandle</a> )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">devId</span>, uint64_t<span>&nbsp;</span><span class="keyword keyword apiItemName">handle</span>, CUDBGElfImageType<span>&nbsp;</span><span class="keyword keyword apiItemName">type</span>, void*<span>&nbsp;</span><span class="keyword keyword apiItemName">elfImage</span>, uint64_t<span>&nbsp;</span><span class="keyword keyword apiItemName">size</span> )</span></dt>
                     <dd class="shortdesc"><span></span><span class="desc">Get the relocated or non-relocated ELF image for the given handle on the given device. </span></dd>
                     <dt><span class="member_type"><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                           &nbsp;</span><span class="member_name">( *<a href="#group__GRID_1g92cfc2d9cd4d4a75159192871001bcaa" shape="rect">getGridAttribute</a> )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">dev</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sm</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">wp</span>, CUDBGAttribute<span>&nbsp;</span><span class="keyword keyword apiItemName">attr</span>, uint64_t*<span>&nbsp;</span><span class="keyword keyword apiItemName">value</span> )</span></dt>
                     <dd class="shortdesc"><span></span><span class="desc">Get the value of a grid attribute. </span></dd>
                     <dt><span class="member_type"><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                           &nbsp;</span><span class="member_name">( *<a href="#group__GRID_1gf7e8cb09256c9cb5405e480a9cb4f193" shape="rect">getGridAttributes</a> )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">dev</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sm</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">wp</span>, CUDBGAttributeValuePair*<span>&nbsp;</span><span class="keyword keyword apiItemName">pairs</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">numPairs</span> )</span></dt>
                     <dd class="shortdesc"><span></span><span class="desc">Get several grid attribute values in a single API call. </span></dd>
                     <dt><span class="member_type"><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                           &nbsp;</span><span class="member_name">( *<a href="#group__GRID_1g62dc0a59cbc0a9a07cbdb8acb930c93f" shape="rect">getGridDim</a> )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">dev</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sm</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">wp</span>, CuDim3*<span>&nbsp;</span><span class="keyword keyword apiItemName">gridDim</span> )</span></dt>
                     <dd class="shortdesc"><span></span><span class="desc">Get the number of blocks in the given grid. </span></dd>
                     <dt><span class="member_type"><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                           &nbsp;</span><span class="member_name">( *<a href="#group__GRID_1g0b3d841328dc79b852f20893b72123ad" shape="rect">getGridDim32</a> )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">dev</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sm</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">wp</span>, CuDim2*<span>&nbsp;</span><span class="keyword keyword apiItemName">gridDim</span> )</span></dt>
                     <dd class="shortdesc"><span></span><span class="desc">Get the number of blocks in the given grid. </span></dd>
                     <dt><span class="member_type"><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                           &nbsp;</span><span class="member_name">( *<a href="#group__GRID_1gcbe47612bdf775af63ca5393ea3a7281" shape="rect">getGridInfo</a> )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">dev</span>, uint64_t<span>&nbsp;</span><span class="keyword keyword apiItemName">gridId64</span>, CUDBGGridInfo*<span>&nbsp;</span><span class="keyword keyword apiItemName">gridInfo</span> )</span></dt>
                     <dd class="shortdesc"><span></span><span class="desc">Get information about the specified grid. If the context of the grid has already been destroyed, the function will return
                           CUDBG_ERROR_INVALID_GRID, although the grid id is correct. </span></dd>
                     <dt><span class="member_type"><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                           &nbsp;</span><span class="member_name">( *<a href="#group__GRID_1gd1ae3c5604d9e113855ee8620406aa88" shape="rect">getGridStatus</a> )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">dev</span>, uint64_t<span>&nbsp;</span><span class="keyword keyword apiItemName">gridId64</span>, CUDBGGridStatus*<span>&nbsp;</span><span class="keyword keyword apiItemName">status</span> )</span></dt>
                     <dd class="shortdesc"><span></span><span class="desc">Check whether the grid corresponding to the given gridId is still present on the device. </span></dd>
                     <dt><span class="member_type"><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                           &nbsp;</span><span class="member_name">( *<a href="#group__GRID_1g9c4c2530636cb90bbc1d11ad70fba960" shape="rect">getGridStatus50</a> )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">dev</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">gridId</span>, CUDBGGridStatus*<span>&nbsp;</span><span class="keyword keyword apiItemName">status</span> )</span></dt>
                     <dd class="shortdesc"><span></span><span class="desc">Check whether the grid corresponding to the given gridId is still present on the device. </span></dd>
                     <dt><span class="member_type"><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                           &nbsp;</span><span class="member_name">( *<a href="#group__DWARF_1g833c1562f67f05c9fbdd58ec417d01cc" shape="rect">getHostAddrFromDeviceAddr</a> )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">dev</span>, uint64_t<span>&nbsp;</span><span class="keyword keyword apiItemName">device_addr</span>, uint64_t*<span>&nbsp;</span><span class="keyword keyword apiItemName">host_addr</span> )</span></dt>
                     <dd class="shortdesc"><span></span><span class="desc">given a device virtual address, return a corresponding system memory virtual address. </span></dd>
                     <dt><span class="member_type"><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                           &nbsp;</span><span class="member_name">( *<a href="#group__READ_1g2558a08f86f85b18a1efc2f7fe62a763" shape="rect">getManagedMemoryRegionInfo</a> )(  uint64_t<span>&nbsp;</span><span class="keyword keyword apiItemName">startAddress</span>, CUDBGMemoryInfo*<span>&nbsp;</span><span class="keyword keyword apiItemName">memoryInfo</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">memoryInfo_size</span>, uint32_t*<span>&nbsp;</span><span class="keyword keyword apiItemName">numEntries</span> )</span></dt>
                     <dd class="shortdesc"><span></span><span class="desc">Returns a sorted list of managed memory regions The sorted list of memory regions starts from a region containing the specified
                           starting address. If the starting address is set to 0, a sorted list of managed memory regions is returned which starts from
                           the managed memory region with the lowest start address. </span></dd>
                     <dt><span class="member_type"><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                           &nbsp;</span><span class="member_name">( *<a href="#group__EVENT_1g17a5e9c4e9824a0db3de8d9b2d3c851a" shape="rect">getNextAsyncEvent50</a> )(  CUDBGEvent50*<span>&nbsp;</span><span class="keyword keyword apiItemName">event</span> )</span></dt>
                     <dd class="shortdesc"><span></span><span class="desc">Copies the next available event in the asynchronous event queue into 'event' and removes it from the queue. The asynchronous
                           event queue is held separate from the normal event queue, and does not require acknowledgement from the debug client. </span></dd>
                     <dt><span class="member_type"><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                           &nbsp;</span><span class="member_name">( *<a href="#group__EVENT_1g0e6f105b87ef7daa01b6e2cb11cf1070" shape="rect">getNextAsyncEvent55</a> )(  CUDBGEvent55*<span>&nbsp;</span><span class="keyword keyword apiItemName">event</span> )</span></dt>
                     <dd class="shortdesc"><span></span><span class="desc">Copies the next available event in the asynchronous event queue into 'event' and removes it from the queue. The asynchronous
                           event queue is held separate from the normal event queue, and does not require acknowledgement from the debug client. </span></dd>
                     <dt><span class="member_type"><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                           &nbsp;</span><span class="member_name">( *<a href="#group__EVENT_1g113afe93cd425b0ba69c96303354d130" shape="rect">getNextEvent</a> )(  CUDBGEventQueueType<span>&nbsp;</span><span class="keyword keyword apiItemName">type</span>, CUDBGEvent*<span>&nbsp;</span><span class="keyword keyword apiItemName">event</span> )</span></dt>
                     <dd class="shortdesc"><span></span><span class="desc">Copies the next available event into 'event' and removes it from the queue. </span></dd>
                     <dt><span class="member_type"><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                           &nbsp;</span><span class="member_name">( *<a href="#group__EVENT_1gd2e02121188a425db99c96601adcef11" shape="rect">getNextEvent30</a> )(  CUDBGEvent30*<span>&nbsp;</span><span class="keyword keyword apiItemName">event</span> )</span></dt>
                     <dd class="shortdesc"><span></span><span class="desc">Copies the next available event in the event queue into 'event' and removes it from the queue. </span></dd>
                     <dt><span class="member_type"><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                           &nbsp;</span><span class="member_name">( *<a href="#group__EVENT_1gfc62ec61eb72b2c8726454c87c5c7bc9" shape="rect">getNextEvent32</a> )(  CUDBGEvent32*<span>&nbsp;</span><span class="keyword keyword apiItemName">event</span> )</span></dt>
                     <dd class="shortdesc"><span></span><span class="desc">Copies the next available event in the event queue into 'event' and removes it from the queue. </span></dd>
                     <dt><span class="member_type"><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                           &nbsp;</span><span class="member_name">( *<a href="#group__EVENT_1g57f8560ba1503ff21efbb9878ebfce74" shape="rect">getNextEvent42</a> )(  CUDBGEvent42*<span>&nbsp;</span><span class="keyword keyword apiItemName">event</span> )</span></dt>
                     <dd class="shortdesc"><span></span><span class="desc">Copies the next available event in the event queue into 'event' and removes it from the queue. </span></dd>
                     <dt><span class="member_type"><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                           &nbsp;</span><span class="member_name">( *<a href="#group__EVENT_1g4bc1b4a1c0c38c02dba78778d27cee42" shape="rect">getNextSyncEvent50</a> )(  CUDBGEvent50*<span>&nbsp;</span><span class="keyword keyword apiItemName">event</span> )</span></dt>
                     <dd class="shortdesc"><span></span><span class="desc"></span></dd>
                     <dt><span class="member_type"><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                           &nbsp;</span><span class="member_name">( *<a href="#group__EVENT_1g9e22987974970932f39220a42e48bdad" shape="rect">getNextSyncEvent55</a> )(  CUDBGEvent55*<span>&nbsp;</span><span class="keyword keyword apiItemName">event</span> )</span></dt>
                     <dd class="shortdesc"><span></span><span class="desc">Copies the next available event in the synchronous event queue into 'event' and removes it from the queue. </span></dd>
                     <dt><span class="member_type"><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                           &nbsp;</span><span class="member_name">( *<a href="#group__DEV_1g1bfcd3cf93014401c1db4110b5dc8a9d" shape="rect">getNumDevices</a> )(  uint32_t*<span>&nbsp;</span><span class="keyword keyword apiItemName">numDev</span> )</span></dt>
                     <dd class="shortdesc"><span></span><span class="desc">Get the number of installed CUDA devices. </span></dd>
                     <dt><span class="member_type"><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                           &nbsp;</span><span class="member_name">( *<a href="#group__DEV_1g7cb94e0487a627be666d1fd8be64ea93" shape="rect">getNumLanes</a> )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">dev</span>, uint32_t*<span>&nbsp;</span><span class="keyword keyword apiItemName">numLanes</span> )</span></dt>
                     <dd class="shortdesc"><span></span><span class="desc">Get the number of lanes per warp on the device. </span></dd>
                     <dt><span class="member_type"><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                           &nbsp;</span><span class="member_name">( *<a href="#group__DEV_1g3133677d6cf3b0719dbcad3bcf131bae" shape="rect">getNumPredicates</a> )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">dev</span>, uint32_t*<span>&nbsp;</span><span class="keyword keyword apiItemName">numPredicates</span> )</span></dt>
                     <dd class="shortdesc"><span></span><span class="desc">Get the number of predicate registers per lane on the device. </span></dd>
                     <dt><span class="member_type"><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                           &nbsp;</span><span class="member_name">( *<a href="#group__DEV_1g8821309fa8574e1a1af1292068d8a14d" shape="rect">getNumRegisters</a> )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">dev</span>, uint32_t*<span>&nbsp;</span><span class="keyword keyword apiItemName">numRegs</span> )</span></dt>
                     <dd class="shortdesc"><span></span><span class="desc">Get the number of registers per lane on the device. </span></dd>
                     <dt><span class="member_type"><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                           &nbsp;</span><span class="member_name">( *<a href="#group__DEV_1gd7d02ef07945eb4c1c28e805353729eb" shape="rect">getNumSMs</a> )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">dev</span>, uint32_t*<span>&nbsp;</span><span class="keyword keyword apiItemName">numSMs</span> )</span></dt>
                     <dd class="shortdesc"><span></span><span class="desc">Get the total number of SMs on the device. </span></dd>
                     <dt><span class="member_type"><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                           &nbsp;</span><span class="member_name">( *<a href="#group__DEV_1gbfc9e444d258dfe46f73f865376cf8c4" shape="rect">getNumWarps</a> )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">dev</span>, uint32_t*<span>&nbsp;</span><span class="keyword keyword apiItemName">numWarps</span> )</span></dt>
                     <dd class="shortdesc"><span></span><span class="desc">Get the number of warps per SM on the device. </span></dd>
                     <dt><span class="member_type"><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                           &nbsp;</span><span class="member_name">( *<a href="#group__DWARF_1g026307b7c5c90f07094fb8c20116f1f1" shape="rect">getPhysicalRegister30</a> )(  uint64_t<span>&nbsp;</span><span class="keyword keyword apiItemName">pc</span>, char*<span>&nbsp;</span><span class="keyword keyword apiItemName">reg</span>, uint32_t*<span>&nbsp;</span><span class="keyword keyword apiItemName">buf</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sz</span>, uint32_t*<span>&nbsp;</span><span class="keyword keyword apiItemName">numPhysRegs</span>, CUDBGRegClass*<span>&nbsp;</span><span class="keyword keyword apiItemName">regClass</span> )</span></dt>
                     <dd class="shortdesc"><span></span><span class="desc">Get the physical register number(s) assigned to a virtual register name 'reg' at a given PC, if 'reg' is live at that PC.
                           </span></dd>
                     <dt><span class="member_type"><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                           &nbsp;</span><span class="member_name">( *<a href="#group__DWARF_1g754fb566179e807136f6d9571497fa18" shape="rect">getPhysicalRegister40</a> )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">dev</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sm</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">wp</span>, uint64_t<span>&nbsp;</span><span class="keyword keyword apiItemName">pc</span>, char*<span>&nbsp;</span><span class="keyword keyword apiItemName">reg</span>, uint32_t*<span>&nbsp;</span><span class="keyword keyword apiItemName">buf</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sz</span>, uint32_t*<span>&nbsp;</span><span class="keyword keyword apiItemName">numPhysRegs</span>, CUDBGRegClass*<span>&nbsp;</span><span class="keyword keyword apiItemName">regClass</span> )</span></dt>
                     <dd class="shortdesc"><span></span><span class="desc">Get the physical register number(s) assigned to a virtual register name 'reg' at a given PC, if 'reg' is live at that PC.
                           </span></dd>
                     <dt><span class="member_type"><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                           &nbsp;</span><span class="member_name">( *<a href="#group__DEV_1gf265d6f84db7102134d552126d009fe6" shape="rect">getSmType</a> )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">dev</span>, char*<span>&nbsp;</span><span class="keyword keyword apiItemName">buf</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sz</span> )</span></dt>
                     <dd class="shortdesc"><span></span><span class="desc">Get the SM type of the device. </span></dd>
                     <dt><span class="member_type"><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                           &nbsp;</span><span class="member_name">( *<a href="#group__GRID_1ge5eb7bdedae26df688d84dd4e2d3c441" shape="rect">getTID</a> )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">dev</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sm</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">wp</span>, uint32_t*<span>&nbsp;</span><span class="keyword keyword apiItemName">tid</span> )</span></dt>
                     <dd class="shortdesc"><span></span><span class="desc">Get the ID of the Linux thread hosting the context of the grid. </span></dd>
                     <dt><span class="member_type"><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                           &nbsp;</span><span class="member_name">( *<a href="#group__INIT_1g1bd5d76bdca38b707ea86d9202c47179" shape="rect">initialize</a> )(   )</span></dt>
                     <dd class="shortdesc"><span></span><span class="desc">Initialize the API. </span></dd>
                     <dt><span class="member_type"><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                           &nbsp;</span><span class="member_name">( *<a href="#structCUDBGAPI__st_1377d2769687f7ae93dd27312bfcb6038" shape="rect">initializeAttachStub</a> )(   )</span></dt>
                     <dd class="shortdesc"><span></span><span class="desc">Initialize the attach stub. </span></dd>
                     <dt><span class="member_type"><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                           &nbsp;</span><span class="member_name">( *<a href="#group__DWARF_1gb590b6e4de3fba2f134f304b4fe201ce" shape="rect">isDeviceCodeAddress</a> )(  uintptr_t<span>&nbsp;</span><span class="keyword keyword apiItemName">addr</span>, bool*<span>&nbsp;</span><span class="keyword keyword apiItemName">isDeviceAddress</span> )</span></dt>
                     <dd class="shortdesc"><span></span><span class="desc">Determines whether a virtual address resides within device code. </span></dd>
                     <dt><span class="member_type"><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                           &nbsp;</span><span class="member_name">( *<a href="#group__DWARF_1ga8c708428aeed1f270b90168d9455b1b" shape="rect">isDeviceCodeAddress55</a> )(  uintptr_t<span>&nbsp;</span><span class="keyword keyword apiItemName">addr</span>, bool*<span>&nbsp;</span><span class="keyword keyword apiItemName">isDeviceAddress</span> )</span></dt>
                     <dd class="shortdesc"><span></span><span class="desc">Determines whether a virtual address resides within device code. This API is strongly deprecated. Use CUDBGAPI_st::isDeviceCodeAddress
                           instead. </span></dd>
                     <dt><span class="member_type"><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                           &nbsp;</span><span class="member_name">( *<a href="#group__DWARF_1gee489c2a457b29a1aa213cda4168b2ba" shape="rect">lookupDeviceCodeSymbol</a> )(  char*<span>&nbsp;</span><span class="keyword keyword apiItemName">symName</span>, bool*<span>&nbsp;</span><span class="keyword keyword apiItemName">symFound</span>, uintptr_t*<span>&nbsp;</span><span class="keyword keyword apiItemName">symAddr</span> )</span></dt>
                     <dd class="shortdesc"><span></span><span class="desc">Determines whether a symbol represents a function in device code and returns its virtual address. </span></dd>
                     <dt><span class="member_type"><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                           &nbsp;</span><span class="member_name">( *<a href="#group__READ_1g0de820d7ed30402b1f4155ce65b3dd3b" shape="rect">memcheckReadErrorAddress</a> )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">dev</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sm</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">wp</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">ln</span>, uint64_t*<span>&nbsp;</span><span class="keyword keyword apiItemName">address</span>, ptxStorageKind*<span>&nbsp;</span><span class="keyword keyword apiItemName">storage</span> )</span></dt>
                     <dd class="shortdesc"><span></span><span class="desc">Get the address that memcheck detected an error on. </span></dd>
                     <dt><span class="member_type"><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                           &nbsp;</span><span class="member_name">( *<a href="#group__READ_1gf8b872bd2d8a482b9f705e7e19159b04" shape="rect">readActiveLanes</a> )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">dev</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sm</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">wp</span>, uint32_t*<span>&nbsp;</span><span class="keyword keyword apiItemName">activeLanesMask</span> )</span></dt>
                     <dd class="shortdesc"><span></span><span class="desc">Reads the bitmask of active lanes on a valid warp. </span></dd>
                     <dt><span class="member_type"><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                           &nbsp;</span><span class="member_name">( *<a href="#group__READ_1g0dd276e9fc631d3921dd3c65d6d1f900" shape="rect">readBlockIdx</a> )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">dev</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sm</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">wp</span>, CuDim3*<span>&nbsp;</span><span class="keyword keyword apiItemName">blockIdx</span> )</span></dt>
                     <dd class="shortdesc"><span></span><span class="desc">Reads the CUDA block index running on a valid warp. </span></dd>
                     <dt><span class="member_type"><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                           &nbsp;</span><span class="member_name">( *<a href="#group__READ_1ga88dbee61a8c037c362955f7c537e322" shape="rect">readBlockIdx32</a> )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">dev</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sm</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">wp</span>, CuDim2*<span>&nbsp;</span><span class="keyword keyword apiItemName">blockIdx</span> )</span></dt>
                     <dd class="shortdesc"><span></span><span class="desc">Reads the two-dimensional CUDA block index running on a valid warp. </span></dd>
                     <dt><span class="member_type"><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                           &nbsp;</span><span class="member_name">( *<a href="#group__READ_1g4b818e988b7469c1f67fa3ec3f58a283" shape="rect">readBrokenWarps</a> )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">dev</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sm</span>, uint64_t*<span>&nbsp;</span><span class="keyword keyword apiItemName">brokenWarpsMask</span> )</span></dt>
                     <dd class="shortdesc"><span></span><span class="desc">Reads the bitmask of warps that are at a breakpoint on a given SM. </span></dd>
                     <dt><span class="member_type"><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                           &nbsp;</span><span class="member_name">( *<a href="#group__READ_1gdd462e31160e9a9892b8fd9189647d2f" shape="rect">readCCRegister</a> )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">dev</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sm</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">wp</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">ln</span>, uint32_t*<span>&nbsp;</span><span class="keyword keyword apiItemName">val</span> )</span></dt>
                     <dd class="shortdesc"><span></span><span class="desc">Reads the hardware CC register. </span></dd>
                     <dt><span class="member_type"><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                           &nbsp;</span><span class="member_name">( *<a href="#group__READ_1g6b438d1fd6d089bc430dd8ba6b53daf8" shape="rect">readCallDepth</a> )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">dev</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sm</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">wp</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">ln</span>, uint32_t*<span>&nbsp;</span><span class="keyword keyword apiItemName">depth</span> )</span></dt>
                     <dd class="shortdesc"><span></span><span class="desc">Reads the call depth (number of calls) for a given lane. </span></dd>
                     <dt><span class="member_type"><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                           &nbsp;</span><span class="member_name">( *<a href="#group__READ_1g262cdf69168252b06bcfb19c474f7a6f" shape="rect">readCallDepth32</a> )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">dev</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sm</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">wp</span>, uint32_t*<span>&nbsp;</span><span class="keyword keyword apiItemName">depth</span> )</span></dt>
                     <dd class="shortdesc"><span></span><span class="desc">Reads the call depth (number of calls) for a given warp. </span></dd>
                     <dt><span class="member_type"><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                           &nbsp;</span><span class="member_name">( *<a href="#group__READ_1g96d8d7f7158aacc75b0013fb14e070df" shape="rect">readCodeMemory</a> )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">dev</span>, uint64_t<span>&nbsp;</span><span class="keyword keyword apiItemName">addr</span>, void*<span>&nbsp;</span><span class="keyword keyword apiItemName">buf</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sz</span> )</span></dt>
                     <dd class="shortdesc"><span></span><span class="desc">Reads content at address in the code memory segment. </span></dd>
                     <dt><span class="member_type"><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                           &nbsp;</span><span class="member_name">( *<a href="#group__READ_1g403214b4c091fa8f1805e652fa720717" shape="rect">readConstMemory</a> )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">dev</span>, uint64_t<span>&nbsp;</span><span class="keyword keyword apiItemName">addr</span>, void*<span>&nbsp;</span><span class="keyword keyword apiItemName">buf</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sz</span> )</span></dt>
                     <dd class="shortdesc"><span></span><span class="desc">Reads content at address in the constant memory segment. </span></dd>
                     <dt><span class="member_type"><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                           &nbsp;</span><span class="member_name">( *<a href="#structCUDBGAPI__st_1106b5daa9fa8d7a17c88b5ca8ab9304f" shape="rect">readDeviceExceptionState</a> )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">devId</span>, uint64_t*<span>&nbsp;</span><span class="keyword keyword apiItemName">exceptionSMMask</span> )</span></dt>
                     <dd class="shortdesc"><span></span><span class="desc">Get the exception state of the SMs on the device. </span></dd>
                     <dt><span class="member_type"><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                           &nbsp;</span><span class="member_name">( *<a href="#group__READ_1g8468eae54d80205f03e00a6768dccfd6" shape="rect">readErrorPC</a> )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">devId</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sm</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">wp</span>, uint64_t*<span>&nbsp;</span><span class="keyword keyword apiItemName">errorPC</span>, bool*<span>&nbsp;</span><span class="keyword keyword apiItemName">errorPCValid</span> )</span></dt>
                     <dd class="shortdesc"><span></span><span class="desc">Get the hardware reported error PC if it exists. </span></dd>
                     <dt><span class="member_type"><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                           &nbsp;</span><span class="member_name">( *<a href="#group__READ_1g132516a9f3750484f299d36328f6bf49" shape="rect">readGenericMemory</a> )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">dev</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sm</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">wp</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">ln</span>, uint64_t<span>&nbsp;</span><span class="keyword keyword apiItemName">addr</span>, void*<span>&nbsp;</span><span class="keyword keyword apiItemName">buf</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sz</span> )</span></dt>
                     <dd class="shortdesc"><span></span><span class="desc">Reads content at an address in the generic address space. This function determines if the given address falls into the local,
                           shared, or global memory window. It then accesses memory taking into account the hardware co-ordinates provided as inputs.
                           </span></dd>
                     <dt><span class="member_type"><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                           &nbsp;</span><span class="member_name">( *<a href="#group__READ_1gbb7f10629d91480e5aa8aa17807b07f2" shape="rect">readGlobalMemory</a> )(  uint64_t<span>&nbsp;</span><span class="keyword keyword apiItemName">addr</span>, void*<span>&nbsp;</span><span class="keyword keyword apiItemName">buf</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sz</span> )</span></dt>
                     <dd class="shortdesc"><span></span><span class="desc">Reads content at an address in the global address space. If the address is valid on more than one device and one of those
                           devices does not support UVA, an error is returned. </span></dd>
                     <dt><span class="member_type"><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                           &nbsp;</span><span class="member_name">( *<a href="#group__READ_1g155576a52b4ad9aa472c5216cddc43bf" shape="rect">readGlobalMemory31</a> )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">dev</span>, uint64_t<span>&nbsp;</span><span class="keyword keyword apiItemName">addr</span>, void*<span>&nbsp;</span><span class="keyword keyword apiItemName">buf</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sz</span> )</span></dt>
                     <dd class="shortdesc"><span></span><span class="desc">Reads content at address in the global memory segment. </span></dd>
                     <dt><span class="member_type"><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                           &nbsp;</span><span class="member_name">( *<a href="#group__READ_1g64fc5b099c1cf2dcb6e673d39856866c" shape="rect">readGlobalMemory55</a> )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">dev</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sm</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">wp</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">ln</span>, uint64_t<span>&nbsp;</span><span class="keyword keyword apiItemName">addr</span>, void*<span>&nbsp;</span><span class="keyword keyword apiItemName">buf</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sz</span> )</span></dt>
                     <dd class="shortdesc"><span></span><span class="desc">Reads content at address in the global memory segment (entire 40-bit VA on Fermi+). </span></dd>
                     <dt><span class="member_type"><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                           &nbsp;</span><span class="member_name">( *<a href="#group__READ_1g3bf37520a3721ebff43b0f4aa06c9953" shape="rect">readGridId</a> )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">dev</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sm</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">wp</span>, uint64_t*<span>&nbsp;</span><span class="keyword keyword apiItemName">gridId64</span> )</span></dt>
                     <dd class="shortdesc"><span></span><span class="desc">Reads the 64-bit CUDA grid index running on a valid warp. </span></dd>
                     <dt><span class="member_type"><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                           &nbsp;</span><span class="member_name">( *<a href="#group__READ_1gaf25a154e70e5b7907d45d167f026c00" shape="rect">readGridId50</a> )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">dev</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sm</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">wp</span>, uint32_t*<span>&nbsp;</span><span class="keyword keyword apiItemName">gridId</span> )</span></dt>
                     <dd class="shortdesc"><span></span><span class="desc">Reads the CUDA grid index running on a valid warp. </span></dd>
                     <dt><span class="member_type"><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                           &nbsp;</span><span class="member_name">( *<a href="#group__READ_1g67afc64c7b4e87e14bad401242a2077a" shape="rect">readLaneException</a> )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">dev</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sm</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">wp</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">ln</span>, CUDBGException_t*<span>&nbsp;</span><span class="keyword keyword apiItemName">exception</span> )</span></dt>
                     <dd class="shortdesc"><span></span><span class="desc">Reads the exception type for a given lane. </span></dd>
                     <dt><span class="member_type"><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                           &nbsp;</span><span class="member_name">( *<a href="#group__READ_1g48d8ba567106a48067a0700bfd0cdc80" shape="rect">readLaneStatus</a> )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">dev</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sm</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">wp</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">ln</span>, bool*<span>&nbsp;</span><span class="keyword keyword apiItemName">error</span> )</span></dt>
                     <dd class="shortdesc"><span></span><span class="desc">Reads the status of the given lane. For specific error values, use readLaneException. </span></dd>
                     <dt><span class="member_type"><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                           &nbsp;</span><span class="member_name">( *<a href="#group__READ_1g81729a1eb1b4d90e63f505bc4e407917" shape="rect">readLocalMemory</a> )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">dev</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sm</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">wp</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">ln</span>, uint64_t<span>&nbsp;</span><span class="keyword keyword apiItemName">addr</span>, void*<span>&nbsp;</span><span class="keyword keyword apiItemName">buf</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sz</span> )</span></dt>
                     <dd class="shortdesc"><span></span><span class="desc">Reads content at address in the local memory segment. </span></dd>
                     <dt><span class="member_type"><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                           &nbsp;</span><span class="member_name">( *<a href="#group__READ_1g4e5d98dced2544bbe90d0a9483527f3f" shape="rect">readPC</a> )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">dev</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sm</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">wp</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">ln</span>, uint64_t*<span>&nbsp;</span><span class="keyword keyword apiItemName">pc</span> )</span></dt>
                     <dd class="shortdesc"><span></span><span class="desc">Reads the PC on the given active lane. </span></dd>
                     <dt><span class="member_type"><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                           &nbsp;</span><span class="member_name">( *<a href="#group__READ_1g2f5bf430b5202e893f896a4e53e7473e" shape="rect">readParamMemory</a> )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">dev</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sm</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">wp</span>, uint64_t<span>&nbsp;</span><span class="keyword keyword apiItemName">addr</span>, void*<span>&nbsp;</span><span class="keyword keyword apiItemName">buf</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sz</span> )</span></dt>
                     <dd class="shortdesc"><span></span><span class="desc">Reads content at address in the param memory segment. </span></dd>
                     <dt><span class="member_type"><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                           &nbsp;</span><span class="member_name">( *<a href="#group__READ_1g6bae1fafb4bb9a70ba372d50771c860c" shape="rect">readPinnedMemory</a> )(  uint64_t<span>&nbsp;</span><span class="keyword keyword apiItemName">addr</span>, void*<span>&nbsp;</span><span class="keyword keyword apiItemName">buf</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sz</span> )</span></dt>
                     <dd class="shortdesc"><span></span><span class="desc">Reads content at pinned address in system memory. </span></dd>
                     <dt><span class="member_type"><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                           &nbsp;</span><span class="member_name">( *<a href="#group__READ_1g02ab5a95af92043803364eb35cafabea" shape="rect">readPredicates</a> )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">dev</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sm</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">wp</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">ln</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">predicates_size</span>, uint32_t*<span>&nbsp;</span><span class="keyword keyword apiItemName">predicates</span> )</span></dt>
                     <dd class="shortdesc"><span></span><span class="desc">Reads content of hardware predicate registers. </span></dd>
                     <dt><span class="member_type"><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                           &nbsp;</span><span class="member_name">( *<a href="#group__READ_1g23e67e3745e52c60d0a64ced1cc62dcb" shape="rect">readRegister</a> )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">dev</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sm</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">wp</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">ln</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">regno</span>, uint32_t*<span>&nbsp;</span><span class="keyword keyword apiItemName">val</span> )</span></dt>
                     <dd class="shortdesc"><span></span><span class="desc">Reads content of a hardware register. </span></dd>
                     <dt><span class="member_type"><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                           &nbsp;</span><span class="member_name">( *<a href="#group__READ_1g8a5826d9ce120f9be96d5ee377f58a47" shape="rect">readRegisterRange</a> )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">devId</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sm</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">wp</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">ln</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">index</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">registers_size</span>, uint32_t*<span>&nbsp;</span><span class="keyword keyword apiItemName">registers</span> )</span></dt>
                     <dd class="shortdesc"><span></span><span class="desc">Reads content of a hardware range of hardware registers. </span></dd>
                     <dt><span class="member_type"><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                           &nbsp;</span><span class="member_name">( *<a href="#group__READ_1g31dee949a5b53d5c509668c764ec9171" shape="rect">readReturnAddress</a> )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">dev</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sm</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">wp</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">ln</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">level</span>, uint64_t*<span>&nbsp;</span><span class="keyword keyword apiItemName">ra</span> )</span></dt>
                     <dd class="shortdesc"><span></span><span class="desc">Reads the physical return address for a call level. </span></dd>
                     <dt><span class="member_type"><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                           &nbsp;</span><span class="member_name">( *<a href="#group__READ_1g33d944489b2b085cdbd42712ce666ef4" shape="rect">readReturnAddress32</a> )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">dev</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sm</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">wp</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">level</span>, uint64_t*<span>&nbsp;</span><span class="keyword keyword apiItemName">ra</span> )</span></dt>
                     <dd class="shortdesc"><span></span><span class="desc">Reads the physical return address for a call level. </span></dd>
                     <dt><span class="member_type"><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                           &nbsp;</span><span class="member_name">( *<a href="#group__READ_1ge242a5b3d2877bb06e69b29e08079d04" shape="rect">readSharedMemory</a> )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">dev</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sm</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">wp</span>, uint64_t<span>&nbsp;</span><span class="keyword keyword apiItemName">addr</span>, void*<span>&nbsp;</span><span class="keyword keyword apiItemName">buf</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sz</span> )</span></dt>
                     <dd class="shortdesc"><span></span><span class="desc">Reads content at address in the shared memory segment. </span></dd>
                     <dt><span class="member_type"><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                           &nbsp;</span><span class="member_name">( *<a href="#group__READ_1g316294b5861d23bc789adf43a1d6df57" shape="rect">readSyscallCallDepth</a> )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">dev</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sm</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">wp</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">ln</span>, uint32_t*<span>&nbsp;</span><span class="keyword keyword apiItemName">depth</span> )</span></dt>
                     <dd class="shortdesc"><span></span><span class="desc">Reads the call depth of syscalls for a given lane. </span></dd>
                     <dt><span class="member_type"><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                           &nbsp;</span><span class="member_name">( *<a href="#group__READ_1g0d793af43e61047ee8069835d4407819" shape="rect">readTextureMemory</a> )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">devId</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">vsm</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">wp</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">id</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">dim</span>, uint32_t*<span>&nbsp;</span><span class="keyword keyword apiItemName">coords</span>, void*<span>&nbsp;</span><span class="keyword keyword apiItemName">buf</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sz</span> )</span></dt>
                     <dd class="shortdesc"><span></span><span class="desc">Read the content of texture memory with given id and coords on sm_20 and lower. </span></dd>
                     <dt><span class="member_type"><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                           &nbsp;</span><span class="member_name">( *<a href="#group__READ_1g6f73101230b23e482d1fc1d8b14ff633" shape="rect">readTextureMemoryBindless</a> )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">devId</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">vsm</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">wp</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">texSymtabIndex</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">dim</span>, uint32_t*<span>&nbsp;</span><span class="keyword keyword apiItemName">coords</span>, void*<span>&nbsp;</span><span class="keyword keyword apiItemName">buf</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sz</span> )</span></dt>
                     <dd class="shortdesc"><span></span><span class="desc">Read the content of texture memory with given symtab index and coords on sm_30 and higher. </span></dd>
                     <dt><span class="member_type"><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                           &nbsp;</span><span class="member_name">( *<a href="#group__READ_1g19ba2b56ab1ae81f20cfc163a46ae5bb" shape="rect">readThreadIdx</a> )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">dev</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sm</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">wp</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">ln</span>, CuDim3*<span>&nbsp;</span><span class="keyword keyword apiItemName">threadIdx</span> )</span></dt>
                     <dd class="shortdesc"><span></span><span class="desc">Reads the CUDA thread index running on valid lane. </span></dd>
                     <dt><span class="member_type"><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                           &nbsp;</span><span class="member_name">( *<a href="#group__READ_1gf8f5a4351ed66097d7c557d3b3cfcf4c" shape="rect">readValidLanes</a> )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">dev</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sm</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">wp</span>, uint32_t*<span>&nbsp;</span><span class="keyword keyword apiItemName">validLanesMask</span> )</span></dt>
                     <dd class="shortdesc"><span></span><span class="desc">Reads the bitmask of valid lanes on a given warp. </span></dd>
                     <dt><span class="member_type"><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                           &nbsp;</span><span class="member_name">( *<a href="#group__READ_1ge45c80b025d95c5843ba32ab73e28908" shape="rect">readValidWarps</a> )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">dev</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sm</span>, uint64_t*<span>&nbsp;</span><span class="keyword keyword apiItemName">validWarpsMask</span> )</span></dt>
                     <dd class="shortdesc"><span></span><span class="desc">Reads the bitmask of valid warps on a given SM. </span></dd>
                     <dt><span class="member_type"><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                           &nbsp;</span><span class="member_name">( *<a href="#group__READ_1gb8f4830c29701bae9198de2351f51985" shape="rect">readVirtualPC</a> )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">dev</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sm</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">wp</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">ln</span>, uint64_t*<span>&nbsp;</span><span class="keyword keyword apiItemName">pc</span> )</span></dt>
                     <dd class="shortdesc"><span></span><span class="desc">Reads the virtual PC on the given active lane. </span></dd>
                     <dt><span class="member_type"><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                           &nbsp;</span><span class="member_name">( *<a href="#group__READ_1ga2b518d57cfab4feba42e1fcfffb5913" shape="rect">readVirtualReturnAddress</a> )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">dev</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sm</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">wp</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">ln</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">level</span>, uint64_t*<span>&nbsp;</span><span class="keyword keyword apiItemName">ra</span> )</span></dt>
                     <dd class="shortdesc"><span></span><span class="desc">Reads the virtual return address for a call level. </span></dd>
                     <dt><span class="member_type"><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                           &nbsp;</span><span class="member_name">( *<a href="#group__READ_1gf234679daecf9378353343c8942da5a7" shape="rect">readVirtualReturnAddress32</a> )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">dev</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sm</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">wp</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">level</span>, uint64_t*<span>&nbsp;</span><span class="keyword keyword apiItemName">ra</span> )</span></dt>
                     <dd class="shortdesc"><span></span><span class="desc">Reads the virtual return address for a call level. </span></dd>
                     <dt><span class="member_type"><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                           &nbsp;</span><span class="member_name">( *<a href="#group__READ_1g6a48fb61865adc4e222b042b06fa1326" shape="rect">readWarpState</a> )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">devId</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sm</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">wp</span>, CUDBGWarpState*<span>&nbsp;</span><span class="keyword keyword apiItemName">state</span> )</span></dt>
                     <dd class="shortdesc"><span></span><span class="desc">Get state of a given warp. </span></dd>
                     <dt><span class="member_type"><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                           &nbsp;</span><span class="member_name">( *<a href="#structCUDBGAPI__st_1423f9776fdc6bece0accc015127d4cdc" shape="rect">requestCleanupOnDetach</a> )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">appResumeFlag</span> )</span></dt>
                     <dd class="shortdesc"><span></span><span class="desc">Request for cleanup of driver state when detaching. </span></dd>
                     <dt><span class="member_type"><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                           &nbsp;</span><span class="member_name">( *<a href="#structCUDBGAPI__st_16e3358fc298f241c328a32ddc50a0381" shape="rect">requestCleanupOnDetach55</a> )(   )</span></dt>
                     <dd class="shortdesc"><span></span><span class="desc">Request for cleanup of driver state when detaching. </span></dd>
                     <dt><span class="member_type"><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                           &nbsp;</span><span class="member_name">( *<a href="#group__EXEC_1g181eb03ff2a7dc899467be39a5500a9d" shape="rect">resumeDevice</a> )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">dev</span> )</span></dt>
                     <dd class="shortdesc"><span></span><span class="desc">Resume a suspended CUDA device. </span></dd>
                     <dt><span class="member_type"><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                           &nbsp;</span><span class="member_name">( *<a href="#group__EXEC_1gfa9d8dc20f0201739260855ad9728022" shape="rect">resumeWarpsUntilPC</a> )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">devId</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sm</span>, uint64_t<span>&nbsp;</span><span class="keyword keyword apiItemName">warpMask</span>, uint64_t<span>&nbsp;</span><span class="keyword keyword apiItemName">virtPC</span> )</span></dt>
                     <dd class="shortdesc"><span></span><span class="desc">Inserts a temporary breakpoint at the specified virtual PC, and resumes all warps in the specified bitmask on a given SM.
                           As compared to CUDBGAPI_st::resumeDevice, CUDBGAPI_st::resumeWarpsUntilPC provides finer-grain control by resuming a selected
                           set of warps on the same SM. The main intended usage is to accelerate the single-stepping process when the target PC is known
                           in advance. Instead of single-stepping each warp individually until the target PC is hit, the client can issue this API. When
                           this API is used, errors within CUDA kernels will no longer be reported precisely. In the situation where resuming warps is
                           not possible, this API will return CUDBG_ERROR_WARP_RESUME_NOT_POSSIBLE. The client should then fall back to using CUDBGAPI_st::singleStepWarp
                           or CUDBGAPI_st::resumeDevice. </span></dd>
                     <dt><span class="member_type"><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                           &nbsp;</span><span class="member_name">( *<a href="#group__BP_1gf0ae0297c09bf288cad94d96fe00de2a" shape="rect">setBreakpoint</a> )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">dev</span>, uint64_t<span>&nbsp;</span><span class="keyword keyword apiItemName">addr</span> )</span></dt>
                     <dd class="shortdesc"><span></span><span class="desc">Sets a breakpoint at the given instruction address for the given device. Before setting a breakpoint, CUDBGAPI_st::getAdjustedCodeAddress
                           should be called to get the adjusted breakpoint address. </span></dd>
                     <dt><span class="member_type"><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                           &nbsp;</span><span class="member_name">( *<a href="#group__BP_1g94c9212e06c0157654432640729d18b7" shape="rect">setBreakpoint31</a> )(  uint64_t<span>&nbsp;</span><span class="keyword keyword apiItemName">addr</span> )</span></dt>
                     <dd class="shortdesc"><span></span><span class="desc">Sets a breakpoint at the given instruction address. </span></dd>
                     <dt><span class="member_type"><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                           &nbsp;</span><span class="member_name">( *<a href="#structCUDBGAPI__st_128c4ee9dcc9d69372dd450d9f89e7e3c" shape="rect">setKernelLaunchNotificationMode</a> )(  CUDBGKernelLaunchNotifyMode<span>&nbsp;</span><span class="keyword keyword apiItemName">mode</span> )</span></dt>
                     <dd class="shortdesc"><span></span><span class="desc">Set the launch notification policy. </span></dd>
                     <dt><span class="member_type"><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                           &nbsp;</span><span class="member_name">( *<a href="#group__EVENT_1g42642d4e8dfb372d730d2a49ae6acd25" shape="rect">setNotifyNewEventCallback</a> )(  CUDBGNotifyNewEventCallback<span>&nbsp;</span><span class="keyword keyword apiItemName">callback</span> )</span></dt>
                     <dd class="shortdesc"><span></span><span class="desc">Provides the API with the function to call to notify the debugger of a new application or device event. </span></dd>
                     <dt><span class="member_type"><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                           &nbsp;</span><span class="member_name">( *<a href="#group__EVENT_1g45862cf414d1308de638d02e4f7ba8e4" shape="rect">setNotifyNewEventCallback31</a> )(  CUDBGNotifyNewEventCallback31<span>&nbsp;</span><span class="keyword keyword apiItemName">callback</span>, void*<span>&nbsp;</span><span class="keyword keyword apiItemName">data</span> )</span></dt>
                     <dd class="shortdesc"><span></span><span class="desc">Provides the API with the function to call to notify the debugger of a new application or device event. </span></dd>
                     <dt><span class="member_type"><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                           &nbsp;</span><span class="member_name">( *<a href="#group__EVENT_1gd873f4d12ca275a167e313ea2c93204f" shape="rect">setNotifyNewEventCallback40</a> )(  CUDBGNotifyNewEventCallback40<span>&nbsp;</span><span class="keyword keyword apiItemName">callback</span> )</span></dt>
                     <dd class="shortdesc"><span></span><span class="desc">Provides the API with the function to call to notify the debugger of a new application or device event. </span></dd>
                     <dt><span class="member_type"><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                           &nbsp;</span><span class="member_name">( *<a href="#group__EXEC_1ge3b9858bffaefdeeb45bef823fae6a40" shape="rect">singleStepWarp</a> )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">dev</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sm</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">wp</span>, uint64_t*<span>&nbsp;</span><span class="keyword keyword apiItemName">warpMask</span> )</span></dt>
                     <dd class="shortdesc"><span></span><span class="desc">Single step an individual warp on a suspended CUDA device. </span></dd>
                     <dt><span class="member_type"><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                           &nbsp;</span><span class="member_name">( *<a href="#group__EXEC_1gb67725d1f91c69a0e001273f228c8df0" shape="rect">singleStepWarp40</a> )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">dev</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sm</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">wp</span> )</span></dt>
                     <dd class="shortdesc"><span></span><span class="desc">Single step an individual warp on a suspended CUDA device. </span></dd>
                     <dt><span class="member_type"><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                           &nbsp;</span><span class="member_name">( *<a href="#group__EXEC_1g90a04342d50fcc9822ac36565f4aae79" shape="rect">suspendDevice</a> )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">dev</span> )</span></dt>
                     <dd class="shortdesc"><span></span><span class="desc">Suspends a running CUDA device. </span></dd>
                     <dt><span class="member_type"><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                           &nbsp;</span><span class="member_name">( *<a href="#group__BP_1g46e0c34336c746dbad091f18c9ace26e" shape="rect">unsetBreakpoint</a> )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">dev</span>, uint64_t<span>&nbsp;</span><span class="keyword keyword apiItemName">addr</span> )</span></dt>
                     <dd class="shortdesc"><span></span><span class="desc">Unsets a breakpoint at the given instruction address for the given device. </span></dd>
                     <dt><span class="member_type"><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                           &nbsp;</span><span class="member_name">( *<a href="#group__BP_1g11ffb928b9e9caa61ebfc2d116d682af" shape="rect">unsetBreakpoint31</a> )(  uint64_t<span>&nbsp;</span><span class="keyword keyword apiItemName">addr</span> )</span></dt>
                     <dd class="shortdesc"><span></span><span class="desc">Unsets a breakpoint at the given instruction address. </span></dd>
                     <dt><span class="member_type"><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                           &nbsp;</span><span class="member_name">( *<a href="#group__WRITE_1gc06c86979e356da1bc447fa8fb3b9b5e" shape="rect">writeCCRegister</a> )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">dev</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sm</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">wp</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">ln</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">val</span> )</span></dt>
                     <dd class="shortdesc"><span></span><span class="desc">Writes the hardware CC register. </span></dd>
                     <dt><span class="member_type"><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                           &nbsp;</span><span class="member_name">( *<a href="#group__WRITE_1gf5e9ec0bda0f5cbdd7135603a5987398" shape="rect">writeGenericMemory</a> )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">dev</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sm</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">wp</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">ln</span>, uint64_t<span>&nbsp;</span><span class="keyword keyword apiItemName">addr</span>, const void*<span>&nbsp;</span><span class="keyword keyword apiItemName">buf</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sz</span> )</span></dt>
                     <dd class="shortdesc"><span></span><span class="desc">Writes content to an address in the generic address space. This function determines if the given address falls into the local,
                           shared, or global memory window. It then accesses memory taking into account the hardware co-ordinates provided as inputs.
                           </span></dd>
                     <dt><span class="member_type"><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                           &nbsp;</span><span class="member_name">( *<a href="#group__WRITE_1g58c3dc569a2c556797be6b4435fc9869" shape="rect">writeGlobalMemory</a> )(  uint64_t<span>&nbsp;</span><span class="keyword keyword apiItemName">addr</span>, const void*<span>&nbsp;</span><span class="keyword keyword apiItemName">buf</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sz</span> )</span></dt>
                     <dd class="shortdesc"><span></span><span class="desc">Writes content to an address in the global address space. If the address is valid on more than one device and one of those
                           devices does not support UVA, an error is returned. </span></dd>
                     <dt><span class="member_type"><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                           &nbsp;</span><span class="member_name">( *<a href="#group__WRITE_1g07cc644e233fc09ef9957449eb84b04d" shape="rect">writeGlobalMemory31</a> )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">dev</span>, uint64_t<span>&nbsp;</span><span class="keyword keyword apiItemName">addr</span>, const void*<span>&nbsp;</span><span class="keyword keyword apiItemName">buf</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sz</span> )</span></dt>
                     <dd class="shortdesc"><span></span><span class="desc">Writes content to address in the global memory segment. </span></dd>
                     <dt><span class="member_type"><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                           &nbsp;</span><span class="member_name">( *<a href="#group__WRITE_1gba54354f1f6f0af3c0db3b22dc5f0c4e" shape="rect">writeGlobalMemory55</a> )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">dev</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sm</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">wp</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">ln</span>, uint64_t<span>&nbsp;</span><span class="keyword keyword apiItemName">addr</span>, const void*<span>&nbsp;</span><span class="keyword keyword apiItemName">buf</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sz</span> )</span></dt>
                     <dd class="shortdesc"><span></span><span class="desc">Writes content to address in the global memory segment (entire 40-bit VA on Fermi+). </span></dd>
                     <dt><span class="member_type"><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                           &nbsp;</span><span class="member_name">( *<a href="#group__WRITE_1g8552847e859c3014eb5cf021ca1a07ff" shape="rect">writeLocalMemory</a> )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">dev</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sm</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">wp</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">ln</span>, uint64_t<span>&nbsp;</span><span class="keyword keyword apiItemName">addr</span>, const void*<span>&nbsp;</span><span class="keyword keyword apiItemName">buf</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sz</span> )</span></dt>
                     <dd class="shortdesc"><span></span><span class="desc">Writes content to address in the local memory segment. </span></dd>
                     <dt><span class="member_type"><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                           &nbsp;</span><span class="member_name">( *<a href="#group__WRITE_1gf2396f87598ff9edb9c2cf0d0d9e51c2" shape="rect">writeParamMemory</a> )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">dev</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sm</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">wp</span>, uint64_t<span>&nbsp;</span><span class="keyword keyword apiItemName">addr</span>, const void*<span>&nbsp;</span><span class="keyword keyword apiItemName">buf</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sz</span> )</span></dt>
                     <dd class="shortdesc"><span></span><span class="desc">Writes content to address in the param memory segment. </span></dd>
                     <dt><span class="member_type"><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                           &nbsp;</span><span class="member_name">( *<a href="#group__READ_1g5c2e73cfe20e1985e803a64727d5cc57" shape="rect">writePinnedMemory</a> )(  uint64_t<span>&nbsp;</span><span class="keyword keyword apiItemName">addr</span>, const void*<span>&nbsp;</span><span class="keyword keyword apiItemName">buf</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sz</span> )</span></dt>
                     <dd class="shortdesc"><span></span><span class="desc">Writes content to pinned address in system memory. </span></dd>
                     <dt><span class="member_type"><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                           &nbsp;</span><span class="member_name">( *<a href="#group__READ_1gad1d9a24ec0c743af87882ce7b9ae342" shape="rect">writePredicates</a> )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">dev</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sm</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">wp</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">ln</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">predicates_size</span>, const uint32_t*<span>&nbsp;</span><span class="keyword keyword apiItemName">predicates</span> )</span></dt>
                     <dd class="shortdesc"><span></span><span class="desc">Writes content to hardware predicate registers. </span></dd>
                     <dt><span class="member_type"><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                           &nbsp;</span><span class="member_name">( *<a href="#group__WRITE_1ge3123cbb2278aa9adb6dabb01a5da6ef" shape="rect">writeRegister</a> )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">dev</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sm</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">wp</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">ln</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">regno</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">val</span> )</span></dt>
                     <dd class="shortdesc"><span></span><span class="desc">Writes content to a hardware register. </span></dd>
                     <dt><span class="member_type"><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                           &nbsp;</span><span class="member_name">( *<a href="#group__WRITE_1gec20ac438034a0a94f548ee9c1cf13cc" shape="rect">writeSharedMemory</a> )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">dev</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sm</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">wp</span>, uint64_t<span>&nbsp;</span><span class="keyword keyword apiItemName">addr</span>, const void*<span>&nbsp;</span><span class="keyword keyword apiItemName">buf</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sz</span> )</span></dt>
                     <dd class="shortdesc"><span></span><span class="desc">Writes content to address in the shared memory segment. </span></dd>
                  </dl>
                  <div class="description">
                     <h3 class="sectiontitle">Variables</h3>
                     <dl class="description">
                        <dt class="description"><a name="group__EVENT_1gc57ee455f01b5c30fde2892f915ab2c6" id="group__EVENT_1gc57ee455f01b5c30fde2892f915ab2c6" shape="rect">
                              <!-- --></a><span><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                              ( *<a href="structCUDBGAPI__st.html" title="The CUDA debugger API routines. " shape="rect">CUDBGAPI_st</a>::acknowledgeEvent30 )(  CUDBGEvent30*<span>&nbsp;</span><span class="keyword keyword apiItemName">event</span> )</span></dt>
                        <dd class="description">
                           <div class="section">
                              <p>Inform the debugger API that the event has been processed.  Since CUDA 3.0.</p>
                              <p class="p"></p>
                              <p class="p"></p>
                              <p class="p"></p>
                           </div>
                           <div class="section">
                              <h6 class="parameter_header">
                                 Parameters
                                 
                              </h6>
                              <dl class="table-display-params">
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">event</span></tt></dt>
                                 <dd>- pointer to the event that has been processed</dd>
                              </dl>
                           </div>
                           <div class="section">
                              <h6 class="return_header">Returns</h6>
                              <p class="return">CUDBG_SUCCESS </p>
                           </div>
                        </dd>
                        <dt class="description"><a name="group__EVENT_1g3824d048237dfa59600f3ab0b472df5a" id="group__EVENT_1g3824d048237dfa59600f3ab0b472df5a" shape="rect">
                              <!-- --></a><span><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                              ( *<a href="structCUDBGAPI__st.html" title="The CUDA debugger API routines. " shape="rect">CUDBGAPI_st</a>::acknowledgeEvents42 )(   )</span></dt>
                        <dd class="description">
                           <div class="section">
                              <p>Inform the debugger API that synchronous events have been processed.  Since CUDA 3.1.</p>
                              <p class="p"></p>
                              <p class="p"></p>
                           </div>
                           <div class="section">
                              <h6 class="return_header">Returns</h6>
                              <p class="return">CUDBG_SUCCESS </p>
                           </div>
                        </dd>
                        <dt class="description"><a name="group__EVENT_1g997714409a1a5cbfe5f38b2f9581259e" id="group__EVENT_1g997714409a1a5cbfe5f38b2f9581259e" shape="rect">
                              <!-- --></a><span><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                              ( *<a href="structCUDBGAPI__st.html" title="The CUDA debugger API routines. " shape="rect">CUDBGAPI_st</a>::acknowledgeSyncEvents )(   )</span></dt>
                        <dd class="description">
                           <div class="section">
                              <p>Inform the debugger API that synchronous events have been processed.  Since CUDA 5.0.</p>
                              <p class="p"></p>
                           </div>
                           <div class="section">
                              <h6 class="return_header">Returns</h6>
                              <p class="return">CUDBG_SUCCESS </p>
                           </div>
                        </dd>
                        <dt class="description"><a name="structCUDBGAPI__st_103f954eae9a972753e33229db7b88966" id="structCUDBGAPI__st_103f954eae9a972753e33229db7b88966" shape="rect">
                              <!-- --></a><span><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                              ( *<a href="structCUDBGAPI__st.html" title="The CUDA debugger API routines. " shape="rect">CUDBGAPI_st</a>::clearAttachState )(   )</span></dt>
                        <dd class="description">
                           <div class="section">
                              <p>Clear attach-specific state prior to detach.  Since CUDA 5.0.</p>
                              <p class="p"></p>
                           </div>
                           <div class="section">
                              <h6 class="return_header">Returns</h6>
                              <p class="return">CUDBG_SUCCESS </p>
                           </div>
                        </dd>
                        <dt class="description"><a name="group__DWARF_1g80726303817744dc098f79fde1e4b1b8" id="group__DWARF_1g80726303817744dc098f79fde1e4b1b8" shape="rect">
                              <!-- --></a><span><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                              ( *<a href="structCUDBGAPI__st.html" title="The CUDA debugger API routines. " shape="rect">CUDBGAPI_st</a>::disassemble )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">dev</span>, uint64_t<span>&nbsp;</span><span class="keyword keyword apiItemName">addr</span>, uint32_t*<span>&nbsp;</span><span class="keyword keyword apiItemName">instSize</span>, char*<span>&nbsp;</span><span class="keyword keyword apiItemName">buf</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sz</span> )</span></dt>
                        <dd class="description">
                           <div class="section">
                              <p>Disassemble instruction at instruction address.  Since CUDA 3.0.</p>
                              <p class="p"></p>
                              <p class="p"></p>
                           </div>
                           <div class="section">
                              <h6 class="parameter_header">
                                 Parameters
                                 
                              </h6>
                              <dl class="table-display-params">
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">dev</span></tt></dt>
                                 <dd>- device index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">addr</span></tt></dt>
                                 <dd>- instruction address </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">instSize</span></tt></dt>
                                 <dd>- instruction size (32 or 64 bits) </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">buf</span></tt></dt>
                                 <dd>- disassembled instruction buffer </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">sz</span></tt></dt>
                                 <dd>- disassembled instruction buffer size</dd>
                              </dl>
                           </div>
                           <div class="section">
                              <h6 class="return_header">Returns</h6>
                              <p class="return">CUDBG_SUCCESS, CUDBG_ERROR_INVALID_ARGS, CUDBG_ERROR_INVALID_DEVICE, CUDBG_ERROR_UNKNOWN </p>
                           </div>
                        </dd>
                        <dt class="description"><a name="group__INIT_1g5d9034bcaedc68a146077886f6f22f6e" id="group__INIT_1g5d9034bcaedc68a146077886f6f22f6e" shape="rect">
                              <!-- --></a><span><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                              ( *<a href="structCUDBGAPI__st.html" title="The CUDA debugger API routines. " shape="rect">CUDBGAPI_st</a>::finalize )(   )</span></dt>
                        <dd class="description">
                           <div class="section">
                              <p>Finalize the API and free all memory.  Since CUDA 3.0.</p>
                              <p class="p"></p>
                              <p class="p apiDesc_subtitle"><strong class="ph b">See also:</strong></p>
                              <p class="p see_subsection"><a class="xref" href="group__INIT.html#group__INIT_1g1bd5d76bdca38b707ea86d9202c47179" title="Initialize the API." shape="rect">initialize</a></p>
                              <p class="p"></p>
                           </div>
                           <div class="section">
                              <h6 class="return_header">Returns</h6>
                              <p class="return">CUDBG_SUCCESS, CUDBG_ERROR_UNINITIALIZED, CUDBG_ERROR_COMMUNICATION_FAILURE, CUDBG_ERROR_UNKNOWN</p>
                           </div>
                        </dd>
                        <dt class="description"><a name="group__BP_1g545ebebfb57559b68a3cc0c2c9556ec4" id="group__BP_1g545ebebfb57559b68a3cc0c2c9556ec4" shape="rect">
                              <!-- --></a><span><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                              ( *<a href="structCUDBGAPI__st.html" title="The CUDA debugger API routines. " shape="rect">CUDBGAPI_st</a>::getAdjustedCodeAddress )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">devId</span>, uint64_t<span>&nbsp;</span><span class="keyword keyword apiItemName">address</span>, uint64_t*<span>&nbsp;</span><span class="keyword keyword apiItemName">adjustedAddress</span>, CUDBGAdjAddrAction<span>&nbsp;</span><span class="keyword keyword apiItemName">adjAction</span> )</span></dt>
                        <dd class="description">
                           <div class="section">
                              <p>The client must call this function before inserting a breakpoint, or when the previous or next code address is needed. Returns
                                 the adjusted code address for a given code address for a given device.  Since CUDA 5.5.
                              </p>
                              <p class="p"></p>
                              <p class="p"></p>
                              <p class="p apiDesc_subtitle"><strong class="ph b">See also:</strong></p>
                              <p class="p see_subsection"><a class="xref" href="group__BP.html#group__BP_1g46e0c34336c746dbad091f18c9ace26e" title="Unsets a breakpoint at the given instruction address for the given device." shape="rect">unsetBreakpoint</a></p>
                              <p class="p"></p>
                           </div>
                           <div class="section">
                              <h6 class="parameter_header">
                                 Parameters
                                 
                              </h6>
                              <dl class="table-display-params">
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">devId</span></tt></dt>
                                 <dd>- the device index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">address</span></tt></dt>
                                 <dd></dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">adjustedAddress</span></tt></dt>
                                 <dd>- adjusted address </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">adjAction</span></tt></dt>
                                 <dd>- whether the adjusted next, previous or current address is needed</dd>
                              </dl>
                           </div>
                           <div class="section">
                              <h6 class="return_header">Returns</h6>
                              <p class="return">CUDBG_SUCCESS, CUDBG_ERROR_UNINITIALIZED, CUDBG_ERROR_INVALID_ADDRESS, CUDBG_ERROR_INVALID_DEVICE</p>
                           </div>
                        </dd>
                        <dt class="description"><a name="group__GRID_1g06e21287848c46c04af1e70dc6b0ba26" id="group__GRID_1g06e21287848c46c04af1e70dc6b0ba26" shape="rect">
                              <!-- --></a><span><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                              ( *<a href="structCUDBGAPI__st.html" title="The CUDA debugger API routines. " shape="rect">CUDBGAPI_st</a>::getBlockDim )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">dev</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sm</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">wp</span>, CuDim3*<span>&nbsp;</span><span class="keyword keyword apiItemName">blockDim</span> )</span></dt>
                        <dd class="description">
                           <div class="section">
                              <p>Get the number of threads in the given block.  Since CUDA 3.0.</p>
                              <p class="p"></p>
                              <p class="p"></p>
                              <p class="p apiDesc_subtitle"><strong class="ph b">See also:</strong></p>
                              <p class="p see_subsection"><a class="xref" href="group__GRID.html#group__GRID_1g62dc0a59cbc0a9a07cbdb8acb930c93f" title="Get the number of blocks in the given grid." shape="rect">getGridDim</a></p>
                              <p class="p"></p>
                           </div>
                           <div class="section">
                              <h6 class="parameter_header">
                                 Parameters
                                 
                              </h6>
                              <dl class="table-display-params">
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">dev</span></tt></dt>
                                 <dd>- device index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">sm</span></tt></dt>
                                 <dd>- SM index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">wp</span></tt></dt>
                                 <dd>- warp index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">blockDim</span></tt></dt>
                                 <dd>- the returned number of threads in the block</dd>
                              </dl>
                           </div>
                           <div class="section">
                              <h6 class="return_header">Returns</h6>
                              <p class="return">CUDBG_SUCCESS, CUDBG_ERROR_INVALID_ARGS, CUDBG_ERROR_INVALID_GRID, CUDBG_ERROR_UNINITIALIZED</p>
                           </div>
                        </dd>
                        <dt class="description"><a name="group__DEV_1g2123c9bd415c82109693ef22d0ae703a" id="group__DEV_1g2123c9bd415c82109693ef22d0ae703a" shape="rect">
                              <!-- --></a><span><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                              ( *<a href="structCUDBGAPI__st.html" title="The CUDA debugger API routines. " shape="rect">CUDBGAPI_st</a>::getDeviceName )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">dev</span>, char*<span>&nbsp;</span><span class="keyword keyword apiItemName">buf</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sz</span> )</span></dt>
                        <dd class="description">
                           <div class="section">
                              <p>Get the device name string.  Since CUDA 6.5.</p>
                              <p class="p"></p>
                              <p class="p"></p>
                              <p class="p apiDesc_subtitle"><strong class="ph b">See also:</strong></p>
                              <p class="p see_subsection">getSMType </p>
                              <p class="p see_subsection"><a class="xref" href="group__DEV.html#group__DEV_1g1c2d87f6e85a237a74c739e1062a7348" title="Get the string description of the device." shape="rect">getDeviceType</a></p>
                              <p class="p"></p>
                           </div>
                           <div class="section">
                              <h6 class="parameter_header">
                                 Parameters
                                 
                              </h6>
                              <dl class="table-display-params">
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">dev</span></tt></dt>
                                 <dd>- device index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">buf</span></tt></dt>
                                 <dd>- the destination buffer </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">sz</span></tt></dt>
                                 <dd>- the size of the buffer</dd>
                              </dl>
                           </div>
                           <div class="section">
                              <h6 class="return_header">Returns</h6>
                              <p class="return">CUDBG_SUCCESS, CUDBG_ERROR_BUFFER_TOO_SMALL, CUDBG_ERROR_INVALID_ARGS, CUDBG_ERROR_INVALID_DEVICE, CUDBG_ERROR_UNINITIALIZED</p>
                           </div>
                        </dd>
                        <dt class="description"><a name="structCUDBGAPI__st_1085970bfc4a9edde8e0e87f188afa06a" id="structCUDBGAPI__st_1085970bfc4a9edde8e0e87f188afa06a" shape="rect">
                              <!-- --></a><span><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                              ( *<a href="structCUDBGAPI__st.html" title="The CUDA debugger API routines. " shape="rect">CUDBGAPI_st</a>::getDevicePCIBusInfo )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">devId</span>, uint32_t*<span>&nbsp;</span><span class="keyword keyword apiItemName">pciBusId</span>, uint32_t*<span>&nbsp;</span><span class="keyword keyword apiItemName">pciDevId</span> )</span></dt>
                        <dd class="description">
                           <div class="section">
                              <p>Get PCI bus and device ids associated with device devId.  
                                 
                              </p>
                              <p class="p"></p>
                           </div>
                           <div class="section">
                              <h6 class="parameter_header">
                                 Parameters
                                 
                              </h6>
                              <dl class="table-display-params">
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">devId</span></tt></dt>
                                 <dd>- the cuda device id </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">pciBusId</span></tt></dt>
                                 <dd>- pointer where corresponding PCI BUS ID would be stored </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">pciDevId</span></tt></dt>
                                 <dd>- pointer where corresponding PCI DEVICE ID would be stored</dd>
                              </dl>
                           </div>
                           <div class="section">
                              <h6 class="return_header">Returns</h6>
                              <p class="return">CUDBG_ERROR_INVALID_ARGS, CUDBG_SUCCESS, CUDBG_ERROR_INVALID_DEVICE </p>
                           </div>
                        </dd>
                        <dt class="description"><a name="group__DEV_1g1c2d87f6e85a237a74c739e1062a7348" id="group__DEV_1g1c2d87f6e85a237a74c739e1062a7348" shape="rect">
                              <!-- --></a><span><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                              ( *<a href="structCUDBGAPI__st.html" title="The CUDA debugger API routines. " shape="rect">CUDBGAPI_st</a>::getDeviceType )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">dev</span>, char*<span>&nbsp;</span><span class="keyword keyword apiItemName">buf</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sz</span> )</span></dt>
                        <dd class="description">
                           <div class="section">
                              <p>Get the string description of the device.  Since CUDA 3.0.</p>
                              <p class="p"></p>
                              <p class="p"></p>
                              <p class="p apiDesc_subtitle"><strong class="ph b">See also:</strong></p>
                              <p class="p see_subsection">getSMType </p>
                              <p class="p"></p>
                           </div>
                           <div class="section">
                              <h6 class="parameter_header">
                                 Parameters
                                 
                              </h6>
                              <dl class="table-display-params">
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">dev</span></tt></dt>
                                 <dd>- device index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">buf</span></tt></dt>
                                 <dd>- the destination buffer </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">sz</span></tt></dt>
                                 <dd>- the size of the buffer</dd>
                              </dl>
                           </div>
                           <div class="section">
                              <h6 class="return_header">Returns</h6>
                              <p class="return">CUDBG_SUCCESS, CUDBG_ERROR_BUFFER_TOO_SMALL, CUDBG_ERROR_INVALID_ARGS, CUDBG_ERROR_INVALID_DEVICE, CUDBG_ERROR_UNINITIALIZED</p>
                           </div>
                        </dd>
                        <dt class="description"><a name="group__GRID_1gc6053e8472b9bb02b23eec2aa6195d3f" id="group__GRID_1gc6053e8472b9bb02b23eec2aa6195d3f" shape="rect">
                              <!-- --></a><span><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                              ( *<a href="structCUDBGAPI__st.html" title="The CUDA debugger API routines. " shape="rect">CUDBGAPI_st</a>::getElfImage )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">dev</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sm</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">wp</span>, bool <span>&nbsp;</span><span class="keyword keyword apiItemName">relocated</span>, void*<span>&nbsp;</span><span class="keyword keyword apiItemName">*elfImage</span>, uint64_t*<span>&nbsp;</span><span class="keyword keyword apiItemName">size</span> )</span></dt>
                        <dd class="description">
                           <div class="section">
                              <p>Get the relocated or non-relocated ELF image and size for the grid on the given device.  Since CUDA 4.0.</p>
                              <p class="p"></p>
                              <p class="p"></p>
                           </div>
                           <div class="section">
                              <h6 class="parameter_header">
                                 Parameters
                                 
                              </h6>
                              <dl class="table-display-params">
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">dev</span></tt></dt>
                                 <dd>- device index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">sm</span></tt></dt>
                                 <dd>- SM index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">wp</span></tt></dt>
                                 <dd>- warp index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">relocated</span></tt></dt>
                                 <dd>- set to true to specify the relocated ELF image, false otherwise </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">*elfImage</span></tt></dt>
                                 <dd>- pointer to the ELF image </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">size</span></tt></dt>
                                 <dd>- size of the ELF image (64 bits)</dd>
                              </dl>
                           </div>
                           <div class="section">
                              <h6 class="return_header">Returns</h6>
                              <p class="return">CUDBG_SUCCESS, CUDBG_ERROR_INVALID_ARGS, CUDBG_ERROR_INVALID_GRID, CUDBG_ERROR_UNINITIALIZED </p>
                           </div>
                        </dd>
                        <dt class="description"><a name="group__GRID_1gdda735fe23afd70e7b20df70d2259df3" id="group__GRID_1gdda735fe23afd70e7b20df70d2259df3" shape="rect">
                              <!-- --></a><span><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                              ( *<a href="structCUDBGAPI__st.html" title="The CUDA debugger API routines. " shape="rect">CUDBGAPI_st</a>::getElfImage32 )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">dev</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sm</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">wp</span>, bool <span>&nbsp;</span><span class="keyword keyword apiItemName">relocated</span>, void*<span>&nbsp;</span><span class="keyword keyword apiItemName">*elfImage</span>, uint32_t*<span>&nbsp;</span><span class="keyword keyword apiItemName">size</span> )</span></dt>
                        <dd class="description">
                           <div class="section">
                              <p>Get the relocated or non-relocated ELF image and size for the grid on the given device.  Since CUDA 3.0.</p>
                              <p class="p"></p>
                              <p class="p"></p>
                              <p class="p"></p>
                           </div>
                           <div class="section">
                              <h6 class="parameter_header">
                                 Parameters
                                 
                              </h6>
                              <dl class="table-display-params">
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">dev</span></tt></dt>
                                 <dd>- device index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">sm</span></tt></dt>
                                 <dd>- SM index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">wp</span></tt></dt>
                                 <dd>- warp index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">relocated</span></tt></dt>
                                 <dd>- set to true to specify the relocated ELF image, false otherwise </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">*elfImage</span></tt></dt>
                                 <dd>- pointer to the ELF image </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">size</span></tt></dt>
                                 <dd>- size of the ELF image (32 bits)</dd>
                              </dl>
                           </div>
                           <div class="section">
                              <h6 class="return_header">Returns</h6>
                              <p class="return">CUDBG_SUCCESS, CUDBG_ERROR_INVALID_ARGS, CUDBG_ERROR_INVALID_GRID, CUDBG_ERROR_UNINITIALIZED </p>
                           </div>
                        </dd>
                        <dt class="description"><a name="group__DWARF_1gb5bc313ab611a302aa214a94a960067e" id="group__DWARF_1gb5bc313ab611a302aa214a94a960067e" shape="rect">
                              <!-- --></a><span><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                              ( *<a href="structCUDBGAPI__st.html" title="The CUDA debugger API routines. " shape="rect">CUDBGAPI_st</a>::getElfImageByHandle )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">devId</span>, uint64_t<span>&nbsp;</span><span class="keyword keyword apiItemName">handle</span>, CUDBGElfImageType<span>&nbsp;</span><span class="keyword keyword apiItemName">type</span>, void*<span>&nbsp;</span><span class="keyword keyword apiItemName">elfImage</span>, uint64_t<span>&nbsp;</span><span class="keyword keyword apiItemName">size</span> )</span></dt>
                        <dd class="description">
                           <div class="section">
                              <p>Get the relocated or non-relocated ELF image for the given handle on the given device.  The handle is provided in the ELF
                                 Image Loaded notification event.
                              </p>
                              <p class="p">Since CUDA 6.0.</p>
                              <p class="p"></p>
                              <p class="p"></p>
                           </div>
                           <div class="section">
                              <h6 class="parameter_header">
                                 Parameters
                                 
                              </h6>
                              <dl class="table-display-params">
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">devId</span></tt></dt>
                                 <dd>- device index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">handle</span></tt></dt>
                                 <dd>- elf image handle </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">type</span></tt></dt>
                                 <dd>- type of the requested ELF image </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">elfImage</span></tt></dt>
                                 <dd>- pointer to the ELF image </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">size</span></tt></dt>
                                 <dd></dd>
                              </dl>
                           </div>
                           <div class="section">
                              <h6 class="return_header">Returns</h6>
                              <p class="return">CUDBG_SUCCESS, CUDBG_ERROR_INVALID_ARGS, CUDBG_ERROR_INVALID_DEVICE, CUDBG_ERROR_UNINITIALIZED </p>
                           </div>
                        </dd>
                        <dt class="description"><a name="group__GRID_1g92cfc2d9cd4d4a75159192871001bcaa" id="group__GRID_1g92cfc2d9cd4d4a75159192871001bcaa" shape="rect">
                              <!-- --></a><span><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                              ( *<a href="structCUDBGAPI__st.html" title="The CUDA debugger API routines. " shape="rect">CUDBGAPI_st</a>::getGridAttribute )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">dev</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sm</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">wp</span>, CUDBGAttribute<span>&nbsp;</span><span class="keyword keyword apiItemName">attr</span>, uint64_t*<span>&nbsp;</span><span class="keyword keyword apiItemName">value</span> )</span></dt>
                        <dd class="description">
                           <div class="section">
                              <p>Get the value of a grid attribute.  Since CUDA 3.1.</p>
                              <p class="p"></p>
                              <p class="p"></p>
                           </div>
                           <div class="section">
                              <h6 class="parameter_header">
                                 Parameters
                                 
                              </h6>
                              <dl class="table-display-params">
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">dev</span></tt></dt>
                                 <dd>- device index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">sm</span></tt></dt>
                                 <dd>- SM index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">wp</span></tt></dt>
                                 <dd>- warp index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">attr</span></tt></dt>
                                 <dd>- the attribute </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">value</span></tt></dt>
                                 <dd>- the returned value of the attribute</dd>
                              </dl>
                           </div>
                           <div class="section">
                              <h6 class="return_header">Returns</h6>
                              <p class="return">CUDBG_SUCCESS, CUDBG_ERROR_INVALID_ARGS, CUDBG_ERROR_INVALID_GRID, CUDBG_ERROR_INVALID_ATTRIBUTE, CUDBG_ERROR_UNINITIALIZED
                                 
                              </p>
                           </div>
                        </dd>
                        <dt class="description"><a name="group__GRID_1gf7e8cb09256c9cb5405e480a9cb4f193" id="group__GRID_1gf7e8cb09256c9cb5405e480a9cb4f193" shape="rect">
                              <!-- --></a><span><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                              ( *<a href="structCUDBGAPI__st.html" title="The CUDA debugger API routines. " shape="rect">CUDBGAPI_st</a>::getGridAttributes )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">dev</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sm</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">wp</span>, CUDBGAttributeValuePair*<span>&nbsp;</span><span class="keyword keyword apiItemName">pairs</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">numPairs</span> )</span></dt>
                        <dd class="description">
                           <div class="section">
                              <p>Get several grid attribute values in a single API call.  Since CUDA 3.1.</p>
                              <p class="p"></p>
                              <p class="p"></p>
                           </div>
                           <div class="section">
                              <h6 class="parameter_header">
                                 Parameters
                                 
                              </h6>
                              <dl class="table-display-params">
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">dev</span></tt></dt>
                                 <dd>- device index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">sm</span></tt></dt>
                                 <dd>- SM index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">wp</span></tt></dt>
                                 <dd>- warp index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">pairs</span></tt></dt>
                                 <dd>- array of attribute/value pairs </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">numPairs</span></tt></dt>
                                 <dd>- the number of attribute/values pairs in the array</dd>
                              </dl>
                           </div>
                           <div class="section">
                              <h6 class="return_header">Returns</h6>
                              <p class="return">CUDBG_SUCCESS, CUDBG_ERROR_INVALID_ARGS, CUDBG_ERROR_INVALID_GRID, CUDBG_ERROR_INVALID_ATTRIBUTE, CUDBG_ERROR_UNINITIALIZED
                                 
                              </p>
                           </div>
                        </dd>
                        <dt class="description"><a name="group__GRID_1g62dc0a59cbc0a9a07cbdb8acb930c93f" id="group__GRID_1g62dc0a59cbc0a9a07cbdb8acb930c93f" shape="rect">
                              <!-- --></a><span><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                              ( *<a href="structCUDBGAPI__st.html" title="The CUDA debugger API routines. " shape="rect">CUDBGAPI_st</a>::getGridDim )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">dev</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sm</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">wp</span>, CuDim3*<span>&nbsp;</span><span class="keyword keyword apiItemName">gridDim</span> )</span></dt>
                        <dd class="description">
                           <div class="section">
                              <p>Get the number of blocks in the given grid.  Since CUDA 4.0.</p>
                              <p class="p"></p>
                              <p class="p"></p>
                              <p class="p apiDesc_subtitle"><strong class="ph b">See also:</strong></p>
                              <p class="p see_subsection"><a class="xref" href="group__GRID.html#group__GRID_1g06e21287848c46c04af1e70dc6b0ba26" title="Get the number of threads in the given block." shape="rect">getBlockDim</a></p>
                              <p class="p"></p>
                           </div>
                           <div class="section">
                              <h6 class="parameter_header">
                                 Parameters
                                 
                              </h6>
                              <dl class="table-display-params">
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">dev</span></tt></dt>
                                 <dd>- device index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">sm</span></tt></dt>
                                 <dd>- SM index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">wp</span></tt></dt>
                                 <dd>- warp index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">gridDim</span></tt></dt>
                                 <dd>- the returned number of blocks in the grid</dd>
                              </dl>
                           </div>
                           <div class="section">
                              <h6 class="return_header">Returns</h6>
                              <p class="return">CUDBG_SUCCESS, CUDBG_ERROR_INVALID_ARGS, CUDBG_ERROR_INVALID_GRID, CUDBG_ERROR_UNINITIALIZED</p>
                           </div>
                        </dd>
                        <dt class="description"><a name="group__GRID_1g0b3d841328dc79b852f20893b72123ad" id="group__GRID_1g0b3d841328dc79b852f20893b72123ad" shape="rect">
                              <!-- --></a><span><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                              ( *<a href="structCUDBGAPI__st.html" title="The CUDA debugger API routines. " shape="rect">CUDBGAPI_st</a>::getGridDim32 )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">dev</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sm</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">wp</span>, CuDim2*<span>&nbsp;</span><span class="keyword keyword apiItemName">gridDim</span> )</span></dt>
                        <dd class="description">
                           <div class="section">
                              <p>Get the number of blocks in the given grid.  Since CUDA 3.0.</p>
                              <p class="p"></p>
                              <p class="p"></p>
                              <p class="p"></p>
                              <p class="p apiDesc_subtitle"><strong class="ph b">See also:</strong></p>
                              <p class="p see_subsection"><a class="xref" href="group__GRID.html#group__GRID_1g06e21287848c46c04af1e70dc6b0ba26" title="Get the number of threads in the given block." shape="rect">getBlockDim</a></p>
                              <p class="p"></p>
                           </div>
                           <div class="section">
                              <h6 class="parameter_header">
                                 Parameters
                                 
                              </h6>
                              <dl class="table-display-params">
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">dev</span></tt></dt>
                                 <dd>- device index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">sm</span></tt></dt>
                                 <dd>- SM index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">wp</span></tt></dt>
                                 <dd>- warp index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">gridDim</span></tt></dt>
                                 <dd>- the returned number of blocks in the grid</dd>
                              </dl>
                           </div>
                           <div class="section">
                              <h6 class="return_header">Returns</h6>
                              <p class="return">CUDBG_SUCCESS, CUDBG_ERROR_INVALID_ARGS, CUDBG_ERROR_INVALID_GRID, CUDBG_ERROR_UNINITIALIZED</p>
                           </div>
                        </dd>
                        <dt class="description"><a name="group__GRID_1gcbe47612bdf775af63ca5393ea3a7281" id="group__GRID_1gcbe47612bdf775af63ca5393ea3a7281" shape="rect">
                              <!-- --></a><span><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                              ( *<a href="structCUDBGAPI__st.html" title="The CUDA debugger API routines. " shape="rect">CUDBGAPI_st</a>::getGridInfo )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">dev</span>, uint64_t<span>&nbsp;</span><span class="keyword keyword apiItemName">gridId64</span>, CUDBGGridInfo*<span>&nbsp;</span><span class="keyword keyword apiItemName">gridInfo</span> )</span></dt>
                        <dd class="description">
                           <div class="section">
                              <p>Get information about the specified grid. If the context of the grid has already been destroyed, the function will return
                                 CUDBG_ERROR_INVALID_GRID, although the grid id is correct.  Since CUDA 5.5.
                              </p>
                              <p class="p"></p>
                              <p class="p"></p>
                           </div>
                           <div class="section">
                              <h6 class="parameter_header">
                                 Parameters
                                 
                              </h6>
                              <dl class="table-display-params">
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">dev</span></tt></dt>
                                 <dd></dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">gridId64</span></tt></dt>
                                 <dd></dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">gridInfo</span></tt></dt>
                                 <dd>- pointer to a client allocated structure in which grid info will be returned.</dd>
                              </dl>
                           </div>
                           <div class="section">
                              <h6 class="return_header">Returns</h6>
                              <p class="return">CUDBG_ERROR_INVALID_ARGS, CUDBG_ERROR_INVALID_GRID, CUDBG_SUCCESS </p>
                           </div>
                        </dd>
                        <dt class="description"><a name="group__GRID_1gd1ae3c5604d9e113855ee8620406aa88" id="group__GRID_1gd1ae3c5604d9e113855ee8620406aa88" shape="rect">
                              <!-- --></a><span><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                              ( *<a href="structCUDBGAPI__st.html" title="The CUDA debugger API routines. " shape="rect">CUDBGAPI_st</a>::getGridStatus )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">dev</span>, uint64_t<span>&nbsp;</span><span class="keyword keyword apiItemName">gridId64</span>, CUDBGGridStatus*<span>&nbsp;</span><span class="keyword keyword apiItemName">status</span> )</span></dt>
                        <dd class="description">
                           <div class="section">
                              <p>Check whether the grid corresponding to the given gridId is still present on the device.  Since CUDA 5.5.</p>
                              <p class="p"></p>
                              <p class="p"></p>
                           </div>
                           <div class="section">
                              <h6 class="parameter_header">
                                 Parameters
                                 
                              </h6>
                              <dl class="table-display-params">
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">dev</span></tt></dt>
                                 <dd></dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">gridId64</span></tt></dt>
                                 <dd>- 64-bit grid ID </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">status</span></tt></dt>
                                 <dd>- enum indicating whether the grid status is INVALID, PENDING, ACTIVE, SLEEPING, TERMINATED or UNDETERMINED</dd>
                              </dl>
                           </div>
                           <div class="section">
                              <h6 class="return_header">Returns</h6>
                              <p class="return">CUDBG_ERROR_INVALID_DEVICE, CUDBG_ERROR_INVALID_GRID, CUDBG_ERROR_INTERNAL </p>
                           </div>
                        </dd>
                        <dt class="description"><a name="group__GRID_1g9c4c2530636cb90bbc1d11ad70fba960" id="group__GRID_1g9c4c2530636cb90bbc1d11ad70fba960" shape="rect">
                              <!-- --></a><span><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                              ( *<a href="structCUDBGAPI__st.html" title="The CUDA debugger API routines. " shape="rect">CUDBGAPI_st</a>::getGridStatus50 )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">dev</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">gridId</span>, CUDBGGridStatus*<span>&nbsp;</span><span class="keyword keyword apiItemName">status</span> )</span></dt>
                        <dd class="description">
                           <div class="section">
                              <p>Check whether the grid corresponding to the given gridId is still present on the device.  Since CUDA 5.0.</p>
                              <p class="p"></p>
                              <p class="p"></p>
                              <p class="p"></p>
                           </div>
                           <div class="section">
                              <h6 class="parameter_header">
                                 Parameters
                                 
                              </h6>
                              <dl class="table-display-params">
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">dev</span></tt></dt>
                                 <dd></dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">gridId</span></tt></dt>
                                 <dd>- grid ID </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">status</span></tt></dt>
                                 <dd>- enum indicating whether the grid status is INVALID, PENDING, ACTIVE, SLEEPING, TERMINATED or UNDETERMINED</dd>
                              </dl>
                           </div>
                           <div class="section">
                              <h6 class="return_header">Returns</h6>
                              <p class="return">CUDBG_ERROR_INVALID_DEVICE, CUDBG_ERROR_INVALID_GRID, CUDBG_ERROR_INTERNAL </p>
                           </div>
                        </dd>
                        <dt class="description"><a name="group__DWARF_1g833c1562f67f05c9fbdd58ec417d01cc" id="group__DWARF_1g833c1562f67f05c9fbdd58ec417d01cc" shape="rect">
                              <!-- --></a><span><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                              ( *<a href="structCUDBGAPI__st.html" title="The CUDA debugger API routines. " shape="rect">CUDBGAPI_st</a>::getHostAddrFromDeviceAddr )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">dev</span>, uint64_t<span>&nbsp;</span><span class="keyword keyword apiItemName">device_addr</span>, uint64_t*<span>&nbsp;</span><span class="keyword keyword apiItemName">host_addr</span> )</span></dt>
                        <dd class="description">
                           <div class="section">
                              <p>given a device virtual address, return a corresponding system memory virtual address.  Since CUDA 4.1.</p>
                              <p class="p"></p>
                              <p class="p"></p>
                              <p class="p apiDesc_subtitle"><strong class="ph b">See also:</strong></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g132516a9f3750484f299d36328f6bf49" title="Reads content at an address in the generic address space. This function determines if the given address falls into the local, shared, or global memory window. It then accesses memory taking into account the hardware co-ordinates provided as inputs." shape="rect">readGenericMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__WRITE.html#group__WRITE_1gf5e9ec0bda0f5cbdd7135603a5987398" title="Writes content to an address in the generic address space. This function determines if the given address falls into the local, shared, or global memory window. It then accesses memory taking into account the hardware co-ordinates provided as inputs." shape="rect">writeGenericMemory</a></p>
                              <p class="p see_subsection"></p>
                              <p class="p"></p>
                           </div>
                           <div class="section">
                              <h6 class="parameter_header">
                                 Parameters
                                 
                              </h6>
                              <dl class="table-display-params">
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">dev</span></tt></dt>
                                 <dd>- device index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">device_addr</span></tt></dt>
                                 <dd>- device memory address </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">host_addr</span></tt></dt>
                                 <dd>- returned system memory address</dd>
                              </dl>
                           </div>
                           <div class="section">
                              <h6 class="return_header">Returns</h6>
                              <p class="return">CUDBG_SUCCESS, CUDBG_ERROR_INVALID_ARGS, CUDBG_ERROR_INVALID_DEVICE, CUDBG_ERROR_INVALID_CONTEXT, CUDBG_ERROR_INVALID_MEMORY_SEGMENT</p>
                           </div>
                        </dd>
                        <dt class="description"><a name="group__READ_1g2558a08f86f85b18a1efc2f7fe62a763" id="group__READ_1g2558a08f86f85b18a1efc2f7fe62a763" shape="rect">
                              <!-- --></a><span><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                              ( *<a href="structCUDBGAPI__st.html" title="The CUDA debugger API routines. " shape="rect">CUDBGAPI_st</a>::getManagedMemoryRegionInfo )(  uint64_t<span>&nbsp;</span><span class="keyword keyword apiItemName">startAddress</span>, CUDBGMemoryInfo*<span>&nbsp;</span><span class="keyword keyword apiItemName">memoryInfo</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">memoryInfo_size</span>, uint32_t*<span>&nbsp;</span><span class="keyword keyword apiItemName">numEntries</span> )</span></dt>
                        <dd class="description">
                           <div class="section">
                              <p>Returns a sorted list of managed memory regions The sorted list of memory regions starts from a region containing the specified
                                 starting address. If the starting address is set to 0, a sorted list of managed memory regions is returned which starts from
                                 the managed memory region with the lowest start address.  Since CUDA 6.0.
                              </p>
                              <p class="p"></p>
                              <p class="p"></p>
                           </div>
                           <div class="section">
                              <h6 class="parameter_header">
                                 Parameters
                                 
                              </h6>
                              <dl class="table-display-params">
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">startAddress</span></tt></dt>
                                 <dd>- The address that the first region in the list must contain. If the starting address is set to 0, the list of managed memory
                                    regions returned starts from the managed memory region with the lowest start address. 
                                 </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">memoryInfo</span></tt></dt>
                                 <dd>- Client-allocated array of memory region records of type CUDBGMemoryInfo. </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">memoryInfo_size</span></tt></dt>
                                 <dd>- Number of records of type CUDBGMemoryInfo that memoryInfo can hold. </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">numEntries</span></tt></dt>
                                 <dd>- Pointer to a client-allocated variable holding the number of valid entries retured in memoryInfo. Valid entries are continguous
                                    and start from memoryInfo[0].
                                 </dd>
                              </dl>
                           </div>
                           <div class="section">
                              <h6 class="return_header">Returns</h6>
                              <p class="return">CUDBG_SUCCESS, CUDBG_ERROR_INVALID_ARGS, CUDBG_ERROR_INVALID_ADDRESS, CUDBG_ERROR_INTERNAL </p>
                           </div>
                        </dd>
                        <dt class="description"><a name="group__EVENT_1g17a5e9c4e9824a0db3de8d9b2d3c851a" id="group__EVENT_1g17a5e9c4e9824a0db3de8d9b2d3c851a" shape="rect">
                              <!-- --></a><span><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                              ( *<a href="structCUDBGAPI__st.html" title="The CUDA debugger API routines. " shape="rect">CUDBGAPI_st</a>::getNextAsyncEvent50 )(  CUDBGEvent50*<span>&nbsp;</span><span class="keyword keyword apiItemName">event</span> )</span></dt>
                        <dd class="description">
                           <div class="section">
                              <p>Copies the next available event in the asynchronous event queue into 'event' and removes it from the queue. The asynchronous
                                 event queue is held separate from the normal event queue, and does not require acknowledgement from the debug client.  Since
                                 CUDA 5.0.
                              </p>
                              <p class="p"></p>
                              <p class="p"></p>
                              <p class="p"></p>
                           </div>
                           <div class="section">
                              <h6 class="parameter_header">
                                 Parameters
                                 
                              </h6>
                              <dl class="table-display-params">
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">event</span></tt></dt>
                                 <dd>- pointer to an event container where to copy the event parameters</dd>
                              </dl>
                           </div>
                           <div class="section">
                              <h6 class="return_header">Returns</h6>
                              <p class="return">CUDBG_SUCCESS, CUDBG_ERROR_NO_EVENT_AVAILABLE, CUDBG_ERROR_INVALID_ARGS </p>
                           </div>
                        </dd>
                        <dt class="description"><a name="group__EVENT_1g0e6f105b87ef7daa01b6e2cb11cf1070" id="group__EVENT_1g0e6f105b87ef7daa01b6e2cb11cf1070" shape="rect">
                              <!-- --></a><span><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                              ( *<a href="structCUDBGAPI__st.html" title="The CUDA debugger API routines. " shape="rect">CUDBGAPI_st</a>::getNextAsyncEvent55 )(  CUDBGEvent55*<span>&nbsp;</span><span class="keyword keyword apiItemName">event</span> )</span></dt>
                        <dd class="description">
                           <div class="section">
                              <p>Copies the next available event in the asynchronous event queue into 'event' and removes it from the queue. The asynchronous
                                 event queue is held separate from the normal event queue, and does not require acknowledgement from the debug client.  Since
                                 CUDA 5.5.
                              </p>
                              <p class="p"></p>
                              <p class="p"></p>
                           </div>
                           <div class="section">
                              <h6 class="parameter_header">
                                 Parameters
                                 
                              </h6>
                              <dl class="table-display-params">
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">event</span></tt></dt>
                                 <dd>- pointer to an event container where to copy the event parameters</dd>
                              </dl>
                           </div>
                           <div class="section">
                              <h6 class="return_header">Returns</h6>
                              <p class="return">CUDBG_SUCCESS, CUDBG_ERROR_NO_EVENT_AVAILABLE, CUDBG_ERROR_INVALID_ARGS </p>
                           </div>
                        </dd>
                        <dt class="description"><a name="group__EVENT_1g113afe93cd425b0ba69c96303354d130" id="group__EVENT_1g113afe93cd425b0ba69c96303354d130" shape="rect">
                              <!-- --></a><span><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                              ( *<a href="structCUDBGAPI__st.html" title="The CUDA debugger API routines. " shape="rect">CUDBGAPI_st</a>::getNextEvent )(  CUDBGEventQueueType<span>&nbsp;</span><span class="keyword keyword apiItemName">type</span>, CUDBGEvent*<span>&nbsp;</span><span class="keyword keyword apiItemName">event</span> )</span></dt>
                        <dd class="description">
                           <div class="section">
                              <p>Copies the next available event into 'event' and removes it from the queue.  Since CUDA 6.0.</p>
                              <p class="p"></p>
                              <p class="p"></p>
                           </div>
                           <div class="section">
                              <h6 class="parameter_header">
                                 Parameters
                                 
                              </h6>
                              <dl class="table-display-params">
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">type</span></tt></dt>
                                 <dd>- application event queue type </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">event</span></tt></dt>
                                 <dd>- pointer to an event container where to copy the event parameters</dd>
                              </dl>
                           </div>
                           <div class="section">
                              <h6 class="return_header">Returns</h6>
                              <p class="return">CUDBG_SUCCESS, CUDBG_ERROR_NO_EVENT_AVAILABLE, CUDBG_ERROR_INVALID_ARGS </p>
                           </div>
                        </dd>
                        <dt class="description"><a name="group__EVENT_1gd2e02121188a425db99c96601adcef11" id="group__EVENT_1gd2e02121188a425db99c96601adcef11" shape="rect">
                              <!-- --></a><span><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                              ( *<a href="structCUDBGAPI__st.html" title="The CUDA debugger API routines. " shape="rect">CUDBGAPI_st</a>::getNextEvent30 )(  CUDBGEvent30*<span>&nbsp;</span><span class="keyword keyword apiItemName">event</span> )</span></dt>
                        <dd class="description">
                           <div class="section">
                              <p>Copies the next available event in the event queue into 'event' and removes it from the queue.  Since CUDA 3.0.</p>
                              <p class="p"></p>
                              <p class="p"></p>
                              <p class="p"></p>
                           </div>
                           <div class="section">
                              <h6 class="parameter_header">
                                 Parameters
                                 
                              </h6>
                              <dl class="table-display-params">
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">event</span></tt></dt>
                                 <dd>- pointer to an event container where to copy the event parameters</dd>
                              </dl>
                           </div>
                           <div class="section">
                              <h6 class="return_header">Returns</h6>
                              <p class="return">CUDBG_SUCCESS, CUDBG_ERROR_NO_EVENT_AVAILABLE, CUDBG_ERROR_INVALID_ARGS </p>
                           </div>
                        </dd>
                        <dt class="description"><a name="group__EVENT_1gfc62ec61eb72b2c8726454c87c5c7bc9" id="group__EVENT_1gfc62ec61eb72b2c8726454c87c5c7bc9" shape="rect">
                              <!-- --></a><span><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                              ( *<a href="structCUDBGAPI__st.html" title="The CUDA debugger API routines. " shape="rect">CUDBGAPI_st</a>::getNextEvent32 )(  CUDBGEvent32*<span>&nbsp;</span><span class="keyword keyword apiItemName">event</span> )</span></dt>
                        <dd class="description">
                           <div class="section">
                              <p>Copies the next available event in the event queue into 'event' and removes it from the queue.  Since CUDA 3.1.</p>
                              <p class="p"></p>
                              <p class="p"></p>
                              <p class="p"></p>
                           </div>
                           <div class="section">
                              <h6 class="parameter_header">
                                 Parameters
                                 
                              </h6>
                              <dl class="table-display-params">
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">event</span></tt></dt>
                                 <dd>- pointer to an event container where to copy the event parameters</dd>
                              </dl>
                           </div>
                           <div class="section">
                              <h6 class="return_header">Returns</h6>
                              <p class="return">CUDBG_SUCCESS, CUDBG_ERROR_NO_EVENT_AVAILABLE, CUDBG_ERROR_INVALID_ARGS </p>
                           </div>
                        </dd>
                        <dt class="description"><a name="group__EVENT_1g57f8560ba1503ff21efbb9878ebfce74" id="group__EVENT_1g57f8560ba1503ff21efbb9878ebfce74" shape="rect">
                              <!-- --></a><span><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                              ( *<a href="structCUDBGAPI__st.html" title="The CUDA debugger API routines. " shape="rect">CUDBGAPI_st</a>::getNextEvent42 )(  CUDBGEvent42*<span>&nbsp;</span><span class="keyword keyword apiItemName">event</span> )</span></dt>
                        <dd class="description">
                           <div class="section">
                              <p>Copies the next available event in the event queue into 'event' and removes it from the queue.  Since CUDA 4.0.</p>
                              <p class="p"></p>
                              <p class="p"></p>
                              <p class="p"></p>
                           </div>
                           <div class="section">
                              <h6 class="parameter_header">
                                 Parameters
                                 
                              </h6>
                              <dl class="table-display-params">
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">event</span></tt></dt>
                                 <dd>- pointer to an event container where to copy the event parameters</dd>
                              </dl>
                           </div>
                           <div class="section">
                              <h6 class="return_header">Returns</h6>
                              <p class="return">CUDBG_SUCCESS, CUDBG_ERROR_NO_EVENT_AVAILABLE, CUDBG_ERROR_INVALID_ARGS </p>
                           </div>
                        </dd>
                        <dt class="description"><a name="group__EVENT_1g4bc1b4a1c0c38c02dba78778d27cee42" id="group__EVENT_1g4bc1b4a1c0c38c02dba78778d27cee42" shape="rect">
                              <!-- --></a><span><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                              ( *<a href="structCUDBGAPI__st.html" title="The CUDA debugger API routines. " shape="rect">CUDBGAPI_st</a>::getNextSyncEvent50 )(  CUDBGEvent50*<span>&nbsp;</span><span class="keyword keyword apiItemName">event</span> )</span></dt>
                        <dd class="description">
                           <div class="section">
                              <p> Since CUDA 5.0.</p>
                              <p class="p"></p>
                              <p class="p"></p>
                              <p class="p"></p>
                           </div>
                           <div class="section">
                              <h6 class="parameter_header">
                                 Parameters
                                 
                              </h6>
                              <dl class="table-display-params">
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">event</span></tt></dt>
                                 <dd>- pointer to an event container where to copy the event parameters</dd>
                              </dl>
                           </div>
                           <div class="section">
                              <h6 class="return_header">Returns</h6>
                              <p class="return">CUDBG_SUCCESS, CUDBG_ERROR_NO_EVENT_AVAILABLE, CUDBG_ERROR_INVALID_ARGS </p>
                           </div>
                        </dd>
                        <dt class="description"><a name="group__EVENT_1g9e22987974970932f39220a42e48bdad" id="group__EVENT_1g9e22987974970932f39220a42e48bdad" shape="rect">
                              <!-- --></a><span><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                              ( *<a href="structCUDBGAPI__st.html" title="The CUDA debugger API routines. " shape="rect">CUDBGAPI_st</a>::getNextSyncEvent55 )(  CUDBGEvent55*<span>&nbsp;</span><span class="keyword keyword apiItemName">event</span> )</span></dt>
                        <dd class="description">
                           <div class="section">
                              <p>Copies the next available event in the synchronous event queue into 'event' and removes it from the queue.  Since CUDA 5.5.</p>
                              <p class="p"></p>
                              <p class="p"></p>
                           </div>
                           <div class="section">
                              <h6 class="parameter_header">
                                 Parameters
                                 
                              </h6>
                              <dl class="table-display-params">
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">event</span></tt></dt>
                                 <dd>- pointer to an event container where to copy the event parameters</dd>
                              </dl>
                           </div>
                           <div class="section">
                              <h6 class="return_header">Returns</h6>
                              <p class="return">CUDBG_SUCCESS, CUDBG_ERROR_NO_EVENT_AVAILABLE, CUDBG_ERROR_INVALID_ARGS </p>
                           </div>
                        </dd>
                        <dt class="description"><a name="group__DEV_1g1bfcd3cf93014401c1db4110b5dc8a9d" id="group__DEV_1g1bfcd3cf93014401c1db4110b5dc8a9d" shape="rect">
                              <!-- --></a><span><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                              ( *<a href="structCUDBGAPI__st.html" title="The CUDA debugger API routines. " shape="rect">CUDBGAPI_st</a>::getNumDevices )(  uint32_t*<span>&nbsp;</span><span class="keyword keyword apiItemName">numDev</span> )</span></dt>
                        <dd class="description">
                           <div class="section">
                              <p>Get the number of installed CUDA devices.  Since CUDA 3.0.</p>
                              <p class="p"></p>
                              <p class="p"></p>
                              <p class="p apiDesc_subtitle"><strong class="ph b">See also:</strong></p>
                              <p class="p see_subsection"><a class="xref" href="group__DEV.html#group__DEV_1gd7d02ef07945eb4c1c28e805353729eb" title="Get the total number of SMs on the device." shape="rect">getNumSMs</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__DEV.html#group__DEV_1gbfc9e444d258dfe46f73f865376cf8c4" title="Get the number of warps per SM on the device." shape="rect">getNumWarps</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__DEV.html#group__DEV_1g7cb94e0487a627be666d1fd8be64ea93" title="Get the number of lanes per warp on the device." shape="rect">getNumLanes</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__DEV.html#group__DEV_1g8821309fa8574e1a1af1292068d8a14d" title="Get the number of registers per lane on the device." shape="rect">getNumRegisters</a></p>
                              <p class="p"></p>
                           </div>
                           <div class="section">
                              <h6 class="parameter_header">
                                 Parameters
                                 
                              </h6>
                              <dl class="table-display-params">
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">numDev</span></tt></dt>
                                 <dd>- the returned number of devices</dd>
                              </dl>
                           </div>
                           <div class="section">
                              <h6 class="return_header">Returns</h6>
                              <p class="return">CUDBG_SUCCESS, CUDBG_ERROR_INVALID_ARGS, CUDBG_ERROR_UNINITIALIZED</p>
                           </div>
                        </dd>
                        <dt class="description"><a name="group__DEV_1g7cb94e0487a627be666d1fd8be64ea93" id="group__DEV_1g7cb94e0487a627be666d1fd8be64ea93" shape="rect">
                              <!-- --></a><span><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                              ( *<a href="structCUDBGAPI__st.html" title="The CUDA debugger API routines. " shape="rect">CUDBGAPI_st</a>::getNumLanes )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">dev</span>, uint32_t*<span>&nbsp;</span><span class="keyword keyword apiItemName">numLanes</span> )</span></dt>
                        <dd class="description">
                           <div class="section">
                              <p>Get the number of lanes per warp on the device.  Since CUDA 3.0.</p>
                              <p class="p"></p>
                              <p class="p"></p>
                              <p class="p apiDesc_subtitle"><strong class="ph b">See also:</strong></p>
                              <p class="p see_subsection"><a class="xref" href="group__DEV.html#group__DEV_1g1bfcd3cf93014401c1db4110b5dc8a9d" title="Get the number of installed CUDA devices." shape="rect">getNumDevices</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__DEV.html#group__DEV_1gd7d02ef07945eb4c1c28e805353729eb" title="Get the total number of SMs on the device." shape="rect">getNumSMs</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__DEV.html#group__DEV_1gbfc9e444d258dfe46f73f865376cf8c4" title="Get the number of warps per SM on the device." shape="rect">getNumWarps</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__DEV.html#group__DEV_1g8821309fa8574e1a1af1292068d8a14d" title="Get the number of registers per lane on the device." shape="rect">getNumRegisters</a></p>
                              <p class="p"></p>
                           </div>
                           <div class="section">
                              <h6 class="parameter_header">
                                 Parameters
                                 
                              </h6>
                              <dl class="table-display-params">
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">dev</span></tt></dt>
                                 <dd>- device index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">numLanes</span></tt></dt>
                                 <dd>- the returned number of lanes</dd>
                              </dl>
                           </div>
                           <div class="section">
                              <h6 class="return_header">Returns</h6>
                              <p class="return">CUDBG_SUCCESS, CUDBG_ERROR_INVALID_ARGS, CUDBG_ERROR_INVALID_DEVICE, CUDBG_ERROR_UNINITIALIZED</p>
                           </div>
                        </dd>
                        <dt class="description"><a name="group__DEV_1g3133677d6cf3b0719dbcad3bcf131bae" id="group__DEV_1g3133677d6cf3b0719dbcad3bcf131bae" shape="rect">
                              <!-- --></a><span><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                              ( *<a href="structCUDBGAPI__st.html" title="The CUDA debugger API routines. " shape="rect">CUDBGAPI_st</a>::getNumPredicates )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">dev</span>, uint32_t*<span>&nbsp;</span><span class="keyword keyword apiItemName">numPredicates</span> )</span></dt>
                        <dd class="description">
                           <div class="section">
                              <p>Get the number of predicate registers per lane on the device.  Since CUDA 6.5.</p>
                              <p class="p"></p>
                              <p class="p"></p>
                              <p class="p apiDesc_subtitle"><strong class="ph b">See also:</strong></p>
                              <p class="p see_subsection"><a class="xref" href="group__DEV.html#group__DEV_1g1bfcd3cf93014401c1db4110b5dc8a9d" title="Get the number of installed CUDA devices." shape="rect">getNumDevices</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__DEV.html#group__DEV_1gd7d02ef07945eb4c1c28e805353729eb" title="Get the total number of SMs on the device." shape="rect">getNumSMs</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__DEV.html#group__DEV_1gbfc9e444d258dfe46f73f865376cf8c4" title="Get the number of warps per SM on the device." shape="rect">getNumWarps</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__DEV.html#group__DEV_1g7cb94e0487a627be666d1fd8be64ea93" title="Get the number of lanes per warp on the device." shape="rect">getNumLanes</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__DEV.html#group__DEV_1g8821309fa8574e1a1af1292068d8a14d" title="Get the number of registers per lane on the device." shape="rect">getNumRegisters</a></p>
                              <p class="p"></p>
                           </div>
                           <div class="section">
                              <h6 class="parameter_header">
                                 Parameters
                                 
                              </h6>
                              <dl class="table-display-params">
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">dev</span></tt></dt>
                                 <dd>- device index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">numPredicates</span></tt></dt>
                                 <dd>- the returned number of predicate registers</dd>
                              </dl>
                           </div>
                           <div class="section">
                              <h6 class="return_header">Returns</h6>
                              <p class="return">CUDBG_SUCCESS, CUDBG_ERROR_INVALID_ARGS, CUDBG_ERROR_INVALID_DEVICE, CUDBG_ERROR_UNINITIALIZED</p>
                           </div>
                        </dd>
                        <dt class="description"><a name="group__DEV_1g8821309fa8574e1a1af1292068d8a14d" id="group__DEV_1g8821309fa8574e1a1af1292068d8a14d" shape="rect">
                              <!-- --></a><span><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                              ( *<a href="structCUDBGAPI__st.html" title="The CUDA debugger API routines. " shape="rect">CUDBGAPI_st</a>::getNumRegisters )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">dev</span>, uint32_t*<span>&nbsp;</span><span class="keyword keyword apiItemName">numRegs</span> )</span></dt>
                        <dd class="description">
                           <div class="section">
                              <p>Get the number of registers per lane on the device.  Since CUDA 3.0.</p>
                              <p class="p"></p>
                              <p class="p"></p>
                              <p class="p apiDesc_subtitle"><strong class="ph b">See also:</strong></p>
                              <p class="p see_subsection"><a class="xref" href="group__DEV.html#group__DEV_1g1bfcd3cf93014401c1db4110b5dc8a9d" title="Get the number of installed CUDA devices." shape="rect">getNumDevices</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__DEV.html#group__DEV_1gd7d02ef07945eb4c1c28e805353729eb" title="Get the total number of SMs on the device." shape="rect">getNumSMs</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__DEV.html#group__DEV_1gbfc9e444d258dfe46f73f865376cf8c4" title="Get the number of warps per SM on the device." shape="rect">getNumWarps</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__DEV.html#group__DEV_1g7cb94e0487a627be666d1fd8be64ea93" title="Get the number of lanes per warp on the device." shape="rect">getNumLanes</a></p>
                              <p class="p"></p>
                           </div>
                           <div class="section">
                              <h6 class="parameter_header">
                                 Parameters
                                 
                              </h6>
                              <dl class="table-display-params">
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">dev</span></tt></dt>
                                 <dd>- device index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">numRegs</span></tt></dt>
                                 <dd>- the returned number of registers</dd>
                              </dl>
                           </div>
                           <div class="section">
                              <h6 class="return_header">Returns</h6>
                              <p class="return">CUDBG_SUCCESS, CUDBG_ERROR_INVALID_ARGS, CUDBG_ERROR_INVALID_DEVICE, CUDBG_ERROR_UNINITIALIZED</p>
                           </div>
                        </dd>
                        <dt class="description"><a name="group__DEV_1gd7d02ef07945eb4c1c28e805353729eb" id="group__DEV_1gd7d02ef07945eb4c1c28e805353729eb" shape="rect">
                              <!-- --></a><span><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                              ( *<a href="structCUDBGAPI__st.html" title="The CUDA debugger API routines. " shape="rect">CUDBGAPI_st</a>::getNumSMs )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">dev</span>, uint32_t*<span>&nbsp;</span><span class="keyword keyword apiItemName">numSMs</span> )</span></dt>
                        <dd class="description">
                           <div class="section">
                              <p>Get the total number of SMs on the device.  Since CUDA 3.0.</p>
                              <p class="p"></p>
                              <p class="p"></p>
                              <p class="p apiDesc_subtitle"><strong class="ph b">See also:</strong></p>
                              <p class="p see_subsection"><a class="xref" href="group__DEV.html#group__DEV_1g1bfcd3cf93014401c1db4110b5dc8a9d" title="Get the number of installed CUDA devices." shape="rect">getNumDevices</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__DEV.html#group__DEV_1gbfc9e444d258dfe46f73f865376cf8c4" title="Get the number of warps per SM on the device." shape="rect">getNumWarps</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__DEV.html#group__DEV_1g7cb94e0487a627be666d1fd8be64ea93" title="Get the number of lanes per warp on the device." shape="rect">getNumLanes</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__DEV.html#group__DEV_1g8821309fa8574e1a1af1292068d8a14d" title="Get the number of registers per lane on the device." shape="rect">getNumRegisters</a></p>
                              <p class="p"></p>
                           </div>
                           <div class="section">
                              <h6 class="parameter_header">
                                 Parameters
                                 
                              </h6>
                              <dl class="table-display-params">
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">dev</span></tt></dt>
                                 <dd>- device index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">numSMs</span></tt></dt>
                                 <dd>- the returned number of SMs</dd>
                              </dl>
                           </div>
                           <div class="section">
                              <h6 class="return_header">Returns</h6>
                              <p class="return">CUDBG_SUCCESS, CUDBG_ERROR_INVALID_ARGS, CUDBG_ERROR_INVALID_DEVICE, CUDBG_ERROR_UNINITIALIZED</p>
                           </div>
                        </dd>
                        <dt class="description"><a name="group__DEV_1gbfc9e444d258dfe46f73f865376cf8c4" id="group__DEV_1gbfc9e444d258dfe46f73f865376cf8c4" shape="rect">
                              <!-- --></a><span><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                              ( *<a href="structCUDBGAPI__st.html" title="The CUDA debugger API routines. " shape="rect">CUDBGAPI_st</a>::getNumWarps )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">dev</span>, uint32_t*<span>&nbsp;</span><span class="keyword keyword apiItemName">numWarps</span> )</span></dt>
                        <dd class="description">
                           <div class="section">
                              <p>Get the number of warps per SM on the device.  Since CUDA 3.0.</p>
                              <p class="p"></p>
                              <p class="p"></p>
                              <p class="p apiDesc_subtitle"><strong class="ph b">See also:</strong></p>
                              <p class="p see_subsection"><a class="xref" href="group__DEV.html#group__DEV_1g1bfcd3cf93014401c1db4110b5dc8a9d" title="Get the number of installed CUDA devices." shape="rect">getNumDevices</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__DEV.html#group__DEV_1gd7d02ef07945eb4c1c28e805353729eb" title="Get the total number of SMs on the device." shape="rect">getNumSMs</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__DEV.html#group__DEV_1g7cb94e0487a627be666d1fd8be64ea93" title="Get the number of lanes per warp on the device." shape="rect">getNumLanes</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__DEV.html#group__DEV_1g8821309fa8574e1a1af1292068d8a14d" title="Get the number of registers per lane on the device." shape="rect">getNumRegisters</a></p>
                              <p class="p"></p>
                           </div>
                           <div class="section">
                              <h6 class="parameter_header">
                                 Parameters
                                 
                              </h6>
                              <dl class="table-display-params">
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">dev</span></tt></dt>
                                 <dd>- device index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">numWarps</span></tt></dt>
                                 <dd>- the returned number of warps</dd>
                              </dl>
                           </div>
                           <div class="section">
                              <h6 class="return_header">Returns</h6>
                              <p class="return">CUDBG_SUCCESS, CUDBG_ERROR_INVALID_ARGS, CUDBG_ERROR_INVALID_DEVICE, CUDBG_ERROR_UNINITIALIZED</p>
                           </div>
                        </dd>
                        <dt class="description"><a name="group__DWARF_1g026307b7c5c90f07094fb8c20116f1f1" id="group__DWARF_1g026307b7c5c90f07094fb8c20116f1f1" shape="rect">
                              <!-- --></a><span><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                              ( *<a href="structCUDBGAPI__st.html" title="The CUDA debugger API routines. " shape="rect">CUDBGAPI_st</a>::getPhysicalRegister30 )(  uint64_t<span>&nbsp;</span><span class="keyword keyword apiItemName">pc</span>, char*<span>&nbsp;</span><span class="keyword keyword apiItemName">reg</span>, uint32_t*<span>&nbsp;</span><span class="keyword keyword apiItemName">buf</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sz</span>, uint32_t*<span>&nbsp;</span><span class="keyword keyword apiItemName">numPhysRegs</span>, CUDBGRegClass*<span>&nbsp;</span><span class="keyword keyword apiItemName">regClass</span> )</span></dt>
                        <dd class="description">
                           <div class="section">
                              <p>Get the physical register number(s) assigned to a virtual register name 'reg' at a given PC, if 'reg' is live at that PC.
                                 Since CUDA 3.0.
                              </p>
                              <p class="p"></p>
                              <p class="p"></p>
                              <p class="p"></p>
                           </div>
                           <div class="section">
                              <h6 class="parameter_header">
                                 Parameters
                                 
                              </h6>
                              <dl class="table-display-params">
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">pc</span></tt></dt>
                                 <dd>- Program counter </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">reg</span></tt></dt>
                                 <dd>- virtual register index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">buf</span></tt></dt>
                                 <dd>- physical register name(s) </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">sz</span></tt></dt>
                                 <dd>- the physical register name buffer size </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">numPhysRegs</span></tt></dt>
                                 <dd>- number of physical register names returned </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">regClass</span></tt></dt>
                                 <dd>- the class of the physical registers</dd>
                              </dl>
                           </div>
                           <div class="section">
                              <h6 class="return_header">Returns</h6>
                              <p class="return">CUDBG_SUCCESS, CUDBG_ERROR_INVALID_ARGS, CUDBG_ERROR_UKNOWN_FUNCTION, CUDBG_ERROR_UNKNOWN </p>
                           </div>
                        </dd>
                        <dt class="description"><a name="group__DWARF_1g754fb566179e807136f6d9571497fa18" id="group__DWARF_1g754fb566179e807136f6d9571497fa18" shape="rect">
                              <!-- --></a><span><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                              ( *<a href="structCUDBGAPI__st.html" title="The CUDA debugger API routines. " shape="rect">CUDBGAPI_st</a>::getPhysicalRegister40 )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">dev</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sm</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">wp</span>, uint64_t<span>&nbsp;</span><span class="keyword keyword apiItemName">pc</span>, char*<span>&nbsp;</span><span class="keyword keyword apiItemName">reg</span>, uint32_t*<span>&nbsp;</span><span class="keyword keyword apiItemName">buf</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sz</span>, uint32_t*<span>&nbsp;</span><span class="keyword keyword apiItemName">numPhysRegs</span>, CUDBGRegClass*<span>&nbsp;</span><span class="keyword keyword apiItemName">regClass</span> )</span></dt>
                        <dd class="description">
                           <div class="section">
                              <p>Get the physical register number(s) assigned to a virtual register name 'reg' at a given PC, if 'reg' is live at that PC.
                                 Get the physical register number(s) assigned to a virtual register name 'reg' at a given PC, if 'reg' is live at that PC.
                                 If a virtual register name is mapped to more than one physical register, the physical register with the lowest physical register
                                 index will contain the highest bits of the virtual register, and the physical register with the highest physical register
                                 index will contain the lowest bits.
                              </p>
                              <p class="p">Since CUDA 3.1.</p>
                              <p class="p"></p>
                              <p class="p"></p>
                              <p class="p"></p>
                           </div>
                           <div class="section">
                              <h6 class="parameter_header">
                                 Parameters
                                 
                              </h6>
                              <dl class="table-display-params">
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">dev</span></tt></dt>
                                 <dd>- device index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">sm</span></tt></dt>
                                 <dd>- SM index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">wp</span></tt></dt>
                                 <dd>- warp indx </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">pc</span></tt></dt>
                                 <dd>- Program counter </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">reg</span></tt></dt>
                                 <dd>- virtual register index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">buf</span></tt></dt>
                                 <dd>- physical register name(s) </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">sz</span></tt></dt>
                                 <dd>- the physical register name buffer size </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">numPhysRegs</span></tt></dt>
                                 <dd>- number of physical register names returned </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">regClass</span></tt></dt>
                                 <dd>- the class of the physical registers</dd>
                              </dl>
                           </div>
                           <div class="section">
                              <h6 class="return_header">Returns</h6>
                              <p class="return">CUDBG_SUCCESS, CUDBG_ERROR_INVALID_ARGS, CUDBG_ERROR_UKNOWN_FUNCTION, CUDBG_ERROR_UNKNOWN </p>
                           </div>
                        </dd>
                        <dt class="description"><a name="group__DEV_1gf265d6f84db7102134d552126d009fe6" id="group__DEV_1gf265d6f84db7102134d552126d009fe6" shape="rect">
                              <!-- --></a><span><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                              ( *<a href="structCUDBGAPI__st.html" title="The CUDA debugger API routines. " shape="rect">CUDBGAPI_st</a>::getSmType )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">dev</span>, char*<span>&nbsp;</span><span class="keyword keyword apiItemName">buf</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sz</span> )</span></dt>
                        <dd class="description">
                           <div class="section">
                              <p>Get the SM type of the device.  Since CUDA 3.0.</p>
                              <p class="p"></p>
                              <p class="p"></p>
                              <p class="p apiDesc_subtitle"><strong class="ph b">See also:</strong></p>
                              <p class="p see_subsection"><a class="xref" href="group__DEV.html#group__DEV_1g1c2d87f6e85a237a74c739e1062a7348" title="Get the string description of the device." shape="rect">getDeviceType</a></p>
                              <p class="p"></p>
                           </div>
                           <div class="section">
                              <h6 class="parameter_header">
                                 Parameters
                                 
                              </h6>
                              <dl class="table-display-params">
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">dev</span></tt></dt>
                                 <dd>- device index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">buf</span></tt></dt>
                                 <dd>- the destination buffer </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">sz</span></tt></dt>
                                 <dd>- the size of the buffer</dd>
                              </dl>
                           </div>
                           <div class="section">
                              <h6 class="return_header">Returns</h6>
                              <p class="return">CUDBG_SUCCESS, CUDBG_ERROR_BUFFER_TOO_SMALL, CUDBG_ERROR_INVALID_ARGS, CUDBG_ERROR_INVALID_DEVICE, CUDBG_ERROR_UNINITIALIZED</p>
                           </div>
                        </dd>
                        <dt class="description"><a name="group__GRID_1ge5eb7bdedae26df688d84dd4e2d3c441" id="group__GRID_1ge5eb7bdedae26df688d84dd4e2d3c441" shape="rect">
                              <!-- --></a><span><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                              ( *<a href="structCUDBGAPI__st.html" title="The CUDA debugger API routines. " shape="rect">CUDBGAPI_st</a>::getTID )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">dev</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sm</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">wp</span>, uint32_t*<span>&nbsp;</span><span class="keyword keyword apiItemName">tid</span> )</span></dt>
                        <dd class="description">
                           <div class="section">
                              <p>Get the ID of the Linux thread hosting the context of the grid.  Since CUDA 3.0.</p>
                              <p class="p"></p>
                              <p class="p"></p>
                           </div>
                           <div class="section">
                              <h6 class="parameter_header">
                                 Parameters
                                 
                              </h6>
                              <dl class="table-display-params">
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">dev</span></tt></dt>
                                 <dd>- device index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">sm</span></tt></dt>
                                 <dd>- SM index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">wp</span></tt></dt>
                                 <dd>- warp index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">tid</span></tt></dt>
                                 <dd>- the returned thread id</dd>
                              </dl>
                           </div>
                           <div class="section">
                              <h6 class="return_header">Returns</h6>
                              <p class="return">CUDBG_SUCCESS, CUDBG_ERROR_INVALID_ARGS, CUDBG_ERROR_INVALID_GRID, CUDBG_ERROR_UNINITIALIZED </p>
                           </div>
                        </dd>
                        <dt class="description"><a name="group__INIT_1g1bd5d76bdca38b707ea86d9202c47179" id="group__INIT_1g1bd5d76bdca38b707ea86d9202c47179" shape="rect">
                              <!-- --></a><span><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                              ( *<a href="structCUDBGAPI__st.html" title="The CUDA debugger API routines. " shape="rect">CUDBGAPI_st</a>::initialize )(   )</span></dt>
                        <dd class="description">
                           <div class="section">
                              <p>Initialize the API.  Since CUDA 3.0.</p>
                              <p class="p"></p>
                              <p class="p apiDesc_subtitle"><strong class="ph b">See also:</strong></p>
                              <p class="p see_subsection"><a class="xref" href="group__INIT.html#group__INIT_1g5d9034bcaedc68a146077886f6f22f6e" title="Finalize the API and free all memory." shape="rect">finalize</a></p>
                              <p class="p"></p>
                           </div>
                           <div class="section">
                              <h6 class="return_header">Returns</h6>
                              <p class="return">CUDBG_SUCCESS, CUDBG_ERROR_UNKNOWN</p>
                           </div>
                        </dd>
                        <dt class="description"><a name="structCUDBGAPI__st_1377d2769687f7ae93dd27312bfcb6038" id="structCUDBGAPI__st_1377d2769687f7ae93dd27312bfcb6038" shape="rect">
                              <!-- --></a><span><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                              ( *<a href="structCUDBGAPI__st.html" title="The CUDA debugger API routines. " shape="rect">CUDBGAPI_st</a>::initializeAttachStub )(   )</span></dt>
                        <dd class="description">
                           <div class="section">
                              <p>Initialize the attach stub.  Since CUDA 5.0.</p>
                              <p class="p"></p>
                           </div>
                           <div class="section">
                              <h6 class="return_header">Returns</h6>
                              <p class="return">CUDBG_SUCCESS </p>
                           </div>
                        </dd>
                        <dt class="description"><a name="group__DWARF_1gb590b6e4de3fba2f134f304b4fe201ce" id="group__DWARF_1gb590b6e4de3fba2f134f304b4fe201ce" shape="rect">
                              <!-- --></a><span><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                              ( *<a href="structCUDBGAPI__st.html" title="The CUDA debugger API routines. " shape="rect">CUDBGAPI_st</a>::isDeviceCodeAddress )(  uintptr_t<span>&nbsp;</span><span class="keyword keyword apiItemName">addr</span>, bool*<span>&nbsp;</span><span class="keyword keyword apiItemName">isDeviceAddress</span> )</span></dt>
                        <dd class="description">
                           <div class="section">
                              <p>Determines whether a virtual address resides within device code.  Since CUDA 3.0.</p>
                              <p class="p"></p>
                              <p class="p"></p>
                           </div>
                           <div class="section">
                              <h6 class="parameter_header">
                                 Parameters
                                 
                              </h6>
                              <dl class="table-display-params">
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">addr</span></tt></dt>
                                 <dd>- virtual address </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">isDeviceAddress</span></tt></dt>
                                 <dd>- true if address resides within device code</dd>
                              </dl>
                           </div>
                           <div class="section">
                              <h6 class="return_header">Returns</h6>
                              <p class="return">CUDBG_ERROR_INVALID_ARGS, CUDBG_ERROR_UNINITIALIZED, CUDBG_SUCCESS </p>
                           </div>
                        </dd>
                        <dt class="description"><a name="group__DWARF_1ga8c708428aeed1f270b90168d9455b1b" id="group__DWARF_1ga8c708428aeed1f270b90168d9455b1b" shape="rect">
                              <!-- --></a><span><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                              ( *<a href="structCUDBGAPI__st.html" title="The CUDA debugger API routines. " shape="rect">CUDBGAPI_st</a>::isDeviceCodeAddress55 )(  uintptr_t<span>&nbsp;</span><span class="keyword keyword apiItemName">addr</span>, bool*<span>&nbsp;</span><span class="keyword keyword apiItemName">isDeviceAddress</span> )</span></dt>
                        <dd class="description">
                           <div class="section">
                              <p>Determines whether a virtual address resides within device code. This API is strongly deprecated. Use CUDBGAPI_st::isDeviceCodeAddress
                                 instead.  Since CUDA 3.0.
                              </p>
                              <p class="p"></p>
                              <p class="p"></p>
                              <p class="p"></p>
                           </div>
                           <div class="section">
                              <h6 class="parameter_header">
                                 Parameters
                                 
                              </h6>
                              <dl class="table-display-params">
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">addr</span></tt></dt>
                                 <dd>- virtual address </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">isDeviceAddress</span></tt></dt>
                                 <dd>- true if address resides within device code</dd>
                              </dl>
                           </div>
                           <div class="section">
                              <h6 class="return_header">Returns</h6>
                              <p class="return">CUDBG_ERROR_INVALID_ARGS, CUDBG_ERROR_UNINITIALIZED, CUDBG_SUCCESS </p>
                           </div>
                        </dd>
                        <dt class="description"><a name="group__DWARF_1gee489c2a457b29a1aa213cda4168b2ba" id="group__DWARF_1gee489c2a457b29a1aa213cda4168b2ba" shape="rect">
                              <!-- --></a><span><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                              ( *<a href="structCUDBGAPI__st.html" title="The CUDA debugger API routines. " shape="rect">CUDBGAPI_st</a>::lookupDeviceCodeSymbol )(  char*<span>&nbsp;</span><span class="keyword keyword apiItemName">symName</span>, bool*<span>&nbsp;</span><span class="keyword keyword apiItemName">symFound</span>, uintptr_t*<span>&nbsp;</span><span class="keyword keyword apiItemName">symAddr</span> )</span></dt>
                        <dd class="description">
                           <div class="section">
                              <p>Determines whether a symbol represents a function in device code and returns its virtual address.  Since CUDA 3.0.</p>
                              <p class="p"></p>
                              <p class="p"></p>
                           </div>
                           <div class="section">
                              <h6 class="parameter_header">
                                 Parameters
                                 
                              </h6>
                              <dl class="table-display-params">
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">symName</span></tt></dt>
                                 <dd>- symbol name </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">symFound</span></tt></dt>
                                 <dd>- set to true if the symbol is found </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">symAddr</span></tt></dt>
                                 <dd>- the symbol virtual address if found</dd>
                              </dl>
                           </div>
                           <div class="section">
                              <h6 class="return_header">Returns</h6>
                              <p class="return">CUDBG_ERROR_INVALID_ARGS, CUDBG_ERROR_UNINITIALIZED, CUDBG_SUCCESS </p>
                           </div>
                        </dd>
                        <dt class="description"><a name="group__READ_1g0de820d7ed30402b1f4155ce65b3dd3b" id="group__READ_1g0de820d7ed30402b1f4155ce65b3dd3b" shape="rect">
                              <!-- --></a><span><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                              ( *<a href="structCUDBGAPI__st.html" title="The CUDA debugger API routines. " shape="rect">CUDBGAPI_st</a>::memcheckReadErrorAddress )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">dev</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sm</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">wp</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">ln</span>, uint64_t*<span>&nbsp;</span><span class="keyword keyword apiItemName">address</span>, ptxStorageKind*<span>&nbsp;</span><span class="keyword keyword apiItemName">storage</span> )</span></dt>
                        <dd class="description">
                           <div class="section">
                              <p>Get the address that memcheck detected an error on.  Since CUDA 5.0.</p>
                              <p class="p"></p>
                              <p class="p"></p>
                           </div>
                           <div class="section">
                              <h6 class="parameter_header">
                                 Parameters
                                 
                              </h6>
                              <dl class="table-display-params">
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">dev</span></tt></dt>
                                 <dd>- device index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">sm</span></tt></dt>
                                 <dd>- SM index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">wp</span></tt></dt>
                                 <dd>- warp index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">ln</span></tt></dt>
                                 <dd>- lane index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">address</span></tt></dt>
                                 <dd>- returned address detected by memcheck </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">storage</span></tt></dt>
                                 <dd>- returned address class of address</dd>
                              </dl>
                           </div>
                           <div class="section">
                              <h6 class="return_header">Returns</h6>
                              <p class="return">CUDBG_ERROR_INVALID_ARGS, CUDBG_ERROR_INVALID_DEVICE, CUDBG_ERROR_INVALID_LANE, CUDBG_ERROR_INVALID_SM, CUDBG_ERROR_INVALID_WARP,
                                 CUDBG_ERROR_UNINITIALIZED, CUDBG_ERROR_MEMCHECK_NOT_ENABLED, CUDBG_SUCCESS 
                              </p>
                           </div>
                        </dd>
                        <dt class="description"><a name="group__READ_1gf8b872bd2d8a482b9f705e7e19159b04" id="group__READ_1gf8b872bd2d8a482b9f705e7e19159b04" shape="rect">
                              <!-- --></a><span><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                              ( *<a href="structCUDBGAPI__st.html" title="The CUDA debugger API routines. " shape="rect">CUDBGAPI_st</a>::readActiveLanes )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">dev</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sm</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">wp</span>, uint32_t*<span>&nbsp;</span><span class="keyword keyword apiItemName">activeLanesMask</span> )</span></dt>
                        <dd class="description">
                           <div class="section">
                              <p>Reads the bitmask of active lanes on a valid warp.  Since CUDA 3.0.</p>
                              <p class="p"></p>
                              <p class="p"></p>
                              <p class="p apiDesc_subtitle"><strong class="ph b">See also:</strong></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g3bf37520a3721ebff43b0f4aa06c9953" title="Reads the 64-bit CUDA grid index running on a valid warp." shape="rect">readGridId</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g0dd276e9fc631d3921dd3c65d6d1f900" title="Reads the CUDA block index running on a valid warp." shape="rect">readBlockIdx</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g19ba2b56ab1ae81f20cfc163a46ae5bb" title="Reads the CUDA thread index running on valid lane." shape="rect">readThreadIdx</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g4b818e988b7469c1f67fa3ec3f58a283" title="Reads the bitmask of warps that are at a breakpoint on a given SM." shape="rect">readBrokenWarps</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1ge45c80b025d95c5843ba32ab73e28908" title="Reads the bitmask of valid warps on a given SM." shape="rect">readValidWarps</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1gf8f5a4351ed66097d7c557d3b3cfcf4c" title="Reads the bitmask of valid lanes on a given warp." shape="rect">readValidLanes</a></p>
                              <p class="p"></p>
                           </div>
                           <div class="section">
                              <h6 class="parameter_header">
                                 Parameters
                                 
                              </h6>
                              <dl class="table-display-params">
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">dev</span></tt></dt>
                                 <dd>- device index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">sm</span></tt></dt>
                                 <dd>- SM index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">wp</span></tt></dt>
                                 <dd>- warp index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">activeLanesMask</span></tt></dt>
                                 <dd>- the returned bitmask of active lanes</dd>
                              </dl>
                           </div>
                           <div class="section">
                              <h6 class="return_header">Returns</h6>
                              <p class="return">CUDBG_SUCCESS, CUDBG_ERROR_INVALID_ARGS, CUDBG_ERROR_INVALID_DEVICE, CUDBG_ERROR_INVALID_SM, CUDBG_ERROR_INVALID_WARP, CUDBG_ERROR_UNINITIALIZED</p>
                           </div>
                        </dd>
                        <dt class="description"><a name="group__READ_1g0dd276e9fc631d3921dd3c65d6d1f900" id="group__READ_1g0dd276e9fc631d3921dd3c65d6d1f900" shape="rect">
                              <!-- --></a><span><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                              ( *<a href="structCUDBGAPI__st.html" title="The CUDA debugger API routines. " shape="rect">CUDBGAPI_st</a>::readBlockIdx )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">dev</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sm</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">wp</span>, CuDim3*<span>&nbsp;</span><span class="keyword keyword apiItemName">blockIdx</span> )</span></dt>
                        <dd class="description">
                           <div class="section">
                              <p>Reads the CUDA block index running on a valid warp.  Since CUDA 4.0.</p>
                              <p class="p"></p>
                              <p class="p"></p>
                              <p class="p apiDesc_subtitle"><strong class="ph b">See also:</strong></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g3bf37520a3721ebff43b0f4aa06c9953" title="Reads the 64-bit CUDA grid index running on a valid warp." shape="rect">readGridId</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g19ba2b56ab1ae81f20cfc163a46ae5bb" title="Reads the CUDA thread index running on valid lane." shape="rect">readThreadIdx</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g4b818e988b7469c1f67fa3ec3f58a283" title="Reads the bitmask of warps that are at a breakpoint on a given SM." shape="rect">readBrokenWarps</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1ge45c80b025d95c5843ba32ab73e28908" title="Reads the bitmask of valid warps on a given SM." shape="rect">readValidWarps</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1gf8f5a4351ed66097d7c557d3b3cfcf4c" title="Reads the bitmask of valid lanes on a given warp." shape="rect">readValidLanes</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1gf8b872bd2d8a482b9f705e7e19159b04" title="Reads the bitmask of active lanes on a valid warp." shape="rect">readActiveLanes</a></p>
                              <p class="p"></p>
                           </div>
                           <div class="section">
                              <h6 class="parameter_header">
                                 Parameters
                                 
                              </h6>
                              <dl class="table-display-params">
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">dev</span></tt></dt>
                                 <dd>- device index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">sm</span></tt></dt>
                                 <dd>- SM index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">wp</span></tt></dt>
                                 <dd>- warp index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">blockIdx</span></tt></dt>
                                 <dd>- the returned CUDA block index</dd>
                              </dl>
                           </div>
                           <div class="section">
                              <h6 class="return_header">Returns</h6>
                              <p class="return">CUDBG_SUCCESS, CUDBG_ERROR_INVALID_ARGS, CUDBG_ERROR_INVALID_DEVICE, CUDBG_ERROR_INVALID_SM, CUDBG_ERROR_INVALID_WARP, CUDBG_ERROR_UNINITIALIZED</p>
                           </div>
                        </dd>
                        <dt class="description"><a name="group__READ_1ga88dbee61a8c037c362955f7c537e322" id="group__READ_1ga88dbee61a8c037c362955f7c537e322" shape="rect">
                              <!-- --></a><span><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                              ( *<a href="structCUDBGAPI__st.html" title="The CUDA debugger API routines. " shape="rect">CUDBGAPI_st</a>::readBlockIdx32 )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">dev</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sm</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">wp</span>, CuDim2*<span>&nbsp;</span><span class="keyword keyword apiItemName">blockIdx</span> )</span></dt>
                        <dd class="description">
                           <div class="section">
                              <p>Reads the two-dimensional CUDA block index running on a valid warp.  Since CUDA 3.0.</p>
                              <p class="p"></p>
                              <p class="p"></p>
                              <p class="p"></p>
                              <p class="p apiDesc_subtitle"><strong class="ph b">See also:</strong></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g3bf37520a3721ebff43b0f4aa06c9953" title="Reads the 64-bit CUDA grid index running on a valid warp." shape="rect">readGridId</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g19ba2b56ab1ae81f20cfc163a46ae5bb" title="Reads the CUDA thread index running on valid lane." shape="rect">readThreadIdx</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g4b818e988b7469c1f67fa3ec3f58a283" title="Reads the bitmask of warps that are at a breakpoint on a given SM." shape="rect">readBrokenWarps</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1ge45c80b025d95c5843ba32ab73e28908" title="Reads the bitmask of valid warps on a given SM." shape="rect">readValidWarps</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1gf8f5a4351ed66097d7c557d3b3cfcf4c" title="Reads the bitmask of valid lanes on a given warp." shape="rect">readValidLanes</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1gf8b872bd2d8a482b9f705e7e19159b04" title="Reads the bitmask of active lanes on a valid warp." shape="rect">readActiveLanes</a></p>
                              <p class="p"></p>
                           </div>
                           <div class="section">
                              <h6 class="parameter_header">
                                 Parameters
                                 
                              </h6>
                              <dl class="table-display-params">
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">dev</span></tt></dt>
                                 <dd>- device index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">sm</span></tt></dt>
                                 <dd>- SM index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">wp</span></tt></dt>
                                 <dd>- warp index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">blockIdx</span></tt></dt>
                                 <dd>- the returned CUDA block index</dd>
                              </dl>
                           </div>
                           <div class="section">
                              <h6 class="return_header">Returns</h6>
                              <p class="return">CUDBG_SUCCESS, CUDBG_ERROR_INVALID_ARGS, CUDBG_ERROR_INVALID_DEVICE, CUDBG_ERROR_INVALID_SM, CUDBG_ERROR_INVALID_WARP, CUDBG_ERROR_UNINITIALIZED</p>
                           </div>
                        </dd>
                        <dt class="description"><a name="group__READ_1g4b818e988b7469c1f67fa3ec3f58a283" id="group__READ_1g4b818e988b7469c1f67fa3ec3f58a283" shape="rect">
                              <!-- --></a><span><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                              ( *<a href="structCUDBGAPI__st.html" title="The CUDA debugger API routines. " shape="rect">CUDBGAPI_st</a>::readBrokenWarps )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">dev</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sm</span>, uint64_t*<span>&nbsp;</span><span class="keyword keyword apiItemName">brokenWarpsMask</span> )</span></dt>
                        <dd class="description">
                           <div class="section">
                              <p>Reads the bitmask of warps that are at a breakpoint on a given SM.  Since CUDA 3.0.</p>
                              <p class="p"></p>
                              <p class="p"></p>
                              <p class="p apiDesc_subtitle"><strong class="ph b">See also:</strong></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g3bf37520a3721ebff43b0f4aa06c9953" title="Reads the 64-bit CUDA grid index running on a valid warp." shape="rect">readGridId</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g0dd276e9fc631d3921dd3c65d6d1f900" title="Reads the CUDA block index running on a valid warp." shape="rect">readBlockIdx</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g19ba2b56ab1ae81f20cfc163a46ae5bb" title="Reads the CUDA thread index running on valid lane." shape="rect">readThreadIdx</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1ge45c80b025d95c5843ba32ab73e28908" title="Reads the bitmask of valid warps on a given SM." shape="rect">readValidWarps</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1gf8f5a4351ed66097d7c557d3b3cfcf4c" title="Reads the bitmask of valid lanes on a given warp." shape="rect">readValidLanes</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1gf8b872bd2d8a482b9f705e7e19159b04" title="Reads the bitmask of active lanes on a valid warp." shape="rect">readActiveLanes</a></p>
                              <p class="p"></p>
                           </div>
                           <div class="section">
                              <h6 class="parameter_header">
                                 Parameters
                                 
                              </h6>
                              <dl class="table-display-params">
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">dev</span></tt></dt>
                                 <dd>- device index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">sm</span></tt></dt>
                                 <dd>- SM index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">brokenWarpsMask</span></tt></dt>
                                 <dd>- the returned bitmask of broken warps</dd>
                              </dl>
                           </div>
                           <div class="section">
                              <h6 class="return_header">Returns</h6>
                              <p class="return">CUDBG_SUCCESS, CUDBG_ERROR_INVALID_ARGS, CUDBG_ERROR_INVALID_DEVICE, CUDBG_ERROR_INVALID_SM, CUDBG_ERROR_UNINITIALIZED</p>
                           </div>
                        </dd>
                        <dt class="description"><a name="group__READ_1gdd462e31160e9a9892b8fd9189647d2f" id="group__READ_1gdd462e31160e9a9892b8fd9189647d2f" shape="rect">
                              <!-- --></a><span><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                              ( *<a href="structCUDBGAPI__st.html" title="The CUDA debugger API routines. " shape="rect">CUDBGAPI_st</a>::readCCRegister )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">dev</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sm</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">wp</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">ln</span>, uint32_t*<span>&nbsp;</span><span class="keyword keyword apiItemName">val</span> )</span></dt>
                        <dd class="description">
                           <div class="section">
                              <p>Reads the hardware CC register.  Since CUDA 6.5.</p>
                              <p class="p"></p>
                              <p class="p"></p>
                              <p class="p apiDesc_subtitle"><strong class="ph b">See also:</strong></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g96d8d7f7158aacc75b0013fb14e070df" title="Reads content at address in the code memory segment." shape="rect">readCodeMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g403214b4c091fa8f1805e652fa720717" title="Reads content at address in the constant memory segment." shape="rect">readConstMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g132516a9f3750484f299d36328f6bf49" title="Reads content at an address in the generic address space. This function determines if the given address falls into the local, shared, or global memory window. It then accesses memory taking into account the hardware co-ordinates provided as inputs." shape="rect">readGenericMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1gbb7f10629d91480e5aa8aa17807b07f2" title="Reads content at an address in the global address space. If the address is valid on more than one device and one of those devices does not support UVA, an error is returned." shape="rect">readGlobalMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g2f5bf430b5202e893f896a4e53e7473e" title="Reads content at address in the param memory segment." shape="rect">readParamMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1ge242a5b3d2877bb06e69b29e08079d04" title="Reads content at address in the shared memory segment." shape="rect">readSharedMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g0d793af43e61047ee8069835d4407819" title="Read the content of texture memory with given id and coords on sm_20 and lower." shape="rect">readTextureMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g81729a1eb1b4d90e63f505bc4e407917" title="Reads content at address in the local memory segment." shape="rect">readLocalMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g23e67e3745e52c60d0a64ced1cc62dcb" title="Reads content of a hardware register." shape="rect">readRegister</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g4e5d98dced2544bbe90d0a9483527f3f" title="Reads the PC on the given active lane." shape="rect">readPC</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g02ab5a95af92043803364eb35cafabea" title="Reads content of hardware predicate registers." shape="rect">readPredicates</a></p>
                              <p class="p"></p>
                           </div>
                           <div class="section">
                              <h6 class="parameter_header">
                                 Parameters
                                 
                              </h6>
                              <dl class="table-display-params">
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">dev</span></tt></dt>
                                 <dd>- device index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">sm</span></tt></dt>
                                 <dd>- SM index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">wp</span></tt></dt>
                                 <dd>- warp index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">ln</span></tt></dt>
                                 <dd>- lane index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">val</span></tt></dt>
                                 <dd>- buffer</dd>
                              </dl>
                           </div>
                           <div class="section">
                              <h6 class="return_header">Returns</h6>
                              <p class="return">CUDBG_SUCCESS, CUDBG_ERROR_INVALID_ARGS, CUDBG_ERROR_INVALID_DEVICE, CUDBG_ERROR_INVALID_LANE, CUDBG_ERROR_INVALID_SM, CUDBG_ERROR_INVALID_WARP,
                                 CUDBG_ERROR_UNINITIALIZED
                              </p>
                           </div>
                        </dd>
                        <dt class="description"><a name="group__READ_1g6b438d1fd6d089bc430dd8ba6b53daf8" id="group__READ_1g6b438d1fd6d089bc430dd8ba6b53daf8" shape="rect">
                              <!-- --></a><span><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                              ( *<a href="structCUDBGAPI__st.html" title="The CUDA debugger API routines. " shape="rect">CUDBGAPI_st</a>::readCallDepth )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">dev</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sm</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">wp</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">ln</span>, uint32_t*<span>&nbsp;</span><span class="keyword keyword apiItemName">depth</span> )</span></dt>
                        <dd class="description">
                           <div class="section">
                              <p>Reads the call depth (number of calls) for a given lane.  Since CUDA 4.0.</p>
                              <p class="p"></p>
                              <p class="p"></p>
                              <p class="p apiDesc_subtitle"><strong class="ph b">See also:</strong></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g31dee949a5b53d5c509668c764ec9171" title="Reads the physical return address for a call level." shape="rect">readReturnAddress</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1ga2b518d57cfab4feba42e1fcfffb5913" title="Reads the virtual return address for a call level." shape="rect">readVirtualReturnAddress</a></p>
                              <p class="p"></p>
                           </div>
                           <div class="section">
                              <h6 class="parameter_header">
                                 Parameters
                                 
                              </h6>
                              <dl class="table-display-params">
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">dev</span></tt></dt>
                                 <dd>- device index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">sm</span></tt></dt>
                                 <dd>- SM index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">wp</span></tt></dt>
                                 <dd>- warp index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">ln</span></tt></dt>
                                 <dd>- lane index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">depth</span></tt></dt>
                                 <dd>- the returned call depth</dd>
                              </dl>
                           </div>
                           <div class="section">
                              <h6 class="return_header">Returns</h6>
                              <p class="return">CUDBG_SUCCESS, CUDBG_ERROR_INVALID_ARGS, CUDBG_ERROR_INVALID_DEVICE, CUDBG_ERROR_INVALID_SM, CUDBG_ERROR_INVALID_WARP, CUDBG_ERROR_INVALID_LANE,
                                 CUDBG_ERROR_UNINITIALIZED
                              </p>
                           </div>
                        </dd>
                        <dt class="description"><a name="group__READ_1g262cdf69168252b06bcfb19c474f7a6f" id="group__READ_1g262cdf69168252b06bcfb19c474f7a6f" shape="rect">
                              <!-- --></a><span><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                              ( *<a href="structCUDBGAPI__st.html" title="The CUDA debugger API routines. " shape="rect">CUDBGAPI_st</a>::readCallDepth32 )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">dev</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sm</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">wp</span>, uint32_t*<span>&nbsp;</span><span class="keyword keyword apiItemName">depth</span> )</span></dt>
                        <dd class="description">
                           <div class="section">
                              <p>Reads the call depth (number of calls) for a given warp.  Since CUDA 3.1.</p>
                              <p class="p"></p>
                              <p class="p"></p>
                              <p class="p"></p>
                              <p class="p apiDesc_subtitle"><strong class="ph b">See also:</strong></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g33d944489b2b085cdbd42712ce666ef4" title="Reads the physical return address for a call level." shape="rect">readReturnAddress32</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1gf234679daecf9378353343c8942da5a7" title="Reads the virtual return address for a call level." shape="rect">readVirtualReturnAddress32</a></p>
                              <p class="p"></p>
                           </div>
                           <div class="section">
                              <h6 class="parameter_header">
                                 Parameters
                                 
                              </h6>
                              <dl class="table-display-params">
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">dev</span></tt></dt>
                                 <dd>- device index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">sm</span></tt></dt>
                                 <dd>- SM index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">wp</span></tt></dt>
                                 <dd>- warp index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">depth</span></tt></dt>
                                 <dd>- the returned call depth</dd>
                              </dl>
                           </div>
                           <div class="section">
                              <h6 class="return_header">Returns</h6>
                              <p class="return">CUDBG_SUCCESS, CUDBG_ERROR_INVALID_ARGS, CUDBG_ERROR_INVALID_DEVICE, CUDBG_ERROR_INVALID_SM, CUDBG_ERROR_INVALID_WARP, CUDBG_ERROR_UNINITIALIZED</p>
                           </div>
                        </dd>
                        <dt class="description"><a name="group__READ_1g96d8d7f7158aacc75b0013fb14e070df" id="group__READ_1g96d8d7f7158aacc75b0013fb14e070df" shape="rect">
                              <!-- --></a><span><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                              ( *<a href="structCUDBGAPI__st.html" title="The CUDA debugger API routines. " shape="rect">CUDBGAPI_st</a>::readCodeMemory )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">dev</span>, uint64_t<span>&nbsp;</span><span class="keyword keyword apiItemName">addr</span>, void*<span>&nbsp;</span><span class="keyword keyword apiItemName">buf</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sz</span> )</span></dt>
                        <dd class="description">
                           <div class="section">
                              <p>Reads content at address in the code memory segment.  Since CUDA 3.0.</p>
                              <p class="p"></p>
                              <p class="p"></p>
                              <p class="p apiDesc_subtitle"><strong class="ph b">See also:</strong></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g403214b4c091fa8f1805e652fa720717" title="Reads content at address in the constant memory segment." shape="rect">readConstMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g132516a9f3750484f299d36328f6bf49" title="Reads content at an address in the generic address space. This function determines if the given address falls into the local, shared, or global memory window. It then accesses memory taking into account the hardware co-ordinates provided as inputs." shape="rect">readGenericMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g2f5bf430b5202e893f896a4e53e7473e" title="Reads content at address in the param memory segment." shape="rect">readParamMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1ge242a5b3d2877bb06e69b29e08079d04" title="Reads content at address in the shared memory segment." shape="rect">readSharedMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g0d793af43e61047ee8069835d4407819" title="Read the content of texture memory with given id and coords on sm_20 and lower." shape="rect">readTextureMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g81729a1eb1b4d90e63f505bc4e407917" title="Reads content at address in the local memory segment." shape="rect">readLocalMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g23e67e3745e52c60d0a64ced1cc62dcb" title="Reads content of a hardware register." shape="rect">readRegister</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g4e5d98dced2544bbe90d0a9483527f3f" title="Reads the PC on the given active lane." shape="rect">readPC</a></p>
                              <p class="p"></p>
                           </div>
                           <div class="section">
                              <h6 class="parameter_header">
                                 Parameters
                                 
                              </h6>
                              <dl class="table-display-params">
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">dev</span></tt></dt>
                                 <dd>- device index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">addr</span></tt></dt>
                                 <dd>- memory address </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">buf</span></tt></dt>
                                 <dd>- buffer </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">sz</span></tt></dt>
                                 <dd>- size of the buffer</dd>
                              </dl>
                           </div>
                           <div class="section">
                              <h6 class="return_header">Returns</h6>
                              <p class="return">CUDBG_SUCCESS, CUDBG_ERROR_INVALID_ARGS, CUDBG_ERROR_INVALID_DEVICE, CUDBG_ERROR_UNINITIALIZED, CUDBG_ERROR_MEMORY_MAPPING_FAILED</p>
                           </div>
                        </dd>
                        <dt class="description"><a name="group__READ_1g403214b4c091fa8f1805e652fa720717" id="group__READ_1g403214b4c091fa8f1805e652fa720717" shape="rect">
                              <!-- --></a><span><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                              ( *<a href="structCUDBGAPI__st.html" title="The CUDA debugger API routines. " shape="rect">CUDBGAPI_st</a>::readConstMemory )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">dev</span>, uint64_t<span>&nbsp;</span><span class="keyword keyword apiItemName">addr</span>, void*<span>&nbsp;</span><span class="keyword keyword apiItemName">buf</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sz</span> )</span></dt>
                        <dd class="description">
                           <div class="section">
                              <p>Reads content at address in the constant memory segment.  Since CUDA 3.0.</p>
                              <p class="p"></p>
                              <p class="p"></p>
                              <p class="p apiDesc_subtitle"><strong class="ph b">See also:</strong></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g96d8d7f7158aacc75b0013fb14e070df" title="Reads content at address in the code memory segment." shape="rect">readCodeMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g132516a9f3750484f299d36328f6bf49" title="Reads content at an address in the generic address space. This function determines if the given address falls into the local, shared, or global memory window. It then accesses memory taking into account the hardware co-ordinates provided as inputs." shape="rect">readGenericMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g2f5bf430b5202e893f896a4e53e7473e" title="Reads content at address in the param memory segment." shape="rect">readParamMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1ge242a5b3d2877bb06e69b29e08079d04" title="Reads content at address in the shared memory segment." shape="rect">readSharedMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g0d793af43e61047ee8069835d4407819" title="Read the content of texture memory with given id and coords on sm_20 and lower." shape="rect">readTextureMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g81729a1eb1b4d90e63f505bc4e407917" title="Reads content at address in the local memory segment." shape="rect">readLocalMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g23e67e3745e52c60d0a64ced1cc62dcb" title="Reads content of a hardware register." shape="rect">readRegister</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g4e5d98dced2544bbe90d0a9483527f3f" title="Reads the PC on the given active lane." shape="rect">readPC</a></p>
                              <p class="p"></p>
                           </div>
                           <div class="section">
                              <h6 class="parameter_header">
                                 Parameters
                                 
                              </h6>
                              <dl class="table-display-params">
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">dev</span></tt></dt>
                                 <dd>- device index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">addr</span></tt></dt>
                                 <dd>- memory address </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">buf</span></tt></dt>
                                 <dd>- buffer </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">sz</span></tt></dt>
                                 <dd>- size of the buffer</dd>
                              </dl>
                           </div>
                           <div class="section">
                              <h6 class="return_header">Returns</h6>
                              <p class="return">CUDBG_SUCCESS, CUDBG_ERROR_INVALID_ARGS, CUDBG_ERROR_INVALID_DEVICE, CUDBG_ERROR_UNINITIALIZED, CUDBG_ERROR_MEMORY_MAPPING_FAILED</p>
                           </div>
                        </dd>
                        <dt class="description"><a name="structCUDBGAPI__st_1106b5daa9fa8d7a17c88b5ca8ab9304f" id="structCUDBGAPI__st_1106b5daa9fa8d7a17c88b5ca8ab9304f" shape="rect">
                              <!-- --></a><span><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                              ( *<a href="structCUDBGAPI__st.html" title="The CUDA debugger API routines. " shape="rect">CUDBGAPI_st</a>::readDeviceExceptionState )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">devId</span>, uint64_t*<span>&nbsp;</span><span class="keyword keyword apiItemName">exceptionSMMask</span> )</span></dt>
                        <dd class="description">
                           <div class="section">
                              <p>Get the exception state of the SMs on the device.  
                                 
                              </p>
                              <p class="p"></p>
                           </div>
                           <div class="section">
                              <h6 class="parameter_header">
                                 Parameters
                                 
                              </h6>
                              <dl class="table-display-params">
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">devId</span></tt></dt>
                                 <dd>- the cuda device id </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">exceptionSMMask</span></tt></dt>
                                 <dd>- Bit field containing a 1 at (1 &lt;&lt; i) if SM i hit an exception</dd>
                              </dl>
                           </div>
                           <div class="section">
                              <h6 class="return_header">Returns</h6>
                              <p class="return">CUDBG_ERROR_INVALID_ARGS, CUDBG_SUCCESS, CUDBG_ERROR_INVALID_DEVICE </p>
                           </div>
                        </dd>
                        <dt class="description"><a name="group__READ_1g8468eae54d80205f03e00a6768dccfd6" id="group__READ_1g8468eae54d80205f03e00a6768dccfd6" shape="rect">
                              <!-- --></a><span><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                              ( *<a href="structCUDBGAPI__st.html" title="The CUDA debugger API routines. " shape="rect">CUDBGAPI_st</a>::readErrorPC )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">devId</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sm</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">wp</span>, uint64_t*<span>&nbsp;</span><span class="keyword keyword apiItemName">errorPC</span>, bool*<span>&nbsp;</span><span class="keyword keyword apiItemName">errorPCValid</span> )</span></dt>
                        <dd class="description">
                           <div class="section">
                              <p>Get the hardware reported error PC if it exists.  Since CUDA 6.0</p>
                              <p class="p"></p>
                              <p class="p"></p>
                           </div>
                           <div class="section">
                              <h6 class="parameter_header">
                                 Parameters
                                 
                              </h6>
                              <dl class="table-display-params">
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">devId</span></tt></dt>
                                 <dd>- the device index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">sm</span></tt></dt>
                                 <dd>- the SM index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">wp</span></tt></dt>
                                 <dd></dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">errorPC</span></tt></dt>
                                 <dd>- PC ofthe exception </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">errorPCValid</span></tt></dt>
                                 <dd>- boolean to indicate that the returned error PC is valid</dd>
                              </dl>
                           </div>
                           <div class="section">
                              <h6 class="return_header">Returns</h6>
                              <p class="return">CUDBG_SUCCESS CUDBG_ERROR_UNINITIALIZED CUDBG_ERROR_INVALID_DEVICE CUDBG_ERROR_INVALID_SM CUDBG_ERROR_INVALID_WARP CUDBG_ERROR_INVALID_ARGS
                                 CUDBG_ERROR_UNKNOWN_FUNCTION 
                              </p>
                           </div>
                        </dd>
                        <dt class="description"><a name="group__READ_1g132516a9f3750484f299d36328f6bf49" id="group__READ_1g132516a9f3750484f299d36328f6bf49" shape="rect">
                              <!-- --></a><span><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                              ( *<a href="structCUDBGAPI__st.html" title="The CUDA debugger API routines. " shape="rect">CUDBGAPI_st</a>::readGenericMemory )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">dev</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sm</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">wp</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">ln</span>, uint64_t<span>&nbsp;</span><span class="keyword keyword apiItemName">addr</span>, void*<span>&nbsp;</span><span class="keyword keyword apiItemName">buf</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sz</span> )</span></dt>
                        <dd class="description">
                           <div class="section">
                              <p>Reads content at an address in the generic address space. This function determines if the given address falls into the local,
                                 shared, or global memory window. It then accesses memory taking into account the hardware co-ordinates provided as inputs.
                                 Since CUDA 6.0.
                              </p>
                              <p class="p"></p>
                              <p class="p"></p>
                              <p class="p apiDesc_subtitle"><strong class="ph b">See also:</strong></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g96d8d7f7158aacc75b0013fb14e070df" title="Reads content at address in the code memory segment." shape="rect">readCodeMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g403214b4c091fa8f1805e652fa720717" title="Reads content at address in the constant memory segment." shape="rect">readConstMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g2f5bf430b5202e893f896a4e53e7473e" title="Reads content at address in the param memory segment." shape="rect">readParamMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1ge242a5b3d2877bb06e69b29e08079d04" title="Reads content at address in the shared memory segment." shape="rect">readSharedMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g0d793af43e61047ee8069835d4407819" title="Read the content of texture memory with given id and coords on sm_20 and lower." shape="rect">readTextureMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g81729a1eb1b4d90e63f505bc4e407917" title="Reads content at address in the local memory segment." shape="rect">readLocalMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g23e67e3745e52c60d0a64ced1cc62dcb" title="Reads content of a hardware register." shape="rect">readRegister</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g4e5d98dced2544bbe90d0a9483527f3f" title="Reads the PC on the given active lane." shape="rect">readPC</a></p>
                              <p class="p"></p>
                           </div>
                           <div class="section">
                              <h6 class="parameter_header">
                                 Parameters
                                 
                              </h6>
                              <dl class="table-display-params">
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">dev</span></tt></dt>
                                 <dd>- device index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">sm</span></tt></dt>
                                 <dd>- SM index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">wp</span></tt></dt>
                                 <dd>- warp index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">ln</span></tt></dt>
                                 <dd>- lane index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">addr</span></tt></dt>
                                 <dd>- memory address </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">buf</span></tt></dt>
                                 <dd>- buffer </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">sz</span></tt></dt>
                                 <dd></dd>
                              </dl>
                           </div>
                           <div class="section">
                              <h6 class="return_header">Returns</h6>
                              <p class="return">CUDBG_SUCCESS, CUDBG_ERROR_INVALID_ARGS, CUDBG_ERROR_INVALID_DEVICE, CUDBG_ERROR_INVALID_LANE, CUDBG_ERROR_INVALID_SM, CUDBG_ERROR_INVALID_WARP,
                                 CUDBG_ERROR_UNINITIALIZED, CUDBG_ERROR_MEMORY_MAPPING_FAILED, CUDBG_ERROR_ADDRESS_NOT_IN_DEVICE_MEM
                              </p>
                           </div>
                        </dd>
                        <dt class="description"><a name="group__READ_1gbb7f10629d91480e5aa8aa17807b07f2" id="group__READ_1gbb7f10629d91480e5aa8aa17807b07f2" shape="rect">
                              <!-- --></a><span><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                              ( *<a href="structCUDBGAPI__st.html" title="The CUDA debugger API routines. " shape="rect">CUDBGAPI_st</a>::readGlobalMemory )(  uint64_t<span>&nbsp;</span><span class="keyword keyword apiItemName">addr</span>, void*<span>&nbsp;</span><span class="keyword keyword apiItemName">buf</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sz</span> )</span></dt>
                        <dd class="description">
                           <div class="section">
                              <p>Reads content at an address in the global address space. If the address is valid on more than one device and one of those
                                 devices does not support UVA, an error is returned.  Since CUDA 6.0.
                              </p>
                              <p class="p"></p>
                              <p class="p"></p>
                              <p class="p apiDesc_subtitle"><strong class="ph b">See also:</strong></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g96d8d7f7158aacc75b0013fb14e070df" title="Reads content at address in the code memory segment." shape="rect">readCodeMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g403214b4c091fa8f1805e652fa720717" title="Reads content at address in the constant memory segment." shape="rect">readConstMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g2f5bf430b5202e893f896a4e53e7473e" title="Reads content at address in the param memory segment." shape="rect">readParamMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1ge242a5b3d2877bb06e69b29e08079d04" title="Reads content at address in the shared memory segment." shape="rect">readSharedMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g0d793af43e61047ee8069835d4407819" title="Read the content of texture memory with given id and coords on sm_20 and lower." shape="rect">readTextureMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g81729a1eb1b4d90e63f505bc4e407917" title="Reads content at address in the local memory segment." shape="rect">readLocalMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g23e67e3745e52c60d0a64ced1cc62dcb" title="Reads content of a hardware register." shape="rect">readRegister</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g4e5d98dced2544bbe90d0a9483527f3f" title="Reads the PC on the given active lane." shape="rect">readPC</a></p>
                              <p class="p"></p>
                           </div>
                           <div class="section">
                              <h6 class="parameter_header">
                                 Parameters
                                 
                              </h6>
                              <dl class="table-display-params">
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">addr</span></tt></dt>
                                 <dd>- memory address </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">buf</span></tt></dt>
                                 <dd>- buffer </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">sz</span></tt></dt>
                                 <dd></dd>
                              </dl>
                           </div>
                           <div class="section">
                              <h6 class="return_header">Returns</h6>
                              <p class="return">CUDBG_SUCCESS, CUDBG_ERROR_INVALID_ARGS, CUDBG_ERROR_INVALID_DEVICE, CUDBG_ERROR_UNINITIALIZED, CUDBG_ERROR_MEMORY_MAPPING_FAILED,
                                 CUDBG_ERROR_INVALID_MEMORY_ACCESS, CUDBG_ERROR_ADDRESS_NOT_IN_DEVICE_MEM CUDBG_ERROR_AMBIGUOUS_MEMORY_ADDRESS_
                              </p>
                           </div>
                        </dd>
                        <dt class="description"><a name="group__READ_1g155576a52b4ad9aa472c5216cddc43bf" id="group__READ_1g155576a52b4ad9aa472c5216cddc43bf" shape="rect">
                              <!-- --></a><span><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                              ( *<a href="structCUDBGAPI__st.html" title="The CUDA debugger API routines. " shape="rect">CUDBGAPI_st</a>::readGlobalMemory31 )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">dev</span>, uint64_t<span>&nbsp;</span><span class="keyword keyword apiItemName">addr</span>, void*<span>&nbsp;</span><span class="keyword keyword apiItemName">buf</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sz</span> )</span></dt>
                        <dd class="description">
                           <div class="section">
                              <p>Reads content at address in the global memory segment.  Since CUDA 3.0.</p>
                              <p class="p"></p>
                              <p class="p"></p>
                              <p class="p"></p>
                              <p class="p apiDesc_subtitle"><strong class="ph b">See also:</strong></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g96d8d7f7158aacc75b0013fb14e070df" title="Reads content at address in the code memory segment." shape="rect">readCodeMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g403214b4c091fa8f1805e652fa720717" title="Reads content at address in the constant memory segment." shape="rect">readConstMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g2f5bf430b5202e893f896a4e53e7473e" title="Reads content at address in the param memory segment." shape="rect">readParamMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1ge242a5b3d2877bb06e69b29e08079d04" title="Reads content at address in the shared memory segment." shape="rect">readSharedMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g0d793af43e61047ee8069835d4407819" title="Read the content of texture memory with given id and coords on sm_20 and lower." shape="rect">readTextureMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g81729a1eb1b4d90e63f505bc4e407917" title="Reads content at address in the local memory segment." shape="rect">readLocalMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g23e67e3745e52c60d0a64ced1cc62dcb" title="Reads content of a hardware register." shape="rect">readRegister</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g4e5d98dced2544bbe90d0a9483527f3f" title="Reads the PC on the given active lane." shape="rect">readPC</a></p>
                              <p class="p"></p>
                           </div>
                           <div class="section">
                              <h6 class="parameter_header">
                                 Parameters
                                 
                              </h6>
                              <dl class="table-display-params">
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">dev</span></tt></dt>
                                 <dd>- device index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">addr</span></tt></dt>
                                 <dd>- memory address </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">buf</span></tt></dt>
                                 <dd>- buffer </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">sz</span></tt></dt>
                                 <dd>- size of the buffer</dd>
                              </dl>
                           </div>
                           <div class="section">
                              <h6 class="return_header">Returns</h6>
                              <p class="return">CUDBG_SUCCESS, CUDBG_ERROR_INVALID_ARGS, CUDBG_ERROR_INVALID_DEVICE, CUDBG_ERROR_UNINITIALIZED, CUDBG_ERROR_MEMORY_MAPPING_FAILED</p>
                           </div>
                        </dd>
                        <dt class="description"><a name="group__READ_1g64fc5b099c1cf2dcb6e673d39856866c" id="group__READ_1g64fc5b099c1cf2dcb6e673d39856866c" shape="rect">
                              <!-- --></a><span><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                              ( *<a href="structCUDBGAPI__st.html" title="The CUDA debugger API routines. " shape="rect">CUDBGAPI_st</a>::readGlobalMemory55 )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">dev</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sm</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">wp</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">ln</span>, uint64_t<span>&nbsp;</span><span class="keyword keyword apiItemName">addr</span>, void*<span>&nbsp;</span><span class="keyword keyword apiItemName">buf</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sz</span> )</span></dt>
                        <dd class="description">
                           <div class="section">
                              <p>Reads content at address in the global memory segment (entire 40-bit VA on Fermi+).  Since CUDA 3.2.</p>
                              <p class="p"></p>
                              <p class="p"></p>
                              <p class="p"></p>
                              <p class="p apiDesc_subtitle"><strong class="ph b">See also:</strong></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g96d8d7f7158aacc75b0013fb14e070df" title="Reads content at address in the code memory segment." shape="rect">readCodeMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g403214b4c091fa8f1805e652fa720717" title="Reads content at address in the constant memory segment." shape="rect">readConstMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g2f5bf430b5202e893f896a4e53e7473e" title="Reads content at address in the param memory segment." shape="rect">readParamMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1ge242a5b3d2877bb06e69b29e08079d04" title="Reads content at address in the shared memory segment." shape="rect">readSharedMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g0d793af43e61047ee8069835d4407819" title="Read the content of texture memory with given id and coords on sm_20 and lower." shape="rect">readTextureMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g81729a1eb1b4d90e63f505bc4e407917" title="Reads content at address in the local memory segment." shape="rect">readLocalMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g23e67e3745e52c60d0a64ced1cc62dcb" title="Reads content of a hardware register." shape="rect">readRegister</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g4e5d98dced2544bbe90d0a9483527f3f" title="Reads the PC on the given active lane." shape="rect">readPC</a></p>
                              <p class="p"></p>
                           </div>
                           <div class="section">
                              <h6 class="parameter_header">
                                 Parameters
                                 
                              </h6>
                              <dl class="table-display-params">
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">dev</span></tt></dt>
                                 <dd>- device index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">sm</span></tt></dt>
                                 <dd>- SM index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">wp</span></tt></dt>
                                 <dd>- warp index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">ln</span></tt></dt>
                                 <dd>- lane index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">addr</span></tt></dt>
                                 <dd>- memory address </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">buf</span></tt></dt>
                                 <dd>- buffer </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">sz</span></tt></dt>
                                 <dd>- size of the buffer</dd>
                              </dl>
                           </div>
                           <div class="section">
                              <h6 class="return_header">Returns</h6>
                              <p class="return">CUDBG_SUCCESS, CUDBG_ERROR_INVALID_ARGS, CUDBG_ERROR_INVALID_DEVICE, CUDBG_ERROR_INVALID_LANE, CUDBG_ERROR_INVALID_SM, CUDBG_ERROR_INVALID_WARP,
                                 CUDBG_ERROR_UNINITIALIZED, CUDBG_ERROR_MEMORY_MAPPING_FAILED, CUDBG_ERROR_ADDRESS_NOT_IN_DEVICE_MEM
                              </p>
                           </div>
                        </dd>
                        <dt class="description"><a name="group__READ_1g3bf37520a3721ebff43b0f4aa06c9953" id="group__READ_1g3bf37520a3721ebff43b0f4aa06c9953" shape="rect">
                              <!-- --></a><span><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                              ( *<a href="structCUDBGAPI__st.html" title="The CUDA debugger API routines. " shape="rect">CUDBGAPI_st</a>::readGridId )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">dev</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sm</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">wp</span>, uint64_t*<span>&nbsp;</span><span class="keyword keyword apiItemName">gridId64</span> )</span></dt>
                        <dd class="description">
                           <div class="section">
                              <p>Reads the 64-bit CUDA grid index running on a valid warp.  Since CUDA 5.5.</p>
                              <p class="p"></p>
                              <p class="p"></p>
                              <p class="p apiDesc_subtitle"><strong class="ph b">See also:</strong></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g0dd276e9fc631d3921dd3c65d6d1f900" title="Reads the CUDA block index running on a valid warp." shape="rect">readBlockIdx</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g19ba2b56ab1ae81f20cfc163a46ae5bb" title="Reads the CUDA thread index running on valid lane." shape="rect">readThreadIdx</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g4b818e988b7469c1f67fa3ec3f58a283" title="Reads the bitmask of warps that are at a breakpoint on a given SM." shape="rect">readBrokenWarps</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1ge45c80b025d95c5843ba32ab73e28908" title="Reads the bitmask of valid warps on a given SM." shape="rect">readValidWarps</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1gf8f5a4351ed66097d7c557d3b3cfcf4c" title="Reads the bitmask of valid lanes on a given warp." shape="rect">readValidLanes</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1gf8b872bd2d8a482b9f705e7e19159b04" title="Reads the bitmask of active lanes on a valid warp." shape="rect">readActiveLanes</a></p>
                              <p class="p"></p>
                           </div>
                           <div class="section">
                              <h6 class="parameter_header">
                                 Parameters
                                 
                              </h6>
                              <dl class="table-display-params">
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">dev</span></tt></dt>
                                 <dd>- device index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">sm</span></tt></dt>
                                 <dd>- SM index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">wp</span></tt></dt>
                                 <dd>- warp index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">gridId64</span></tt></dt>
                                 <dd></dd>
                              </dl>
                           </div>
                           <div class="section">
                              <h6 class="return_header">Returns</h6>
                              <p class="return">CUDBG_SUCCESS, CUDBG_ERROR_INVALID_ARGS, CUDBG_ERROR_INVALID_DEVICE, CUDBG_ERROR_INVALID_SM, CUDBG_ERROR_INVALID_WARP, CUDBG_ERROR_UNINITIALIZED</p>
                           </div>
                        </dd>
                        <dt class="description"><a name="group__READ_1gaf25a154e70e5b7907d45d167f026c00" id="group__READ_1gaf25a154e70e5b7907d45d167f026c00" shape="rect">
                              <!-- --></a><span><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                              ( *<a href="structCUDBGAPI__st.html" title="The CUDA debugger API routines. " shape="rect">CUDBGAPI_st</a>::readGridId50 )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">dev</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sm</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">wp</span>, uint32_t*<span>&nbsp;</span><span class="keyword keyword apiItemName">gridId</span> )</span></dt>
                        <dd class="description">
                           <div class="section">
                              <p>Reads the CUDA grid index running on a valid warp.  Since CUDA 3.0.</p>
                              <p class="p"></p>
                              <p class="p"></p>
                              <p class="p"></p>
                              <p class="p apiDesc_subtitle"><strong class="ph b">See also:</strong></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g0dd276e9fc631d3921dd3c65d6d1f900" title="Reads the CUDA block index running on a valid warp." shape="rect">readBlockIdx</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g19ba2b56ab1ae81f20cfc163a46ae5bb" title="Reads the CUDA thread index running on valid lane." shape="rect">readThreadIdx</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g4b818e988b7469c1f67fa3ec3f58a283" title="Reads the bitmask of warps that are at a breakpoint on a given SM." shape="rect">readBrokenWarps</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1ge45c80b025d95c5843ba32ab73e28908" title="Reads the bitmask of valid warps on a given SM." shape="rect">readValidWarps</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1gf8f5a4351ed66097d7c557d3b3cfcf4c" title="Reads the bitmask of valid lanes on a given warp." shape="rect">readValidLanes</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1gf8b872bd2d8a482b9f705e7e19159b04" title="Reads the bitmask of active lanes on a valid warp." shape="rect">readActiveLanes</a></p>
                              <p class="p"></p>
                           </div>
                           <div class="section">
                              <h6 class="parameter_header">
                                 Parameters
                                 
                              </h6>
                              <dl class="table-display-params">
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">dev</span></tt></dt>
                                 <dd>- device index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">sm</span></tt></dt>
                                 <dd>- SM index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">wp</span></tt></dt>
                                 <dd>- warp index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">gridId</span></tt></dt>
                                 <dd>- the returned CUDA grid index</dd>
                              </dl>
                           </div>
                           <div class="section">
                              <h6 class="return_header">Returns</h6>
                              <p class="return">CUDBG_SUCCESS, CUDBG_ERROR_INVALID_ARGS, CUDBG_ERROR_INVALID_DEVICE, CUDBG_ERROR_INVALID_SM, CUDBG_ERROR_INVALID_WARP, CUDBG_ERROR_UNINITIALIZED</p>
                           </div>
                        </dd>
                        <dt class="description"><a name="group__READ_1g67afc64c7b4e87e14bad401242a2077a" id="group__READ_1g67afc64c7b4e87e14bad401242a2077a" shape="rect">
                              <!-- --></a><span><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                              ( *<a href="structCUDBGAPI__st.html" title="The CUDA debugger API routines. " shape="rect">CUDBGAPI_st</a>::readLaneException )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">dev</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sm</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">wp</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">ln</span>, CUDBGException_t*<span>&nbsp;</span><span class="keyword keyword apiItemName">exception</span> )</span></dt>
                        <dd class="description">
                           <div class="section">
                              <p>Reads the exception type for a given lane.  Since CUDA 3.1.</p>
                              <p class="p"></p>
                              <p class="p"></p>
                           </div>
                           <div class="section">
                              <h6 class="parameter_header">
                                 Parameters
                                 
                              </h6>
                              <dl class="table-display-params">
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">dev</span></tt></dt>
                                 <dd>- device index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">sm</span></tt></dt>
                                 <dd>- SM index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">wp</span></tt></dt>
                                 <dd>- warp index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">ln</span></tt></dt>
                                 <dd>- lane index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">exception</span></tt></dt>
                                 <dd>- the returned exception type</dd>
                              </dl>
                           </div>
                           <div class="section">
                              <h6 class="return_header">Returns</h6>
                              <p class="return">CUDBG_SUCCESS, CUDBG_ERROR_INVALID_ARGS, CUDBG_ERROR_INVALID_DEVICE, CUDBG_ERROR_INVALID_LANE, CUDBG_ERROR_INVALID_SM, CUDBG_ERROR_INVALID_WARP,
                                 CUDBG_ERROR_UNINITIALIZED 
                              </p>
                           </div>
                        </dd>
                        <dt class="description"><a name="group__READ_1g48d8ba567106a48067a0700bfd0cdc80" id="group__READ_1g48d8ba567106a48067a0700bfd0cdc80" shape="rect">
                              <!-- --></a><span><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                              ( *<a href="structCUDBGAPI__st.html" title="The CUDA debugger API routines. " shape="rect">CUDBGAPI_st</a>::readLaneStatus )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">dev</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sm</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">wp</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">ln</span>, bool*<span>&nbsp;</span><span class="keyword keyword apiItemName">error</span> )</span></dt>
                        <dd class="description">
                           <div class="section">
                              <p>Reads the status of the given lane. For specific error values, use readLaneException.  Since CUDA 3.0.</p>
                              <p class="p"></p>
                              <p class="p"></p>
                           </div>
                           <div class="section">
                              <h6 class="parameter_header">
                                 Parameters
                                 
                              </h6>
                              <dl class="table-display-params">
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">dev</span></tt></dt>
                                 <dd>- device index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">sm</span></tt></dt>
                                 <dd>- SM index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">wp</span></tt></dt>
                                 <dd>- warp index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">ln</span></tt></dt>
                                 <dd>- lane index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">error</span></tt></dt>
                                 <dd>- true if there is an error</dd>
                              </dl>
                           </div>
                           <div class="section">
                              <h6 class="return_header">Returns</h6>
                              <p class="return">CUDBG_SUCCESS, CUDBG_ERROR_INVALID_ARGS, CUDBG_ERROR_INVALID_DEVICE, CUDBG_ERROR_INVALID_LANE, CUDBG_ERROR_INVALID_SM, CUDBG_ERROR_INVALID_WARP,
                                 CUDBG_ERROR_UNINITIALIZED 
                              </p>
                           </div>
                        </dd>
                        <dt class="description"><a name="group__READ_1g81729a1eb1b4d90e63f505bc4e407917" id="group__READ_1g81729a1eb1b4d90e63f505bc4e407917" shape="rect">
                              <!-- --></a><span><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                              ( *<a href="structCUDBGAPI__st.html" title="The CUDA debugger API routines. " shape="rect">CUDBGAPI_st</a>::readLocalMemory )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">dev</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sm</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">wp</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">ln</span>, uint64_t<span>&nbsp;</span><span class="keyword keyword apiItemName">addr</span>, void*<span>&nbsp;</span><span class="keyword keyword apiItemName">buf</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sz</span> )</span></dt>
                        <dd class="description">
                           <div class="section">
                              <p>Reads content at address in the local memory segment.  Since CUDA 3.0.</p>
                              <p class="p"></p>
                              <p class="p"></p>
                              <p class="p apiDesc_subtitle"><strong class="ph b">See also:</strong></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g96d8d7f7158aacc75b0013fb14e070df" title="Reads content at address in the code memory segment." shape="rect">readCodeMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g403214b4c091fa8f1805e652fa720717" title="Reads content at address in the constant memory segment." shape="rect">readConstMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g132516a9f3750484f299d36328f6bf49" title="Reads content at an address in the generic address space. This function determines if the given address falls into the local, shared, or global memory window. It then accesses memory taking into account the hardware co-ordinates provided as inputs." shape="rect">readGenericMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g2f5bf430b5202e893f896a4e53e7473e" title="Reads content at address in the param memory segment." shape="rect">readParamMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1ge242a5b3d2877bb06e69b29e08079d04" title="Reads content at address in the shared memory segment." shape="rect">readSharedMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g0d793af43e61047ee8069835d4407819" title="Read the content of texture memory with given id and coords on sm_20 and lower." shape="rect">readTextureMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g23e67e3745e52c60d0a64ced1cc62dcb" title="Reads content of a hardware register." shape="rect">readRegister</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g4e5d98dced2544bbe90d0a9483527f3f" title="Reads the PC on the given active lane." shape="rect">readPC</a></p>
                              <p class="p"></p>
                           </div>
                           <div class="section">
                              <h6 class="parameter_header">
                                 Parameters
                                 
                              </h6>
                              <dl class="table-display-params">
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">dev</span></tt></dt>
                                 <dd>- device index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">sm</span></tt></dt>
                                 <dd>- SM index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">wp</span></tt></dt>
                                 <dd>- warp index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">ln</span></tt></dt>
                                 <dd>- lane index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">addr</span></tt></dt>
                                 <dd>- memory address </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">buf</span></tt></dt>
                                 <dd>- buffer </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">sz</span></tt></dt>
                                 <dd>- size of the buffer</dd>
                              </dl>
                           </div>
                           <div class="section">
                              <h6 class="return_header">Returns</h6>
                              <p class="return">CUDBG_SUCCESS, CUDBG_ERROR_INVALID_ARGS, CUDBG_ERROR_INVALID_DEVICE, CUDBG_ERROR_INVALID_LANE, CUDBG_ERROR_INVALID_SM, CUDBG_ERROR_INVALID_WARP,
                                 CUDBG_ERROR_UNINITIALIZED, CUDBG_ERROR_MEMORY_MAPPING_FAILED
                              </p>
                           </div>
                        </dd>
                        <dt class="description"><a name="group__READ_1g4e5d98dced2544bbe90d0a9483527f3f" id="group__READ_1g4e5d98dced2544bbe90d0a9483527f3f" shape="rect">
                              <!-- --></a><span><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                              ( *<a href="structCUDBGAPI__st.html" title="The CUDA debugger API routines. " shape="rect">CUDBGAPI_st</a>::readPC )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">dev</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sm</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">wp</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">ln</span>, uint64_t*<span>&nbsp;</span><span class="keyword keyword apiItemName">pc</span> )</span></dt>
                        <dd class="description">
                           <div class="section">
                              <p>Reads the PC on the given active lane.  Since CUDA 3.0.</p>
                              <p class="p"></p>
                              <p class="p"></p>
                              <p class="p apiDesc_subtitle"><strong class="ph b">See also:</strong></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g96d8d7f7158aacc75b0013fb14e070df" title="Reads content at address in the code memory segment." shape="rect">readCodeMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g403214b4c091fa8f1805e652fa720717" title="Reads content at address in the constant memory segment." shape="rect">readConstMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g132516a9f3750484f299d36328f6bf49" title="Reads content at an address in the generic address space. This function determines if the given address falls into the local, shared, or global memory window. It then accesses memory taking into account the hardware co-ordinates provided as inputs." shape="rect">readGenericMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g2f5bf430b5202e893f896a4e53e7473e" title="Reads content at address in the param memory segment." shape="rect">readParamMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1ge242a5b3d2877bb06e69b29e08079d04" title="Reads content at address in the shared memory segment." shape="rect">readSharedMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g0d793af43e61047ee8069835d4407819" title="Read the content of texture memory with given id and coords on sm_20 and lower." shape="rect">readTextureMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g81729a1eb1b4d90e63f505bc4e407917" title="Reads content at address in the local memory segment." shape="rect">readLocalMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g23e67e3745e52c60d0a64ced1cc62dcb" title="Reads content of a hardware register." shape="rect">readRegister</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1gb8f4830c29701bae9198de2351f51985" title="Reads the virtual PC on the given active lane." shape="rect">readVirtualPC</a></p>
                              <p class="p"></p>
                           </div>
                           <div class="section">
                              <h6 class="parameter_header">
                                 Parameters
                                 
                              </h6>
                              <dl class="table-display-params">
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">dev</span></tt></dt>
                                 <dd>- device index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">sm</span></tt></dt>
                                 <dd>- SM index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">wp</span></tt></dt>
                                 <dd>- warp index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">ln</span></tt></dt>
                                 <dd>- lane index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">pc</span></tt></dt>
                                 <dd>- the returned PC</dd>
                              </dl>
                           </div>
                           <div class="section">
                              <h6 class="return_header">Returns</h6>
                              <p class="return">CUDBG_SUCCESS, CUDBG_ERROR_INVALID_ARGS, CUDBG_ERROR_INVALID_DEVICE, CUDBG_ERROR_INVALID_LANE, CUDBG_ERROR_INVALID_SM, CUDBG_ERROR_INVALID_WARP,
                                 CUDBG_ERROR_UNKNOWN_FUNCTION, CUDBG_ERROR_UNINITIALIZED
                              </p>
                           </div>
                        </dd>
                        <dt class="description"><a name="group__READ_1g2f5bf430b5202e893f896a4e53e7473e" id="group__READ_1g2f5bf430b5202e893f896a4e53e7473e" shape="rect">
                              <!-- --></a><span><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                              ( *<a href="structCUDBGAPI__st.html" title="The CUDA debugger API routines. " shape="rect">CUDBGAPI_st</a>::readParamMemory )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">dev</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sm</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">wp</span>, uint64_t<span>&nbsp;</span><span class="keyword keyword apiItemName">addr</span>, void*<span>&nbsp;</span><span class="keyword keyword apiItemName">buf</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sz</span> )</span></dt>
                        <dd class="description">
                           <div class="section">
                              <p>Reads content at address in the param memory segment.  Since CUDA 3.0.</p>
                              <p class="p"></p>
                              <p class="p"></p>
                              <p class="p apiDesc_subtitle"><strong class="ph b">See also:</strong></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g96d8d7f7158aacc75b0013fb14e070df" title="Reads content at address in the code memory segment." shape="rect">readCodeMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g403214b4c091fa8f1805e652fa720717" title="Reads content at address in the constant memory segment." shape="rect">readConstMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g132516a9f3750484f299d36328f6bf49" title="Reads content at an address in the generic address space. This function determines if the given address falls into the local, shared, or global memory window. It then accesses memory taking into account the hardware co-ordinates provided as inputs." shape="rect">readGenericMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1ge242a5b3d2877bb06e69b29e08079d04" title="Reads content at address in the shared memory segment." shape="rect">readSharedMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g0d793af43e61047ee8069835d4407819" title="Read the content of texture memory with given id and coords on sm_20 and lower." shape="rect">readTextureMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g81729a1eb1b4d90e63f505bc4e407917" title="Reads content at address in the local memory segment." shape="rect">readLocalMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g23e67e3745e52c60d0a64ced1cc62dcb" title="Reads content of a hardware register." shape="rect">readRegister</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g4e5d98dced2544bbe90d0a9483527f3f" title="Reads the PC on the given active lane." shape="rect">readPC</a></p>
                              <p class="p"></p>
                           </div>
                           <div class="section">
                              <h6 class="parameter_header">
                                 Parameters
                                 
                              </h6>
                              <dl class="table-display-params">
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">dev</span></tt></dt>
                                 <dd>- device index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">sm</span></tt></dt>
                                 <dd>- SM index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">wp</span></tt></dt>
                                 <dd>- warp index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">addr</span></tt></dt>
                                 <dd>- memory address </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">buf</span></tt></dt>
                                 <dd>- buffer </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">sz</span></tt></dt>
                                 <dd>- size of the buffer</dd>
                              </dl>
                           </div>
                           <div class="section">
                              <h6 class="return_header">Returns</h6>
                              <p class="return">CUDBG_SUCCESS, CUDBG_ERROR_INVALID_ARGS, CUDBG_ERROR_INVALID_DEVICE, CUDBG_ERROR_INVALID_SM, CUDBG_ERROR_INVALID_WARP, CUDBG_ERROR_UNINITIALIZED,
                                 CUDBG_ERROR_MEMORY_MAPPING_FAILED
                              </p>
                           </div>
                        </dd>
                        <dt class="description"><a name="group__READ_1g6bae1fafb4bb9a70ba372d50771c860c" id="group__READ_1g6bae1fafb4bb9a70ba372d50771c860c" shape="rect">
                              <!-- --></a><span><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                              ( *<a href="structCUDBGAPI__st.html" title="The CUDA debugger API routines. " shape="rect">CUDBGAPI_st</a>::readPinnedMemory )(  uint64_t<span>&nbsp;</span><span class="keyword keyword apiItemName">addr</span>, void*<span>&nbsp;</span><span class="keyword keyword apiItemName">buf</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sz</span> )</span></dt>
                        <dd class="description">
                           <div class="section">
                              <p>Reads content at pinned address in system memory.  Since CUDA 3.2.</p>
                              <p class="p"></p>
                              <p class="p"></p>
                              <p class="p apiDesc_subtitle"><strong class="ph b">See also:</strong></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g96d8d7f7158aacc75b0013fb14e070df" title="Reads content at address in the code memory segment." shape="rect">readCodeMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g403214b4c091fa8f1805e652fa720717" title="Reads content at address in the constant memory segment." shape="rect">readConstMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g132516a9f3750484f299d36328f6bf49" title="Reads content at an address in the generic address space. This function determines if the given address falls into the local, shared, or global memory window. It then accesses memory taking into account the hardware co-ordinates provided as inputs." shape="rect">readGenericMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g2f5bf430b5202e893f896a4e53e7473e" title="Reads content at address in the param memory segment." shape="rect">readParamMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1ge242a5b3d2877bb06e69b29e08079d04" title="Reads content at address in the shared memory segment." shape="rect">readSharedMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g0d793af43e61047ee8069835d4407819" title="Read the content of texture memory with given id and coords on sm_20 and lower." shape="rect">readTextureMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g81729a1eb1b4d90e63f505bc4e407917" title="Reads content at address in the local memory segment." shape="rect">readLocalMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g23e67e3745e52c60d0a64ced1cc62dcb" title="Reads content of a hardware register." shape="rect">readRegister</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g4e5d98dced2544bbe90d0a9483527f3f" title="Reads the PC on the given active lane." shape="rect">readPC</a></p>
                              <p class="p"></p>
                           </div>
                           <div class="section">
                              <h6 class="parameter_header">
                                 Parameters
                                 
                              </h6>
                              <dl class="table-display-params">
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">addr</span></tt></dt>
                                 <dd>- system memory address </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">buf</span></tt></dt>
                                 <dd>- buffer </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">sz</span></tt></dt>
                                 <dd>- size of the buffer</dd>
                              </dl>
                           </div>
                           <div class="section">
                              <h6 class="return_header">Returns</h6>
                              <p class="return">CUDBG_SUCCESS, CUDBG_ERROR_INVALID_ARGS, CUDBG_ERROR_MEMORY_MAPPING_FAILED, CUDBG_ERROR_UNINITIALIZED</p>
                           </div>
                        </dd>
                        <dt class="description"><a name="group__READ_1g02ab5a95af92043803364eb35cafabea" id="group__READ_1g02ab5a95af92043803364eb35cafabea" shape="rect">
                              <!-- --></a><span><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                              ( *<a href="structCUDBGAPI__st.html" title="The CUDA debugger API routines. " shape="rect">CUDBGAPI_st</a>::readPredicates )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">dev</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sm</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">wp</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">ln</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">predicates_size</span>, uint32_t*<span>&nbsp;</span><span class="keyword keyword apiItemName">predicates</span> )</span></dt>
                        <dd class="description">
                           <div class="section">
                              <p>Reads content of hardware predicate registers.  Since CUDA 6.5.</p>
                              <p class="p"></p>
                              <p class="p"></p>
                              <p class="p apiDesc_subtitle"><strong class="ph b">See also:</strong></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g96d8d7f7158aacc75b0013fb14e070df" title="Reads content at address in the code memory segment." shape="rect">readCodeMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g403214b4c091fa8f1805e652fa720717" title="Reads content at address in the constant memory segment." shape="rect">readConstMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g132516a9f3750484f299d36328f6bf49" title="Reads content at an address in the generic address space. This function determines if the given address falls into the local, shared, or global memory window. It then accesses memory taking into account the hardware co-ordinates provided as inputs." shape="rect">readGenericMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1gbb7f10629d91480e5aa8aa17807b07f2" title="Reads content at an address in the global address space. If the address is valid on more than one device and one of those devices does not support UVA, an error is returned." shape="rect">readGlobalMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g2f5bf430b5202e893f896a4e53e7473e" title="Reads content at address in the param memory segment." shape="rect">readParamMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1ge242a5b3d2877bb06e69b29e08079d04" title="Reads content at address in the shared memory segment." shape="rect">readSharedMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g0d793af43e61047ee8069835d4407819" title="Read the content of texture memory with given id and coords on sm_20 and lower." shape="rect">readTextureMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g81729a1eb1b4d90e63f505bc4e407917" title="Reads content at address in the local memory segment." shape="rect">readLocalMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g23e67e3745e52c60d0a64ced1cc62dcb" title="Reads content of a hardware register." shape="rect">readRegister</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g4e5d98dced2544bbe90d0a9483527f3f" title="Reads the PC on the given active lane." shape="rect">readPC</a></p>
                              <p class="p"></p>
                           </div>
                           <div class="section">
                              <h6 class="parameter_header">
                                 Parameters
                                 
                              </h6>
                              <dl class="table-display-params">
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">dev</span></tt></dt>
                                 <dd>- device index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">sm</span></tt></dt>
                                 <dd>- SM index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">wp</span></tt></dt>
                                 <dd>- warp index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">ln</span></tt></dt>
                                 <dd>- lane index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">predicates_size</span></tt></dt>
                                 <dd>- number of predicate registers to read </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">predicates</span></tt></dt>
                                 <dd>- buffer</dd>
                              </dl>
                           </div>
                           <div class="section">
                              <h6 class="return_header">Returns</h6>
                              <p class="return">CUDBG_SUCCESS, CUDBG_ERROR_INVALID_ARGS, CUDBG_ERROR_INVALID_DEVICE, CUDBG_ERROR_INVALID_LANE, CUDBG_ERROR_INVALID_SM, CUDBG_ERROR_INVALID_WARP,
                                 CUDBG_ERROR_UNINITIALIZED
                              </p>
                           </div>
                        </dd>
                        <dt class="description"><a name="group__READ_1g23e67e3745e52c60d0a64ced1cc62dcb" id="group__READ_1g23e67e3745e52c60d0a64ced1cc62dcb" shape="rect">
                              <!-- --></a><span><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                              ( *<a href="structCUDBGAPI__st.html" title="The CUDA debugger API routines. " shape="rect">CUDBGAPI_st</a>::readRegister )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">dev</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sm</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">wp</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">ln</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">regno</span>, uint32_t*<span>&nbsp;</span><span class="keyword keyword apiItemName">val</span> )</span></dt>
                        <dd class="description">
                           <div class="section">
                              <p>Reads content of a hardware register.  Since CUDA 3.0.</p>
                              <p class="p"></p>
                              <p class="p"></p>
                              <p class="p apiDesc_subtitle"><strong class="ph b">See also:</strong></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g96d8d7f7158aacc75b0013fb14e070df" title="Reads content at address in the code memory segment." shape="rect">readCodeMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g403214b4c091fa8f1805e652fa720717" title="Reads content at address in the constant memory segment." shape="rect">readConstMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g132516a9f3750484f299d36328f6bf49" title="Reads content at an address in the generic address space. This function determines if the given address falls into the local, shared, or global memory window. It then accesses memory taking into account the hardware co-ordinates provided as inputs." shape="rect">readGenericMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g2f5bf430b5202e893f896a4e53e7473e" title="Reads content at address in the param memory segment." shape="rect">readParamMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1ge242a5b3d2877bb06e69b29e08079d04" title="Reads content at address in the shared memory segment." shape="rect">readSharedMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g0d793af43e61047ee8069835d4407819" title="Read the content of texture memory with given id and coords on sm_20 and lower." shape="rect">readTextureMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g81729a1eb1b4d90e63f505bc4e407917" title="Reads content at address in the local memory segment." shape="rect">readLocalMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g4e5d98dced2544bbe90d0a9483527f3f" title="Reads the PC on the given active lane." shape="rect">readPC</a></p>
                              <p class="p"></p>
                           </div>
                           <div class="section">
                              <h6 class="parameter_header">
                                 Parameters
                                 
                              </h6>
                              <dl class="table-display-params">
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">dev</span></tt></dt>
                                 <dd>- device index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">sm</span></tt></dt>
                                 <dd>- SM index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">wp</span></tt></dt>
                                 <dd>- warp index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">ln</span></tt></dt>
                                 <dd>- lane index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">regno</span></tt></dt>
                                 <dd>- register index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">val</span></tt></dt>
                                 <dd>- buffer</dd>
                              </dl>
                           </div>
                           <div class="section">
                              <h6 class="return_header">Returns</h6>
                              <p class="return">CUDBG_SUCCESS, CUDBG_ERROR_INVALID_ARGS, CUDBG_ERROR_INVALID_DEVICE, CUDBG_ERROR_INVALID_LANE, CUDBG_ERROR_INVALID_SM, CUDBG_ERROR_INVALID_WARP,
                                 CUDBG_ERROR_UNINITIALIZED
                              </p>
                           </div>
                        </dd>
                        <dt class="description"><a name="group__READ_1g8a5826d9ce120f9be96d5ee377f58a47" id="group__READ_1g8a5826d9ce120f9be96d5ee377f58a47" shape="rect">
                              <!-- --></a><span><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                              ( *<a href="structCUDBGAPI__st.html" title="The CUDA debugger API routines. " shape="rect">CUDBGAPI_st</a>::readRegisterRange )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">devId</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sm</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">wp</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">ln</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">index</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">registers_size</span>, uint32_t*<span>&nbsp;</span><span class="keyword keyword apiItemName">registers</span> )</span></dt>
                        <dd class="description">
                           <div class="section">
                              <p>Reads content of a hardware range of hardware registers.  Since CUDA 6.0.</p>
                              <p class="p"></p>
                              <p class="p"></p>
                              <p class="p apiDesc_subtitle"><strong class="ph b">See also:</strong></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g96d8d7f7158aacc75b0013fb14e070df" title="Reads content at address in the code memory segment." shape="rect">readCodeMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g403214b4c091fa8f1805e652fa720717" title="Reads content at address in the constant memory segment." shape="rect">readConstMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g132516a9f3750484f299d36328f6bf49" title="Reads content at an address in the generic address space. This function determines if the given address falls into the local, shared, or global memory window. It then accesses memory taking into account the hardware co-ordinates provided as inputs." shape="rect">readGenericMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g2f5bf430b5202e893f896a4e53e7473e" title="Reads content at address in the param memory segment." shape="rect">readParamMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1ge242a5b3d2877bb06e69b29e08079d04" title="Reads content at address in the shared memory segment." shape="rect">readSharedMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g0d793af43e61047ee8069835d4407819" title="Read the content of texture memory with given id and coords on sm_20 and lower." shape="rect">readTextureMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g81729a1eb1b4d90e63f505bc4e407917" title="Reads content at address in the local memory segment." shape="rect">readLocalMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g4e5d98dced2544bbe90d0a9483527f3f" title="Reads the PC on the given active lane." shape="rect">readPC</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g23e67e3745e52c60d0a64ced1cc62dcb" title="Reads content of a hardware register." shape="rect">readRegister</a></p>
                              <p class="p"></p>
                           </div>
                           <div class="section">
                              <h6 class="parameter_header">
                                 Parameters
                                 
                              </h6>
                              <dl class="table-display-params">
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">devId</span></tt></dt>
                                 <dd></dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">sm</span></tt></dt>
                                 <dd>- SM index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">wp</span></tt></dt>
                                 <dd>- warp index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">ln</span></tt></dt>
                                 <dd>- lane index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">index</span></tt></dt>
                                 <dd>- index of the first register to read </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">registers_size</span></tt></dt>
                                 <dd>- number of registers to read </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">registers</span></tt></dt>
                                 <dd>- buffer</dd>
                              </dl>
                           </div>
                           <div class="section">
                              <h6 class="return_header">Returns</h6>
                              <p class="return">CUDBG_SUCCESS, CUDBG_ERROR_INVALID_ARGS, CUDBG_ERROR_INVALID_DEVICE, CUDBG_ERROR_INVALID_LANE, CUDBG_ERROR_INVALID_SM, CUDBG_ERROR_INVALID_WARP,
                                 CUDBG_ERROR_UNINITIALIZED
                              </p>
                           </div>
                        </dd>
                        <dt class="description"><a name="group__READ_1g31dee949a5b53d5c509668c764ec9171" id="group__READ_1g31dee949a5b53d5c509668c764ec9171" shape="rect">
                              <!-- --></a><span><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                              ( *<a href="structCUDBGAPI__st.html" title="The CUDA debugger API routines. " shape="rect">CUDBGAPI_st</a>::readReturnAddress )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">dev</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sm</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">wp</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">ln</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">level</span>, uint64_t*<span>&nbsp;</span><span class="keyword keyword apiItemName">ra</span> )</span></dt>
                        <dd class="description">
                           <div class="section">
                              <p>Reads the physical return address for a call level.  Since CUDA 4.0.</p>
                              <p class="p"></p>
                              <p class="p"></p>
                              <p class="p apiDesc_subtitle"><strong class="ph b">See also:</strong></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g6b438d1fd6d089bc430dd8ba6b53daf8" title="Reads the call depth (number of calls) for a given lane." shape="rect">readCallDepth</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1ga2b518d57cfab4feba42e1fcfffb5913" title="Reads the virtual return address for a call level." shape="rect">readVirtualReturnAddress</a></p>
                              <p class="p"></p>
                           </div>
                           <div class="section">
                              <h6 class="parameter_header">
                                 Parameters
                                 
                              </h6>
                              <dl class="table-display-params">
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">dev</span></tt></dt>
                                 <dd>- device index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">sm</span></tt></dt>
                                 <dd>- SM index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">wp</span></tt></dt>
                                 <dd>- warp index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">ln</span></tt></dt>
                                 <dd>- lane index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">level</span></tt></dt>
                                 <dd>- the specified call level </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">ra</span></tt></dt>
                                 <dd>- the returned return address for level</dd>
                              </dl>
                           </div>
                           <div class="section">
                              <h6 class="return_header">Returns</h6>
                              <p class="return">CUDBG_SUCCESS, CUDBG_ERROR_INVALID_ARGS, CUDBG_ERROR_INVALID_DEVICE, CUDBG_ERROR_INVALID_SM, CUDBG_ERROR_INVALID_WARP, CUDBG_ERROR_INVALID_LANE,
                                 CUDBG_ERROR_INVALID_GRID, CUDBG_ERROR_INVALID_CALL_LEVEL, CUDBG_ERROR_ZERO_CALL_DEPTH, CUDBG_ERROR_UNKNOWN_FUNCTION, CUDBG_ERROR_UNINITIALIZED
                              </p>
                           </div>
                        </dd>
                        <dt class="description"><a name="group__READ_1g33d944489b2b085cdbd42712ce666ef4" id="group__READ_1g33d944489b2b085cdbd42712ce666ef4" shape="rect">
                              <!-- --></a><span><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                              ( *<a href="structCUDBGAPI__st.html" title="The CUDA debugger API routines. " shape="rect">CUDBGAPI_st</a>::readReturnAddress32 )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">dev</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sm</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">wp</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">level</span>, uint64_t*<span>&nbsp;</span><span class="keyword keyword apiItemName">ra</span> )</span></dt>
                        <dd class="description">
                           <div class="section">
                              <p>Reads the physical return address for a call level.  Since CUDA 3.1.</p>
                              <p class="p"></p>
                              <p class="p"></p>
                              <p class="p"></p>
                              <p class="p apiDesc_subtitle"><strong class="ph b">See also:</strong></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g262cdf69168252b06bcfb19c474f7a6f" title="Reads the call depth (number of calls) for a given warp." shape="rect">readCallDepth32</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1gf234679daecf9378353343c8942da5a7" title="Reads the virtual return address for a call level." shape="rect">readVirtualReturnAddress32</a></p>
                              <p class="p"></p>
                           </div>
                           <div class="section">
                              <h6 class="parameter_header">
                                 Parameters
                                 
                              </h6>
                              <dl class="table-display-params">
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">dev</span></tt></dt>
                                 <dd>- device index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">sm</span></tt></dt>
                                 <dd>- SM index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">wp</span></tt></dt>
                                 <dd>- warp index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">level</span></tt></dt>
                                 <dd>- the specified call level </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">ra</span></tt></dt>
                                 <dd>- the returned return address for level</dd>
                              </dl>
                           </div>
                           <div class="section">
                              <h6 class="return_header">Returns</h6>
                              <p class="return">CUDBG_SUCCESS, CUDBG_ERROR_INVALID_ARGS, CUDBG_ERROR_INVALID_DEVICE, CUDBG_ERROR_INVALID_SM, CUDBG_ERROR_INVALID_WARP, CUDBG_ERROR_INVALID_GRID,
                                 CUDBG_ERROR_INVALID_CALL_LEVEL, CUDBG_ERROR_ZERO_CALL_DEPTH, CUDBG_ERROR_UNKNOWN_FUNCTION, CUDBG_ERROR_UNINITIALIZED
                              </p>
                           </div>
                        </dd>
                        <dt class="description"><a name="group__READ_1ge242a5b3d2877bb06e69b29e08079d04" id="group__READ_1ge242a5b3d2877bb06e69b29e08079d04" shape="rect">
                              <!-- --></a><span><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                              ( *<a href="structCUDBGAPI__st.html" title="The CUDA debugger API routines. " shape="rect">CUDBGAPI_st</a>::readSharedMemory )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">dev</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sm</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">wp</span>, uint64_t<span>&nbsp;</span><span class="keyword keyword apiItemName">addr</span>, void*<span>&nbsp;</span><span class="keyword keyword apiItemName">buf</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sz</span> )</span></dt>
                        <dd class="description">
                           <div class="section">
                              <p>Reads content at address in the shared memory segment.  Since CUDA 3.0.</p>
                              <p class="p"></p>
                              <p class="p"></p>
                              <p class="p apiDesc_subtitle"><strong class="ph b">See also:</strong></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g96d8d7f7158aacc75b0013fb14e070df" title="Reads content at address in the code memory segment." shape="rect">readCodeMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g403214b4c091fa8f1805e652fa720717" title="Reads content at address in the constant memory segment." shape="rect">readConstMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g132516a9f3750484f299d36328f6bf49" title="Reads content at an address in the generic address space. This function determines if the given address falls into the local, shared, or global memory window. It then accesses memory taking into account the hardware co-ordinates provided as inputs." shape="rect">readGenericMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g2f5bf430b5202e893f896a4e53e7473e" title="Reads content at address in the param memory segment." shape="rect">readParamMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g81729a1eb1b4d90e63f505bc4e407917" title="Reads content at address in the local memory segment." shape="rect">readLocalMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g0d793af43e61047ee8069835d4407819" title="Read the content of texture memory with given id and coords on sm_20 and lower." shape="rect">readTextureMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g23e67e3745e52c60d0a64ced1cc62dcb" title="Reads content of a hardware register." shape="rect">readRegister</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g4e5d98dced2544bbe90d0a9483527f3f" title="Reads the PC on the given active lane." shape="rect">readPC</a></p>
                              <p class="p"></p>
                           </div>
                           <div class="section">
                              <h6 class="parameter_header">
                                 Parameters
                                 
                              </h6>
                              <dl class="table-display-params">
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">dev</span></tt></dt>
                                 <dd>- device index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">sm</span></tt></dt>
                                 <dd>- SM index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">wp</span></tt></dt>
                                 <dd>- warp index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">addr</span></tt></dt>
                                 <dd>- memory address </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">buf</span></tt></dt>
                                 <dd>- buffer </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">sz</span></tt></dt>
                                 <dd>- size of the buffer</dd>
                              </dl>
                           </div>
                           <div class="section">
                              <h6 class="return_header">Returns</h6>
                              <p class="return">CUDBG_SUCCESS, CUDBG_ERROR_INVALID_ARGS, CUDBG_ERROR_INVALID_DEVICE, CUDBG_ERROR_INVALID_SM, CUDBG_ERROR_INVALID_WARP, CUDBG_ERROR_UNINITIALIZED,
                                 CUDBG_ERROR_MEMORY_MAPPING_FAILED
                              </p>
                           </div>
                        </dd>
                        <dt class="description"><a name="group__READ_1g316294b5861d23bc789adf43a1d6df57" id="group__READ_1g316294b5861d23bc789adf43a1d6df57" shape="rect">
                              <!-- --></a><span><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                              ( *<a href="structCUDBGAPI__st.html" title="The CUDA debugger API routines. " shape="rect">CUDBGAPI_st</a>::readSyscallCallDepth )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">dev</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sm</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">wp</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">ln</span>, uint32_t*<span>&nbsp;</span><span class="keyword keyword apiItemName">depth</span> )</span></dt>
                        <dd class="description">
                           <div class="section">
                              <p>Reads the call depth of syscalls for a given lane.  Since CUDA 4.1.</p>
                              <p class="p"></p>
                              <p class="p"></p>
                              <p class="p apiDesc_subtitle"><strong class="ph b">See also:</strong></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g31dee949a5b53d5c509668c764ec9171" title="Reads the physical return address for a call level." shape="rect">readReturnAddress</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1ga2b518d57cfab4feba42e1fcfffb5913" title="Reads the virtual return address for a call level." shape="rect">readVirtualReturnAddress</a></p>
                              <p class="p"></p>
                           </div>
                           <div class="section">
                              <h6 class="parameter_header">
                                 Parameters
                                 
                              </h6>
                              <dl class="table-display-params">
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">dev</span></tt></dt>
                                 <dd>- device index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">sm</span></tt></dt>
                                 <dd>- SM index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">wp</span></tt></dt>
                                 <dd>- warp index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">ln</span></tt></dt>
                                 <dd>- lane index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">depth</span></tt></dt>
                                 <dd>- the returned call depth</dd>
                              </dl>
                           </div>
                           <div class="section">
                              <h6 class="return_header">Returns</h6>
                              <p class="return">CUDBG_SUCCESS, CUDBG_ERROR_INVALID_ARGS, CUDBG_ERROR_INVALID_DEVICE, CUDBG_ERROR_INVALID_SM, CUDBG_ERROR_INVALID_WARP, CUDBG_ERROR_INVALID_LANE,
                                 CUDBG_ERROR_UNINITIALIZED
                              </p>
                           </div>
                        </dd>
                        <dt class="description"><a name="group__READ_1g0d793af43e61047ee8069835d4407819" id="group__READ_1g0d793af43e61047ee8069835d4407819" shape="rect">
                              <!-- --></a><span><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                              ( *<a href="structCUDBGAPI__st.html" title="The CUDA debugger API routines. " shape="rect">CUDBGAPI_st</a>::readTextureMemory )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">devId</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">vsm</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">wp</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">id</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">dim</span>, uint32_t*<span>&nbsp;</span><span class="keyword keyword apiItemName">coords</span>, void*<span>&nbsp;</span><span class="keyword keyword apiItemName">buf</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sz</span> )</span></dt>
                        <dd class="description">
                           <div class="section">
                              <p>Read the content of texture memory with given id and coords on sm_20 and lower.  Read the content of texture memory with given
                                 id and coords on sm_20 and lower.
                              </p>
                              <p class="p">On sm_30 and higher, use <a class="xref" href="group__READ.html#group__READ_1g6f73101230b23e482d1fc1d8b14ff633" title="Read the content of texture memory with given symtab index and coords on sm_30 and higher." shape="rect">CUDBGAPI_st::readTextureMemoryBindless</a> instead.
                              </p>
                              <p class="p">Since CUDA 4.0.</p>
                              <p class="p"></p>
                              <p class="p"></p>
                              <p class="p apiDesc_subtitle"><strong class="ph b">See also:</strong></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g96d8d7f7158aacc75b0013fb14e070df" title="Reads content at address in the code memory segment." shape="rect">readCodeMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g403214b4c091fa8f1805e652fa720717" title="Reads content at address in the constant memory segment." shape="rect">readConstMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g132516a9f3750484f299d36328f6bf49" title="Reads content at an address in the generic address space. This function determines if the given address falls into the local, shared, or global memory window. It then accesses memory taking into account the hardware co-ordinates provided as inputs." shape="rect">readGenericMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g2f5bf430b5202e893f896a4e53e7473e" title="Reads content at address in the param memory segment." shape="rect">readParamMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1ge242a5b3d2877bb06e69b29e08079d04" title="Reads content at address in the shared memory segment." shape="rect">readSharedMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g81729a1eb1b4d90e63f505bc4e407917" title="Reads content at address in the local memory segment." shape="rect">readLocalMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g23e67e3745e52c60d0a64ced1cc62dcb" title="Reads content of a hardware register." shape="rect">readRegister</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g4e5d98dced2544bbe90d0a9483527f3f" title="Reads the PC on the given active lane." shape="rect">readPC</a></p>
                              <p class="p"></p>
                           </div>
                           <div class="section">
                              <h6 class="parameter_header">
                                 Parameters
                                 
                              </h6>
                              <dl class="table-display-params">
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">devId</span></tt></dt>
                                 <dd>- device index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">vsm</span></tt></dt>
                                 <dd>- SM index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">wp</span></tt></dt>
                                 <dd>- warp index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">id</span></tt></dt>
                                 <dd>- texture id (the value of DW_AT_location attribute in the relocated ELF image) </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">dim</span></tt></dt>
                                 <dd>- texture dimension (1 to 4) </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">coords</span></tt></dt>
                                 <dd>- array of coordinates of size dim </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">buf</span></tt></dt>
                                 <dd>- result buffer </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">sz</span></tt></dt>
                                 <dd>- size of the buffer</dd>
                              </dl>
                           </div>
                           <div class="section">
                              <h6 class="return_header">Returns</h6>
                              <p class="return">CUDBG_SUCCESS, CUDBG_ERROR_INVALID_ARGS, CUDBG_ERROR_INVALID_DEVICE, CUDBG_ERROR_INVALID_SM, CUDBG_ERROR_INVALID_WARP, CUDBG_ERROR_UNINITIALIZED,
                                 CUDBG_ERROR_MEMORY_MAPPING_FAILED
                              </p>
                           </div>
                        </dd>
                        <dt class="description"><a name="group__READ_1g6f73101230b23e482d1fc1d8b14ff633" id="group__READ_1g6f73101230b23e482d1fc1d8b14ff633" shape="rect">
                              <!-- --></a><span><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                              ( *<a href="structCUDBGAPI__st.html" title="The CUDA debugger API routines. " shape="rect">CUDBGAPI_st</a>::readTextureMemoryBindless )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">devId</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">vsm</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">wp</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">texSymtabIndex</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">dim</span>, uint32_t*<span>&nbsp;</span><span class="keyword keyword apiItemName">coords</span>, void*<span>&nbsp;</span><span class="keyword keyword apiItemName">buf</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sz</span> )</span></dt>
                        <dd class="description">
                           <div class="section">
                              <p>Read the content of texture memory with given symtab index and coords on sm_30 and higher.  Read the content of texture memory
                                 with given symtab index and coords on sm_30 and higher.
                              </p>
                              <p class="p">For sm_20 and lower, use <a class="xref" href="group__READ.html#group__READ_1g0d793af43e61047ee8069835d4407819" title="Read the content of texture memory with given id and coords on sm_20 and lower." shape="rect">CUDBGAPI_st::readTextureMemory</a> instead.
                              </p>
                              <p class="p">Since CUDA 4.2.</p>
                              <p class="p"></p>
                              <p class="p"></p>
                              <p class="p apiDesc_subtitle"><strong class="ph b">See also:</strong></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g96d8d7f7158aacc75b0013fb14e070df" title="Reads content at address in the code memory segment." shape="rect">readCodeMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g403214b4c091fa8f1805e652fa720717" title="Reads content at address in the constant memory segment." shape="rect">readConstMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g132516a9f3750484f299d36328f6bf49" title="Reads content at an address in the generic address space. This function determines if the given address falls into the local, shared, or global memory window. It then accesses memory taking into account the hardware co-ordinates provided as inputs." shape="rect">readGenericMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g2f5bf430b5202e893f896a4e53e7473e" title="Reads content at address in the param memory segment." shape="rect">readParamMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1ge242a5b3d2877bb06e69b29e08079d04" title="Reads content at address in the shared memory segment." shape="rect">readSharedMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g81729a1eb1b4d90e63f505bc4e407917" title="Reads content at address in the local memory segment." shape="rect">readLocalMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g23e67e3745e52c60d0a64ced1cc62dcb" title="Reads content of a hardware register." shape="rect">readRegister</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g4e5d98dced2544bbe90d0a9483527f3f" title="Reads the PC on the given active lane." shape="rect">readPC</a></p>
                              <p class="p"></p>
                           </div>
                           <div class="section">
                              <h6 class="parameter_header">
                                 Parameters
                                 
                              </h6>
                              <dl class="table-display-params">
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">devId</span></tt></dt>
                                 <dd>- device index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">vsm</span></tt></dt>
                                 <dd>- SM index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">wp</span></tt></dt>
                                 <dd>- warp index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">texSymtabIndex</span></tt></dt>
                                 <dd>- global symbol table index of the texture symbol </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">dim</span></tt></dt>
                                 <dd>- texture dimension (1 to 4) </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">coords</span></tt></dt>
                                 <dd>- array of coordinates of size dim </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">buf</span></tt></dt>
                                 <dd>- result buffer </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">sz</span></tt></dt>
                                 <dd>- size of the buffer</dd>
                              </dl>
                           </div>
                           <div class="section">
                              <h6 class="return_header">Returns</h6>
                              <p class="return">CUDBG_SUCCESS, CUDBG_ERROR_INVALID_ARGS, CUDBG_ERROR_INVALID_DEVICE, CUDBG_ERROR_INVALID_SM, CUDBG_ERROR_INVALID_WARP, CUDBG_ERROR_UNINITIALIZED,
                                 CUDBG_ERROR_MEMORY_MAPPING_FAILED
                              </p>
                           </div>
                        </dd>
                        <dt class="description"><a name="group__READ_1g19ba2b56ab1ae81f20cfc163a46ae5bb" id="group__READ_1g19ba2b56ab1ae81f20cfc163a46ae5bb" shape="rect">
                              <!-- --></a><span><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                              ( *<a href="structCUDBGAPI__st.html" title="The CUDA debugger API routines. " shape="rect">CUDBGAPI_st</a>::readThreadIdx )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">dev</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sm</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">wp</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">ln</span>, CuDim3*<span>&nbsp;</span><span class="keyword keyword apiItemName">threadIdx</span> )</span></dt>
                        <dd class="description">
                           <div class="section">
                              <p>Reads the CUDA thread index running on valid lane.  Since CUDA 3.0.</p>
                              <p class="p"></p>
                              <p class="p"></p>
                              <p class="p apiDesc_subtitle"><strong class="ph b">See also:</strong></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g3bf37520a3721ebff43b0f4aa06c9953" title="Reads the 64-bit CUDA grid index running on a valid warp." shape="rect">readGridId</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g0dd276e9fc631d3921dd3c65d6d1f900" title="Reads the CUDA block index running on a valid warp." shape="rect">readBlockIdx</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g4b818e988b7469c1f67fa3ec3f58a283" title="Reads the bitmask of warps that are at a breakpoint on a given SM." shape="rect">readBrokenWarps</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1ge45c80b025d95c5843ba32ab73e28908" title="Reads the bitmask of valid warps on a given SM." shape="rect">readValidWarps</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1gf8f5a4351ed66097d7c557d3b3cfcf4c" title="Reads the bitmask of valid lanes on a given warp." shape="rect">readValidLanes</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1gf8b872bd2d8a482b9f705e7e19159b04" title="Reads the bitmask of active lanes on a valid warp." shape="rect">readActiveLanes</a></p>
                              <p class="p"></p>
                           </div>
                           <div class="section">
                              <h6 class="parameter_header">
                                 Parameters
                                 
                              </h6>
                              <dl class="table-display-params">
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">dev</span></tt></dt>
                                 <dd>- device index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">sm</span></tt></dt>
                                 <dd>- SM index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">wp</span></tt></dt>
                                 <dd>- warp index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">ln</span></tt></dt>
                                 <dd>- lane index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">threadIdx</span></tt></dt>
                                 <dd>- the returned CUDA thread index</dd>
                              </dl>
                           </div>
                           <div class="section">
                              <h6 class="return_header">Returns</h6>
                              <p class="return">CUDBG_SUCCESS, CUDBG_ERROR_INVALID_ARGS, CUDBG_ERROR_INVALID_DEVICE, CUDBG_ERROR_INVALID_LANE, CUDBG_ERROR_INVALID_SM, CUDBG_ERROR_INVALID_WARP,
                                 CUDBG_ERROR_UNINITIALIZED
                              </p>
                           </div>
                        </dd>
                        <dt class="description"><a name="group__READ_1gf8f5a4351ed66097d7c557d3b3cfcf4c" id="group__READ_1gf8f5a4351ed66097d7c557d3b3cfcf4c" shape="rect">
                              <!-- --></a><span><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                              ( *<a href="structCUDBGAPI__st.html" title="The CUDA debugger API routines. " shape="rect">CUDBGAPI_st</a>::readValidLanes )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">dev</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sm</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">wp</span>, uint32_t*<span>&nbsp;</span><span class="keyword keyword apiItemName">validLanesMask</span> )</span></dt>
                        <dd class="description">
                           <div class="section">
                              <p>Reads the bitmask of valid lanes on a given warp.  Since CUDA 3.0.</p>
                              <p class="p"></p>
                              <p class="p"></p>
                              <p class="p apiDesc_subtitle"><strong class="ph b">See also:</strong></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g3bf37520a3721ebff43b0f4aa06c9953" title="Reads the 64-bit CUDA grid index running on a valid warp." shape="rect">readGridId</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g0dd276e9fc631d3921dd3c65d6d1f900" title="Reads the CUDA block index running on a valid warp." shape="rect">readBlockIdx</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g19ba2b56ab1ae81f20cfc163a46ae5bb" title="Reads the CUDA thread index running on valid lane." shape="rect">readThreadIdx</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g4b818e988b7469c1f67fa3ec3f58a283" title="Reads the bitmask of warps that are at a breakpoint on a given SM." shape="rect">readBrokenWarps</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1ge45c80b025d95c5843ba32ab73e28908" title="Reads the bitmask of valid warps on a given SM." shape="rect">readValidWarps</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1gf8b872bd2d8a482b9f705e7e19159b04" title="Reads the bitmask of active lanes on a valid warp." shape="rect">readActiveLanes</a></p>
                              <p class="p"></p>
                           </div>
                           <div class="section">
                              <h6 class="parameter_header">
                                 Parameters
                                 
                              </h6>
                              <dl class="table-display-params">
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">dev</span></tt></dt>
                                 <dd>- device index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">sm</span></tt></dt>
                                 <dd>- SM index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">wp</span></tt></dt>
                                 <dd>- warp index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">validLanesMask</span></tt></dt>
                                 <dd>- the returned bitmask of valid lanes</dd>
                              </dl>
                           </div>
                           <div class="section">
                              <h6 class="return_header">Returns</h6>
                              <p class="return">CUDBG_SUCCESS, CUDBG_ERROR_INVALID_ARGS, CUDBG_ERROR_INVALID_DEVICE, CUDBG_ERROR_INVALID_SM, CUDBG_ERROR_INVALID_WARP, CUDBG_ERROR_UNINITIALIZED</p>
                           </div>
                        </dd>
                        <dt class="description"><a name="group__READ_1ge45c80b025d95c5843ba32ab73e28908" id="group__READ_1ge45c80b025d95c5843ba32ab73e28908" shape="rect">
                              <!-- --></a><span><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                              ( *<a href="structCUDBGAPI__st.html" title="The CUDA debugger API routines. " shape="rect">CUDBGAPI_st</a>::readValidWarps )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">dev</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sm</span>, uint64_t*<span>&nbsp;</span><span class="keyword keyword apiItemName">validWarpsMask</span> )</span></dt>
                        <dd class="description">
                           <div class="section">
                              <p>Reads the bitmask of valid warps on a given SM.  Since CUDA 3.0.</p>
                              <p class="p"></p>
                              <p class="p"></p>
                              <p class="p apiDesc_subtitle"><strong class="ph b">See also:</strong></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g3bf37520a3721ebff43b0f4aa06c9953" title="Reads the 64-bit CUDA grid index running on a valid warp." shape="rect">readGridId</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g0dd276e9fc631d3921dd3c65d6d1f900" title="Reads the CUDA block index running on a valid warp." shape="rect">readBlockIdx</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g19ba2b56ab1ae81f20cfc163a46ae5bb" title="Reads the CUDA thread index running on valid lane." shape="rect">readThreadIdx</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g4b818e988b7469c1f67fa3ec3f58a283" title="Reads the bitmask of warps that are at a breakpoint on a given SM." shape="rect">readBrokenWarps</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1gf8f5a4351ed66097d7c557d3b3cfcf4c" title="Reads the bitmask of valid lanes on a given warp." shape="rect">readValidLanes</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1gf8b872bd2d8a482b9f705e7e19159b04" title="Reads the bitmask of active lanes on a valid warp." shape="rect">readActiveLanes</a></p>
                              <p class="p"></p>
                           </div>
                           <div class="section">
                              <h6 class="parameter_header">
                                 Parameters
                                 
                              </h6>
                              <dl class="table-display-params">
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">dev</span></tt></dt>
                                 <dd>- device index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">sm</span></tt></dt>
                                 <dd>- SM index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">validWarpsMask</span></tt></dt>
                                 <dd>- the returned bitmask of valid warps</dd>
                              </dl>
                           </div>
                           <div class="section">
                              <h6 class="return_header">Returns</h6>
                              <p class="return">CUDBG_SUCCESS, CUDBG_ERROR_INVALID_ARGS, CUDBG_ERROR_INVALID_DEVICE, CUDBG_ERROR_INVALID_SM, CUDBG_ERROR_UNINITIALIZED</p>
                           </div>
                        </dd>
                        <dt class="description"><a name="group__READ_1gb8f4830c29701bae9198de2351f51985" id="group__READ_1gb8f4830c29701bae9198de2351f51985" shape="rect">
                              <!-- --></a><span><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                              ( *<a href="structCUDBGAPI__st.html" title="The CUDA debugger API routines. " shape="rect">CUDBGAPI_st</a>::readVirtualPC )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">dev</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sm</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">wp</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">ln</span>, uint64_t*<span>&nbsp;</span><span class="keyword keyword apiItemName">pc</span> )</span></dt>
                        <dd class="description">
                           <div class="section">
                              <p>Reads the virtual PC on the given active lane.  Since CUDA 3.0.</p>
                              <p class="p"></p>
                              <p class="p"></p>
                              <p class="p apiDesc_subtitle"><strong class="ph b">See also:</strong></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g4e5d98dced2544bbe90d0a9483527f3f" title="Reads the PC on the given active lane." shape="rect">readPC</a></p>
                              <p class="p"></p>
                           </div>
                           <div class="section">
                              <h6 class="parameter_header">
                                 Parameters
                                 
                              </h6>
                              <dl class="table-display-params">
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">dev</span></tt></dt>
                                 <dd>- device index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">sm</span></tt></dt>
                                 <dd>- SM index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">wp</span></tt></dt>
                                 <dd>- warp index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">ln</span></tt></dt>
                                 <dd>- lane index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">pc</span></tt></dt>
                                 <dd>- the returned PC</dd>
                              </dl>
                           </div>
                           <div class="section">
                              <h6 class="return_header">Returns</h6>
                              <p class="return">CUDBG_SUCCESS, CUDBG_ERROR_INVALID_ARGS, CUDBG_ERROR_INVALID_DEVICE, CUDBG_ERROR_INVALID_LANE, CUDBG_ERROR_INVALID_SM, CUDBG_ERROR_INVALID_WARP,
                                 CUDBG_ERROR_UNINITIALIZED, CUDBG_ERROR_UNKNOWN_FUNCTION
                              </p>
                           </div>
                        </dd>
                        <dt class="description"><a name="group__READ_1ga2b518d57cfab4feba42e1fcfffb5913" id="group__READ_1ga2b518d57cfab4feba42e1fcfffb5913" shape="rect">
                              <!-- --></a><span><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                              ( *<a href="structCUDBGAPI__st.html" title="The CUDA debugger API routines. " shape="rect">CUDBGAPI_st</a>::readVirtualReturnAddress )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">dev</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sm</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">wp</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">ln</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">level</span>, uint64_t*<span>&nbsp;</span><span class="keyword keyword apiItemName">ra</span> )</span></dt>
                        <dd class="description">
                           <div class="section">
                              <p>Reads the virtual return address for a call level.  Since CUDA 4.0.</p>
                              <p class="p"></p>
                              <p class="p"></p>
                              <p class="p apiDesc_subtitle"><strong class="ph b">See also:</strong></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g6b438d1fd6d089bc430dd8ba6b53daf8" title="Reads the call depth (number of calls) for a given lane." shape="rect">readCallDepth</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g31dee949a5b53d5c509668c764ec9171" title="Reads the physical return address for a call level." shape="rect">readReturnAddress</a></p>
                              <p class="p"></p>
                           </div>
                           <div class="section">
                              <h6 class="parameter_header">
                                 Parameters
                                 
                              </h6>
                              <dl class="table-display-params">
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">dev</span></tt></dt>
                                 <dd>- device index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">sm</span></tt></dt>
                                 <dd>- SM index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">wp</span></tt></dt>
                                 <dd>- warp index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">ln</span></tt></dt>
                                 <dd>- lane index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">level</span></tt></dt>
                                 <dd>- the specified call level </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">ra</span></tt></dt>
                                 <dd>- the returned virtual return address for level</dd>
                              </dl>
                           </div>
                           <div class="section">
                              <h6 class="return_header">Returns</h6>
                              <p class="return">CUDBG_SUCCESS, CUDBG_ERROR_INVALID_ARGS, CUDBG_ERROR_INVALID_DEVICE, CUDBG_ERROR_INVALID_SM, CUDBG_ERROR_INVALID_WARP, CUDBG_ERROR_INVALID_LANE,
                                 CUDBG_ERROR_INVALID_GRID, CUDBG_ERROR_INVALID_CALL_LEVEL, CUDBG_ERROR_ZERO_CALL_DEPTH, CUDBG_ERROR_UNKNOWN_FUNCTION, CUDBG_ERROR_UNINITIALIZED,
                                 CUDBG_ERROR_INTERNAL
                              </p>
                           </div>
                        </dd>
                        <dt class="description"><a name="group__READ_1gf234679daecf9378353343c8942da5a7" id="group__READ_1gf234679daecf9378353343c8942da5a7" shape="rect">
                              <!-- --></a><span><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                              ( *<a href="structCUDBGAPI__st.html" title="The CUDA debugger API routines. " shape="rect">CUDBGAPI_st</a>::readVirtualReturnAddress32 )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">dev</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sm</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">wp</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">level</span>, uint64_t*<span>&nbsp;</span><span class="keyword keyword apiItemName">ra</span> )</span></dt>
                        <dd class="description">
                           <div class="section">
                              <p>Reads the virtual return address for a call level.  Since CUDA 3.1.</p>
                              <p class="p"></p>
                              <p class="p"></p>
                              <p class="p"></p>
                              <p class="p apiDesc_subtitle"><strong class="ph b">See also:</strong></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g262cdf69168252b06bcfb19c474f7a6f" title="Reads the call depth (number of calls) for a given warp." shape="rect">readCallDepth32</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g33d944489b2b085cdbd42712ce666ef4" title="Reads the physical return address for a call level." shape="rect">readReturnAddress32</a></p>
                              <p class="p"></p>
                           </div>
                           <div class="section">
                              <h6 class="parameter_header">
                                 Parameters
                                 
                              </h6>
                              <dl class="table-display-params">
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">dev</span></tt></dt>
                                 <dd>- device index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">sm</span></tt></dt>
                                 <dd>- SM index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">wp</span></tt></dt>
                                 <dd>- warp index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">level</span></tt></dt>
                                 <dd>- the specified call level </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">ra</span></tt></dt>
                                 <dd>- the returned virtual return address for level</dd>
                              </dl>
                           </div>
                           <div class="section">
                              <h6 class="return_header">Returns</h6>
                              <p class="return">CUDBG_SUCCESS, CUDBG_ERROR_INVALID_ARGS, CUDBG_ERROR_INVALID_DEVICE, CUDBG_ERROR_INVALID_SM, CUDBG_ERROR_INVALID_WARP, CUDBG_ERROR_INVALID_GRID,
                                 CUDBG_ERROR_INVALID_CALL_LEVEL, CUDBG_ERROR_ZERO_CALL_DEPTH, CUDBG_ERROR_UNKNOWN_FUNCTION, CUDBG_ERROR_UNINITIALIZED, CUDBG_ERROR_INTERNAL
                              </p>
                           </div>
                        </dd>
                        <dt class="description"><a name="group__READ_1g6a48fb61865adc4e222b042b06fa1326" id="group__READ_1g6a48fb61865adc4e222b042b06fa1326" shape="rect">
                              <!-- --></a><span><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                              ( *<a href="structCUDBGAPI__st.html" title="The CUDA debugger API routines. " shape="rect">CUDBGAPI_st</a>::readWarpState )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">devId</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sm</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">wp</span>, CUDBGWarpState*<span>&nbsp;</span><span class="keyword keyword apiItemName">state</span> )</span></dt>
                        <dd class="description">
                           <div class="section">
                              <p>Get state of a given warp.  Since CUDA 6.0.</p>
                              <p class="p"></p>
                              <p class="p"></p>
                           </div>
                           <div class="section">
                              <h6 class="parameter_header">
                                 Parameters
                                 
                              </h6>
                              <dl class="table-display-params">
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">devId</span></tt></dt>
                                 <dd></dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">sm</span></tt></dt>
                                 <dd>- SM index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">wp</span></tt></dt>
                                 <dd>- warp index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">state</span></tt></dt>
                                 <dd>- pointer to structure that contains warp status</dd>
                              </dl>
                           </div>
                           <div class="section">
                              <h6 class="return_header">Returns</h6>
                              <p class="return">CUDBG_SUCCESS, CUDBG_ERROR_INVALID_ARGS, CUDBG_ERROR_INVALID_DEVICE, CUDBG_ERROR_INVALID_SM, CUDBG_ERROR_INVALID_WARP, CUDBG_ERROR_UNINITIALIZED,
                                 
                              </p>
                           </div>
                        </dd>
                        <dt class="description"><a name="structCUDBGAPI__st_1423f9776fdc6bece0accc015127d4cdc" id="structCUDBGAPI__st_1423f9776fdc6bece0accc015127d4cdc" shape="rect">
                              <!-- --></a><span><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                              ( *<a href="structCUDBGAPI__st.html" title="The CUDA debugger API routines. " shape="rect">CUDBGAPI_st</a>::requestCleanupOnDetach )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">appResumeFlag</span> )</span></dt>
                        <dd class="description">
                           <div class="section">
                              <p>Request for cleanup of driver state when detaching.  Since CUDA 6.0.</p>
                              <p class="p"></p>
                              <p class="p"></p>
                           </div>
                           <div class="section">
                              <h6 class="parameter_header">
                                 Parameters
                                 
                              </h6>
                              <dl class="table-display-params">
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">appResumeFlag</span></tt></dt>
                                 <dd>- value of CUDBG_RESUME_FOR_ATTACH_DETACH as read from the application's process space.</dd>
                              </dl>
                           </div>
                           <div class="section">
                              <h6 class="return_header">Returns</h6>
                              <p class="return">CUDBG_SUCCESS CUDBG_ERROR_COMMUNICATION_FAILURE CUDBG_ERROR_INVALID_ARGS CUDBG_ERROR_INTERNAL </p>
                           </div>
                        </dd>
                        <dt class="description"><a name="structCUDBGAPI__st_16e3358fc298f241c328a32ddc50a0381" id="structCUDBGAPI__st_16e3358fc298f241c328a32ddc50a0381" shape="rect">
                              <!-- --></a><span><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                              ( *<a href="structCUDBGAPI__st.html" title="The CUDA debugger API routines. " shape="rect">CUDBGAPI_st</a>::requestCleanupOnDetach55 )(   )</span></dt>
                        <dd class="description">
                           <div class="section">
                              <p>Request for cleanup of driver state when detaching.  Since CUDA 5.0.</p>
                              <p class="p"></p>
                              <p class="p"></p>
                           </div>
                           <div class="section">
                              <h6 class="return_header">Returns</h6>
                              <p class="return">CUDBG_SUCCESS CUDBG_ERROR_COMMUNICATION_FAILURE CUDBG_ERROR_INVALID_ARGS CUDBG_ERROR_INTERNAL </p>
                           </div>
                        </dd>
                        <dt class="description"><a name="group__EXEC_1g181eb03ff2a7dc899467be39a5500a9d" id="group__EXEC_1g181eb03ff2a7dc899467be39a5500a9d" shape="rect">
                              <!-- --></a><span><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                              ( *<a href="structCUDBGAPI__st.html" title="The CUDA debugger API routines. " shape="rect">CUDBGAPI_st</a>::resumeDevice )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">dev</span> )</span></dt>
                        <dd class="description">
                           <div class="section">
                              <p>Resume a suspended CUDA device.  Since CUDA 3.0.</p>
                              <p class="p"></p>
                              <p class="p"></p>
                              <p class="p apiDesc_subtitle"><strong class="ph b">See also:</strong></p>
                              <p class="p see_subsection"><a class="xref" href="group__EXEC.html#group__EXEC_1g90a04342d50fcc9822ac36565f4aae79" title="Suspends a running CUDA device." shape="rect">suspendDevice</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__EXEC.html#group__EXEC_1ge3b9858bffaefdeeb45bef823fae6a40" title="Single step an individual warp on a suspended CUDA device." shape="rect">singleStepWarp</a></p>
                              <p class="p"></p>
                           </div>
                           <div class="section">
                              <h6 class="parameter_header">
                                 Parameters
                                 
                              </h6>
                              <dl class="table-display-params">
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">dev</span></tt></dt>
                                 <dd>- device index</dd>
                              </dl>
                           </div>
                           <div class="section">
                              <h6 class="return_header">Returns</h6>
                              <p class="return">CUDBG_SUCCESS, CUDBG_ERROR_INVALID_DEVICE, CUDBG_ERROR_RUNNING_DEVICE, CUDBG_ERROR_UNINITIALIZED</p>
                           </div>
                        </dd>
                        <dt class="description"><a name="group__EXEC_1gfa9d8dc20f0201739260855ad9728022" id="group__EXEC_1gfa9d8dc20f0201739260855ad9728022" shape="rect">
                              <!-- --></a><span><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                              ( *<a href="structCUDBGAPI__st.html" title="The CUDA debugger API routines. " shape="rect">CUDBGAPI_st</a>::resumeWarpsUntilPC )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">devId</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sm</span>, uint64_t<span>&nbsp;</span><span class="keyword keyword apiItemName">warpMask</span>, uint64_t<span>&nbsp;</span><span class="keyword keyword apiItemName">virtPC</span> )</span></dt>
                        <dd class="description">
                           <div class="section">
                              <p>Inserts a temporary breakpoint at the specified virtual PC, and resumes all warps in the specified bitmask on a given SM.
                                 As compared to CUDBGAPI_st::resumeDevice, CUDBGAPI_st::resumeWarpsUntilPC provides finer-grain control by resuming a selected
                                 set of warps on the same SM. The main intended usage is to accelerate the single-stepping process when the target PC is known
                                 in advance. Instead of single-stepping each warp individually until the target PC is hit, the client can issue this API. When
                                 this API is used, errors within CUDA kernels will no longer be reported precisely. In the situation where resuming warps is
                                 not possible, this API will return CUDBG_ERROR_WARP_RESUME_NOT_POSSIBLE. The client should then fall back to using CUDBGAPI_st::singleStepWarp
                                 or CUDBGAPI_st::resumeDevice.  Since CUDA 6.0.
                              </p>
                              <p class="p"></p>
                              <p class="p"></p>
                              <p class="p apiDesc_subtitle"><strong class="ph b">See also:</strong></p>
                              <p class="p see_subsection"><a class="xref" href="group__EXEC.html#group__EXEC_1g181eb03ff2a7dc899467be39a5500a9d" title="Resume a suspended CUDA device." shape="rect">resumeDevice</a></p>
                              <p class="p"></p>
                           </div>
                           <div class="section">
                              <h6 class="parameter_header">
                                 Parameters
                                 
                              </h6>
                              <dl class="table-display-params">
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">devId</span></tt></dt>
                                 <dd>- device index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">sm</span></tt></dt>
                                 <dd>- the SM index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">warpMask</span></tt></dt>
                                 <dd>- the bitmask of warps to resume (1 = resume, 0 = do not resume) </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">virtPC</span></tt></dt>
                                 <dd>- the virtual PC where the temporary breakpoint will be inserted</dd>
                              </dl>
                           </div>
                           <div class="section">
                              <h6 class="return_header">Returns</h6>
                              <p class="return">CUDBG_SUCCESS CUDBG_ERROR_INVALID_ARGS CUDBG_ERROR_INVALID_DEVICE CUDBG_ERROR_INVALID_SM CUDBG_ERROR_INVALID_WARP_MASK CUDBG_ERROR_WARP_RESUME_NOT_POSSIBLE
                                 CUDBG_ERROR_UNINITIALIZED
                              </p>
                           </div>
                        </dd>
                        <dt class="description"><a name="group__BP_1gf0ae0297c09bf288cad94d96fe00de2a" id="group__BP_1gf0ae0297c09bf288cad94d96fe00de2a" shape="rect">
                              <!-- --></a><span><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                              ( *<a href="structCUDBGAPI__st.html" title="The CUDA debugger API routines. " shape="rect">CUDBGAPI_st</a>::setBreakpoint )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">dev</span>, uint64_t<span>&nbsp;</span><span class="keyword keyword apiItemName">addr</span> )</span></dt>
                        <dd class="description">
                           <div class="section">
                              <p>Sets a breakpoint at the given instruction address for the given device. Before setting a breakpoint, CUDBGAPI_st::getAdjustedCodeAddress
                                 should be called to get the adjusted breakpoint address.  Since CUDA 3.2.
                              </p>
                              <p class="p"></p>
                              <p class="p"></p>
                              <p class="p apiDesc_subtitle"><strong class="ph b">See also:</strong></p>
                              <p class="p see_subsection"><a class="xref" href="group__BP.html#group__BP_1g46e0c34336c746dbad091f18c9ace26e" title="Unsets a breakpoint at the given instruction address for the given device." shape="rect">unsetBreakpoint</a></p>
                              <p class="p"></p>
                           </div>
                           <div class="section">
                              <h6 class="parameter_header">
                                 Parameters
                                 
                              </h6>
                              <dl class="table-display-params">
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">dev</span></tt></dt>
                                 <dd>- the device index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">addr</span></tt></dt>
                                 <dd>- instruction address</dd>
                              </dl>
                           </div>
                           <div class="section">
                              <h6 class="return_header">Returns</h6>
                              <p class="return">CUDBG_SUCCESS, CUDBG_ERROR_UNINITIALIZED, CUDBG_ERROR_INVALID_ADDRESS, CUDBG_ERROR_INVALID_DEVICE</p>
                           </div>
                        </dd>
                        <dt class="description"><a name="group__BP_1g94c9212e06c0157654432640729d18b7" id="group__BP_1g94c9212e06c0157654432640729d18b7" shape="rect">
                              <!-- --></a><span><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                              ( *<a href="structCUDBGAPI__st.html" title="The CUDA debugger API routines. " shape="rect">CUDBGAPI_st</a>::setBreakpoint31 )(  uint64_t<span>&nbsp;</span><span class="keyword keyword apiItemName">addr</span> )</span></dt>
                        <dd class="description">
                           <div class="section">
                              <p>Sets a breakpoint at the given instruction address.  Since CUDA 3.0.</p>
                              <p class="p"></p>
                              <p class="p"></p>
                              <p class="p"></p>
                              <p class="p apiDesc_subtitle"><strong class="ph b">See also:</strong></p>
                              <p class="p see_subsection"><a class="xref" href="group__BP.html#group__BP_1g11ffb928b9e9caa61ebfc2d116d682af" title="Unsets a breakpoint at the given instruction address." shape="rect">unsetBreakpoint31</a></p>
                              <p class="p"></p>
                           </div>
                           <div class="section">
                              <h6 class="parameter_header">
                                 Parameters
                                 
                              </h6>
                              <dl class="table-display-params">
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">addr</span></tt></dt>
                                 <dd>- instruction address</dd>
                              </dl>
                           </div>
                           <div class="section">
                              <h6 class="return_header">Returns</h6>
                              <p class="return">CUDBG_SUCCESS, CUDBG_ERROR_UNINITIALIZED, CUDBG_ERROR_INVALID_ADDRESS</p>
                           </div>
                        </dd>
                        <dt class="description"><a name="structCUDBGAPI__st_128c4ee9dcc9d69372dd450d9f89e7e3c" id="structCUDBGAPI__st_128c4ee9dcc9d69372dd450d9f89e7e3c" shape="rect">
                              <!-- --></a><span><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                              ( *<a href="structCUDBGAPI__st.html" title="The CUDA debugger API routines. " shape="rect">CUDBGAPI_st</a>::setKernelLaunchNotificationMode )(  CUDBGKernelLaunchNotifyMode<span>&nbsp;</span><span class="keyword keyword apiItemName">mode</span> )</span></dt>
                        <dd class="description">
                           <div class="section">
                              <p>Set the launch notification policy.  Since CUDA 5.5.</p>
                              <p class="p"></p>
                              <p class="p"></p>
                           </div>
                           <div class="section">
                              <h6 class="parameter_header">
                                 Parameters
                                 
                              </h6>
                              <dl class="table-display-params">
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">mode</span></tt></dt>
                                 <dd>- mode to deliver kernel launch notifications in</dd>
                              </dl>
                           </div>
                           <div class="section">
                              <h6 class="return_header">Returns</h6>
                              <p class="return">CUDBG_SUCCESS </p>
                           </div>
                        </dd>
                        <dt class="description"><a name="group__EVENT_1g42642d4e8dfb372d730d2a49ae6acd25" id="group__EVENT_1g42642d4e8dfb372d730d2a49ae6acd25" shape="rect">
                              <!-- --></a><span><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                              ( *<a href="structCUDBGAPI__st.html" title="The CUDA debugger API routines. " shape="rect">CUDBGAPI_st</a>::setNotifyNewEventCallback )(  CUDBGNotifyNewEventCallback<span>&nbsp;</span><span class="keyword keyword apiItemName">callback</span> )</span></dt>
                        <dd class="description">
                           <div class="section">
                              <p>Provides the API with the function to call to notify the debugger of a new application or device event.  Since CUDA 4.1.</p>
                              <p class="p"></p>
                              <p class="p"></p>
                           </div>
                           <div class="section">
                              <h6 class="parameter_header">
                                 Parameters
                                 
                              </h6>
                              <dl class="table-display-params">
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">callback</span></tt></dt>
                                 <dd>- the callback function</dd>
                              </dl>
                           </div>
                           <div class="section">
                              <h6 class="return_header">Returns</h6>
                              <p class="return">CUDBG_SUCCESS </p>
                           </div>
                        </dd>
                        <dt class="description"><a name="group__EVENT_1g45862cf414d1308de638d02e4f7ba8e4" id="group__EVENT_1g45862cf414d1308de638d02e4f7ba8e4" shape="rect">
                              <!-- --></a><span><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                              ( *<a href="structCUDBGAPI__st.html" title="The CUDA debugger API routines. " shape="rect">CUDBGAPI_st</a>::setNotifyNewEventCallback31 )(  CUDBGNotifyNewEventCallback31<span>&nbsp;</span><span class="keyword keyword apiItemName">callback</span>, void*<span>&nbsp;</span><span class="keyword keyword apiItemName">data</span> )</span></dt>
                        <dd class="description">
                           <div class="section">
                              <p>Provides the API with the function to call to notify the debugger of a new application or device event.  Since CUDA 3.0.</p>
                              <p class="p"></p>
                              <p class="p"></p>
                              <p class="p"></p>
                           </div>
                           <div class="section">
                              <h6 class="parameter_header">
                                 Parameters
                                 
                              </h6>
                              <dl class="table-display-params">
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">callback</span></tt></dt>
                                 <dd>- the callback function </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">data</span></tt></dt>
                                 <dd>- a pointer to be passed to the callback when called</dd>
                              </dl>
                           </div>
                           <div class="section">
                              <h6 class="return_header">Returns</h6>
                              <p class="return">CUDBG_SUCCESS </p>
                           </div>
                        </dd>
                        <dt class="description"><a name="group__EVENT_1gd873f4d12ca275a167e313ea2c93204f" id="group__EVENT_1gd873f4d12ca275a167e313ea2c93204f" shape="rect">
                              <!-- --></a><span><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                              ( *<a href="structCUDBGAPI__st.html" title="The CUDA debugger API routines. " shape="rect">CUDBGAPI_st</a>::setNotifyNewEventCallback40 )(  CUDBGNotifyNewEventCallback40<span>&nbsp;</span><span class="keyword keyword apiItemName">callback</span> )</span></dt>
                        <dd class="description">
                           <div class="section">
                              <p>Provides the API with the function to call to notify the debugger of a new application or device event.  Since CUDA 3.2.</p>
                              <p class="p"></p>
                              <p class="p"></p>
                              <p class="p"></p>
                           </div>
                           <div class="section">
                              <h6 class="parameter_header">
                                 Parameters
                                 
                              </h6>
                              <dl class="table-display-params">
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">callback</span></tt></dt>
                                 <dd>- the callback function</dd>
                              </dl>
                           </div>
                           <div class="section">
                              <h6 class="return_header">Returns</h6>
                              <p class="return">CUDBG_SUCCESS </p>
                           </div>
                        </dd>
                        <dt class="description"><a name="group__EXEC_1ge3b9858bffaefdeeb45bef823fae6a40" id="group__EXEC_1ge3b9858bffaefdeeb45bef823fae6a40" shape="rect">
                              <!-- --></a><span><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                              ( *<a href="structCUDBGAPI__st.html" title="The CUDA debugger API routines. " shape="rect">CUDBGAPI_st</a>::singleStepWarp )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">dev</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sm</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">wp</span>, uint64_t*<span>&nbsp;</span><span class="keyword keyword apiItemName">warpMask</span> )</span></dt>
                        <dd class="description">
                           <div class="section">
                              <p>Single step an individual warp on a suspended CUDA device.  Since CUDA 4.1.</p>
                              <p class="p"></p>
                              <p class="p"></p>
                              <p class="p apiDesc_subtitle"><strong class="ph b">See also:</strong></p>
                              <p class="p see_subsection"><a class="xref" href="group__EXEC.html#group__EXEC_1g181eb03ff2a7dc899467be39a5500a9d" title="Resume a suspended CUDA device." shape="rect">resumeDevice</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__EXEC.html#group__EXEC_1g90a04342d50fcc9822ac36565f4aae79" title="Suspends a running CUDA device." shape="rect">suspendDevice</a></p>
                              <p class="p"></p>
                           </div>
                           <div class="section">
                              <h6 class="parameter_header">
                                 Parameters
                                 
                              </h6>
                              <dl class="table-display-params">
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">dev</span></tt></dt>
                                 <dd>- device index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">sm</span></tt></dt>
                                 <dd>- SM index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">wp</span></tt></dt>
                                 <dd>- warp index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">warpMask</span></tt></dt>
                                 <dd>- the warps that have been single-stepped</dd>
                              </dl>
                           </div>
                           <div class="section">
                              <h6 class="return_header">Returns</h6>
                              <p class="return">CUDBG_SUCCESS, CUDBG_ERROR_INVALID_DEVICE, CUDBG_ERROR_INVALID_SM, CUDBG_ERROR_INVALID_WARP, CUDBG_ERROR_RUNNING_DEVICE, CUDBG_ERROR_UNINITIALIZED,
                                 CUDBG_ERROR_UNKNOWN CUDBG_ERROR_WARP_RESUME_NOT_POSSIBLE
                              </p>
                           </div>
                        </dd>
                        <dt class="description"><a name="group__EXEC_1gb67725d1f91c69a0e001273f228c8df0" id="group__EXEC_1gb67725d1f91c69a0e001273f228c8df0" shape="rect">
                              <!-- --></a><span><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                              ( *<a href="structCUDBGAPI__st.html" title="The CUDA debugger API routines. " shape="rect">CUDBGAPI_st</a>::singleStepWarp40 )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">dev</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sm</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">wp</span> )</span></dt>
                        <dd class="description">
                           <div class="section">
                              <p>Single step an individual warp on a suspended CUDA device.  Since CUDA 3.0.</p>
                              <p class="p"></p>
                              <p class="p"></p>
                              <p class="p"></p>
                              <p class="p apiDesc_subtitle"><strong class="ph b">See also:</strong></p>
                              <p class="p see_subsection"><a class="xref" href="group__EXEC.html#group__EXEC_1g181eb03ff2a7dc899467be39a5500a9d" title="Resume a suspended CUDA device." shape="rect">resumeDevice</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__EXEC.html#group__EXEC_1g90a04342d50fcc9822ac36565f4aae79" title="Suspends a running CUDA device." shape="rect">suspendDevice</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__EXEC.html#group__EXEC_1ge3b9858bffaefdeeb45bef823fae6a40" title="Single step an individual warp on a suspended CUDA device." shape="rect">singleStepWarp</a></p>
                              <p class="p"></p>
                           </div>
                           <div class="section">
                              <h6 class="parameter_header">
                                 Parameters
                                 
                              </h6>
                              <dl class="table-display-params">
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">dev</span></tt></dt>
                                 <dd>- device index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">sm</span></tt></dt>
                                 <dd>- SM index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">wp</span></tt></dt>
                                 <dd>- warp index</dd>
                              </dl>
                           </div>
                           <div class="section">
                              <h6 class="return_header">Returns</h6>
                              <p class="return">CUDBG_SUCCESS, CUDBG_ERROR_INVALID_DEVICE, CUDBG_ERROR_INVALID_SM, CUDBG_ERROR_INVALID_WARP, CUDBG_ERROR_RUNNING_DEVICE, CUDBG_ERROR_UNINITIALIZED,
                                 CUDBG_ERROR_UNKNOWN CUDBG_ERROR_WARP_RESUME_NOT_POSSIBLE
                              </p>
                           </div>
                        </dd>
                        <dt class="description"><a name="group__EXEC_1g90a04342d50fcc9822ac36565f4aae79" id="group__EXEC_1g90a04342d50fcc9822ac36565f4aae79" shape="rect">
                              <!-- --></a><span><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                              ( *<a href="structCUDBGAPI__st.html" title="The CUDA debugger API routines. " shape="rect">CUDBGAPI_st</a>::suspendDevice )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">dev</span> )</span></dt>
                        <dd class="description">
                           <div class="section">
                              <p>Suspends a running CUDA device.  Since CUDA 3.0.</p>
                              <p class="p"></p>
                              <p class="p"></p>
                              <p class="p apiDesc_subtitle"><strong class="ph b">See also:</strong></p>
                              <p class="p see_subsection"><a class="xref" href="group__EXEC.html#group__EXEC_1g181eb03ff2a7dc899467be39a5500a9d" title="Resume a suspended CUDA device." shape="rect">resumeDevice</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__EXEC.html#group__EXEC_1ge3b9858bffaefdeeb45bef823fae6a40" title="Single step an individual warp on a suspended CUDA device." shape="rect">singleStepWarp</a></p>
                              <p class="p"></p>
                           </div>
                           <div class="section">
                              <h6 class="parameter_header">
                                 Parameters
                                 
                              </h6>
                              <dl class="table-display-params">
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">dev</span></tt></dt>
                                 <dd>- device index</dd>
                              </dl>
                           </div>
                           <div class="section">
                              <h6 class="return_header">Returns</h6>
                              <p class="return">CUDBG_SUCCESS, CUDBG_ERROR_INVALID_DEVICE, CUDBG_ERROR_RUNNING_DEVICE, CUDBG_ERROR_UNINITIALIZED</p>
                           </div>
                        </dd>
                        <dt class="description"><a name="group__BP_1g46e0c34336c746dbad091f18c9ace26e" id="group__BP_1g46e0c34336c746dbad091f18c9ace26e" shape="rect">
                              <!-- --></a><span><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                              ( *<a href="structCUDBGAPI__st.html" title="The CUDA debugger API routines. " shape="rect">CUDBGAPI_st</a>::unsetBreakpoint )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">dev</span>, uint64_t<span>&nbsp;</span><span class="keyword keyword apiItemName">addr</span> )</span></dt>
                        <dd class="description">
                           <div class="section">
                              <p>Unsets a breakpoint at the given instruction address for the given device.  Since CUDA 3.2.</p>
                              <p class="p"></p>
                              <p class="p"></p>
                              <p class="p apiDesc_subtitle"><strong class="ph b">See also:</strong></p>
                              <p class="p see_subsection"><a class="xref" href="group__BP.html#group__BP_1gf0ae0297c09bf288cad94d96fe00de2a" title="Sets a breakpoint at the given instruction address for the given device. Before setting a breakpoint, CUDBGAPI_st::getAdjustedCodeAddress should be called to get the adjusted breakpoint address." shape="rect">setBreakpoint</a></p>
                              <p class="p"></p>
                           </div>
                           <div class="section">
                              <h6 class="parameter_header">
                                 Parameters
                                 
                              </h6>
                              <dl class="table-display-params">
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">dev</span></tt></dt>
                                 <dd>- the device index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">addr</span></tt></dt>
                                 <dd>- instruction address</dd>
                              </dl>
                           </div>
                           <div class="section">
                              <h6 class="return_header">Returns</h6>
                              <p class="return">CUDBG_SUCCESS, CUDBG_ERROR_UNINITIALIZED, CUDBG_ERROR_INVALID_ADDRESS, CUDBG_ERROR_INVALID_DEVICE</p>
                           </div>
                        </dd>
                        <dt class="description"><a name="group__BP_1g11ffb928b9e9caa61ebfc2d116d682af" id="group__BP_1g11ffb928b9e9caa61ebfc2d116d682af" shape="rect">
                              <!-- --></a><span><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                              ( *<a href="structCUDBGAPI__st.html" title="The CUDA debugger API routines. " shape="rect">CUDBGAPI_st</a>::unsetBreakpoint31 )(  uint64_t<span>&nbsp;</span><span class="keyword keyword apiItemName">addr</span> )</span></dt>
                        <dd class="description">
                           <div class="section">
                              <p>Unsets a breakpoint at the given instruction address.  Since CUDA 3.0.</p>
                              <p class="p"></p>
                              <p class="p"></p>
                              <p class="p"></p>
                              <p class="p apiDesc_subtitle"><strong class="ph b">See also:</strong></p>
                              <p class="p see_subsection"><a class="xref" href="group__BP.html#group__BP_1g94c9212e06c0157654432640729d18b7" title="Sets a breakpoint at the given instruction address." shape="rect">setBreakpoint31</a></p>
                              <p class="p"></p>
                           </div>
                           <div class="section">
                              <h6 class="parameter_header">
                                 Parameters
                                 
                              </h6>
                              <dl class="table-display-params">
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">addr</span></tt></dt>
                                 <dd>- instruction address</dd>
                              </dl>
                           </div>
                           <div class="section">
                              <h6 class="return_header">Returns</h6>
                              <p class="return">CUDBG_SUCCESS, CUDBG_ERROR_UNINITIALIZED</p>
                           </div>
                        </dd>
                        <dt class="description"><a name="group__WRITE_1gc06c86979e356da1bc447fa8fb3b9b5e" id="group__WRITE_1gc06c86979e356da1bc447fa8fb3b9b5e" shape="rect">
                              <!-- --></a><span><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                              ( *<a href="structCUDBGAPI__st.html" title="The CUDA debugger API routines. " shape="rect">CUDBGAPI_st</a>::writeCCRegister )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">dev</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sm</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">wp</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">ln</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">val</span> )</span></dt>
                        <dd class="description">
                           <div class="section">
                              <p>Writes the hardware CC register.  Since CUDA 6.5.</p>
                              <p class="p"></p>
                              <p class="p"></p>
                              <p class="p apiDesc_subtitle"><strong class="ph b">See also:</strong></p>
                              <p class="p see_subsection">writeConstMemory </p>
                              <p class="p see_subsection"><a class="xref" href="group__WRITE.html#group__WRITE_1gf5e9ec0bda0f5cbdd7135603a5987398" title="Writes content to an address in the generic address space. This function determines if the given address falls into the local, shared, or global memory window. It then accesses memory taking into account the hardware co-ordinates provided as inputs." shape="rect">writeGenericMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__WRITE.html#group__WRITE_1g58c3dc569a2c556797be6b4435fc9869" title="Writes content to an address in the global address space. If the address is valid on more than one device and one of those devices does not support UVA, an error is returned." shape="rect">writeGlobalMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__WRITE.html#group__WRITE_1gf2396f87598ff9edb9c2cf0d0d9e51c2" title="Writes content to address in the param memory segment." shape="rect">writeParamMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__WRITE.html#group__WRITE_1gec20ac438034a0a94f548ee9c1cf13cc" title="Writes content to address in the shared memory segment." shape="rect">writeSharedMemory</a></p>
                              <p class="p see_subsection">writeTextureMemory </p>
                              <p class="p see_subsection"><a class="xref" href="group__WRITE.html#group__WRITE_1g8552847e859c3014eb5cf021ca1a07ff" title="Writes content to address in the local memory segment." shape="rect">writeLocalMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__WRITE.html#group__WRITE_1ge3123cbb2278aa9adb6dabb01a5da6ef" title="Writes content to a hardware register." shape="rect">writeRegister</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1gad1d9a24ec0c743af87882ce7b9ae342" title="Writes content to hardware predicate registers." shape="rect">writePredicates</a></p>
                              <p class="p"></p>
                           </div>
                           <div class="section">
                              <h6 class="parameter_header">
                                 Parameters
                                 
                              </h6>
                              <dl class="table-display-params">
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">dev</span></tt></dt>
                                 <dd>- device index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">sm</span></tt></dt>
                                 <dd>- SM index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">wp</span></tt></dt>
                                 <dd>- warp index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">ln</span></tt></dt>
                                 <dd>- lane index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">val</span></tt></dt>
                                 <dd>- value to write to the CC register</dd>
                              </dl>
                           </div>
                           <div class="section">
                              <h6 class="return_header">Returns</h6>
                              <p class="return">CUDBG_SUCCESS, CUDBG_ERROR_INVALID_ARGS, CUDBG_ERROR_INVALID_DEVICE, CUDBG_ERROR_INVALID_LANE, CUDBG_ERROR_INVALID_SM, CUDBG_ERROR_INVALID_WARP,
                                 CUDBG_ERROR_UNINITIALIZED
                              </p>
                           </div>
                        </dd>
                        <dt class="description"><a name="group__WRITE_1gf5e9ec0bda0f5cbdd7135603a5987398" id="group__WRITE_1gf5e9ec0bda0f5cbdd7135603a5987398" shape="rect">
                              <!-- --></a><span><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                              ( *<a href="structCUDBGAPI__st.html" title="The CUDA debugger API routines. " shape="rect">CUDBGAPI_st</a>::writeGenericMemory )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">dev</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sm</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">wp</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">ln</span>, uint64_t<span>&nbsp;</span><span class="keyword keyword apiItemName">addr</span>, const void*<span>&nbsp;</span><span class="keyword keyword apiItemName">buf</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sz</span> )</span></dt>
                        <dd class="description">
                           <div class="section">
                              <p>Writes content to an address in the generic address space. This function determines if the given address falls into the local,
                                 shared, or global memory window. It then accesses memory taking into account the hardware co-ordinates provided as inputs.
                                 Since CUDA 6.0.
                              </p>
                              <p class="p"></p>
                              <p class="p"></p>
                              <p class="p apiDesc_subtitle"><strong class="ph b">See also:</strong></p>
                              <p class="p see_subsection"><a class="xref" href="group__WRITE.html#group__WRITE_1gf2396f87598ff9edb9c2cf0d0d9e51c2" title="Writes content to address in the param memory segment." shape="rect">writeParamMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__WRITE.html#group__WRITE_1gec20ac438034a0a94f548ee9c1cf13cc" title="Writes content to address in the shared memory segment." shape="rect">writeSharedMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__WRITE.html#group__WRITE_1g8552847e859c3014eb5cf021ca1a07ff" title="Writes content to address in the local memory segment." shape="rect">writeLocalMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__WRITE.html#group__WRITE_1ge3123cbb2278aa9adb6dabb01a5da6ef" title="Writes content to a hardware register." shape="rect">writeRegister</a></p>
                              <p class="p"></p>
                           </div>
                           <div class="section">
                              <h6 class="parameter_header">
                                 Parameters
                                 
                              </h6>
                              <dl class="table-display-params">
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">dev</span></tt></dt>
                                 <dd>- device index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">sm</span></tt></dt>
                                 <dd>- SM index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">wp</span></tt></dt>
                                 <dd>- warp index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">ln</span></tt></dt>
                                 <dd>- lane index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">addr</span></tt></dt>
                                 <dd>- memory address </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">buf</span></tt></dt>
                                 <dd>- buffer </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">sz</span></tt></dt>
                                 <dd></dd>
                              </dl>
                           </div>
                           <div class="section">
                              <h6 class="return_header">Returns</h6>
                              <p class="return">CUDBG_SUCCESS, CUDBG_ERROR_INVALID_ARGS, CUDBG_ERROR_INVALID_DEVICE, CUDBG_ERROR_INVALID_LANE, CUDBG_ERROR_INVALID_SM, CUDBG_ERROR_INVALID_WARP,
                                 CUDBG_ERROR_UNINITIALIZED, CUDBG_ERROR_MEMORY_MAPPING_FAILED, CUDBG_ERROR_ADDRESS_NOT_IN_DEVICE_MEM
                              </p>
                           </div>
                        </dd>
                        <dt class="description"><a name="group__WRITE_1g58c3dc569a2c556797be6b4435fc9869" id="group__WRITE_1g58c3dc569a2c556797be6b4435fc9869" shape="rect">
                              <!-- --></a><span><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                              ( *<a href="structCUDBGAPI__st.html" title="The CUDA debugger API routines. " shape="rect">CUDBGAPI_st</a>::writeGlobalMemory )(  uint64_t<span>&nbsp;</span><span class="keyword keyword apiItemName">addr</span>, const void*<span>&nbsp;</span><span class="keyword keyword apiItemName">buf</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sz</span> )</span></dt>
                        <dd class="description">
                           <div class="section">
                              <p>Writes content to an address in the global address space. If the address is valid on more than one device and one of those
                                 devices does not support UVA, an error is returned.  Since CUDA 6.0.
                              </p>
                              <p class="p"></p>
                              <p class="p"></p>
                              <p class="p apiDesc_subtitle"><strong class="ph b">See also:</strong></p>
                              <p class="p see_subsection"><a class="xref" href="group__WRITE.html#group__WRITE_1gf2396f87598ff9edb9c2cf0d0d9e51c2" title="Writes content to address in the param memory segment." shape="rect">writeParamMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__WRITE.html#group__WRITE_1gec20ac438034a0a94f548ee9c1cf13cc" title="Writes content to address in the shared memory segment." shape="rect">writeSharedMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__WRITE.html#group__WRITE_1g8552847e859c3014eb5cf021ca1a07ff" title="Writes content to address in the local memory segment." shape="rect">writeLocalMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__WRITE.html#group__WRITE_1ge3123cbb2278aa9adb6dabb01a5da6ef" title="Writes content to a hardware register." shape="rect">writeRegister</a></p>
                              <p class="p"></p>
                           </div>
                           <div class="section">
                              <h6 class="parameter_header">
                                 Parameters
                                 
                              </h6>
                              <dl class="table-display-params">
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">addr</span></tt></dt>
                                 <dd>- memory address </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">buf</span></tt></dt>
                                 <dd>- buffer </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">sz</span></tt></dt>
                                 <dd></dd>
                              </dl>
                           </div>
                           <div class="section">
                              <h6 class="return_header">Returns</h6>
                              <p class="return">CUDBG_SUCCESS, CUDBG_ERROR_INVALID_ARGS, CUDBG_ERROR_INVALID_DEVICE, CUDBG_ERROR_UNINITIALIZED, CUDBG_ERROR_MEMORY_MAPPING_FAILED,
                                 CUDBG_ERROR_INVALID_MEMORY_ACCESS, CUDBG_ERROR_ADDRESS_NOT_IN_DEVICE_MEM CUDBG_ERROR_AMBIGUOUS_MEMORY_ADDRESS_
                              </p>
                           </div>
                        </dd>
                        <dt class="description"><a name="group__WRITE_1g07cc644e233fc09ef9957449eb84b04d" id="group__WRITE_1g07cc644e233fc09ef9957449eb84b04d" shape="rect">
                              <!-- --></a><span><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                              ( *<a href="structCUDBGAPI__st.html" title="The CUDA debugger API routines. " shape="rect">CUDBGAPI_st</a>::writeGlobalMemory31 )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">dev</span>, uint64_t<span>&nbsp;</span><span class="keyword keyword apiItemName">addr</span>, const void*<span>&nbsp;</span><span class="keyword keyword apiItemName">buf</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sz</span> )</span></dt>
                        <dd class="description">
                           <div class="section">
                              <p>Writes content to address in the global memory segment.  Since CUDA 3.0.</p>
                              <p class="p"></p>
                              <p class="p"></p>
                              <p class="p"></p>
                              <p class="p apiDesc_subtitle"><strong class="ph b">See also:</strong></p>
                              <p class="p see_subsection"><a class="xref" href="group__WRITE.html#group__WRITE_1gf2396f87598ff9edb9c2cf0d0d9e51c2" title="Writes content to address in the param memory segment." shape="rect">writeParamMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__WRITE.html#group__WRITE_1gec20ac438034a0a94f548ee9c1cf13cc" title="Writes content to address in the shared memory segment." shape="rect">writeSharedMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__WRITE.html#group__WRITE_1g8552847e859c3014eb5cf021ca1a07ff" title="Writes content to address in the local memory segment." shape="rect">writeLocalMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__WRITE.html#group__WRITE_1ge3123cbb2278aa9adb6dabb01a5da6ef" title="Writes content to a hardware register." shape="rect">writeRegister</a></p>
                              <p class="p"></p>
                           </div>
                           <div class="section">
                              <h6 class="parameter_header">
                                 Parameters
                                 
                              </h6>
                              <dl class="table-display-params">
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">dev</span></tt></dt>
                                 <dd>- device index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">addr</span></tt></dt>
                                 <dd>- memory address </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">buf</span></tt></dt>
                                 <dd>- buffer </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">sz</span></tt></dt>
                                 <dd>- size of the buffer</dd>
                              </dl>
                           </div>
                           <div class="section">
                              <h6 class="return_header">Returns</h6>
                              <p class="return">CUDBG_SUCCESS, CUDBG_ERROR_INVALID_ARGS, CUDBG_ERROR_INVALID_DEVICE, CUDBG_ERROR_INVALID_LANE, CUDBG_ERROR_INVALID_SM, CUDBG_ERROR_INVALID_WARP,
                                 CUDBG_ERROR_UNINITIALIZED, CUDBG_ERROR_MEMORY_MAPPING_FAILED
                              </p>
                           </div>
                        </dd>
                        <dt class="description"><a name="group__WRITE_1gba54354f1f6f0af3c0db3b22dc5f0c4e" id="group__WRITE_1gba54354f1f6f0af3c0db3b22dc5f0c4e" shape="rect">
                              <!-- --></a><span><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                              ( *<a href="structCUDBGAPI__st.html" title="The CUDA debugger API routines. " shape="rect">CUDBGAPI_st</a>::writeGlobalMemory55 )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">dev</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sm</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">wp</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">ln</span>, uint64_t<span>&nbsp;</span><span class="keyword keyword apiItemName">addr</span>, const void*<span>&nbsp;</span><span class="keyword keyword apiItemName">buf</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sz</span> )</span></dt>
                        <dd class="description">
                           <div class="section">
                              <p>Writes content to address in the global memory segment (entire 40-bit VA on Fermi+).  Since CUDA 3.2.</p>
                              <p class="p"></p>
                              <p class="p"></p>
                              <p class="p"></p>
                              <p class="p apiDesc_subtitle"><strong class="ph b">See also:</strong></p>
                              <p class="p see_subsection"><a class="xref" href="group__WRITE.html#group__WRITE_1gf2396f87598ff9edb9c2cf0d0d9e51c2" title="Writes content to address in the param memory segment." shape="rect">writeParamMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__WRITE.html#group__WRITE_1gec20ac438034a0a94f548ee9c1cf13cc" title="Writes content to address in the shared memory segment." shape="rect">writeSharedMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__WRITE.html#group__WRITE_1g8552847e859c3014eb5cf021ca1a07ff" title="Writes content to address in the local memory segment." shape="rect">writeLocalMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__WRITE.html#group__WRITE_1ge3123cbb2278aa9adb6dabb01a5da6ef" title="Writes content to a hardware register." shape="rect">writeRegister</a></p>
                              <p class="p"></p>
                           </div>
                           <div class="section">
                              <h6 class="parameter_header">
                                 Parameters
                                 
                              </h6>
                              <dl class="table-display-params">
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">dev</span></tt></dt>
                                 <dd>- device index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">sm</span></tt></dt>
                                 <dd>- SM index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">wp</span></tt></dt>
                                 <dd>- warp index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">ln</span></tt></dt>
                                 <dd>- lane index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">addr</span></tt></dt>
                                 <dd>- memory address </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">buf</span></tt></dt>
                                 <dd>- buffer </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">sz</span></tt></dt>
                                 <dd>- size of the buffer</dd>
                              </dl>
                           </div>
                           <div class="section">
                              <h6 class="return_header">Returns</h6>
                              <p class="return">CUDBG_SUCCESS, CUDBG_ERROR_INVALID_ARGS, CUDBG_ERROR_INVALID_DEVICE, CUDBG_ERROR_INVALID_LANE, CUDBG_ERROR_INVALID_SM, CUDBG_ERROR_INVALID_WARP,
                                 CUDBG_ERROR_UNINITIALIZED, CUDBG_ERROR_MEMORY_MAPPING_FAILED, CUDBG_ERROR_ADDRESS_NOT_IN_DEVICE_MEM
                              </p>
                           </div>
                        </dd>
                        <dt class="description"><a name="group__WRITE_1g8552847e859c3014eb5cf021ca1a07ff" id="group__WRITE_1g8552847e859c3014eb5cf021ca1a07ff" shape="rect">
                              <!-- --></a><span><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                              ( *<a href="structCUDBGAPI__st.html" title="The CUDA debugger API routines. " shape="rect">CUDBGAPI_st</a>::writeLocalMemory )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">dev</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sm</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">wp</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">ln</span>, uint64_t<span>&nbsp;</span><span class="keyword keyword apiItemName">addr</span>, const void*<span>&nbsp;</span><span class="keyword keyword apiItemName">buf</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sz</span> )</span></dt>
                        <dd class="description">
                           <div class="section">
                              <p>Writes content to address in the local memory segment.  Since CUDA 3.0.</p>
                              <p class="p"></p>
                              <p class="p"></p>
                              <p class="p apiDesc_subtitle"><strong class="ph b">See also:</strong></p>
                              <p class="p see_subsection"><a class="xref" href="group__WRITE.html#group__WRITE_1gf5e9ec0bda0f5cbdd7135603a5987398" title="Writes content to an address in the generic address space. This function determines if the given address falls into the local, shared, or global memory window. It then accesses memory taking into account the hardware co-ordinates provided as inputs." shape="rect">writeGenericMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__WRITE.html#group__WRITE_1gf2396f87598ff9edb9c2cf0d0d9e51c2" title="Writes content to address in the param memory segment." shape="rect">writeParamMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__WRITE.html#group__WRITE_1gec20ac438034a0a94f548ee9c1cf13cc" title="Writes content to address in the shared memory segment." shape="rect">writeSharedMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__WRITE.html#group__WRITE_1ge3123cbb2278aa9adb6dabb01a5da6ef" title="Writes content to a hardware register." shape="rect">writeRegister</a></p>
                              <p class="p"></p>
                           </div>
                           <div class="section">
                              <h6 class="parameter_header">
                                 Parameters
                                 
                              </h6>
                              <dl class="table-display-params">
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">dev</span></tt></dt>
                                 <dd>- device index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">sm</span></tt></dt>
                                 <dd>- SM index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">wp</span></tt></dt>
                                 <dd>- warp index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">ln</span></tt></dt>
                                 <dd>- lane index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">addr</span></tt></dt>
                                 <dd>- memory address </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">buf</span></tt></dt>
                                 <dd>- buffer </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">sz</span></tt></dt>
                                 <dd>- size of the buffer</dd>
                              </dl>
                           </div>
                           <div class="section">
                              <h6 class="return_header">Returns</h6>
                              <p class="return">CUDBG_SUCCESS, CUDBG_ERROR_INVALID_ARGS, CUDBG_ERROR_INVALID_DEVICE, CUDBG_ERROR_INVALID_LANE, CUDBG_ERROR_INVALID_SM, CUDBG_ERROR_INVALID_WARP,
                                 CUDBG_ERROR_UNINITIALIZED, CUDBG_ERROR_MEMORY_MAPPING_FAILED
                              </p>
                           </div>
                        </dd>
                        <dt class="description"><a name="group__WRITE_1gf2396f87598ff9edb9c2cf0d0d9e51c2" id="group__WRITE_1gf2396f87598ff9edb9c2cf0d0d9e51c2" shape="rect">
                              <!-- --></a><span><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                              ( *<a href="structCUDBGAPI__st.html" title="The CUDA debugger API routines. " shape="rect">CUDBGAPI_st</a>::writeParamMemory )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">dev</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sm</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">wp</span>, uint64_t<span>&nbsp;</span><span class="keyword keyword apiItemName">addr</span>, const void*<span>&nbsp;</span><span class="keyword keyword apiItemName">buf</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sz</span> )</span></dt>
                        <dd class="description">
                           <div class="section">
                              <p>Writes content to address in the param memory segment.  Since CUDA 3.0.</p>
                              <p class="p"></p>
                              <p class="p"></p>
                              <p class="p apiDesc_subtitle"><strong class="ph b">See also:</strong></p>
                              <p class="p see_subsection"><a class="xref" href="group__WRITE.html#group__WRITE_1gf5e9ec0bda0f5cbdd7135603a5987398" title="Writes content to an address in the generic address space. This function determines if the given address falls into the local, shared, or global memory window. It then accesses memory taking into account the hardware co-ordinates provided as inputs." shape="rect">writeGenericMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__WRITE.html#group__WRITE_1gec20ac438034a0a94f548ee9c1cf13cc" title="Writes content to address in the shared memory segment." shape="rect">writeSharedMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__WRITE.html#group__WRITE_1g8552847e859c3014eb5cf021ca1a07ff" title="Writes content to address in the local memory segment." shape="rect">writeLocalMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__WRITE.html#group__WRITE_1ge3123cbb2278aa9adb6dabb01a5da6ef" title="Writes content to a hardware register." shape="rect">writeRegister</a></p>
                              <p class="p"></p>
                           </div>
                           <div class="section">
                              <h6 class="parameter_header">
                                 Parameters
                                 
                              </h6>
                              <dl class="table-display-params">
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">dev</span></tt></dt>
                                 <dd>- device index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">sm</span></tt></dt>
                                 <dd>- SM index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">wp</span></tt></dt>
                                 <dd>- warp index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">addr</span></tt></dt>
                                 <dd>- memory address </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">buf</span></tt></dt>
                                 <dd>- buffer </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">sz</span></tt></dt>
                                 <dd>- size of the buffer</dd>
                              </dl>
                           </div>
                           <div class="section">
                              <h6 class="return_header">Returns</h6>
                              <p class="return">CUDBG_SUCCESS, CUDBG_ERROR_INVALID_ARGS, CUDBG_ERROR_INVALID_DEVICE, CUDBG_ERROR_INVALID_SM, CUDBG_ERROR_INVALID_WARP, CUDBG_ERROR_UNINITIALIZED,
                                 CUDBG_ERROR_MEMORY_MAPPING_FAILED
                              </p>
                           </div>
                        </dd>
                        <dt class="description"><a name="group__READ_1g5c2e73cfe20e1985e803a64727d5cc57" id="group__READ_1g5c2e73cfe20e1985e803a64727d5cc57" shape="rect">
                              <!-- --></a><span><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                              ( *<a href="structCUDBGAPI__st.html" title="The CUDA debugger API routines. " shape="rect">CUDBGAPI_st</a>::writePinnedMemory )(  uint64_t<span>&nbsp;</span><span class="keyword keyword apiItemName">addr</span>, const void*<span>&nbsp;</span><span class="keyword keyword apiItemName">buf</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sz</span> )</span></dt>
                        <dd class="description">
                           <div class="section">
                              <p>Writes content to pinned address in system memory.  Since CUDA 3.2.</p>
                              <p class="p"></p>
                              <p class="p"></p>
                              <p class="p apiDesc_subtitle"><strong class="ph b">See also:</strong></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g96d8d7f7158aacc75b0013fb14e070df" title="Reads content at address in the code memory segment." shape="rect">readCodeMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g403214b4c091fa8f1805e652fa720717" title="Reads content at address in the constant memory segment." shape="rect">readConstMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g132516a9f3750484f299d36328f6bf49" title="Reads content at an address in the generic address space. This function determines if the given address falls into the local, shared, or global memory window. It then accesses memory taking into account the hardware co-ordinates provided as inputs." shape="rect">readGenericMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g2f5bf430b5202e893f896a4e53e7473e" title="Reads content at address in the param memory segment." shape="rect">readParamMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1ge242a5b3d2877bb06e69b29e08079d04" title="Reads content at address in the shared memory segment." shape="rect">readSharedMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g81729a1eb1b4d90e63f505bc4e407917" title="Reads content at address in the local memory segment." shape="rect">readLocalMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g23e67e3745e52c60d0a64ced1cc62dcb" title="Reads content of a hardware register." shape="rect">readRegister</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__READ.html#group__READ_1g4e5d98dced2544bbe90d0a9483527f3f" title="Reads the PC on the given active lane." shape="rect">readPC</a></p>
                              <p class="p"></p>
                           </div>
                           <div class="section">
                              <h6 class="parameter_header">
                                 Parameters
                                 
                              </h6>
                              <dl class="table-display-params">
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">addr</span></tt></dt>
                                 <dd>- system memory address </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">buf</span></tt></dt>
                                 <dd>- buffer </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">sz</span></tt></dt>
                                 <dd>- size of the buffer</dd>
                              </dl>
                           </div>
                           <div class="section">
                              <h6 class="return_header">Returns</h6>
                              <p class="return">CUDBG_SUCCESS, CUDBG_ERROR_INVALID_ARGS, CUDBG_ERROR_MEMORY_MAPPING_FAILED, CUDBG_ERROR_UNINITIALIZED</p>
                           </div>
                        </dd>
                        <dt class="description"><a name="group__READ_1gad1d9a24ec0c743af87882ce7b9ae342" id="group__READ_1gad1d9a24ec0c743af87882ce7b9ae342" shape="rect">
                              <!-- --></a><span><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                              ( *<a href="structCUDBGAPI__st.html" title="The CUDA debugger API routines. " shape="rect">CUDBGAPI_st</a>::writePredicates )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">dev</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sm</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">wp</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">ln</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">predicates_size</span>, const uint32_t*<span>&nbsp;</span><span class="keyword keyword apiItemName">predicates</span> )</span></dt>
                        <dd class="description">
                           <div class="section">
                              <p>Writes content to hardware predicate registers.  Since CUDA 6.5.</p>
                              <p class="p"></p>
                              <p class="p"></p>
                              <p class="p apiDesc_subtitle"><strong class="ph b">See also:</strong></p>
                              <p class="p see_subsection">writeConstMemory </p>
                              <p class="p see_subsection"><a class="xref" href="group__WRITE.html#group__WRITE_1gf5e9ec0bda0f5cbdd7135603a5987398" title="Writes content to an address in the generic address space. This function determines if the given address falls into the local, shared, or global memory window. It then accesses memory taking into account the hardware co-ordinates provided as inputs." shape="rect">writeGenericMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__WRITE.html#group__WRITE_1g58c3dc569a2c556797be6b4435fc9869" title="Writes content to an address in the global address space. If the address is valid on more than one device and one of those devices does not support UVA, an error is returned." shape="rect">writeGlobalMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__WRITE.html#group__WRITE_1gf2396f87598ff9edb9c2cf0d0d9e51c2" title="Writes content to address in the param memory segment." shape="rect">writeParamMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__WRITE.html#group__WRITE_1gec20ac438034a0a94f548ee9c1cf13cc" title="Writes content to address in the shared memory segment." shape="rect">writeSharedMemory</a></p>
                              <p class="p see_subsection">writeTextureMemory </p>
                              <p class="p see_subsection"><a class="xref" href="group__WRITE.html#group__WRITE_1g8552847e859c3014eb5cf021ca1a07ff" title="Writes content to address in the local memory segment." shape="rect">writeLocalMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__WRITE.html#group__WRITE_1ge3123cbb2278aa9adb6dabb01a5da6ef" title="Writes content to a hardware register." shape="rect">writeRegister</a></p>
                              <p class="p"></p>
                           </div>
                           <div class="section">
                              <h6 class="parameter_header">
                                 Parameters
                                 
                              </h6>
                              <dl class="table-display-params">
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">dev</span></tt></dt>
                                 <dd>- device index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">sm</span></tt></dt>
                                 <dd>- SM index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">wp</span></tt></dt>
                                 <dd>- warp index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">ln</span></tt></dt>
                                 <dd>- lane index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">predicates_size</span></tt></dt>
                                 <dd>- number of predicate registers to write </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">predicates</span></tt></dt>
                                 <dd>- buffer</dd>
                              </dl>
                           </div>
                           <div class="section">
                              <h6 class="return_header">Returns</h6>
                              <p class="return">CUDBG_SUCCESS, CUDBG_ERROR_INVALID_ARGS, CUDBG_ERROR_INVALID_DEVICE, CUDBG_ERROR_INVALID_LANE, CUDBG_ERROR_INVALID_SM, CUDBG_ERROR_INVALID_WARP,
                                 CUDBG_ERROR_UNINITIALIZED
                              </p>
                           </div>
                        </dd>
                        <dt class="description"><a name="group__WRITE_1ge3123cbb2278aa9adb6dabb01a5da6ef" id="group__WRITE_1ge3123cbb2278aa9adb6dabb01a5da6ef" shape="rect">
                              <!-- --></a><span><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                              ( *<a href="structCUDBGAPI__st.html" title="The CUDA debugger API routines. " shape="rect">CUDBGAPI_st</a>::writeRegister )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">dev</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sm</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">wp</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">ln</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">regno</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">val</span> )</span></dt>
                        <dd class="description">
                           <div class="section">
                              <p>Writes content to a hardware register.  Since CUDA 3.0.</p>
                              <p class="p"></p>
                              <p class="p"></p>
                              <p class="p apiDesc_subtitle"><strong class="ph b">See also:</strong></p>
                              <p class="p see_subsection"><a class="xref" href="group__WRITE.html#group__WRITE_1gf5e9ec0bda0f5cbdd7135603a5987398" title="Writes content to an address in the generic address space. This function determines if the given address falls into the local, shared, or global memory window. It then accesses memory taking into account the hardware co-ordinates provided as inputs." shape="rect">writeGenericMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__WRITE.html#group__WRITE_1gf2396f87598ff9edb9c2cf0d0d9e51c2" title="Writes content to address in the param memory segment." shape="rect">writeParamMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__WRITE.html#group__WRITE_1gec20ac438034a0a94f548ee9c1cf13cc" title="Writes content to address in the shared memory segment." shape="rect">writeSharedMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__WRITE.html#group__WRITE_1g8552847e859c3014eb5cf021ca1a07ff" title="Writes content to address in the local memory segment." shape="rect">writeLocalMemory</a></p>
                              <p class="p"></p>
                           </div>
                           <div class="section">
                              <h6 class="parameter_header">
                                 Parameters
                                 
                              </h6>
                              <dl class="table-display-params">
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">dev</span></tt></dt>
                                 <dd>- device index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">sm</span></tt></dt>
                                 <dd>- SM index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">wp</span></tt></dt>
                                 <dd>- warp index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">ln</span></tt></dt>
                                 <dd>- lane index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">regno</span></tt></dt>
                                 <dd>- register index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">val</span></tt></dt>
                                 <dd>- buffer</dd>
                              </dl>
                           </div>
                           <div class="section">
                              <h6 class="return_header">Returns</h6>
                              <p class="return">CUDBG_SUCCESS, CUDBG_ERROR_INVALID_ARGS, CUDBG_ERROR_INVALID_DEVICE, CUDBG_ERROR_INVALID_LANE, CUDBG_ERROR_INVALID_SM, CUDBG_ERROR_INVALID_WARP,
                                 CUDBG_ERROR_UNINITIALIZED
                              </p>
                           </div>
                        </dd>
                        <dt class="description"><a name="group__WRITE_1gec20ac438034a0a94f548ee9c1cf13cc" id="group__WRITE_1gec20ac438034a0a94f548ee9c1cf13cc" shape="rect">
                              <!-- --></a><span><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                              ( *<a href="structCUDBGAPI__st.html" title="The CUDA debugger API routines. " shape="rect">CUDBGAPI_st</a>::writeSharedMemory )(  uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">dev</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sm</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">wp</span>, uint64_t<span>&nbsp;</span><span class="keyword keyword apiItemName">addr</span>, const void*<span>&nbsp;</span><span class="keyword keyword apiItemName">buf</span>, uint32_t<span>&nbsp;</span><span class="keyword keyword apiItemName">sz</span> )</span></dt>
                        <dd class="description">
                           <div class="section">
                              <p>Writes content to address in the shared memory segment.  Since CUDA 3.0.</p>
                              <p class="p"></p>
                              <p class="p"></p>
                              <p class="p apiDesc_subtitle"><strong class="ph b">See also:</strong></p>
                              <p class="p see_subsection"><a class="xref" href="group__WRITE.html#group__WRITE_1gf5e9ec0bda0f5cbdd7135603a5987398" title="Writes content to an address in the generic address space. This function determines if the given address falls into the local, shared, or global memory window. It then accesses memory taking into account the hardware co-ordinates provided as inputs." shape="rect">writeGenericMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__WRITE.html#group__WRITE_1gf2396f87598ff9edb9c2cf0d0d9e51c2" title="Writes content to address in the param memory segment." shape="rect">writeParamMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__WRITE.html#group__WRITE_1g8552847e859c3014eb5cf021ca1a07ff" title="Writes content to address in the local memory segment." shape="rect">writeLocalMemory</a></p>
                              <p class="p see_subsection"><a class="xref" href="group__WRITE.html#group__WRITE_1ge3123cbb2278aa9adb6dabb01a5da6ef" title="Writes content to a hardware register." shape="rect">writeRegister</a></p>
                              <p class="p"></p>
                           </div>
                           <div class="section">
                              <h6 class="parameter_header">
                                 Parameters
                                 
                              </h6>
                              <dl class="table-display-params">
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">dev</span></tt></dt>
                                 <dd>- device index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">sm</span></tt></dt>
                                 <dd>- SM index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">wp</span></tt></dt>
                                 <dd>- warp index </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">addr</span></tt></dt>
                                 <dd>- memory address </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">buf</span></tt></dt>
                                 <dd>- buffer </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">sz</span></tt></dt>
                                 <dd>- size of the buffer</dd>
                              </dl>
                           </div>
                           <div class="section">
                              <h6 class="return_header">Returns</h6>
                              <p class="return">CUDBG_SUCCESS, CUDBG_ERROR_INVALID_ARGS, CUDBG_ERROR_INVALID_DEVICE, CUDBG_ERROR_INVALID_SM, CUDBG_ERROR_INVALID_WARP, CUDBG_ERROR_UNINITIALIZED,
                                 CUDBG_ERROR_MEMORY_MAPPING_FAILED
                              </p>
                           </div>
                        </dd>
                     </dl>
                  </div>
               </div>
               
               <hr id="contents-end"></hr>
               
            </article>
         </div>
      </div>
      <script language="JavaScript" type="text/javascript" charset="utf-8" src="../common/formatting/common.min.js"></script>
      <script language="JavaScript" type="text/javascript" charset="utf-8" src="../common/scripts/google-analytics/google-analytics-write.js"></script>
      <script language="JavaScript" type="text/javascript" charset="utf-8" src="../common/scripts/google-analytics/google-analytics-tracker.js"></script>
      <script type="text/javascript">var switchTo5x=true;</script><script type="text/javascript" src="http://w.sharethis.com/button/buttons.js"></script><script type="text/javascript">stLight.options({publisher: "998dc202-a267-4d8e-bce9-14debadb8d92", doNotHash: false, doNotCopy: false, hashAddressBar: false});</script></body>
</html>