Sophie

Sophie

distrib > Mageia > 7 > x86_64 > media > nonfree-updates > by-pkgid > b86a85131cc739c1c53d0b55840a4328 > files > 1602

nvidia-cuda-toolkit-devel-10.1.168-1.2.mga7.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="cppModule"></meta>
      <meta name="DC.Title" content="Device State Inspection"></meta>
      <meta name="abstract" content=""></meta>
      <meta name="description" content=""></meta>
      <meta name="DC.Format" content="XHTML"></meta>
      <meta name="DC.Identifier" content="group__READ"></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="//assets.adobedtm.com/b92787824f2e0e9b68dc2e993f9bd995339fe417/satelliteLib-7ba51e58dc61bcb0e9311aadd02a0108ab24cc6c.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 
                  
                  
                  v10.1.168</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;7.0 Release</a></div>
                     </li>
                     <li>
                        <div class="section-link"><a href="release-notes.html#unique_1088301352">1.2.&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="group__BP.html" shape="rect">&lt; Previous</a> | <a href="group__WRITE.html" shape="rect">Next &gt;</a></div>
               <div id="release-info">Debugger API
                  (<a href="../../pdf/CUDA_Debugger_API.pdf">PDF</a>)
                  -
                   
                  
                  
                  v10.1.168
                  (<a href="https://developer.nvidia.com/cuda-toolkit-archive">older</a>)
                  -
                  Last updated April 24, 2019
                  -
                  <a href="mailto:CUDAIssues@nvidia.com?subject=CUDA Toolkit Documentation Feedback: Debugger API">Send Feedback</a></div>
            </div>
            <article id="contents">
               <div class="topic reference apiRef apiPackage cppModule" id="group__READ"><a name="group__READ" shape="rect">
                     <!-- --></a><h2 class="topictitle2 cppModule">3.5.&nbsp;Device State Inspection</h2>
                  <div class="section">
                     <p></p>
                  </div>
                  <h3 class="fake_sectiontitle member_header">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__READ_1g2558a08f86f85b18a1efc2f7fe62a763" shape="rect">CUDBGAPI_st::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__READ_1g0de820d7ed30402b1f4155ce65b3dd3b" shape="rect">CUDBGAPI_st::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">CUDBGAPI_st::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">CUDBGAPI_st::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">CUDBGAPI_st::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">CUDBGAPI_st::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">CUDBGAPI_st::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">CUDBGAPI_st::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">CUDBGAPI_st::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">CUDBGAPI_st::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">CUDBGAPI_st::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="#group__READ_1g8468eae54d80205f03e00a6768dccfd6" shape="rect">CUDBGAPI_st::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">CUDBGAPI_st::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">CUDBGAPI_st::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">CUDBGAPI_st::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">CUDBGAPI_st::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">CUDBGAPI_st::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">CUDBGAPI_st::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">CUDBGAPI_st::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">CUDBGAPI_st::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">CUDBGAPI_st::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">CUDBGAPI_st::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">CUDBGAPI_st::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">CUDBGAPI_st::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">CUDBGAPI_st::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">CUDBGAPI_st::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">CUDBGAPI_st::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">CUDBGAPI_st::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">CUDBGAPI_st::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">CUDBGAPI_st::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">CUDBGAPI_st::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">CUDBGAPI_st::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">CUDBGAPI_st::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">CUDBGAPI_st::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_1geb8a83427cc7d73337216d1174d2a346" shape="rect">CUDBGAPI_st::readUniformPredicates</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">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 contents of uniform 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_1g953abc88588f1a3cea9b0ad940ee51a1" shape="rect">CUDBGAPI_st::readUniformRegisterRange</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">regno</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 a range of uniform 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_1gf8f5a4351ed66097d7c557d3b3cfcf4c" shape="rect">CUDBGAPI_st::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">CUDBGAPI_st::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">CUDBGAPI_st::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">CUDBGAPI_st::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">CUDBGAPI_st::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">CUDBGAPI_st::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="#group__READ_1g5c2e73cfe20e1985e803a64727d5cc57" shape="rect">CUDBGAPI_st::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">CUDBGAPI_st::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__READ_1gad342832ecd2e7eb1d379ec23e338f30" shape="rect">CUDBGAPI_st::writeUniformPredicates</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">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 to uniform predicate registers. </span></dd>
                  </dl>
                  <div class="description">
                     <h3 class="sectiontitle">Variables</h3>
                     <dl class="description">
                        <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>
                              ( *CUDBGAPI_st::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__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>
                              ( *CUDBGAPI_st::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>
                              ( *CUDBGAPI_st::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>
                              ( *CUDBGAPI_st::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>
                              ( *CUDBGAPI_st::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>
                              ( *CUDBGAPI_st::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>
                              ( *CUDBGAPI_st::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>
                              ( *CUDBGAPI_st::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>
                              ( *CUDBGAPI_st::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>
                              ( *CUDBGAPI_st::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>
                              ( *CUDBGAPI_st::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="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>
                              ( *CUDBGAPI_st::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>
                              ( *CUDBGAPI_st::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>
                              ( *CUDBGAPI_st::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>
                              ( *CUDBGAPI_st::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>
                              ( *CUDBGAPI_st::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>
                              ( *CUDBGAPI_st::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>
                              ( *CUDBGAPI_st::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>
                              ( *CUDBGAPI_st::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>
                              ( *CUDBGAPI_st::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>
                              ( *CUDBGAPI_st::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>
                              ( *CUDBGAPI_st::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>
                              ( *CUDBGAPI_st::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>
                              ( *CUDBGAPI_st::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>
                              ( *CUDBGAPI_st::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>
                              ( *CUDBGAPI_st::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>
                              ( *CUDBGAPI_st::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>
                              ( *CUDBGAPI_st::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>
                              ( *CUDBGAPI_st::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>
                              ( *CUDBGAPI_st::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>
                              ( *CUDBGAPI_st::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>
                              ( *CUDBGAPI_st::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>
                              ( *CUDBGAPI_st::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>
                              ( *CUDBGAPI_st::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_1geb8a83427cc7d73337216d1174d2a346" id="group__READ_1geb8a83427cc7d73337216d1174d2a346" shape="rect">
                              <!-- --></a><span><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                              ( *CUDBGAPI_st::readUniformPredicates )(  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">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 contents of uniform predicate registers.  Since CUDA 10.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_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">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_SM, CUDBG_ERROR_INVALID_WARP, CUDBG_ERROR_UNINITIALIZED</p>
                           </div>
                        </dd>
                        <dt class="description"><a name="group__READ_1g953abc88588f1a3cea9b0ad940ee51a1" id="group__READ_1g953abc88588f1a3cea9b0ad940ee51a1" shape="rect">
                              <!-- --></a><span><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                              ( *CUDBGAPI_st::readUniformRegisterRange )(  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">regno</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 a range of uniform registers.  Since CUDA 10.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_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">regno</span></tt></dt>
                                 <dd>- starting index into uniform register file </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">registers_size</span></tt></dt>
                                 <dd>- number of bytes to read </dd>
                                 <dt><tt class="code"><span class="keyword keyword apiItemName">registers</span></tt></dt>
                                 <dd>- pointer to 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</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>
                              ( *CUDBGAPI_st::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>
                              ( *CUDBGAPI_st::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>
                              ( *CUDBGAPI_st::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>
                              ( *CUDBGAPI_st::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>
                              ( *CUDBGAPI_st::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>
                              ( *CUDBGAPI_st::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="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>
                              ( *CUDBGAPI_st::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>
                              ( *CUDBGAPI_st::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__READ_1gad342832ecd2e7eb1d379ec23e338f30" id="group__READ_1gad342832ecd2e7eb1d379ec23e338f30" shape="rect">
                              <!-- --></a><span><a href="group__GENERAL.html#group__GENERAL_1gb6db1f210c2e621fabb0820e8cee28ce" title="Result values of all the API routines. " shape="rect">CUDBGResult</a>
                              ( *CUDBGAPI_st::writeUniformPredicates )(  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">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 to uniform predicate registers.  Since CUDA 10.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">readUniformPredicate </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">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_SM, CUDBG_ERROR_INVALID_WARP, CUDBG_ERROR_UNINITIALIZED</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><script type="text/javascript">_satellite.pageBottom();</script></body>
</html>