Sophie

Sophie

distrib > Mageia > 4 > x86_64 > by-pkgid > b0aa6cd23b567cd0e312b072b2e3b0bf > files > 1067

nvidia-cuda-toolkit-devel-5.5.22-2.mga4.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="Texture Reference Management"></meta>
      <meta name="abstract" content=""></meta>
      <meta name="description" content=""></meta>
      <meta name="DC.Format" content="XHTML"></meta>
      <meta name="DC.Identifier" content="group__CUDA__TEXREF"></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>CUDA Driver API :: CUDA Toolkit Documentation</title>
      <!--[if lt IE 9]>
      <script src="../common/formatting/html5shiv-printshiv.min.js"></script>
      <![endif]-->
      <script type="text/javascript" charset="utf-8" src="../common/formatting/jquery.min.js"></script>
      <script type="text/javascript" charset="utf-8" src="../common/formatting/jquery.ba-hashchange.min.js"></script>
      <link rel="canonical" href="http://docs.nvidia.com/cuda/cuda-driver-api/index.html"></link>
      <link rel="stylesheet" type="text/css" href="../common/formatting/qwcode.highlight.css"></link>
   </head>
   <body>
      
      <article id="contents">
         <div id="breadcrumbs"><a href="group__CUDA__EXEC__DEPRECATED.html" shape="rect">&lt; Previous</a> | <a href="group__CUDA__TEXREF__DEPRECATED.html" shape="rect">Next &gt;</a></div>
         <div id="release-info">CUDA Driver API
            (<a href="../../pdf/CUDA_Driver_API.pdf">PDF</a>)
            -
            CUDA Toolkit v5.5
            (<a href="https://developer.nvidia.com/cuda-toolkit-archive">older</a>)
            -
            Last updated 
            July 19, 2013
            -
            <a href="mailto:cudatools@nvidia.com?subject=CUDA Tools Documentation Feedback: cuda-driver-api">Send Feedback</a></div>
         <div class="topic reference apiRef apiPackage cppModule" id="group__CUDA__TEXREF"><a name="group__CUDA__TEXREF" shape="rect">
               <!-- --></a><h2 class="topictitle2 cppModule">2.15.&nbsp;Texture Reference Management</h2>
            <div class="section">
               <p>This section describes the texture reference management functions of the low-level CUDA driver application programming interface.
                  
               </p>
            </div>
            <h3 class="fake_sectiontitle member_header">Functions</h3>
            <dl class="members">
               <dt><span class="member_type"><a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gc6c391505e117393cc2558fff6bfc2e9" title="" shape="rect">CUresult</a>&nbsp;</span><span class="member_name"><a href="#group__CUDA__TEXREF_1g4e4674ce0b20a8951b65dead94a338e1" shape="rect">cuTexRefGetAddress</a> (  <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1g5e264ce2ad6a38761e7e04921ef771de" title="" shape="rect">CUdeviceptr</a>*<span>&nbsp;</span><span class="keyword keyword apiItemName">pdptr</span>, <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gec1e8eb9dc48ad748765d1fcc020d6b5" title="" shape="rect">CUtexref</a><span>&nbsp;</span><span class="keyword keyword apiItemName">hTexRef</span> ) </span></dt>
               <dd class="shortdesc"><span></span><span class="desc">Gets the address associated with a texture reference. </span></dd>
               <dt><span class="member_type"><a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gc6c391505e117393cc2558fff6bfc2e9" title="" shape="rect">CUresult</a>&nbsp;</span><span class="member_name"><a href="#group__CUDA__TEXREF_1gfb367d93dc1d20aab0cf8ce70d543b33" shape="rect">cuTexRefGetAddressMode</a> (  <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gc925457ee7128d6251071f6ff7608887" title="" shape="rect">CUaddress_mode</a>*<span>&nbsp;</span><span class="keyword keyword apiItemName">pam</span>, <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gec1e8eb9dc48ad748765d1fcc020d6b5" title="" shape="rect">CUtexref</a><span>&nbsp;</span><span class="keyword keyword apiItemName">hTexRef</span>, int <span>&nbsp;</span><span class="keyword keyword apiItemName">dim</span> ) </span></dt>
               <dd class="shortdesc"><span></span><span class="desc">Gets the addressing mode used by a texture reference. </span></dd>
               <dt><span class="member_type"><a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gc6c391505e117393cc2558fff6bfc2e9" title="" shape="rect">CUresult</a>&nbsp;</span><span class="member_name"><a href="#group__CUDA__TEXREF_1g388250d826d74c075b51d0c1648aa6d1" shape="rect">cuTexRefGetArray</a> (  <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gd550651524a56766b60f10f0e7628042" title="" shape="rect">CUarray</a>*<span>&nbsp;</span><span class="keyword keyword apiItemName">phArray</span>, <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gec1e8eb9dc48ad748765d1fcc020d6b5" title="" shape="rect">CUtexref</a><span>&nbsp;</span><span class="keyword keyword apiItemName">hTexRef</span> ) </span></dt>
               <dd class="shortdesc"><span></span><span class="desc">Gets the array bound to a texture reference. </span></dd>
               <dt><span class="member_type"><a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gc6c391505e117393cc2558fff6bfc2e9" title="" shape="rect">CUresult</a>&nbsp;</span><span class="member_name"><a href="#group__CUDA__TEXREF_1g2439e069746f69b940f2f4dbc78cdf87" shape="rect">cuTexRefGetFilterMode</a> (  <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1g4fb799d90872f1d6cd074b4349f37c2a" title="" shape="rect">CUfilter_mode</a>*<span>&nbsp;</span><span class="keyword keyword apiItemName">pfm</span>, <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gec1e8eb9dc48ad748765d1fcc020d6b5" title="" shape="rect">CUtexref</a><span>&nbsp;</span><span class="keyword keyword apiItemName">hTexRef</span> ) </span></dt>
               <dd class="shortdesc"><span></span><span class="desc">Gets the filter-mode used by a texture reference. </span></dd>
               <dt><span class="member_type"><a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gc6c391505e117393cc2558fff6bfc2e9" title="" shape="rect">CUresult</a>&nbsp;</span><span class="member_name"><a href="#group__CUDA__TEXREF_1g71310eec5c196aa85674b079dea88a04" shape="rect">cuTexRefGetFlags</a> (  unsigned int*<span>&nbsp;</span><span class="keyword keyword apiItemName">pFlags</span>, <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gec1e8eb9dc48ad748765d1fcc020d6b5" title="" shape="rect">CUtexref</a><span>&nbsp;</span><span class="keyword keyword apiItemName">hTexRef</span> ) </span></dt>
               <dd class="shortdesc"><span></span><span class="desc">Gets the flags used by a texture reference. </span></dd>
               <dt><span class="member_type"><a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gc6c391505e117393cc2558fff6bfc2e9" title="" shape="rect">CUresult</a>&nbsp;</span><span class="member_name"><a href="#group__CUDA__TEXREF_1g90936eb6c7c4434a609e1160c278ae53" shape="rect">cuTexRefGetFormat</a> (  <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1g9b009d9a6aa4c5765c8a00289b6068f9" title="" shape="rect">CUarray_format</a>*<span>&nbsp;</span><span class="keyword keyword apiItemName">pFormat</span>, int*<span>&nbsp;</span><span class="keyword keyword apiItemName">pNumChannels</span>, <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gec1e8eb9dc48ad748765d1fcc020d6b5" title="" shape="rect">CUtexref</a><span>&nbsp;</span><span class="keyword keyword apiItemName">hTexRef</span> ) </span></dt>
               <dd class="shortdesc"><span></span><span class="desc">Gets the format used by a texture reference. </span></dd>
               <dt><span class="member_type"><a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gc6c391505e117393cc2558fff6bfc2e9" title="" shape="rect">CUresult</a>&nbsp;</span><span class="member_name"><a href="#group__CUDA__TEXREF_1g56f52273c1b456d5a2cf7a85d86d0205" shape="rect">cuTexRefGetMaxAnisotropy</a> (  int*<span>&nbsp;</span><span class="keyword keyword apiItemName">pmaxAniso</span>, <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gec1e8eb9dc48ad748765d1fcc020d6b5" title="" shape="rect">CUtexref</a><span>&nbsp;</span><span class="keyword keyword apiItemName">hTexRef</span> ) </span></dt>
               <dd class="shortdesc"><span></span><span class="desc">Gets the maximum anisotropy for a texture reference. </span></dd>
               <dt><span class="member_type"><a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gc6c391505e117393cc2558fff6bfc2e9" title="" shape="rect">CUresult</a>&nbsp;</span><span class="member_name"><a href="#group__CUDA__TEXREF_1g60d45fe9ff9be6f92ea20e37a03e06d7" shape="rect">cuTexRefGetMipmapFilterMode</a> (  <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1g4fb799d90872f1d6cd074b4349f37c2a" title="" shape="rect">CUfilter_mode</a>*<span>&nbsp;</span><span class="keyword keyword apiItemName">pfm</span>, <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gec1e8eb9dc48ad748765d1fcc020d6b5" title="" shape="rect">CUtexref</a><span>&nbsp;</span><span class="keyword keyword apiItemName">hTexRef</span> ) </span></dt>
               <dd class="shortdesc"><span></span><span class="desc">Gets the mipmap filtering mode for a texture reference. </span></dd>
               <dt><span class="member_type"><a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gc6c391505e117393cc2558fff6bfc2e9" title="" shape="rect">CUresult</a>&nbsp;</span><span class="member_name"><a href="#group__CUDA__TEXREF_1ge32365ea560887c59be72ccd431e5c04" shape="rect">cuTexRefGetMipmapLevelBias</a> (  float*<span>&nbsp;</span><span class="keyword keyword apiItemName">pbias</span>, <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gec1e8eb9dc48ad748765d1fcc020d6b5" title="" shape="rect">CUtexref</a><span>&nbsp;</span><span class="keyword keyword apiItemName">hTexRef</span> ) </span></dt>
               <dd class="shortdesc"><span></span><span class="desc">Gets the mipmap level bias for a texture reference. </span></dd>
               <dt><span class="member_type"><a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gc6c391505e117393cc2558fff6bfc2e9" title="" shape="rect">CUresult</a>&nbsp;</span><span class="member_name"><a href="#group__CUDA__TEXREF_1g3dc6275f3b0d6f0b2adc7bb7e489f8d2" shape="rect">cuTexRefGetMipmapLevelClamp</a> (  float*<span>&nbsp;</span><span class="keyword keyword apiItemName">pminMipmapLevelClamp</span>, float*<span>&nbsp;</span><span class="keyword keyword apiItemName">pmaxMipmapLevelClamp</span>, <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gec1e8eb9dc48ad748765d1fcc020d6b5" title="" shape="rect">CUtexref</a><span>&nbsp;</span><span class="keyword keyword apiItemName">hTexRef</span> ) </span></dt>
               <dd class="shortdesc"><span></span><span class="desc">Gets the min/max mipmap level clamps for a texture reference. </span></dd>
               <dt><span class="member_type"><a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gc6c391505e117393cc2558fff6bfc2e9" title="" shape="rect">CUresult</a>&nbsp;</span><span class="member_name"><a href="#group__CUDA__TEXREF_1ged9eaa907457a9bbb0d244b93a42dd79" shape="rect">cuTexRefGetMipmappedArray</a> (  <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1g96db856ab3d2940fb694ce4501d9b583" title="" shape="rect">CUmipmappedArray</a>*<span>&nbsp;</span><span class="keyword keyword apiItemName">phMipmappedArray</span>, <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gec1e8eb9dc48ad748765d1fcc020d6b5" title="" shape="rect">CUtexref</a><span>&nbsp;</span><span class="keyword keyword apiItemName">hTexRef</span> ) </span></dt>
               <dd class="shortdesc"><span></span><span class="desc">Gets the mipmapped array bound to a texture reference. </span></dd>
               <dt><span class="member_type"><a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gc6c391505e117393cc2558fff6bfc2e9" title="" shape="rect">CUresult</a>&nbsp;</span><span class="member_name"><a href="#group__CUDA__TEXREF_1g44ef7e5055192d52b3d43456602b50a8" shape="rect">cuTexRefSetAddress</a> (  size_t*<span>&nbsp;</span><span class="keyword keyword apiItemName">ByteOffset</span>, <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gec1e8eb9dc48ad748765d1fcc020d6b5" title="" shape="rect">CUtexref</a><span>&nbsp;</span><span class="keyword keyword apiItemName">hTexRef</span>, <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1g5e264ce2ad6a38761e7e04921ef771de" title="" shape="rect">CUdeviceptr</a><span>&nbsp;</span><span class="keyword keyword apiItemName">dptr</span>, size_t<span>&nbsp;</span><span class="keyword keyword apiItemName">bytes</span> ) </span></dt>
               <dd class="shortdesc"><span></span><span class="desc">Binds an address as a texture reference. </span></dd>
               <dt><span class="member_type"><a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gc6c391505e117393cc2558fff6bfc2e9" title="" shape="rect">CUresult</a>&nbsp;</span><span class="member_name"><a href="#group__CUDA__TEXREF_1g26f709bbe10516681913d1ffe8756ee2" shape="rect">cuTexRefSetAddress2D</a> (  <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gec1e8eb9dc48ad748765d1fcc020d6b5" title="" shape="rect">CUtexref</a><span>&nbsp;</span><span class="keyword keyword apiItemName">hTexRef</span>, const <a href="structCUDA__ARRAY__DESCRIPTOR.html#structCUDA__ARRAY__DESCRIPTOR" title="" shape="rect">CUDA_ARRAY_DESCRIPTOR</a>*<span>&nbsp;</span><span class="keyword keyword apiItemName">desc</span>, <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1g5e264ce2ad6a38761e7e04921ef771de" title="" shape="rect">CUdeviceptr</a><span>&nbsp;</span><span class="keyword keyword apiItemName">dptr</span>, size_t<span>&nbsp;</span><span class="keyword keyword apiItemName">Pitch</span> ) </span></dt>
               <dd class="shortdesc"><span></span><span class="desc">Binds an address as a 2D texture reference. </span></dd>
               <dt><span class="member_type"><a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gc6c391505e117393cc2558fff6bfc2e9" title="" shape="rect">CUresult</a>&nbsp;</span><span class="member_name"><a href="#group__CUDA__TEXREF_1g85f4a13eeb94c8072f61091489349bcb" shape="rect">cuTexRefSetAddressMode</a> (  <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gec1e8eb9dc48ad748765d1fcc020d6b5" title="" shape="rect">CUtexref</a><span>&nbsp;</span><span class="keyword keyword apiItemName">hTexRef</span>, int <span>&nbsp;</span><span class="keyword keyword apiItemName">dim</span>, <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gc925457ee7128d6251071f6ff7608887" title="" shape="rect">CUaddress_mode</a><span>&nbsp;</span><span class="keyword keyword apiItemName">am</span> ) </span></dt>
               <dd class="shortdesc"><span></span><span class="desc">Sets the addressing mode for a texture reference. </span></dd>
               <dt><span class="member_type"><a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gc6c391505e117393cc2558fff6bfc2e9" title="" shape="rect">CUresult</a>&nbsp;</span><span class="member_name"><a href="#group__CUDA__TEXREF_1g34435b306682531716243239f0084fed" shape="rect">cuTexRefSetArray</a> (  <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gec1e8eb9dc48ad748765d1fcc020d6b5" title="" shape="rect">CUtexref</a><span>&nbsp;</span><span class="keyword keyword apiItemName">hTexRef</span>, <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gd550651524a56766b60f10f0e7628042" title="" shape="rect">CUarray</a><span>&nbsp;</span><span class="keyword keyword apiItemName">hArray</span>, unsigned int <span>&nbsp;</span><span class="keyword keyword apiItemName">Flags</span> ) </span></dt>
               <dd class="shortdesc"><span></span><span class="desc">Binds an array as a texture reference. </span></dd>
               <dt><span class="member_type"><a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gc6c391505e117393cc2558fff6bfc2e9" title="" shape="rect">CUresult</a>&nbsp;</span><span class="member_name"><a href="#group__CUDA__TEXREF_1g595d0af02c55576f8c835e4efd1f39c0" shape="rect">cuTexRefSetFilterMode</a> (  <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gec1e8eb9dc48ad748765d1fcc020d6b5" title="" shape="rect">CUtexref</a><span>&nbsp;</span><span class="keyword keyword apiItemName">hTexRef</span>, <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1g4fb799d90872f1d6cd074b4349f37c2a" title="" shape="rect">CUfilter_mode</a><span>&nbsp;</span><span class="keyword keyword apiItemName">fm</span> ) </span></dt>
               <dd class="shortdesc"><span></span><span class="desc">Sets the filtering mode for a texture reference. </span></dd>
               <dt><span class="member_type"><a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gc6c391505e117393cc2558fff6bfc2e9" title="" shape="rect">CUresult</a>&nbsp;</span><span class="member_name"><a href="#group__CUDA__TEXREF_1g554ffd896487533c36810f2e45bb7a28" shape="rect">cuTexRefSetFlags</a> (  <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gec1e8eb9dc48ad748765d1fcc020d6b5" title="" shape="rect">CUtexref</a><span>&nbsp;</span><span class="keyword keyword apiItemName">hTexRef</span>, unsigned int <span>&nbsp;</span><span class="keyword keyword apiItemName">Flags</span> ) </span></dt>
               <dd class="shortdesc"><span></span><span class="desc">Sets the flags for a texture reference. </span></dd>
               <dt><span class="member_type"><a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gc6c391505e117393cc2558fff6bfc2e9" title="" shape="rect">CUresult</a>&nbsp;</span><span class="member_name"><a href="#group__CUDA__TEXREF_1g05585ef8ea2fec728a03c6c8f87cf07a" shape="rect">cuTexRefSetFormat</a> (  <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gec1e8eb9dc48ad748765d1fcc020d6b5" title="" shape="rect">CUtexref</a><span>&nbsp;</span><span class="keyword keyword apiItemName">hTexRef</span>, <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1g9b009d9a6aa4c5765c8a00289b6068f9" title="" shape="rect">CUarray_format</a><span>&nbsp;</span><span class="keyword keyword apiItemName">fmt</span>, int <span>&nbsp;</span><span class="keyword keyword apiItemName">NumPackedComponents</span> ) </span></dt>
               <dd class="shortdesc"><span></span><span class="desc">Sets the format for a texture reference. </span></dd>
               <dt><span class="member_type"><a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gc6c391505e117393cc2558fff6bfc2e9" title="" shape="rect">CUresult</a>&nbsp;</span><span class="member_name"><a href="#group__CUDA__TEXREF_1g623f5c00b1b2a883f3bddfc1792c85da" shape="rect">cuTexRefSetMaxAnisotropy</a> (  <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gec1e8eb9dc48ad748765d1fcc020d6b5" title="" shape="rect">CUtexref</a><span>&nbsp;</span><span class="keyword keyword apiItemName">hTexRef</span>, unsigned int <span>&nbsp;</span><span class="keyword keyword apiItemName">maxAniso</span> ) </span></dt>
               <dd class="shortdesc"><span></span><span class="desc">Sets the maximum anisotropy for a texture reference. </span></dd>
               <dt><span class="member_type"><a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gc6c391505e117393cc2558fff6bfc2e9" title="" shape="rect">CUresult</a>&nbsp;</span><span class="member_name"><a href="#group__CUDA__TEXREF_1ge6238426775fa672a1518fe9828f2d76" shape="rect">cuTexRefSetMipmapFilterMode</a> (  <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gec1e8eb9dc48ad748765d1fcc020d6b5" title="" shape="rect">CUtexref</a><span>&nbsp;</span><span class="keyword keyword apiItemName">hTexRef</span>, <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1g4fb799d90872f1d6cd074b4349f37c2a" title="" shape="rect">CUfilter_mode</a><span>&nbsp;</span><span class="keyword keyword apiItemName">fm</span> ) </span></dt>
               <dd class="shortdesc"><span></span><span class="desc">Sets the mipmap filtering mode for a texture reference. </span></dd>
               <dt><span class="member_type"><a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gc6c391505e117393cc2558fff6bfc2e9" title="" shape="rect">CUresult</a>&nbsp;</span><span class="member_name"><a href="#group__CUDA__TEXREF_1g3be1de86e98d39c3a6b59c11cca5b77d" shape="rect">cuTexRefSetMipmapLevelBias</a> (  <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gec1e8eb9dc48ad748765d1fcc020d6b5" title="" shape="rect">CUtexref</a><span>&nbsp;</span><span class="keyword keyword apiItemName">hTexRef</span>, float <span>&nbsp;</span><span class="keyword keyword apiItemName">bias</span> ) </span></dt>
               <dd class="shortdesc"><span></span><span class="desc">Sets the mipmap level bias for a texture reference. </span></dd>
               <dt><span class="member_type"><a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gc6c391505e117393cc2558fff6bfc2e9" title="" shape="rect">CUresult</a>&nbsp;</span><span class="member_name"><a href="#group__CUDA__TEXREF_1gf7354fa837b181a8b094b99654b14086" shape="rect">cuTexRefSetMipmapLevelClamp</a> (  <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gec1e8eb9dc48ad748765d1fcc020d6b5" title="" shape="rect">CUtexref</a><span>&nbsp;</span><span class="keyword keyword apiItemName">hTexRef</span>, float <span>&nbsp;</span><span class="keyword keyword apiItemName">minMipmapLevelClamp</span>, float <span>&nbsp;</span><span class="keyword keyword apiItemName">maxMipmapLevelClamp</span> ) </span></dt>
               <dd class="shortdesc"><span></span><span class="desc">Sets the mipmap min/max mipmap level clamps for a texture reference. </span></dd>
               <dt><span class="member_type"><a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gc6c391505e117393cc2558fff6bfc2e9" title="" shape="rect">CUresult</a>&nbsp;</span><span class="member_name"><a href="#group__CUDA__TEXREF_1g8a550f19ff84858a396f79a526fd3406" shape="rect">cuTexRefSetMipmappedArray</a> (  <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gec1e8eb9dc48ad748765d1fcc020d6b5" title="" shape="rect">CUtexref</a><span>&nbsp;</span><span class="keyword keyword apiItemName">hTexRef</span>, <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1g96db856ab3d2940fb694ce4501d9b583" title="" shape="rect">CUmipmappedArray</a><span>&nbsp;</span><span class="keyword keyword apiItemName">hMipmappedArray</span>, unsigned int <span>&nbsp;</span><span class="keyword keyword apiItemName">Flags</span> ) </span></dt>
               <dd class="shortdesc"><span></span><span class="desc">Binds a mipmapped array to a texture reference. </span></dd>
            </dl>
            <div class="description">
               <h3 class="sectiontitle">Functions</h3>
               <dl class="description">
                  <dt class="description"><a name="group__CUDA__TEXREF_1g4e4674ce0b20a8951b65dead94a338e1" id="group__CUDA__TEXREF_1g4e4674ce0b20a8951b65dead94a338e1" shape="rect">
                        <!-- --></a><span><a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gc6c391505e117393cc2558fff6bfc2e9" title="" shape="rect">CUresult</a> cuTexRefGetAddress (  <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1g5e264ce2ad6a38761e7e04921ef771de" title="" shape="rect">CUdeviceptr</a>*<span>&nbsp;</span><span class="keyword keyword apiItemName">pdptr</span>, <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gec1e8eb9dc48ad748765d1fcc020d6b5" title="" shape="rect">CUtexref</a><span>&nbsp;</span><span class="keyword keyword apiItemName">hTexRef</span> ) </span></dt>
                  <dd class="description">
                     <div class="section">Gets the address associated with a texture reference. </div>
                     <div class="section">
                        <h6 class="parameter_header">
                           Parameters
                           
                        </h6>
                        <dl class="table-display-params">
                           <dt><tt class="code"><span class="keyword keyword apiItemName">pdptr</span></tt></dt>
                           <dd>- Returned device address </dd>
                           <dt><tt class="code"><span class="keyword keyword apiItemName">hTexRef</span></tt></dt>
                           <dd>- Texture reference</dd>
                        </dl>
                     </div>
                     <div class="section">
                        <h6 class="return_header">Returns</h6>
                        <p class="return"><a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9a0eed720f8a87cd1c5fd1c453bc7a03d" shape="rect">CUDA_SUCCESS</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9acf52f132faf29b473cdda6061f0f44a" shape="rect">CUDA_ERROR_DEINITIALIZED</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e98feb999f0af99b4a25ab26b3866f4df8" shape="rect">CUDA_ERROR_NOT_INITIALIZED</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9a484e9af32c1e9893ff21f0e0191a12d" shape="rect">CUDA_ERROR_INVALID_CONTEXT</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e990696c86fcee1f536a1ec7d25867feeb" shape="rect">CUDA_ERROR_INVALID_VALUE</a></p>
                     </div>
                     <div class="section">
                        <h6 class="description_header">Description</h6>
                        <p>Returns in <tt class="ph tt code">*pdptr</tt> the base address bound to the texture reference <tt class="ph tt code">hTexRef</tt>, or returns <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e990696c86fcee1f536a1ec7d25867feeb" shape="rect">CUDA_ERROR_INVALID_VALUE</a> if the texture reference is not bound to any device memory range.
                        </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__CUDA__TEXREF.html#group__CUDA__TEXREF_1g44ef7e5055192d52b3d43456602b50a8" title="Binds an address as a texture reference." shape="rect">cuTexRefSetAddress</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g26f709bbe10516681913d1ffe8756ee2" title="Binds an address as a 2D texture reference." shape="rect">cuTexRefSetAddress2D</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g85f4a13eeb94c8072f61091489349bcb" title="Sets the addressing mode for a texture reference." shape="rect">cuTexRefSetAddressMode</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g34435b306682531716243239f0084fed" title="Binds an array as a texture reference." shape="rect">cuTexRefSetArray</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g595d0af02c55576f8c835e4efd1f39c0" title="Sets the filtering mode for a texture reference." shape="rect">cuTexRefSetFilterMode</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g554ffd896487533c36810f2e45bb7a28" title="Sets the flags for a texture reference." shape="rect">cuTexRefSetFlags</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g05585ef8ea2fec728a03c6c8f87cf07a" title="Sets the format for a texture reference." shape="rect">cuTexRefSetFormat</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1gfb367d93dc1d20aab0cf8ce70d543b33" title="Gets the addressing mode used by a texture reference." shape="rect">cuTexRefGetAddressMode</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g388250d826d74c075b51d0c1648aa6d1" title="Gets the array bound to a texture reference." shape="rect">cuTexRefGetArray</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g2439e069746f69b940f2f4dbc78cdf87" title="Gets the filter-mode used by a texture reference." shape="rect">cuTexRefGetFilterMode</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g71310eec5c196aa85674b079dea88a04" title="Gets the flags used by a texture reference." shape="rect">cuTexRefGetFlags</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g90936eb6c7c4434a609e1160c278ae53" title="Gets the format used by a texture reference." shape="rect">cuTexRefGetFormat</a></p>
                        <p class="p"></p>
                     </div>
                  </dd>
                  <dt class="description"><a name="group__CUDA__TEXREF_1gfb367d93dc1d20aab0cf8ce70d543b33" id="group__CUDA__TEXREF_1gfb367d93dc1d20aab0cf8ce70d543b33" shape="rect">
                        <!-- --></a><span><a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gc6c391505e117393cc2558fff6bfc2e9" title="" shape="rect">CUresult</a> cuTexRefGetAddressMode (  <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gc925457ee7128d6251071f6ff7608887" title="" shape="rect">CUaddress_mode</a>*<span>&nbsp;</span><span class="keyword keyword apiItemName">pam</span>, <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gec1e8eb9dc48ad748765d1fcc020d6b5" title="" shape="rect">CUtexref</a><span>&nbsp;</span><span class="keyword keyword apiItemName">hTexRef</span>, int <span>&nbsp;</span><span class="keyword keyword apiItemName">dim</span> ) </span></dt>
                  <dd class="description">
                     <div class="section">Gets the addressing mode used by a texture reference. </div>
                     <div class="section">
                        <h6 class="parameter_header">
                           Parameters
                           
                        </h6>
                        <dl class="table-display-params">
                           <dt><tt class="code"><span class="keyword keyword apiItemName">pam</span></tt></dt>
                           <dd>- Returned addressing mode </dd>
                           <dt><tt class="code"><span class="keyword keyword apiItemName">hTexRef</span></tt></dt>
                           <dd>- Texture reference </dd>
                           <dt><tt class="code"><span class="keyword keyword apiItemName">dim</span></tt></dt>
                           <dd>- Dimension</dd>
                        </dl>
                     </div>
                     <div class="section">
                        <h6 class="return_header">Returns</h6>
                        <p class="return"><a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9a0eed720f8a87cd1c5fd1c453bc7a03d" shape="rect">CUDA_SUCCESS</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9acf52f132faf29b473cdda6061f0f44a" shape="rect">CUDA_ERROR_DEINITIALIZED</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e98feb999f0af99b4a25ab26b3866f4df8" shape="rect">CUDA_ERROR_NOT_INITIALIZED</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9a484e9af32c1e9893ff21f0e0191a12d" shape="rect">CUDA_ERROR_INVALID_CONTEXT</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e990696c86fcee1f536a1ec7d25867feeb" shape="rect">CUDA_ERROR_INVALID_VALUE</a></p>
                     </div>
                     <div class="section">
                        <h6 class="description_header">Description</h6>
                        <p>Returns in <tt class="ph tt code">*pam</tt> the addressing mode corresponding to the dimension <tt class="ph tt code">dim</tt> of the texture reference <tt class="ph tt code">hTexRef</tt>. Currently, the only valid value for <tt class="ph tt code">dim</tt> are 0 and 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__CUDA__TEXREF.html#group__CUDA__TEXREF_1g44ef7e5055192d52b3d43456602b50a8" title="Binds an address as a texture reference." shape="rect">cuTexRefSetAddress</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g26f709bbe10516681913d1ffe8756ee2" title="Binds an address as a 2D texture reference." shape="rect">cuTexRefSetAddress2D</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g85f4a13eeb94c8072f61091489349bcb" title="Sets the addressing mode for a texture reference." shape="rect">cuTexRefSetAddressMode</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g34435b306682531716243239f0084fed" title="Binds an array as a texture reference." shape="rect">cuTexRefSetArray</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g595d0af02c55576f8c835e4efd1f39c0" title="Sets the filtering mode for a texture reference." shape="rect">cuTexRefSetFilterMode</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g554ffd896487533c36810f2e45bb7a28" title="Sets the flags for a texture reference." shape="rect">cuTexRefSetFlags</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g05585ef8ea2fec728a03c6c8f87cf07a" title="Sets the format for a texture reference." shape="rect">cuTexRefSetFormat</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g4e4674ce0b20a8951b65dead94a338e1" title="Gets the address associated with a texture reference." shape="rect">cuTexRefGetAddress</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g388250d826d74c075b51d0c1648aa6d1" title="Gets the array bound to a texture reference." shape="rect">cuTexRefGetArray</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g2439e069746f69b940f2f4dbc78cdf87" title="Gets the filter-mode used by a texture reference." shape="rect">cuTexRefGetFilterMode</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g71310eec5c196aa85674b079dea88a04" title="Gets the flags used by a texture reference." shape="rect">cuTexRefGetFlags</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g90936eb6c7c4434a609e1160c278ae53" title="Gets the format used by a texture reference." shape="rect">cuTexRefGetFormat</a></p>
                        <p class="p"></p>
                     </div>
                  </dd>
                  <dt class="description"><a name="group__CUDA__TEXREF_1g388250d826d74c075b51d0c1648aa6d1" id="group__CUDA__TEXREF_1g388250d826d74c075b51d0c1648aa6d1" shape="rect">
                        <!-- --></a><span><a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gc6c391505e117393cc2558fff6bfc2e9" title="" shape="rect">CUresult</a> cuTexRefGetArray (  <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gd550651524a56766b60f10f0e7628042" title="" shape="rect">CUarray</a>*<span>&nbsp;</span><span class="keyword keyword apiItemName">phArray</span>, <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gec1e8eb9dc48ad748765d1fcc020d6b5" title="" shape="rect">CUtexref</a><span>&nbsp;</span><span class="keyword keyword apiItemName">hTexRef</span> ) </span></dt>
                  <dd class="description">
                     <div class="section">Gets the array bound to a texture reference. </div>
                     <div class="section">
                        <h6 class="parameter_header">
                           Parameters
                           
                        </h6>
                        <dl class="table-display-params">
                           <dt><tt class="code"><span class="keyword keyword apiItemName">phArray</span></tt></dt>
                           <dd>- Returned array </dd>
                           <dt><tt class="code"><span class="keyword keyword apiItemName">hTexRef</span></tt></dt>
                           <dd>- Texture reference</dd>
                        </dl>
                     </div>
                     <div class="section">
                        <h6 class="return_header">Returns</h6>
                        <p class="return"><a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9a0eed720f8a87cd1c5fd1c453bc7a03d" shape="rect">CUDA_SUCCESS</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9acf52f132faf29b473cdda6061f0f44a" shape="rect">CUDA_ERROR_DEINITIALIZED</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e98feb999f0af99b4a25ab26b3866f4df8" shape="rect">CUDA_ERROR_NOT_INITIALIZED</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9a484e9af32c1e9893ff21f0e0191a12d" shape="rect">CUDA_ERROR_INVALID_CONTEXT</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e990696c86fcee1f536a1ec7d25867feeb" shape="rect">CUDA_ERROR_INVALID_VALUE</a></p>
                     </div>
                     <div class="section">
                        <h6 class="description_header">Description</h6>
                        <p>Returns in <tt class="ph tt code">*phArray</tt> the CUDA array bound to the texture reference <tt class="ph tt code">hTexRef</tt>, or returns <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e990696c86fcee1f536a1ec7d25867feeb" shape="rect">CUDA_ERROR_INVALID_VALUE</a> if the texture reference is not bound to any CUDA array.
                        </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__CUDA__TEXREF.html#group__CUDA__TEXREF_1g44ef7e5055192d52b3d43456602b50a8" title="Binds an address as a texture reference." shape="rect">cuTexRefSetAddress</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g26f709bbe10516681913d1ffe8756ee2" title="Binds an address as a 2D texture reference." shape="rect">cuTexRefSetAddress2D</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g85f4a13eeb94c8072f61091489349bcb" title="Sets the addressing mode for a texture reference." shape="rect">cuTexRefSetAddressMode</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g34435b306682531716243239f0084fed" title="Binds an array as a texture reference." shape="rect">cuTexRefSetArray</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g595d0af02c55576f8c835e4efd1f39c0" title="Sets the filtering mode for a texture reference." shape="rect">cuTexRefSetFilterMode</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g554ffd896487533c36810f2e45bb7a28" title="Sets the flags for a texture reference." shape="rect">cuTexRefSetFlags</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g05585ef8ea2fec728a03c6c8f87cf07a" title="Sets the format for a texture reference." shape="rect">cuTexRefSetFormat</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g4e4674ce0b20a8951b65dead94a338e1" title="Gets the address associated with a texture reference." shape="rect">cuTexRefGetAddress</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1gfb367d93dc1d20aab0cf8ce70d543b33" title="Gets the addressing mode used by a texture reference." shape="rect">cuTexRefGetAddressMode</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g2439e069746f69b940f2f4dbc78cdf87" title="Gets the filter-mode used by a texture reference." shape="rect">cuTexRefGetFilterMode</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g71310eec5c196aa85674b079dea88a04" title="Gets the flags used by a texture reference." shape="rect">cuTexRefGetFlags</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g90936eb6c7c4434a609e1160c278ae53" title="Gets the format used by a texture reference." shape="rect">cuTexRefGetFormat</a></p>
                        <p class="p"></p>
                     </div>
                  </dd>
                  <dt class="description"><a name="group__CUDA__TEXREF_1g2439e069746f69b940f2f4dbc78cdf87" id="group__CUDA__TEXREF_1g2439e069746f69b940f2f4dbc78cdf87" shape="rect">
                        <!-- --></a><span><a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gc6c391505e117393cc2558fff6bfc2e9" title="" shape="rect">CUresult</a> cuTexRefGetFilterMode (  <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1g4fb799d90872f1d6cd074b4349f37c2a" title="" shape="rect">CUfilter_mode</a>*<span>&nbsp;</span><span class="keyword keyword apiItemName">pfm</span>, <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gec1e8eb9dc48ad748765d1fcc020d6b5" title="" shape="rect">CUtexref</a><span>&nbsp;</span><span class="keyword keyword apiItemName">hTexRef</span> ) </span></dt>
                  <dd class="description">
                     <div class="section">Gets the filter-mode used by a texture reference. </div>
                     <div class="section">
                        <h6 class="parameter_header">
                           Parameters
                           
                        </h6>
                        <dl class="table-display-params">
                           <dt><tt class="code"><span class="keyword keyword apiItemName">pfm</span></tt></dt>
                           <dd>- Returned filtering mode </dd>
                           <dt><tt class="code"><span class="keyword keyword apiItemName">hTexRef</span></tt></dt>
                           <dd>- Texture reference</dd>
                        </dl>
                     </div>
                     <div class="section">
                        <h6 class="return_header">Returns</h6>
                        <p class="return"><a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9a0eed720f8a87cd1c5fd1c453bc7a03d" shape="rect">CUDA_SUCCESS</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9acf52f132faf29b473cdda6061f0f44a" shape="rect">CUDA_ERROR_DEINITIALIZED</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e98feb999f0af99b4a25ab26b3866f4df8" shape="rect">CUDA_ERROR_NOT_INITIALIZED</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9a484e9af32c1e9893ff21f0e0191a12d" shape="rect">CUDA_ERROR_INVALID_CONTEXT</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e990696c86fcee1f536a1ec7d25867feeb" shape="rect">CUDA_ERROR_INVALID_VALUE</a></p>
                     </div>
                     <div class="section">
                        <h6 class="description_header">Description</h6>
                        <p>Returns in <tt class="ph tt code">*pfm</tt> the filtering mode of the texture reference <tt class="ph tt code">hTexRef</tt>.
                        </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__CUDA__TEXREF.html#group__CUDA__TEXREF_1g44ef7e5055192d52b3d43456602b50a8" title="Binds an address as a texture reference." shape="rect">cuTexRefSetAddress</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g26f709bbe10516681913d1ffe8756ee2" title="Binds an address as a 2D texture reference." shape="rect">cuTexRefSetAddress2D</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g85f4a13eeb94c8072f61091489349bcb" title="Sets the addressing mode for a texture reference." shape="rect">cuTexRefSetAddressMode</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g34435b306682531716243239f0084fed" title="Binds an array as a texture reference." shape="rect">cuTexRefSetArray</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g595d0af02c55576f8c835e4efd1f39c0" title="Sets the filtering mode for a texture reference." shape="rect">cuTexRefSetFilterMode</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g554ffd896487533c36810f2e45bb7a28" title="Sets the flags for a texture reference." shape="rect">cuTexRefSetFlags</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g05585ef8ea2fec728a03c6c8f87cf07a" title="Sets the format for a texture reference." shape="rect">cuTexRefSetFormat</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g4e4674ce0b20a8951b65dead94a338e1" title="Gets the address associated with a texture reference." shape="rect">cuTexRefGetAddress</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1gfb367d93dc1d20aab0cf8ce70d543b33" title="Gets the addressing mode used by a texture reference." shape="rect">cuTexRefGetAddressMode</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g388250d826d74c075b51d0c1648aa6d1" title="Gets the array bound to a texture reference." shape="rect">cuTexRefGetArray</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g71310eec5c196aa85674b079dea88a04" title="Gets the flags used by a texture reference." shape="rect">cuTexRefGetFlags</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g90936eb6c7c4434a609e1160c278ae53" title="Gets the format used by a texture reference." shape="rect">cuTexRefGetFormat</a></p>
                        <p class="p"></p>
                     </div>
                  </dd>
                  <dt class="description"><a name="group__CUDA__TEXREF_1g71310eec5c196aa85674b079dea88a04" id="group__CUDA__TEXREF_1g71310eec5c196aa85674b079dea88a04" shape="rect">
                        <!-- --></a><span><a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gc6c391505e117393cc2558fff6bfc2e9" title="" shape="rect">CUresult</a> cuTexRefGetFlags (  unsigned int*<span>&nbsp;</span><span class="keyword keyword apiItemName">pFlags</span>, <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gec1e8eb9dc48ad748765d1fcc020d6b5" title="" shape="rect">CUtexref</a><span>&nbsp;</span><span class="keyword keyword apiItemName">hTexRef</span> ) </span></dt>
                  <dd class="description">
                     <div class="section">Gets the flags used by a texture reference. </div>
                     <div class="section">
                        <h6 class="parameter_header">
                           Parameters
                           
                        </h6>
                        <dl class="table-display-params">
                           <dt><tt class="code"><span class="keyword keyword apiItemName">pFlags</span></tt></dt>
                           <dd>- Returned flags </dd>
                           <dt><tt class="code"><span class="keyword keyword apiItemName">hTexRef</span></tt></dt>
                           <dd>- Texture reference</dd>
                        </dl>
                     </div>
                     <div class="section">
                        <h6 class="return_header">Returns</h6>
                        <p class="return"><a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9a0eed720f8a87cd1c5fd1c453bc7a03d" shape="rect">CUDA_SUCCESS</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9acf52f132faf29b473cdda6061f0f44a" shape="rect">CUDA_ERROR_DEINITIALIZED</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e98feb999f0af99b4a25ab26b3866f4df8" shape="rect">CUDA_ERROR_NOT_INITIALIZED</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9a484e9af32c1e9893ff21f0e0191a12d" shape="rect">CUDA_ERROR_INVALID_CONTEXT</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e990696c86fcee1f536a1ec7d25867feeb" shape="rect">CUDA_ERROR_INVALID_VALUE</a></p>
                     </div>
                     <div class="section">
                        <h6 class="description_header">Description</h6>
                        <p>Returns in <tt class="ph tt code">*pFlags</tt> the flags of the texture reference <tt class="ph tt code">hTexRef</tt>.
                        </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__CUDA__TEXREF.html#group__CUDA__TEXREF_1g44ef7e5055192d52b3d43456602b50a8" title="Binds an address as a texture reference." shape="rect">cuTexRefSetAddress</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g26f709bbe10516681913d1ffe8756ee2" title="Binds an address as a 2D texture reference." shape="rect">cuTexRefSetAddress2D</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g85f4a13eeb94c8072f61091489349bcb" title="Sets the addressing mode for a texture reference." shape="rect">cuTexRefSetAddressMode</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g34435b306682531716243239f0084fed" title="Binds an array as a texture reference." shape="rect">cuTexRefSetArray</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g595d0af02c55576f8c835e4efd1f39c0" title="Sets the filtering mode for a texture reference." shape="rect">cuTexRefSetFilterMode</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g554ffd896487533c36810f2e45bb7a28" title="Sets the flags for a texture reference." shape="rect">cuTexRefSetFlags</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g05585ef8ea2fec728a03c6c8f87cf07a" title="Sets the format for a texture reference." shape="rect">cuTexRefSetFormat</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g4e4674ce0b20a8951b65dead94a338e1" title="Gets the address associated with a texture reference." shape="rect">cuTexRefGetAddress</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1gfb367d93dc1d20aab0cf8ce70d543b33" title="Gets the addressing mode used by a texture reference." shape="rect">cuTexRefGetAddressMode</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g388250d826d74c075b51d0c1648aa6d1" title="Gets the array bound to a texture reference." shape="rect">cuTexRefGetArray</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g2439e069746f69b940f2f4dbc78cdf87" title="Gets the filter-mode used by a texture reference." shape="rect">cuTexRefGetFilterMode</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g90936eb6c7c4434a609e1160c278ae53" title="Gets the format used by a texture reference." shape="rect">cuTexRefGetFormat</a></p>
                        <p class="p"></p>
                     </div>
                  </dd>
                  <dt class="description"><a name="group__CUDA__TEXREF_1g90936eb6c7c4434a609e1160c278ae53" id="group__CUDA__TEXREF_1g90936eb6c7c4434a609e1160c278ae53" shape="rect">
                        <!-- --></a><span><a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gc6c391505e117393cc2558fff6bfc2e9" title="" shape="rect">CUresult</a> cuTexRefGetFormat (  <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1g9b009d9a6aa4c5765c8a00289b6068f9" title="" shape="rect">CUarray_format</a>*<span>&nbsp;</span><span class="keyword keyword apiItemName">pFormat</span>, int*<span>&nbsp;</span><span class="keyword keyword apiItemName">pNumChannels</span>, <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gec1e8eb9dc48ad748765d1fcc020d6b5" title="" shape="rect">CUtexref</a><span>&nbsp;</span><span class="keyword keyword apiItemName">hTexRef</span> ) </span></dt>
                  <dd class="description">
                     <div class="section">Gets the format used by a texture reference. </div>
                     <div class="section">
                        <h6 class="parameter_header">
                           Parameters
                           
                        </h6>
                        <dl class="table-display-params">
                           <dt><tt class="code"><span class="keyword keyword apiItemName">pFormat</span></tt></dt>
                           <dd>- Returned format </dd>
                           <dt><tt class="code"><span class="keyword keyword apiItemName">pNumChannels</span></tt></dt>
                           <dd>- Returned number of components </dd>
                           <dt><tt class="code"><span class="keyword keyword apiItemName">hTexRef</span></tt></dt>
                           <dd>- Texture reference</dd>
                        </dl>
                     </div>
                     <div class="section">
                        <h6 class="return_header">Returns</h6>
                        <p class="return"><a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9a0eed720f8a87cd1c5fd1c453bc7a03d" shape="rect">CUDA_SUCCESS</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9acf52f132faf29b473cdda6061f0f44a" shape="rect">CUDA_ERROR_DEINITIALIZED</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e98feb999f0af99b4a25ab26b3866f4df8" shape="rect">CUDA_ERROR_NOT_INITIALIZED</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9a484e9af32c1e9893ff21f0e0191a12d" shape="rect">CUDA_ERROR_INVALID_CONTEXT</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e990696c86fcee1f536a1ec7d25867feeb" shape="rect">CUDA_ERROR_INVALID_VALUE</a></p>
                     </div>
                     <div class="section">
                        <h6 class="description_header">Description</h6>
                        <p>Returns in <tt class="ph tt code">*pFormat</tt> and <tt class="ph tt code">*pNumChannels</tt> the format and number of components of the CUDA array bound to the texture reference <tt class="ph tt code">hTexRef</tt>. If <tt class="ph tt code">pFormat</tt> or <tt class="ph tt code">pNumChannels</tt> is NULL, it will be ignored.
                        </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__CUDA__TEXREF.html#group__CUDA__TEXREF_1g44ef7e5055192d52b3d43456602b50a8" title="Binds an address as a texture reference." shape="rect">cuTexRefSetAddress</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g26f709bbe10516681913d1ffe8756ee2" title="Binds an address as a 2D texture reference." shape="rect">cuTexRefSetAddress2D</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g85f4a13eeb94c8072f61091489349bcb" title="Sets the addressing mode for a texture reference." shape="rect">cuTexRefSetAddressMode</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g34435b306682531716243239f0084fed" title="Binds an array as a texture reference." shape="rect">cuTexRefSetArray</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g595d0af02c55576f8c835e4efd1f39c0" title="Sets the filtering mode for a texture reference." shape="rect">cuTexRefSetFilterMode</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g554ffd896487533c36810f2e45bb7a28" title="Sets the flags for a texture reference." shape="rect">cuTexRefSetFlags</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g05585ef8ea2fec728a03c6c8f87cf07a" title="Sets the format for a texture reference." shape="rect">cuTexRefSetFormat</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g4e4674ce0b20a8951b65dead94a338e1" title="Gets the address associated with a texture reference." shape="rect">cuTexRefGetAddress</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1gfb367d93dc1d20aab0cf8ce70d543b33" title="Gets the addressing mode used by a texture reference." shape="rect">cuTexRefGetAddressMode</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g388250d826d74c075b51d0c1648aa6d1" title="Gets the array bound to a texture reference." shape="rect">cuTexRefGetArray</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g2439e069746f69b940f2f4dbc78cdf87" title="Gets the filter-mode used by a texture reference." shape="rect">cuTexRefGetFilterMode</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g71310eec5c196aa85674b079dea88a04" title="Gets the flags used by a texture reference." shape="rect">cuTexRefGetFlags</a></p>
                        <p class="p"></p>
                     </div>
                  </dd>
                  <dt class="description"><a name="group__CUDA__TEXREF_1g56f52273c1b456d5a2cf7a85d86d0205" id="group__CUDA__TEXREF_1g56f52273c1b456d5a2cf7a85d86d0205" shape="rect">
                        <!-- --></a><span><a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gc6c391505e117393cc2558fff6bfc2e9" title="" shape="rect">CUresult</a> cuTexRefGetMaxAnisotropy (  int*<span>&nbsp;</span><span class="keyword keyword apiItemName">pmaxAniso</span>, <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gec1e8eb9dc48ad748765d1fcc020d6b5" title="" shape="rect">CUtexref</a><span>&nbsp;</span><span class="keyword keyword apiItemName">hTexRef</span> ) </span></dt>
                  <dd class="description">
                     <div class="section">Gets the maximum anisotropy for a texture reference. </div>
                     <div class="section">
                        <h6 class="parameter_header">
                           Parameters
                           
                        </h6>
                        <dl class="table-display-params">
                           <dt><tt class="code"><span class="keyword keyword apiItemName">pmaxAniso</span></tt></dt>
                           <dd>- Returned maximum anisotropy </dd>
                           <dt><tt class="code"><span class="keyword keyword apiItemName">hTexRef</span></tt></dt>
                           <dd>- Texture reference</dd>
                        </dl>
                     </div>
                     <div class="section">
                        <h6 class="return_header">Returns</h6>
                        <p class="return"><a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9a0eed720f8a87cd1c5fd1c453bc7a03d" shape="rect">CUDA_SUCCESS</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9acf52f132faf29b473cdda6061f0f44a" shape="rect">CUDA_ERROR_DEINITIALIZED</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e98feb999f0af99b4a25ab26b3866f4df8" shape="rect">CUDA_ERROR_NOT_INITIALIZED</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9a484e9af32c1e9893ff21f0e0191a12d" shape="rect">CUDA_ERROR_INVALID_CONTEXT</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e990696c86fcee1f536a1ec7d25867feeb" shape="rect">CUDA_ERROR_INVALID_VALUE</a></p>
                     </div>
                     <div class="section">
                        <h6 class="description_header">Description</h6>
                        <p>Returns the maximum anisotropy in <tt class="ph tt code">pmaxAniso</tt> that's used when reading memory through the texture reference <tt class="ph tt code">hTexRef</tt>.
                        </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__CUDA__TEXREF.html#group__CUDA__TEXREF_1g44ef7e5055192d52b3d43456602b50a8" title="Binds an address as a texture reference." shape="rect">cuTexRefSetAddress</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g26f709bbe10516681913d1ffe8756ee2" title="Binds an address as a 2D texture reference." shape="rect">cuTexRefSetAddress2D</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g85f4a13eeb94c8072f61091489349bcb" title="Sets the addressing mode for a texture reference." shape="rect">cuTexRefSetAddressMode</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g34435b306682531716243239f0084fed" title="Binds an array as a texture reference." shape="rect">cuTexRefSetArray</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g554ffd896487533c36810f2e45bb7a28" title="Sets the flags for a texture reference." shape="rect">cuTexRefSetFlags</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g05585ef8ea2fec728a03c6c8f87cf07a" title="Sets the format for a texture reference." shape="rect">cuTexRefSetFormat</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g4e4674ce0b20a8951b65dead94a338e1" title="Gets the address associated with a texture reference." shape="rect">cuTexRefGetAddress</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1gfb367d93dc1d20aab0cf8ce70d543b33" title="Gets the addressing mode used by a texture reference." shape="rect">cuTexRefGetAddressMode</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g388250d826d74c075b51d0c1648aa6d1" title="Gets the array bound to a texture reference." shape="rect">cuTexRefGetArray</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g2439e069746f69b940f2f4dbc78cdf87" title="Gets the filter-mode used by a texture reference." shape="rect">cuTexRefGetFilterMode</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g71310eec5c196aa85674b079dea88a04" title="Gets the flags used by a texture reference." shape="rect">cuTexRefGetFlags</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g90936eb6c7c4434a609e1160c278ae53" title="Gets the format used by a texture reference." shape="rect">cuTexRefGetFormat</a></p>
                        <p class="p"></p>
                     </div>
                  </dd>
                  <dt class="description"><a name="group__CUDA__TEXREF_1g60d45fe9ff9be6f92ea20e37a03e06d7" id="group__CUDA__TEXREF_1g60d45fe9ff9be6f92ea20e37a03e06d7" shape="rect">
                        <!-- --></a><span><a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gc6c391505e117393cc2558fff6bfc2e9" title="" shape="rect">CUresult</a> cuTexRefGetMipmapFilterMode (  <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1g4fb799d90872f1d6cd074b4349f37c2a" title="" shape="rect">CUfilter_mode</a>*<span>&nbsp;</span><span class="keyword keyword apiItemName">pfm</span>, <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gec1e8eb9dc48ad748765d1fcc020d6b5" title="" shape="rect">CUtexref</a><span>&nbsp;</span><span class="keyword keyword apiItemName">hTexRef</span> ) </span></dt>
                  <dd class="description">
                     <div class="section">Gets the mipmap filtering mode for a texture reference. </div>
                     <div class="section">
                        <h6 class="parameter_header">
                           Parameters
                           
                        </h6>
                        <dl class="table-display-params">
                           <dt><tt class="code"><span class="keyword keyword apiItemName">pfm</span></tt></dt>
                           <dd>- Returned mipmap filtering mode </dd>
                           <dt><tt class="code"><span class="keyword keyword apiItemName">hTexRef</span></tt></dt>
                           <dd>- Texture reference</dd>
                        </dl>
                     </div>
                     <div class="section">
                        <h6 class="return_header">Returns</h6>
                        <p class="return"><a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9a0eed720f8a87cd1c5fd1c453bc7a03d" shape="rect">CUDA_SUCCESS</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9acf52f132faf29b473cdda6061f0f44a" shape="rect">CUDA_ERROR_DEINITIALIZED</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e98feb999f0af99b4a25ab26b3866f4df8" shape="rect">CUDA_ERROR_NOT_INITIALIZED</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9a484e9af32c1e9893ff21f0e0191a12d" shape="rect">CUDA_ERROR_INVALID_CONTEXT</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e990696c86fcee1f536a1ec7d25867feeb" shape="rect">CUDA_ERROR_INVALID_VALUE</a></p>
                     </div>
                     <div class="section">
                        <h6 class="description_header">Description</h6>
                        <p>Returns the mipmap filtering mode in <tt class="ph tt code">pfm</tt> that's used when reading memory through the texture reference <tt class="ph tt code">hTexRef</tt>.
                        </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__CUDA__TEXREF.html#group__CUDA__TEXREF_1g44ef7e5055192d52b3d43456602b50a8" title="Binds an address as a texture reference." shape="rect">cuTexRefSetAddress</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g26f709bbe10516681913d1ffe8756ee2" title="Binds an address as a 2D texture reference." shape="rect">cuTexRefSetAddress2D</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g85f4a13eeb94c8072f61091489349bcb" title="Sets the addressing mode for a texture reference." shape="rect">cuTexRefSetAddressMode</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g34435b306682531716243239f0084fed" title="Binds an array as a texture reference." shape="rect">cuTexRefSetArray</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g554ffd896487533c36810f2e45bb7a28" title="Sets the flags for a texture reference." shape="rect">cuTexRefSetFlags</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g05585ef8ea2fec728a03c6c8f87cf07a" title="Sets the format for a texture reference." shape="rect">cuTexRefSetFormat</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g4e4674ce0b20a8951b65dead94a338e1" title="Gets the address associated with a texture reference." shape="rect">cuTexRefGetAddress</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1gfb367d93dc1d20aab0cf8ce70d543b33" title="Gets the addressing mode used by a texture reference." shape="rect">cuTexRefGetAddressMode</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g388250d826d74c075b51d0c1648aa6d1" title="Gets the array bound to a texture reference." shape="rect">cuTexRefGetArray</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g2439e069746f69b940f2f4dbc78cdf87" title="Gets the filter-mode used by a texture reference." shape="rect">cuTexRefGetFilterMode</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g71310eec5c196aa85674b079dea88a04" title="Gets the flags used by a texture reference." shape="rect">cuTexRefGetFlags</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g90936eb6c7c4434a609e1160c278ae53" title="Gets the format used by a texture reference." shape="rect">cuTexRefGetFormat</a></p>
                        <p class="p"></p>
                     </div>
                  </dd>
                  <dt class="description"><a name="group__CUDA__TEXREF_1ge32365ea560887c59be72ccd431e5c04" id="group__CUDA__TEXREF_1ge32365ea560887c59be72ccd431e5c04" shape="rect">
                        <!-- --></a><span><a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gc6c391505e117393cc2558fff6bfc2e9" title="" shape="rect">CUresult</a> cuTexRefGetMipmapLevelBias (  float*<span>&nbsp;</span><span class="keyword keyword apiItemName">pbias</span>, <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gec1e8eb9dc48ad748765d1fcc020d6b5" title="" shape="rect">CUtexref</a><span>&nbsp;</span><span class="keyword keyword apiItemName">hTexRef</span> ) </span></dt>
                  <dd class="description">
                     <div class="section">Gets the mipmap level bias for a texture reference. </div>
                     <div class="section">
                        <h6 class="parameter_header">
                           Parameters
                           
                        </h6>
                        <dl class="table-display-params">
                           <dt><tt class="code"><span class="keyword keyword apiItemName">pbias</span></tt></dt>
                           <dd>- Returned mipmap level bias </dd>
                           <dt><tt class="code"><span class="keyword keyword apiItemName">hTexRef</span></tt></dt>
                           <dd>- Texture reference</dd>
                        </dl>
                     </div>
                     <div class="section">
                        <h6 class="return_header">Returns</h6>
                        <p class="return"><a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9a0eed720f8a87cd1c5fd1c453bc7a03d" shape="rect">CUDA_SUCCESS</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9acf52f132faf29b473cdda6061f0f44a" shape="rect">CUDA_ERROR_DEINITIALIZED</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e98feb999f0af99b4a25ab26b3866f4df8" shape="rect">CUDA_ERROR_NOT_INITIALIZED</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9a484e9af32c1e9893ff21f0e0191a12d" shape="rect">CUDA_ERROR_INVALID_CONTEXT</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e990696c86fcee1f536a1ec7d25867feeb" shape="rect">CUDA_ERROR_INVALID_VALUE</a></p>
                     </div>
                     <div class="section">
                        <h6 class="description_header">Description</h6>
                        <p>Returns the mipmap level bias in <tt class="ph tt code">pBias</tt> that's added to the specified mipmap level when reading memory through the texture reference <tt class="ph tt code">hTexRef</tt>.
                        </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__CUDA__TEXREF.html#group__CUDA__TEXREF_1g44ef7e5055192d52b3d43456602b50a8" title="Binds an address as a texture reference." shape="rect">cuTexRefSetAddress</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g26f709bbe10516681913d1ffe8756ee2" title="Binds an address as a 2D texture reference." shape="rect">cuTexRefSetAddress2D</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g85f4a13eeb94c8072f61091489349bcb" title="Sets the addressing mode for a texture reference." shape="rect">cuTexRefSetAddressMode</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g34435b306682531716243239f0084fed" title="Binds an array as a texture reference." shape="rect">cuTexRefSetArray</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g554ffd896487533c36810f2e45bb7a28" title="Sets the flags for a texture reference." shape="rect">cuTexRefSetFlags</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g05585ef8ea2fec728a03c6c8f87cf07a" title="Sets the format for a texture reference." shape="rect">cuTexRefSetFormat</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g4e4674ce0b20a8951b65dead94a338e1" title="Gets the address associated with a texture reference." shape="rect">cuTexRefGetAddress</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1gfb367d93dc1d20aab0cf8ce70d543b33" title="Gets the addressing mode used by a texture reference." shape="rect">cuTexRefGetAddressMode</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g388250d826d74c075b51d0c1648aa6d1" title="Gets the array bound to a texture reference." shape="rect">cuTexRefGetArray</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g2439e069746f69b940f2f4dbc78cdf87" title="Gets the filter-mode used by a texture reference." shape="rect">cuTexRefGetFilterMode</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g71310eec5c196aa85674b079dea88a04" title="Gets the flags used by a texture reference." shape="rect">cuTexRefGetFlags</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g90936eb6c7c4434a609e1160c278ae53" title="Gets the format used by a texture reference." shape="rect">cuTexRefGetFormat</a></p>
                        <p class="p"></p>
                     </div>
                  </dd>
                  <dt class="description"><a name="group__CUDA__TEXREF_1g3dc6275f3b0d6f0b2adc7bb7e489f8d2" id="group__CUDA__TEXREF_1g3dc6275f3b0d6f0b2adc7bb7e489f8d2" shape="rect">
                        <!-- --></a><span><a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gc6c391505e117393cc2558fff6bfc2e9" title="" shape="rect">CUresult</a> cuTexRefGetMipmapLevelClamp (  float*<span>&nbsp;</span><span class="keyword keyword apiItemName">pminMipmapLevelClamp</span>, float*<span>&nbsp;</span><span class="keyword keyword apiItemName">pmaxMipmapLevelClamp</span>, <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gec1e8eb9dc48ad748765d1fcc020d6b5" title="" shape="rect">CUtexref</a><span>&nbsp;</span><span class="keyword keyword apiItemName">hTexRef</span> ) </span></dt>
                  <dd class="description">
                     <div class="section">Gets the min/max mipmap level clamps for a texture reference. </div>
                     <div class="section">
                        <h6 class="parameter_header">
                           Parameters
                           
                        </h6>
                        <dl class="table-display-params">
                           <dt><tt class="code"><span class="keyword keyword apiItemName">pminMipmapLevelClamp</span></tt></dt>
                           <dd>- Returned mipmap min level clamp </dd>
                           <dt><tt class="code"><span class="keyword keyword apiItemName">pmaxMipmapLevelClamp</span></tt></dt>
                           <dd>- Returned mipmap max level clamp </dd>
                           <dt><tt class="code"><span class="keyword keyword apiItemName">hTexRef</span></tt></dt>
                           <dd>- Texture reference</dd>
                        </dl>
                     </div>
                     <div class="section">
                        <h6 class="return_header">Returns</h6>
                        <p class="return"><a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9a0eed720f8a87cd1c5fd1c453bc7a03d" shape="rect">CUDA_SUCCESS</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9acf52f132faf29b473cdda6061f0f44a" shape="rect">CUDA_ERROR_DEINITIALIZED</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e98feb999f0af99b4a25ab26b3866f4df8" shape="rect">CUDA_ERROR_NOT_INITIALIZED</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9a484e9af32c1e9893ff21f0e0191a12d" shape="rect">CUDA_ERROR_INVALID_CONTEXT</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e990696c86fcee1f536a1ec7d25867feeb" shape="rect">CUDA_ERROR_INVALID_VALUE</a></p>
                     </div>
                     <div class="section">
                        <h6 class="description_header">Description</h6>
                        <p>Returns the min/max mipmap level clamps in <tt class="ph tt code">pminMipmapLevelClamp</tt> and <tt class="ph tt code">pmaxMipmapLevelClamp</tt> that's used when reading memory through the texture reference <tt class="ph tt code">hTexRef</tt>.
                        </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__CUDA__TEXREF.html#group__CUDA__TEXREF_1g44ef7e5055192d52b3d43456602b50a8" title="Binds an address as a texture reference." shape="rect">cuTexRefSetAddress</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g26f709bbe10516681913d1ffe8756ee2" title="Binds an address as a 2D texture reference." shape="rect">cuTexRefSetAddress2D</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g85f4a13eeb94c8072f61091489349bcb" title="Sets the addressing mode for a texture reference." shape="rect">cuTexRefSetAddressMode</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g34435b306682531716243239f0084fed" title="Binds an array as a texture reference." shape="rect">cuTexRefSetArray</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g554ffd896487533c36810f2e45bb7a28" title="Sets the flags for a texture reference." shape="rect">cuTexRefSetFlags</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g05585ef8ea2fec728a03c6c8f87cf07a" title="Sets the format for a texture reference." shape="rect">cuTexRefSetFormat</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g4e4674ce0b20a8951b65dead94a338e1" title="Gets the address associated with a texture reference." shape="rect">cuTexRefGetAddress</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1gfb367d93dc1d20aab0cf8ce70d543b33" title="Gets the addressing mode used by a texture reference." shape="rect">cuTexRefGetAddressMode</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g388250d826d74c075b51d0c1648aa6d1" title="Gets the array bound to a texture reference." shape="rect">cuTexRefGetArray</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g2439e069746f69b940f2f4dbc78cdf87" title="Gets the filter-mode used by a texture reference." shape="rect">cuTexRefGetFilterMode</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g71310eec5c196aa85674b079dea88a04" title="Gets the flags used by a texture reference." shape="rect">cuTexRefGetFlags</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g90936eb6c7c4434a609e1160c278ae53" title="Gets the format used by a texture reference." shape="rect">cuTexRefGetFormat</a></p>
                        <p class="p"></p>
                     </div>
                  </dd>
                  <dt class="description"><a name="group__CUDA__TEXREF_1ged9eaa907457a9bbb0d244b93a42dd79" id="group__CUDA__TEXREF_1ged9eaa907457a9bbb0d244b93a42dd79" shape="rect">
                        <!-- --></a><span><a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gc6c391505e117393cc2558fff6bfc2e9" title="" shape="rect">CUresult</a> cuTexRefGetMipmappedArray (  <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1g96db856ab3d2940fb694ce4501d9b583" title="" shape="rect">CUmipmappedArray</a>*<span>&nbsp;</span><span class="keyword keyword apiItemName">phMipmappedArray</span>, <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gec1e8eb9dc48ad748765d1fcc020d6b5" title="" shape="rect">CUtexref</a><span>&nbsp;</span><span class="keyword keyword apiItemName">hTexRef</span> ) </span></dt>
                  <dd class="description">
                     <div class="section">Gets the mipmapped array bound to a texture reference. </div>
                     <div class="section">
                        <h6 class="parameter_header">
                           Parameters
                           
                        </h6>
                        <dl class="table-display-params">
                           <dt><tt class="code"><span class="keyword keyword apiItemName">phMipmappedArray</span></tt></dt>
                           <dd>- Returned mipmapped array </dd>
                           <dt><tt class="code"><span class="keyword keyword apiItemName">hTexRef</span></tt></dt>
                           <dd>- Texture reference</dd>
                        </dl>
                     </div>
                     <div class="section">
                        <h6 class="return_header">Returns</h6>
                        <p class="return"><a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9a0eed720f8a87cd1c5fd1c453bc7a03d" shape="rect">CUDA_SUCCESS</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9acf52f132faf29b473cdda6061f0f44a" shape="rect">CUDA_ERROR_DEINITIALIZED</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e98feb999f0af99b4a25ab26b3866f4df8" shape="rect">CUDA_ERROR_NOT_INITIALIZED</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9a484e9af32c1e9893ff21f0e0191a12d" shape="rect">CUDA_ERROR_INVALID_CONTEXT</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e990696c86fcee1f536a1ec7d25867feeb" shape="rect">CUDA_ERROR_INVALID_VALUE</a></p>
                     </div>
                     <div class="section">
                        <h6 class="description_header">Description</h6>
                        <p>Returns in <tt class="ph tt code">*phMipmappedArray</tt> the CUDA mipmapped array bound to the texture reference <tt class="ph tt code">hTexRef</tt>, or returns <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e990696c86fcee1f536a1ec7d25867feeb" shape="rect">CUDA_ERROR_INVALID_VALUE</a> if the texture reference is not bound to any CUDA mipmapped array.
                        </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__CUDA__TEXREF.html#group__CUDA__TEXREF_1g44ef7e5055192d52b3d43456602b50a8" title="Binds an address as a texture reference." shape="rect">cuTexRefSetAddress</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g26f709bbe10516681913d1ffe8756ee2" title="Binds an address as a 2D texture reference." shape="rect">cuTexRefSetAddress2D</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g85f4a13eeb94c8072f61091489349bcb" title="Sets the addressing mode for a texture reference." shape="rect">cuTexRefSetAddressMode</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g34435b306682531716243239f0084fed" title="Binds an array as a texture reference." shape="rect">cuTexRefSetArray</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g595d0af02c55576f8c835e4efd1f39c0" title="Sets the filtering mode for a texture reference." shape="rect">cuTexRefSetFilterMode</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g554ffd896487533c36810f2e45bb7a28" title="Sets the flags for a texture reference." shape="rect">cuTexRefSetFlags</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g05585ef8ea2fec728a03c6c8f87cf07a" title="Sets the format for a texture reference." shape="rect">cuTexRefSetFormat</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g4e4674ce0b20a8951b65dead94a338e1" title="Gets the address associated with a texture reference." shape="rect">cuTexRefGetAddress</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1gfb367d93dc1d20aab0cf8ce70d543b33" title="Gets the addressing mode used by a texture reference." shape="rect">cuTexRefGetAddressMode</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g2439e069746f69b940f2f4dbc78cdf87" title="Gets the filter-mode used by a texture reference." shape="rect">cuTexRefGetFilterMode</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g71310eec5c196aa85674b079dea88a04" title="Gets the flags used by a texture reference." shape="rect">cuTexRefGetFlags</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g90936eb6c7c4434a609e1160c278ae53" title="Gets the format used by a texture reference." shape="rect">cuTexRefGetFormat</a></p>
                        <p class="p"></p>
                     </div>
                  </dd>
                  <dt class="description"><a name="group__CUDA__TEXREF_1g44ef7e5055192d52b3d43456602b50a8" id="group__CUDA__TEXREF_1g44ef7e5055192d52b3d43456602b50a8" shape="rect">
                        <!-- --></a><span><a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gc6c391505e117393cc2558fff6bfc2e9" title="" shape="rect">CUresult</a> cuTexRefSetAddress (  size_t*<span>&nbsp;</span><span class="keyword keyword apiItemName">ByteOffset</span>, <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gec1e8eb9dc48ad748765d1fcc020d6b5" title="" shape="rect">CUtexref</a><span>&nbsp;</span><span class="keyword keyword apiItemName">hTexRef</span>, <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1g5e264ce2ad6a38761e7e04921ef771de" title="" shape="rect">CUdeviceptr</a><span>&nbsp;</span><span class="keyword keyword apiItemName">dptr</span>, size_t<span>&nbsp;</span><span class="keyword keyword apiItemName">bytes</span> ) </span></dt>
                  <dd class="description">
                     <div class="section">Binds an address as a texture reference. </div>
                     <div class="section">
                        <h6 class="parameter_header">
                           Parameters
                           
                        </h6>
                        <dl class="table-display-params">
                           <dt><tt class="code"><span class="keyword keyword apiItemName">ByteOffset</span></tt></dt>
                           <dd>- Returned byte offset </dd>
                           <dt><tt class="code"><span class="keyword keyword apiItemName">hTexRef</span></tt></dt>
                           <dd>- Texture reference to bind </dd>
                           <dt><tt class="code"><span class="keyword keyword apiItemName">dptr</span></tt></dt>
                           <dd>- Device pointer to bind </dd>
                           <dt><tt class="code"><span class="keyword keyword apiItemName">bytes</span></tt></dt>
                           <dd>- Size of memory to bind in bytes</dd>
                        </dl>
                     </div>
                     <div class="section">
                        <h6 class="return_header">Returns</h6>
                        <p class="return"><a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9a0eed720f8a87cd1c5fd1c453bc7a03d" shape="rect">CUDA_SUCCESS</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9acf52f132faf29b473cdda6061f0f44a" shape="rect">CUDA_ERROR_DEINITIALIZED</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e98feb999f0af99b4a25ab26b3866f4df8" shape="rect">CUDA_ERROR_NOT_INITIALIZED</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9a484e9af32c1e9893ff21f0e0191a12d" shape="rect">CUDA_ERROR_INVALID_CONTEXT</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e990696c86fcee1f536a1ec7d25867feeb" shape="rect">CUDA_ERROR_INVALID_VALUE</a></p>
                     </div>
                     <div class="section">
                        <h6 class="description_header">Description</h6>
                        <p>Binds a linear address range to the texture reference <tt class="ph tt code">hTexRef</tt>. Any previous address or CUDA array state associated with the texture reference is superseded by this function. Any memory
                           previously bound to <tt class="ph tt code">hTexRef</tt> is unbound.
                        </p>
                        <p class="p">Since the hardware enforces an alignment requirement on texture base addresses, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g44ef7e5055192d52b3d43456602b50a8" title="Binds an address as a texture reference." shape="rect">cuTexRefSetAddress()</a> passes back a byte offset in <tt class="ph tt code">*ByteOffset</tt> that must be applied to texture fetches in order to read from the desired memory. This offset must be divided by the texel
                           size and passed to kernels that read from the texture so they can be applied to the tex1Dfetch() function.
                        </p>
                        <p class="p">If the device memory pointer was returned from <a class="xref" href="group__CUDA__MEM.html#group__CUDA__MEM_1gb82d2a09844a58dd9e744dc31e8aa467" title="Allocates device memory." shape="rect">cuMemAlloc()</a>, the offset is guaranteed to be 0 and NULL may be passed as the <tt class="ph tt code">ByteOffset</tt> parameter.
                        </p>
                        <p class="p">The total number of elements (or texels) in the linear address range cannot exceed <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gge12b8a782bebe21b1ac0091bf9f4e2a3335584a4bc5128e2a5ae9a4417f5b758" shape="rect">CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LINEAR_WIDTH</a>. The number of elements is computed as (<tt class="ph tt code">bytes</tt> / bytesPerElement), where bytesPerElement is determined from the data format and number of components set using <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g05585ef8ea2fec728a03c6c8f87cf07a" title="Sets the format for a texture reference." shape="rect">cuTexRefSetFormat()</a>.
                        </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__CUDA__TEXREF.html#group__CUDA__TEXREF_1g26f709bbe10516681913d1ffe8756ee2" title="Binds an address as a 2D texture reference." shape="rect">cuTexRefSetAddress2D</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g85f4a13eeb94c8072f61091489349bcb" title="Sets the addressing mode for a texture reference." shape="rect">cuTexRefSetAddressMode</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g34435b306682531716243239f0084fed" title="Binds an array as a texture reference." shape="rect">cuTexRefSetArray</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g595d0af02c55576f8c835e4efd1f39c0" title="Sets the filtering mode for a texture reference." shape="rect">cuTexRefSetFilterMode</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g554ffd896487533c36810f2e45bb7a28" title="Sets the flags for a texture reference." shape="rect">cuTexRefSetFlags</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g05585ef8ea2fec728a03c6c8f87cf07a" title="Sets the format for a texture reference." shape="rect">cuTexRefSetFormat</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g4e4674ce0b20a8951b65dead94a338e1" title="Gets the address associated with a texture reference." shape="rect">cuTexRefGetAddress</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1gfb367d93dc1d20aab0cf8ce70d543b33" title="Gets the addressing mode used by a texture reference." shape="rect">cuTexRefGetAddressMode</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g388250d826d74c075b51d0c1648aa6d1" title="Gets the array bound to a texture reference." shape="rect">cuTexRefGetArray</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g2439e069746f69b940f2f4dbc78cdf87" title="Gets the filter-mode used by a texture reference." shape="rect">cuTexRefGetFilterMode</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g71310eec5c196aa85674b079dea88a04" title="Gets the flags used by a texture reference." shape="rect">cuTexRefGetFlags</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g90936eb6c7c4434a609e1160c278ae53" title="Gets the format used by a texture reference." shape="rect">cuTexRefGetFormat</a></p>
                        <p class="p"></p>
                     </div>
                  </dd>
                  <dt class="description"><a name="group__CUDA__TEXREF_1g26f709bbe10516681913d1ffe8756ee2" id="group__CUDA__TEXREF_1g26f709bbe10516681913d1ffe8756ee2" shape="rect">
                        <!-- --></a><span><a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gc6c391505e117393cc2558fff6bfc2e9" title="" shape="rect">CUresult</a> cuTexRefSetAddress2D (  <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gec1e8eb9dc48ad748765d1fcc020d6b5" title="" shape="rect">CUtexref</a><span>&nbsp;</span><span class="keyword keyword apiItemName">hTexRef</span>, const <a href="structCUDA__ARRAY__DESCRIPTOR.html#structCUDA__ARRAY__DESCRIPTOR" title="" shape="rect">CUDA_ARRAY_DESCRIPTOR</a>*<span>&nbsp;</span><span class="keyword keyword apiItemName">desc</span>, <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1g5e264ce2ad6a38761e7e04921ef771de" title="" shape="rect">CUdeviceptr</a><span>&nbsp;</span><span class="keyword keyword apiItemName">dptr</span>, size_t<span>&nbsp;</span><span class="keyword keyword apiItemName">Pitch</span> ) </span></dt>
                  <dd class="description">
                     <div class="section">Binds an address as a 2D texture reference. </div>
                     <div class="section">
                        <h6 class="parameter_header">
                           Parameters
                           
                        </h6>
                        <dl class="table-display-params">
                           <dt><tt class="code"><span class="keyword keyword apiItemName">hTexRef</span></tt></dt>
                           <dd>- Texture reference to bind </dd>
                           <dt><tt class="code"><span class="keyword keyword apiItemName">desc</span></tt></dt>
                           <dd>- Descriptor of CUDA array </dd>
                           <dt><tt class="code"><span class="keyword keyword apiItemName">dptr</span></tt></dt>
                           <dd>- Device pointer to bind </dd>
                           <dt><tt class="code"><span class="keyword keyword apiItemName">Pitch</span></tt></dt>
                           <dd>- Line pitch in bytes</dd>
                        </dl>
                     </div>
                     <div class="section">
                        <h6 class="return_header">Returns</h6>
                        <p class="return"><a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9a0eed720f8a87cd1c5fd1c453bc7a03d" shape="rect">CUDA_SUCCESS</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9acf52f132faf29b473cdda6061f0f44a" shape="rect">CUDA_ERROR_DEINITIALIZED</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e98feb999f0af99b4a25ab26b3866f4df8" shape="rect">CUDA_ERROR_NOT_INITIALIZED</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9a484e9af32c1e9893ff21f0e0191a12d" shape="rect">CUDA_ERROR_INVALID_CONTEXT</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e990696c86fcee1f536a1ec7d25867feeb" shape="rect">CUDA_ERROR_INVALID_VALUE</a></p>
                     </div>
                     <div class="section">
                        <h6 class="description_header">Description</h6>
                        <p>Binds a linear address range to the texture reference <tt class="ph tt code">hTexRef</tt>. Any previous address or CUDA array state associated with the texture reference is superseded by this function. Any memory
                           previously bound to <tt class="ph tt code">hTexRef</tt> is unbound.
                        </p>
                        <p class="p">Using a tex2D() function inside a kernel requires a call to either <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g34435b306682531716243239f0084fed" title="Binds an array as a texture reference." shape="rect">cuTexRefSetArray()</a> to bind the corresponding texture reference to an array, or <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g26f709bbe10516681913d1ffe8756ee2" title="Binds an address as a 2D texture reference." shape="rect">cuTexRefSetAddress2D()</a> to bind the texture reference to linear memory.
                        </p>
                        <p class="p">Function calls to <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g05585ef8ea2fec728a03c6c8f87cf07a" title="Sets the format for a texture reference." shape="rect">cuTexRefSetFormat()</a> cannot follow calls to <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g26f709bbe10516681913d1ffe8756ee2" title="Binds an address as a 2D texture reference." shape="rect">cuTexRefSetAddress2D()</a> for the same texture reference.
                        </p>
                        <p class="p">It is required that <tt class="ph tt code">dptr</tt> be aligned to the appropriate hardware-specific texture alignment. You can query this value using the device attribute <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gge12b8a782bebe21b1ac0091bf9f4e2a39531a2b5f533e749109e9e0189f38196" shape="rect">CU_DEVICE_ATTRIBUTE_TEXTURE_ALIGNMENT</a>. If an unaligned <tt class="ph tt code">dptr</tt> is supplied, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e990696c86fcee1f536a1ec7d25867feeb" shape="rect">CUDA_ERROR_INVALID_VALUE</a> is returned.
                        </p>
                        <p class="p"><tt class="ph tt code">Pitch</tt> has to be aligned to the hardware-specific texture pitch alignment. This value can be queried using the device attribute
                           <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gge12b8a782bebe21b1ac0091bf9f4e2a3551f1067be9a6187d75da5fcda7960d0" shape="rect">CU_DEVICE_ATTRIBUTE_TEXTURE_PITCH_ALIGNMENT</a>. If an unaligned <tt class="ph tt code">Pitch</tt> is supplied, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e990696c86fcee1f536a1ec7d25867feeb" shape="rect">CUDA_ERROR_INVALID_VALUE</a> is returned.
                        </p>
                        <p class="p">Width and Height, which are specified in elements (or texels), cannot exceed <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gge12b8a782bebe21b1ac0091bf9f4e2a3afe638125896be2c465876a4955d699e" shape="rect">CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_WIDTH</a> and <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gge12b8a782bebe21b1ac0091bf9f4e2a3ff1c959cba47edce2374f66f161489c4" shape="rect">CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_HEIGHT</a> respectively. <tt class="ph tt code">Pitch</tt>, which is specified in bytes, cannot exceed <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gge12b8a782bebe21b1ac0091bf9f4e2a3ad66050d059c337dd9635bfb7574f3d7" shape="rect">CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_PITCH</a>.
                        </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__CUDA__TEXREF.html#group__CUDA__TEXREF_1g44ef7e5055192d52b3d43456602b50a8" title="Binds an address as a texture reference." shape="rect">cuTexRefSetAddress</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g85f4a13eeb94c8072f61091489349bcb" title="Sets the addressing mode for a texture reference." shape="rect">cuTexRefSetAddressMode</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g34435b306682531716243239f0084fed" title="Binds an array as a texture reference." shape="rect">cuTexRefSetArray</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g595d0af02c55576f8c835e4efd1f39c0" title="Sets the filtering mode for a texture reference." shape="rect">cuTexRefSetFilterMode</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g554ffd896487533c36810f2e45bb7a28" title="Sets the flags for a texture reference." shape="rect">cuTexRefSetFlags</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g05585ef8ea2fec728a03c6c8f87cf07a" title="Sets the format for a texture reference." shape="rect">cuTexRefSetFormat</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g4e4674ce0b20a8951b65dead94a338e1" title="Gets the address associated with a texture reference." shape="rect">cuTexRefGetAddress</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1gfb367d93dc1d20aab0cf8ce70d543b33" title="Gets the addressing mode used by a texture reference." shape="rect">cuTexRefGetAddressMode</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g388250d826d74c075b51d0c1648aa6d1" title="Gets the array bound to a texture reference." shape="rect">cuTexRefGetArray</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g2439e069746f69b940f2f4dbc78cdf87" title="Gets the filter-mode used by a texture reference." shape="rect">cuTexRefGetFilterMode</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g71310eec5c196aa85674b079dea88a04" title="Gets the flags used by a texture reference." shape="rect">cuTexRefGetFlags</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g90936eb6c7c4434a609e1160c278ae53" title="Gets the format used by a texture reference." shape="rect">cuTexRefGetFormat</a></p>
                        <p class="p"></p>
                     </div>
                  </dd>
                  <dt class="description"><a name="group__CUDA__TEXREF_1g85f4a13eeb94c8072f61091489349bcb" id="group__CUDA__TEXREF_1g85f4a13eeb94c8072f61091489349bcb" shape="rect">
                        <!-- --></a><span><a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gc6c391505e117393cc2558fff6bfc2e9" title="" shape="rect">CUresult</a> cuTexRefSetAddressMode (  <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gec1e8eb9dc48ad748765d1fcc020d6b5" title="" shape="rect">CUtexref</a><span>&nbsp;</span><span class="keyword keyword apiItemName">hTexRef</span>, int <span>&nbsp;</span><span class="keyword keyword apiItemName">dim</span>, <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gc925457ee7128d6251071f6ff7608887" title="" shape="rect">CUaddress_mode</a><span>&nbsp;</span><span class="keyword keyword apiItemName">am</span> ) </span></dt>
                  <dd class="description">
                     <div class="section">Sets the addressing mode for a texture reference. </div>
                     <div class="section">
                        <h6 class="parameter_header">
                           Parameters
                           
                        </h6>
                        <dl class="table-display-params">
                           <dt><tt class="code"><span class="keyword keyword apiItemName">hTexRef</span></tt></dt>
                           <dd>- Texture reference </dd>
                           <dt><tt class="code"><span class="keyword keyword apiItemName">dim</span></tt></dt>
                           <dd>- Dimension </dd>
                           <dt><tt class="code"><span class="keyword keyword apiItemName">am</span></tt></dt>
                           <dd>- Addressing mode to set</dd>
                        </dl>
                     </div>
                     <div class="section">
                        <h6 class="return_header">Returns</h6>
                        <p class="return"><a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9a0eed720f8a87cd1c5fd1c453bc7a03d" shape="rect">CUDA_SUCCESS</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9acf52f132faf29b473cdda6061f0f44a" shape="rect">CUDA_ERROR_DEINITIALIZED</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e98feb999f0af99b4a25ab26b3866f4df8" shape="rect">CUDA_ERROR_NOT_INITIALIZED</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9a484e9af32c1e9893ff21f0e0191a12d" shape="rect">CUDA_ERROR_INVALID_CONTEXT</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e990696c86fcee1f536a1ec7d25867feeb" shape="rect">CUDA_ERROR_INVALID_VALUE</a></p>
                     </div>
                     <div class="section">
                        <h6 class="description_header">Description</h6>
                        <p>Specifies the addressing mode <tt class="ph tt code">am</tt> for the given dimension <tt class="ph tt code">dim</tt> of the texture reference <tt class="ph tt code">hTexRef</tt>. If <tt class="ph tt code">dim</tt> is zero, the addressing mode is applied to the first parameter of the functions used to fetch from the texture; if <tt class="ph tt code">dim</tt> is 1, the second, and so on. <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gc925457ee7128d6251071f6ff7608887" shape="rect">CUaddress_mode</a> is defined as: <pre xml:space="preserve">‎   typedef enum CUaddress_mode_enum {
            <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc925457ee7128d6251071f6ff760888787d43274db1dfed07818895b04197fcb" shape="rect">CU_TR_ADDRESS_MODE_WRAP</a> = 0,
            <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc925457ee7128d6251071f6ff76088878ed20ebe21592443f61ecc06d61f32f4" shape="rect">CU_TR_ADDRESS_MODE_CLAMP</a> = 1,
            <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc925457ee7128d6251071f6ff76088872490f71f92668604bd10d49d77d198b8" shape="rect">CU_TR_ADDRESS_MODE_MIRROR</a> = 2,
            <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc925457ee7128d6251071f6ff7608887ccee8c7882028f0865e8a2e542524fa4" shape="rect">CU_TR_ADDRESS_MODE_BORDER</a> = 3
         } <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gc925457ee7128d6251071f6ff7608887" shape="rect">CUaddress_mode</a>;</pre></p>
                        <p class="p">Note that this call has no effect if <tt class="ph tt code">hTexRef</tt> is bound to linear memory. Also, if the flag, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1g7a19eb49fd506ecded6e8f314298d486" shape="rect">CU_TRSF_NORMALIZED_COORDINATES</a>, is not set, the only supported address mode is <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc925457ee7128d6251071f6ff76088878ed20ebe21592443f61ecc06d61f32f4" shape="rect">CU_TR_ADDRESS_MODE_CLAMP</a>.
                        </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__CUDA__TEXREF.html#group__CUDA__TEXREF_1g44ef7e5055192d52b3d43456602b50a8" title="Binds an address as a texture reference." shape="rect">cuTexRefSetAddress</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g26f709bbe10516681913d1ffe8756ee2" title="Binds an address as a 2D texture reference." shape="rect">cuTexRefSetAddress2D</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g34435b306682531716243239f0084fed" title="Binds an array as a texture reference." shape="rect">cuTexRefSetArray</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g595d0af02c55576f8c835e4efd1f39c0" title="Sets the filtering mode for a texture reference." shape="rect">cuTexRefSetFilterMode</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g554ffd896487533c36810f2e45bb7a28" title="Sets the flags for a texture reference." shape="rect">cuTexRefSetFlags</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g05585ef8ea2fec728a03c6c8f87cf07a" title="Sets the format for a texture reference." shape="rect">cuTexRefSetFormat</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g4e4674ce0b20a8951b65dead94a338e1" title="Gets the address associated with a texture reference." shape="rect">cuTexRefGetAddress</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1gfb367d93dc1d20aab0cf8ce70d543b33" title="Gets the addressing mode used by a texture reference." shape="rect">cuTexRefGetAddressMode</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g388250d826d74c075b51d0c1648aa6d1" title="Gets the array bound to a texture reference." shape="rect">cuTexRefGetArray</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g2439e069746f69b940f2f4dbc78cdf87" title="Gets the filter-mode used by a texture reference." shape="rect">cuTexRefGetFilterMode</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g71310eec5c196aa85674b079dea88a04" title="Gets the flags used by a texture reference." shape="rect">cuTexRefGetFlags</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g90936eb6c7c4434a609e1160c278ae53" title="Gets the format used by a texture reference." shape="rect">cuTexRefGetFormat</a></p>
                        <p class="p"></p>
                     </div>
                  </dd>
                  <dt class="description"><a name="group__CUDA__TEXREF_1g34435b306682531716243239f0084fed" id="group__CUDA__TEXREF_1g34435b306682531716243239f0084fed" shape="rect">
                        <!-- --></a><span><a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gc6c391505e117393cc2558fff6bfc2e9" title="" shape="rect">CUresult</a> cuTexRefSetArray (  <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gec1e8eb9dc48ad748765d1fcc020d6b5" title="" shape="rect">CUtexref</a><span>&nbsp;</span><span class="keyword keyword apiItemName">hTexRef</span>, <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gd550651524a56766b60f10f0e7628042" title="" shape="rect">CUarray</a><span>&nbsp;</span><span class="keyword keyword apiItemName">hArray</span>, unsigned int <span>&nbsp;</span><span class="keyword keyword apiItemName">Flags</span> ) </span></dt>
                  <dd class="description">
                     <div class="section">Binds an array as a texture reference. </div>
                     <div class="section">
                        <h6 class="parameter_header">
                           Parameters
                           
                        </h6>
                        <dl class="table-display-params">
                           <dt><tt class="code"><span class="keyword keyword apiItemName">hTexRef</span></tt></dt>
                           <dd>- Texture reference to bind </dd>
                           <dt><tt class="code"><span class="keyword keyword apiItemName">hArray</span></tt></dt>
                           <dd>- Array to bind </dd>
                           <dt><tt class="code"><span class="keyword keyword apiItemName">Flags</span></tt></dt>
                           <dd>- Options (must be <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gf9f0c76f9c215b3bdeca06456bec3e68" shape="rect">CU_TRSA_OVERRIDE_FORMAT</a>)
                           </dd>
                        </dl>
                     </div>
                     <div class="section">
                        <h6 class="return_header">Returns</h6>
                        <p class="return"><a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9a0eed720f8a87cd1c5fd1c453bc7a03d" shape="rect">CUDA_SUCCESS</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9acf52f132faf29b473cdda6061f0f44a" shape="rect">CUDA_ERROR_DEINITIALIZED</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e98feb999f0af99b4a25ab26b3866f4df8" shape="rect">CUDA_ERROR_NOT_INITIALIZED</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9a484e9af32c1e9893ff21f0e0191a12d" shape="rect">CUDA_ERROR_INVALID_CONTEXT</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e990696c86fcee1f536a1ec7d25867feeb" shape="rect">CUDA_ERROR_INVALID_VALUE</a></p>
                     </div>
                     <div class="section">
                        <h6 class="description_header">Description</h6>
                        <p>Binds the CUDA array <tt class="ph tt code">hArray</tt> to the texture reference <tt class="ph tt code">hTexRef</tt>. Any previous address or CUDA array state associated with the texture reference is superseded by this function. <tt class="ph tt code">Flags</tt> must be set to <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gf9f0c76f9c215b3bdeca06456bec3e68" shape="rect">CU_TRSA_OVERRIDE_FORMAT</a>. Any CUDA array previously bound to <tt class="ph tt code">hTexRef</tt> is unbound.
                        </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__CUDA__TEXREF.html#group__CUDA__TEXREF_1g44ef7e5055192d52b3d43456602b50a8" title="Binds an address as a texture reference." shape="rect">cuTexRefSetAddress</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g26f709bbe10516681913d1ffe8756ee2" title="Binds an address as a 2D texture reference." shape="rect">cuTexRefSetAddress2D</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g85f4a13eeb94c8072f61091489349bcb" title="Sets the addressing mode for a texture reference." shape="rect">cuTexRefSetAddressMode</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g595d0af02c55576f8c835e4efd1f39c0" title="Sets the filtering mode for a texture reference." shape="rect">cuTexRefSetFilterMode</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g554ffd896487533c36810f2e45bb7a28" title="Sets the flags for a texture reference." shape="rect">cuTexRefSetFlags</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g05585ef8ea2fec728a03c6c8f87cf07a" title="Sets the format for a texture reference." shape="rect">cuTexRefSetFormat</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g4e4674ce0b20a8951b65dead94a338e1" title="Gets the address associated with a texture reference." shape="rect">cuTexRefGetAddress</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1gfb367d93dc1d20aab0cf8ce70d543b33" title="Gets the addressing mode used by a texture reference." shape="rect">cuTexRefGetAddressMode</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g388250d826d74c075b51d0c1648aa6d1" title="Gets the array bound to a texture reference." shape="rect">cuTexRefGetArray</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g2439e069746f69b940f2f4dbc78cdf87" title="Gets the filter-mode used by a texture reference." shape="rect">cuTexRefGetFilterMode</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g71310eec5c196aa85674b079dea88a04" title="Gets the flags used by a texture reference." shape="rect">cuTexRefGetFlags</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g90936eb6c7c4434a609e1160c278ae53" title="Gets the format used by a texture reference." shape="rect">cuTexRefGetFormat</a></p>
                        <p class="p"></p>
                     </div>
                  </dd>
                  <dt class="description"><a name="group__CUDA__TEXREF_1g595d0af02c55576f8c835e4efd1f39c0" id="group__CUDA__TEXREF_1g595d0af02c55576f8c835e4efd1f39c0" shape="rect">
                        <!-- --></a><span><a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gc6c391505e117393cc2558fff6bfc2e9" title="" shape="rect">CUresult</a> cuTexRefSetFilterMode (  <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gec1e8eb9dc48ad748765d1fcc020d6b5" title="" shape="rect">CUtexref</a><span>&nbsp;</span><span class="keyword keyword apiItemName">hTexRef</span>, <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1g4fb799d90872f1d6cd074b4349f37c2a" title="" shape="rect">CUfilter_mode</a><span>&nbsp;</span><span class="keyword keyword apiItemName">fm</span> ) </span></dt>
                  <dd class="description">
                     <div class="section">Sets the filtering mode for a texture reference. </div>
                     <div class="section">
                        <h6 class="parameter_header">
                           Parameters
                           
                        </h6>
                        <dl class="table-display-params">
                           <dt><tt class="code"><span class="keyword keyword apiItemName">hTexRef</span></tt></dt>
                           <dd>- Texture reference </dd>
                           <dt><tt class="code"><span class="keyword keyword apiItemName">fm</span></tt></dt>
                           <dd>- Filtering mode to set</dd>
                        </dl>
                     </div>
                     <div class="section">
                        <h6 class="return_header">Returns</h6>
                        <p class="return"><a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9a0eed720f8a87cd1c5fd1c453bc7a03d" shape="rect">CUDA_SUCCESS</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9acf52f132faf29b473cdda6061f0f44a" shape="rect">CUDA_ERROR_DEINITIALIZED</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e98feb999f0af99b4a25ab26b3866f4df8" shape="rect">CUDA_ERROR_NOT_INITIALIZED</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9a484e9af32c1e9893ff21f0e0191a12d" shape="rect">CUDA_ERROR_INVALID_CONTEXT</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e990696c86fcee1f536a1ec7d25867feeb" shape="rect">CUDA_ERROR_INVALID_VALUE</a></p>
                     </div>
                     <div class="section">
                        <h6 class="description_header">Description</h6>
                        <p>Specifies the filtering mode <tt class="ph tt code">fm</tt> to be used when reading memory through the texture reference <tt class="ph tt code">hTexRef</tt>. CUfilter_mode_enum is defined as:
                        </p>
                        <p class="p"><pre xml:space="preserve">‎   typedef enum CUfilter_mode_enum {
            <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gg4fb799d90872f1d6cd074b4349f37c2ae1e747d9e41685f6b6a5b85baf43e60d" shape="rect">CU_TR_FILTER_MODE_POINT</a> = 0,
            <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gg4fb799d90872f1d6cd074b4349f37c2a517adfbd8a0e09592378d77ba2d922d8" shape="rect">CU_TR_FILTER_MODE_LINEAR</a> = 1
         } <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1g4fb799d90872f1d6cd074b4349f37c2a" shape="rect">CUfilter_mode</a>;</pre></p>
                        <p class="p">Note that this call has no effect if <tt class="ph tt code">hTexRef</tt> is bound to linear memory.
                        </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__CUDA__TEXREF.html#group__CUDA__TEXREF_1g44ef7e5055192d52b3d43456602b50a8" title="Binds an address as a texture reference." shape="rect">cuTexRefSetAddress</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g26f709bbe10516681913d1ffe8756ee2" title="Binds an address as a 2D texture reference." shape="rect">cuTexRefSetAddress2D</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g85f4a13eeb94c8072f61091489349bcb" title="Sets the addressing mode for a texture reference." shape="rect">cuTexRefSetAddressMode</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g34435b306682531716243239f0084fed" title="Binds an array as a texture reference." shape="rect">cuTexRefSetArray</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g554ffd896487533c36810f2e45bb7a28" title="Sets the flags for a texture reference." shape="rect">cuTexRefSetFlags</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g05585ef8ea2fec728a03c6c8f87cf07a" title="Sets the format for a texture reference." shape="rect">cuTexRefSetFormat</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g4e4674ce0b20a8951b65dead94a338e1" title="Gets the address associated with a texture reference." shape="rect">cuTexRefGetAddress</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1gfb367d93dc1d20aab0cf8ce70d543b33" title="Gets the addressing mode used by a texture reference." shape="rect">cuTexRefGetAddressMode</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g388250d826d74c075b51d0c1648aa6d1" title="Gets the array bound to a texture reference." shape="rect">cuTexRefGetArray</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g2439e069746f69b940f2f4dbc78cdf87" title="Gets the filter-mode used by a texture reference." shape="rect">cuTexRefGetFilterMode</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g71310eec5c196aa85674b079dea88a04" title="Gets the flags used by a texture reference." shape="rect">cuTexRefGetFlags</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g90936eb6c7c4434a609e1160c278ae53" title="Gets the format used by a texture reference." shape="rect">cuTexRefGetFormat</a></p>
                        <p class="p"></p>
                     </div>
                  </dd>
                  <dt class="description"><a name="group__CUDA__TEXREF_1g554ffd896487533c36810f2e45bb7a28" id="group__CUDA__TEXREF_1g554ffd896487533c36810f2e45bb7a28" shape="rect">
                        <!-- --></a><span><a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gc6c391505e117393cc2558fff6bfc2e9" title="" shape="rect">CUresult</a> cuTexRefSetFlags (  <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gec1e8eb9dc48ad748765d1fcc020d6b5" title="" shape="rect">CUtexref</a><span>&nbsp;</span><span class="keyword keyword apiItemName">hTexRef</span>, unsigned int <span>&nbsp;</span><span class="keyword keyword apiItemName">Flags</span> ) </span></dt>
                  <dd class="description">
                     <div class="section">Sets the flags for a texture reference. </div>
                     <div class="section">
                        <h6 class="parameter_header">
                           Parameters
                           
                        </h6>
                        <dl class="table-display-params">
                           <dt><tt class="code"><span class="keyword keyword apiItemName">hTexRef</span></tt></dt>
                           <dd>- Texture reference </dd>
                           <dt><tt class="code"><span class="keyword keyword apiItemName">Flags</span></tt></dt>
                           <dd>- Optional flags to set</dd>
                        </dl>
                     </div>
                     <div class="section">
                        <h6 class="return_header">Returns</h6>
                        <p class="return"><a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9a0eed720f8a87cd1c5fd1c453bc7a03d" shape="rect">CUDA_SUCCESS</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9acf52f132faf29b473cdda6061f0f44a" shape="rect">CUDA_ERROR_DEINITIALIZED</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e98feb999f0af99b4a25ab26b3866f4df8" shape="rect">CUDA_ERROR_NOT_INITIALIZED</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9a484e9af32c1e9893ff21f0e0191a12d" shape="rect">CUDA_ERROR_INVALID_CONTEXT</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e990696c86fcee1f536a1ec7d25867feeb" shape="rect">CUDA_ERROR_INVALID_VALUE</a></p>
                     </div>
                     <div class="section">
                        <h6 class="description_header">Description</h6>
                        <p>Specifies optional flags via <tt class="ph tt code">Flags</tt> to specify the behavior of data returned through the texture reference <tt class="ph tt code">hTexRef</tt>. The valid flags are:
                        </p>
                        <p class="p">
                           <ul class="ul">
                              <li class="li">
                                 <p class="p"><a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1g6d2387c1b5dd5bc98f5b4c51cefdf41e" shape="rect">CU_TRSF_READ_AS_INTEGER</a>, which suppresses the default behavior of having the texture promote integer data to floating point data in the range [0,
                                    1]. Note that texture with 32-bit integer format would not be promoted, regardless of whether or not this flag is specified;
                                 </p>
                              </li>
                              <li class="li">
                                 <p class="p"><a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1g7a19eb49fd506ecded6e8f314298d486" shape="rect">CU_TRSF_NORMALIZED_COORDINATES</a>, which suppresses the default behavior of having the texture coordinates range from [0, Dim) where Dim is the width or height
                                    of the CUDA array. Instead, the texture coordinates [0, 1.0) reference the entire breadth of the array dimension;
                                 </p>
                              </li>
                           </ul>
                        </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__CUDA__TEXREF.html#group__CUDA__TEXREF_1g44ef7e5055192d52b3d43456602b50a8" title="Binds an address as a texture reference." shape="rect">cuTexRefSetAddress</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g26f709bbe10516681913d1ffe8756ee2" title="Binds an address as a 2D texture reference." shape="rect">cuTexRefSetAddress2D</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g85f4a13eeb94c8072f61091489349bcb" title="Sets the addressing mode for a texture reference." shape="rect">cuTexRefSetAddressMode</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g34435b306682531716243239f0084fed" title="Binds an array as a texture reference." shape="rect">cuTexRefSetArray</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g595d0af02c55576f8c835e4efd1f39c0" title="Sets the filtering mode for a texture reference." shape="rect">cuTexRefSetFilterMode</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g05585ef8ea2fec728a03c6c8f87cf07a" title="Sets the format for a texture reference." shape="rect">cuTexRefSetFormat</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g4e4674ce0b20a8951b65dead94a338e1" title="Gets the address associated with a texture reference." shape="rect">cuTexRefGetAddress</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1gfb367d93dc1d20aab0cf8ce70d543b33" title="Gets the addressing mode used by a texture reference." shape="rect">cuTexRefGetAddressMode</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g388250d826d74c075b51d0c1648aa6d1" title="Gets the array bound to a texture reference." shape="rect">cuTexRefGetArray</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g2439e069746f69b940f2f4dbc78cdf87" title="Gets the filter-mode used by a texture reference." shape="rect">cuTexRefGetFilterMode</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g71310eec5c196aa85674b079dea88a04" title="Gets the flags used by a texture reference." shape="rect">cuTexRefGetFlags</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g90936eb6c7c4434a609e1160c278ae53" title="Gets the format used by a texture reference." shape="rect">cuTexRefGetFormat</a></p>
                        <p class="p"></p>
                     </div>
                  </dd>
                  <dt class="description"><a name="group__CUDA__TEXREF_1g05585ef8ea2fec728a03c6c8f87cf07a" id="group__CUDA__TEXREF_1g05585ef8ea2fec728a03c6c8f87cf07a" shape="rect">
                        <!-- --></a><span><a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gc6c391505e117393cc2558fff6bfc2e9" title="" shape="rect">CUresult</a> cuTexRefSetFormat (  <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gec1e8eb9dc48ad748765d1fcc020d6b5" title="" shape="rect">CUtexref</a><span>&nbsp;</span><span class="keyword keyword apiItemName">hTexRef</span>, <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1g9b009d9a6aa4c5765c8a00289b6068f9" title="" shape="rect">CUarray_format</a><span>&nbsp;</span><span class="keyword keyword apiItemName">fmt</span>, int <span>&nbsp;</span><span class="keyword keyword apiItemName">NumPackedComponents</span> ) </span></dt>
                  <dd class="description">
                     <div class="section">Sets the format for a texture reference. </div>
                     <div class="section">
                        <h6 class="parameter_header">
                           Parameters
                           
                        </h6>
                        <dl class="table-display-params">
                           <dt><tt class="code"><span class="keyword keyword apiItemName">hTexRef</span></tt></dt>
                           <dd>- Texture reference </dd>
                           <dt><tt class="code"><span class="keyword keyword apiItemName">fmt</span></tt></dt>
                           <dd>- Format to set </dd>
                           <dt><tt class="code"><span class="keyword keyword apiItemName">NumPackedComponents</span></tt></dt>
                           <dd>- Number of components per array element</dd>
                        </dl>
                     </div>
                     <div class="section">
                        <h6 class="return_header">Returns</h6>
                        <p class="return"><a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9a0eed720f8a87cd1c5fd1c453bc7a03d" shape="rect">CUDA_SUCCESS</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9acf52f132faf29b473cdda6061f0f44a" shape="rect">CUDA_ERROR_DEINITIALIZED</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e98feb999f0af99b4a25ab26b3866f4df8" shape="rect">CUDA_ERROR_NOT_INITIALIZED</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9a484e9af32c1e9893ff21f0e0191a12d" shape="rect">CUDA_ERROR_INVALID_CONTEXT</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e990696c86fcee1f536a1ec7d25867feeb" shape="rect">CUDA_ERROR_INVALID_VALUE</a></p>
                     </div>
                     <div class="section">
                        <h6 class="description_header">Description</h6>
                        <p>Specifies the format of the data to be read by the texture reference <tt class="ph tt code">hTexRef</tt>. <tt class="ph tt code">fmt</tt> and <tt class="ph tt code">NumPackedComponents</tt> are exactly analogous to the Format and NumChannels members of the <a class="xref" href="structCUDA__ARRAY__DESCRIPTOR.html#structCUDA__ARRAY__DESCRIPTOR" shape="rect">CUDA_ARRAY_DESCRIPTOR</a> structure: They specify the format of each component and the number of components per array element.
                        </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__CUDA__TEXREF.html#group__CUDA__TEXREF_1g44ef7e5055192d52b3d43456602b50a8" title="Binds an address as a texture reference." shape="rect">cuTexRefSetAddress</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g26f709bbe10516681913d1ffe8756ee2" title="Binds an address as a 2D texture reference." shape="rect">cuTexRefSetAddress2D</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g85f4a13eeb94c8072f61091489349bcb" title="Sets the addressing mode for a texture reference." shape="rect">cuTexRefSetAddressMode</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g34435b306682531716243239f0084fed" title="Binds an array as a texture reference." shape="rect">cuTexRefSetArray</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g595d0af02c55576f8c835e4efd1f39c0" title="Sets the filtering mode for a texture reference." shape="rect">cuTexRefSetFilterMode</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g554ffd896487533c36810f2e45bb7a28" title="Sets the flags for a texture reference." shape="rect">cuTexRefSetFlags</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g4e4674ce0b20a8951b65dead94a338e1" title="Gets the address associated with a texture reference." shape="rect">cuTexRefGetAddress</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1gfb367d93dc1d20aab0cf8ce70d543b33" title="Gets the addressing mode used by a texture reference." shape="rect">cuTexRefGetAddressMode</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g388250d826d74c075b51d0c1648aa6d1" title="Gets the array bound to a texture reference." shape="rect">cuTexRefGetArray</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g2439e069746f69b940f2f4dbc78cdf87" title="Gets the filter-mode used by a texture reference." shape="rect">cuTexRefGetFilterMode</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g71310eec5c196aa85674b079dea88a04" title="Gets the flags used by a texture reference." shape="rect">cuTexRefGetFlags</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g90936eb6c7c4434a609e1160c278ae53" title="Gets the format used by a texture reference." shape="rect">cuTexRefGetFormat</a></p>
                        <p class="p"></p>
                     </div>
                  </dd>
                  <dt class="description"><a name="group__CUDA__TEXREF_1g623f5c00b1b2a883f3bddfc1792c85da" id="group__CUDA__TEXREF_1g623f5c00b1b2a883f3bddfc1792c85da" shape="rect">
                        <!-- --></a><span><a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gc6c391505e117393cc2558fff6bfc2e9" title="" shape="rect">CUresult</a> cuTexRefSetMaxAnisotropy (  <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gec1e8eb9dc48ad748765d1fcc020d6b5" title="" shape="rect">CUtexref</a><span>&nbsp;</span><span class="keyword keyword apiItemName">hTexRef</span>, unsigned int <span>&nbsp;</span><span class="keyword keyword apiItemName">maxAniso</span> ) </span></dt>
                  <dd class="description">
                     <div class="section">Sets the maximum anisotropy for a texture reference. </div>
                     <div class="section">
                        <h6 class="parameter_header">
                           Parameters
                           
                        </h6>
                        <dl class="table-display-params">
                           <dt><tt class="code"><span class="keyword keyword apiItemName">hTexRef</span></tt></dt>
                           <dd>- Texture reference </dd>
                           <dt><tt class="code"><span class="keyword keyword apiItemName">maxAniso</span></tt></dt>
                           <dd>- Maximum anisotropy</dd>
                        </dl>
                     </div>
                     <div class="section">
                        <h6 class="return_header">Returns</h6>
                        <p class="return"><a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9a0eed720f8a87cd1c5fd1c453bc7a03d" shape="rect">CUDA_SUCCESS</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9acf52f132faf29b473cdda6061f0f44a" shape="rect">CUDA_ERROR_DEINITIALIZED</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e98feb999f0af99b4a25ab26b3866f4df8" shape="rect">CUDA_ERROR_NOT_INITIALIZED</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9a484e9af32c1e9893ff21f0e0191a12d" shape="rect">CUDA_ERROR_INVALID_CONTEXT</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e990696c86fcee1f536a1ec7d25867feeb" shape="rect">CUDA_ERROR_INVALID_VALUE</a></p>
                     </div>
                     <div class="section">
                        <h6 class="description_header">Description</h6>
                        <p>Specifies the maximum anisotropy <tt class="ph tt code">maxAniso</tt> to be used when reading memory through the texture reference <tt class="ph tt code">hTexRef</tt>.
                        </p>
                        <p class="p">Note that this call has no effect if <tt class="ph tt code">hTexRef</tt> is bound to linear memory.
                        </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__CUDA__TEXREF.html#group__CUDA__TEXREF_1g44ef7e5055192d52b3d43456602b50a8" title="Binds an address as a texture reference." shape="rect">cuTexRefSetAddress</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g26f709bbe10516681913d1ffe8756ee2" title="Binds an address as a 2D texture reference." shape="rect">cuTexRefSetAddress2D</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g85f4a13eeb94c8072f61091489349bcb" title="Sets the addressing mode for a texture reference." shape="rect">cuTexRefSetAddressMode</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g34435b306682531716243239f0084fed" title="Binds an array as a texture reference." shape="rect">cuTexRefSetArray</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g554ffd896487533c36810f2e45bb7a28" title="Sets the flags for a texture reference." shape="rect">cuTexRefSetFlags</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g05585ef8ea2fec728a03c6c8f87cf07a" title="Sets the format for a texture reference." shape="rect">cuTexRefSetFormat</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g4e4674ce0b20a8951b65dead94a338e1" title="Gets the address associated with a texture reference." shape="rect">cuTexRefGetAddress</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1gfb367d93dc1d20aab0cf8ce70d543b33" title="Gets the addressing mode used by a texture reference." shape="rect">cuTexRefGetAddressMode</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g388250d826d74c075b51d0c1648aa6d1" title="Gets the array bound to a texture reference." shape="rect">cuTexRefGetArray</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g2439e069746f69b940f2f4dbc78cdf87" title="Gets the filter-mode used by a texture reference." shape="rect">cuTexRefGetFilterMode</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g71310eec5c196aa85674b079dea88a04" title="Gets the flags used by a texture reference." shape="rect">cuTexRefGetFlags</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g90936eb6c7c4434a609e1160c278ae53" title="Gets the format used by a texture reference." shape="rect">cuTexRefGetFormat</a></p>
                        <p class="p"></p>
                     </div>
                  </dd>
                  <dt class="description"><a name="group__CUDA__TEXREF_1ge6238426775fa672a1518fe9828f2d76" id="group__CUDA__TEXREF_1ge6238426775fa672a1518fe9828f2d76" shape="rect">
                        <!-- --></a><span><a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gc6c391505e117393cc2558fff6bfc2e9" title="" shape="rect">CUresult</a> cuTexRefSetMipmapFilterMode (  <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gec1e8eb9dc48ad748765d1fcc020d6b5" title="" shape="rect">CUtexref</a><span>&nbsp;</span><span class="keyword keyword apiItemName">hTexRef</span>, <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1g4fb799d90872f1d6cd074b4349f37c2a" title="" shape="rect">CUfilter_mode</a><span>&nbsp;</span><span class="keyword keyword apiItemName">fm</span> ) </span></dt>
                  <dd class="description">
                     <div class="section">Sets the mipmap filtering mode for a texture reference. </div>
                     <div class="section">
                        <h6 class="parameter_header">
                           Parameters
                           
                        </h6>
                        <dl class="table-display-params">
                           <dt><tt class="code"><span class="keyword keyword apiItemName">hTexRef</span></tt></dt>
                           <dd>- Texture reference </dd>
                           <dt><tt class="code"><span class="keyword keyword apiItemName">fm</span></tt></dt>
                           <dd>- Filtering mode to set</dd>
                        </dl>
                     </div>
                     <div class="section">
                        <h6 class="return_header">Returns</h6>
                        <p class="return"><a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9a0eed720f8a87cd1c5fd1c453bc7a03d" shape="rect">CUDA_SUCCESS</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9acf52f132faf29b473cdda6061f0f44a" shape="rect">CUDA_ERROR_DEINITIALIZED</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e98feb999f0af99b4a25ab26b3866f4df8" shape="rect">CUDA_ERROR_NOT_INITIALIZED</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9a484e9af32c1e9893ff21f0e0191a12d" shape="rect">CUDA_ERROR_INVALID_CONTEXT</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e990696c86fcee1f536a1ec7d25867feeb" shape="rect">CUDA_ERROR_INVALID_VALUE</a></p>
                     </div>
                     <div class="section">
                        <h6 class="description_header">Description</h6>
                        <p>Specifies the mipmap filtering mode <tt class="ph tt code">fm</tt> to be used when reading memory through the texture reference <tt class="ph tt code">hTexRef</tt>. CUfilter_mode_enum is defined as:
                        </p>
                        <p class="p"><pre xml:space="preserve">‎   typedef enum CUfilter_mode_enum {
            <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gg4fb799d90872f1d6cd074b4349f37c2ae1e747d9e41685f6b6a5b85baf43e60d" shape="rect">CU_TR_FILTER_MODE_POINT</a> = 0,
            <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gg4fb799d90872f1d6cd074b4349f37c2a517adfbd8a0e09592378d77ba2d922d8" shape="rect">CU_TR_FILTER_MODE_LINEAR</a> = 1
         } <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1g4fb799d90872f1d6cd074b4349f37c2a" shape="rect">CUfilter_mode</a>;</pre></p>
                        <p class="p">Note that this call has no effect if <tt class="ph tt code">hTexRef</tt> is not bound to a mipmapped array.
                        </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__CUDA__TEXREF.html#group__CUDA__TEXREF_1g44ef7e5055192d52b3d43456602b50a8" title="Binds an address as a texture reference." shape="rect">cuTexRefSetAddress</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g26f709bbe10516681913d1ffe8756ee2" title="Binds an address as a 2D texture reference." shape="rect">cuTexRefSetAddress2D</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g85f4a13eeb94c8072f61091489349bcb" title="Sets the addressing mode for a texture reference." shape="rect">cuTexRefSetAddressMode</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g34435b306682531716243239f0084fed" title="Binds an array as a texture reference." shape="rect">cuTexRefSetArray</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g554ffd896487533c36810f2e45bb7a28" title="Sets the flags for a texture reference." shape="rect">cuTexRefSetFlags</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g05585ef8ea2fec728a03c6c8f87cf07a" title="Sets the format for a texture reference." shape="rect">cuTexRefSetFormat</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g4e4674ce0b20a8951b65dead94a338e1" title="Gets the address associated with a texture reference." shape="rect">cuTexRefGetAddress</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1gfb367d93dc1d20aab0cf8ce70d543b33" title="Gets the addressing mode used by a texture reference." shape="rect">cuTexRefGetAddressMode</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g388250d826d74c075b51d0c1648aa6d1" title="Gets the array bound to a texture reference." shape="rect">cuTexRefGetArray</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g2439e069746f69b940f2f4dbc78cdf87" title="Gets the filter-mode used by a texture reference." shape="rect">cuTexRefGetFilterMode</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g71310eec5c196aa85674b079dea88a04" title="Gets the flags used by a texture reference." shape="rect">cuTexRefGetFlags</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g90936eb6c7c4434a609e1160c278ae53" title="Gets the format used by a texture reference." shape="rect">cuTexRefGetFormat</a></p>
                        <p class="p"></p>
                     </div>
                  </dd>
                  <dt class="description"><a name="group__CUDA__TEXREF_1g3be1de86e98d39c3a6b59c11cca5b77d" id="group__CUDA__TEXREF_1g3be1de86e98d39c3a6b59c11cca5b77d" shape="rect">
                        <!-- --></a><span><a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gc6c391505e117393cc2558fff6bfc2e9" title="" shape="rect">CUresult</a> cuTexRefSetMipmapLevelBias (  <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gec1e8eb9dc48ad748765d1fcc020d6b5" title="" shape="rect">CUtexref</a><span>&nbsp;</span><span class="keyword keyword apiItemName">hTexRef</span>, float <span>&nbsp;</span><span class="keyword keyword apiItemName">bias</span> ) </span></dt>
                  <dd class="description">
                     <div class="section">Sets the mipmap level bias for a texture reference. </div>
                     <div class="section">
                        <h6 class="parameter_header">
                           Parameters
                           
                        </h6>
                        <dl class="table-display-params">
                           <dt><tt class="code"><span class="keyword keyword apiItemName">hTexRef</span></tt></dt>
                           <dd>- Texture reference </dd>
                           <dt><tt class="code"><span class="keyword keyword apiItemName">bias</span></tt></dt>
                           <dd>- Mipmap level bias</dd>
                        </dl>
                     </div>
                     <div class="section">
                        <h6 class="return_header">Returns</h6>
                        <p class="return"><a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9a0eed720f8a87cd1c5fd1c453bc7a03d" shape="rect">CUDA_SUCCESS</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9acf52f132faf29b473cdda6061f0f44a" shape="rect">CUDA_ERROR_DEINITIALIZED</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e98feb999f0af99b4a25ab26b3866f4df8" shape="rect">CUDA_ERROR_NOT_INITIALIZED</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9a484e9af32c1e9893ff21f0e0191a12d" shape="rect">CUDA_ERROR_INVALID_CONTEXT</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e990696c86fcee1f536a1ec7d25867feeb" shape="rect">CUDA_ERROR_INVALID_VALUE</a></p>
                     </div>
                     <div class="section">
                        <h6 class="description_header">Description</h6>
                        <p>Specifies the mipmap level bias <tt class="ph tt code">bias</tt> to be added to the specified mipmap level when reading memory through the texture reference <tt class="ph tt code">hTexRef</tt>.
                        </p>
                        <p class="p">Note that this call has no effect if <tt class="ph tt code">hTexRef</tt> is not bound to a mipmapped array.
                        </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__CUDA__TEXREF.html#group__CUDA__TEXREF_1g44ef7e5055192d52b3d43456602b50a8" title="Binds an address as a texture reference." shape="rect">cuTexRefSetAddress</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g26f709bbe10516681913d1ffe8756ee2" title="Binds an address as a 2D texture reference." shape="rect">cuTexRefSetAddress2D</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g85f4a13eeb94c8072f61091489349bcb" title="Sets the addressing mode for a texture reference." shape="rect">cuTexRefSetAddressMode</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g34435b306682531716243239f0084fed" title="Binds an array as a texture reference." shape="rect">cuTexRefSetArray</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g554ffd896487533c36810f2e45bb7a28" title="Sets the flags for a texture reference." shape="rect">cuTexRefSetFlags</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g05585ef8ea2fec728a03c6c8f87cf07a" title="Sets the format for a texture reference." shape="rect">cuTexRefSetFormat</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g4e4674ce0b20a8951b65dead94a338e1" title="Gets the address associated with a texture reference." shape="rect">cuTexRefGetAddress</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1gfb367d93dc1d20aab0cf8ce70d543b33" title="Gets the addressing mode used by a texture reference." shape="rect">cuTexRefGetAddressMode</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g388250d826d74c075b51d0c1648aa6d1" title="Gets the array bound to a texture reference." shape="rect">cuTexRefGetArray</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g2439e069746f69b940f2f4dbc78cdf87" title="Gets the filter-mode used by a texture reference." shape="rect">cuTexRefGetFilterMode</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g71310eec5c196aa85674b079dea88a04" title="Gets the flags used by a texture reference." shape="rect">cuTexRefGetFlags</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g90936eb6c7c4434a609e1160c278ae53" title="Gets the format used by a texture reference." shape="rect">cuTexRefGetFormat</a></p>
                        <p class="p"></p>
                     </div>
                  </dd>
                  <dt class="description"><a name="group__CUDA__TEXREF_1gf7354fa837b181a8b094b99654b14086" id="group__CUDA__TEXREF_1gf7354fa837b181a8b094b99654b14086" shape="rect">
                        <!-- --></a><span><a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gc6c391505e117393cc2558fff6bfc2e9" title="" shape="rect">CUresult</a> cuTexRefSetMipmapLevelClamp (  <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gec1e8eb9dc48ad748765d1fcc020d6b5" title="" shape="rect">CUtexref</a><span>&nbsp;</span><span class="keyword keyword apiItemName">hTexRef</span>, float <span>&nbsp;</span><span class="keyword keyword apiItemName">minMipmapLevelClamp</span>, float <span>&nbsp;</span><span class="keyword keyword apiItemName">maxMipmapLevelClamp</span> ) </span></dt>
                  <dd class="description">
                     <div class="section">Sets the mipmap min/max mipmap level clamps for a texture reference. </div>
                     <div class="section">
                        <h6 class="parameter_header">
                           Parameters
                           
                        </h6>
                        <dl class="table-display-params">
                           <dt><tt class="code"><span class="keyword keyword apiItemName">hTexRef</span></tt></dt>
                           <dd>- Texture reference </dd>
                           <dt><tt class="code"><span class="keyword keyword apiItemName">minMipmapLevelClamp</span></tt></dt>
                           <dd>- Mipmap min level clamp </dd>
                           <dt><tt class="code"><span class="keyword keyword apiItemName">maxMipmapLevelClamp</span></tt></dt>
                           <dd>- Mipmap max level clamp</dd>
                        </dl>
                     </div>
                     <div class="section">
                        <h6 class="return_header">Returns</h6>
                        <p class="return"><a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9a0eed720f8a87cd1c5fd1c453bc7a03d" shape="rect">CUDA_SUCCESS</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9acf52f132faf29b473cdda6061f0f44a" shape="rect">CUDA_ERROR_DEINITIALIZED</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e98feb999f0af99b4a25ab26b3866f4df8" shape="rect">CUDA_ERROR_NOT_INITIALIZED</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9a484e9af32c1e9893ff21f0e0191a12d" shape="rect">CUDA_ERROR_INVALID_CONTEXT</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e990696c86fcee1f536a1ec7d25867feeb" shape="rect">CUDA_ERROR_INVALID_VALUE</a></p>
                     </div>
                     <div class="section">
                        <h6 class="description_header">Description</h6>
                        <p>Specifies the min/max mipmap level clamps, <tt class="ph tt code">minMipmapLevelClamp</tt> and <tt class="ph tt code">maxMipmapLevelClamp</tt> respectively, to be used when reading memory through the texture reference <tt class="ph tt code">hTexRef</tt>.
                        </p>
                        <p class="p">Note that this call has no effect if <tt class="ph tt code">hTexRef</tt> is not bound to a mipmapped array.
                        </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__CUDA__TEXREF.html#group__CUDA__TEXREF_1g44ef7e5055192d52b3d43456602b50a8" title="Binds an address as a texture reference." shape="rect">cuTexRefSetAddress</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g26f709bbe10516681913d1ffe8756ee2" title="Binds an address as a 2D texture reference." shape="rect">cuTexRefSetAddress2D</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g85f4a13eeb94c8072f61091489349bcb" title="Sets the addressing mode for a texture reference." shape="rect">cuTexRefSetAddressMode</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g34435b306682531716243239f0084fed" title="Binds an array as a texture reference." shape="rect">cuTexRefSetArray</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g554ffd896487533c36810f2e45bb7a28" title="Sets the flags for a texture reference." shape="rect">cuTexRefSetFlags</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g05585ef8ea2fec728a03c6c8f87cf07a" title="Sets the format for a texture reference." shape="rect">cuTexRefSetFormat</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g4e4674ce0b20a8951b65dead94a338e1" title="Gets the address associated with a texture reference." shape="rect">cuTexRefGetAddress</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1gfb367d93dc1d20aab0cf8ce70d543b33" title="Gets the addressing mode used by a texture reference." shape="rect">cuTexRefGetAddressMode</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g388250d826d74c075b51d0c1648aa6d1" title="Gets the array bound to a texture reference." shape="rect">cuTexRefGetArray</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g2439e069746f69b940f2f4dbc78cdf87" title="Gets the filter-mode used by a texture reference." shape="rect">cuTexRefGetFilterMode</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g71310eec5c196aa85674b079dea88a04" title="Gets the flags used by a texture reference." shape="rect">cuTexRefGetFlags</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g90936eb6c7c4434a609e1160c278ae53" title="Gets the format used by a texture reference." shape="rect">cuTexRefGetFormat</a></p>
                        <p class="p"></p>
                     </div>
                  </dd>
                  <dt class="description"><a name="group__CUDA__TEXREF_1g8a550f19ff84858a396f79a526fd3406" id="group__CUDA__TEXREF_1g8a550f19ff84858a396f79a526fd3406" shape="rect">
                        <!-- --></a><span><a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gc6c391505e117393cc2558fff6bfc2e9" title="" shape="rect">CUresult</a> cuTexRefSetMipmappedArray (  <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gec1e8eb9dc48ad748765d1fcc020d6b5" title="" shape="rect">CUtexref</a><span>&nbsp;</span><span class="keyword keyword apiItemName">hTexRef</span>, <a href="group__CUDA__TYPES.html#group__CUDA__TYPES_1g96db856ab3d2940fb694ce4501d9b583" title="" shape="rect">CUmipmappedArray</a><span>&nbsp;</span><span class="keyword keyword apiItemName">hMipmappedArray</span>, unsigned int <span>&nbsp;</span><span class="keyword keyword apiItemName">Flags</span> ) </span></dt>
                  <dd class="description">
                     <div class="section">Binds a mipmapped array to a texture reference. </div>
                     <div class="section">
                        <h6 class="parameter_header">
                           Parameters
                           
                        </h6>
                        <dl class="table-display-params">
                           <dt><tt class="code"><span class="keyword keyword apiItemName">hTexRef</span></tt></dt>
                           <dd>- Texture reference to bind </dd>
                           <dt><tt class="code"><span class="keyword keyword apiItemName">hMipmappedArray</span></tt></dt>
                           <dd>- Mipmapped array to bind </dd>
                           <dt><tt class="code"><span class="keyword keyword apiItemName">Flags</span></tt></dt>
                           <dd>- Options (must be <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gf9f0c76f9c215b3bdeca06456bec3e68" shape="rect">CU_TRSA_OVERRIDE_FORMAT</a>)
                           </dd>
                        </dl>
                     </div>
                     <div class="section">
                        <h6 class="return_header">Returns</h6>
                        <p class="return"><a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9a0eed720f8a87cd1c5fd1c453bc7a03d" shape="rect">CUDA_SUCCESS</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9acf52f132faf29b473cdda6061f0f44a" shape="rect">CUDA_ERROR_DEINITIALIZED</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e98feb999f0af99b4a25ab26b3866f4df8" shape="rect">CUDA_ERROR_NOT_INITIALIZED</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e9a484e9af32c1e9893ff21f0e0191a12d" shape="rect">CUDA_ERROR_INVALID_CONTEXT</a>, <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1ggc6c391505e117393cc2558fff6bfc2e990696c86fcee1f536a1ec7d25867feeb" shape="rect">CUDA_ERROR_INVALID_VALUE</a></p>
                     </div>
                     <div class="section">
                        <h6 class="description_header">Description</h6>
                        <p>Binds the CUDA mipmapped array <tt class="ph tt code">hMipmappedArray</tt> to the texture reference <tt class="ph tt code">hTexRef</tt>. Any previous address or CUDA array state associated with the texture reference is superseded by this function. <tt class="ph tt code">Flags</tt> must be set to <a class="xref" href="group__CUDA__TYPES.html#group__CUDA__TYPES_1gf9f0c76f9c215b3bdeca06456bec3e68" shape="rect">CU_TRSA_OVERRIDE_FORMAT</a>. Any CUDA array previously bound to <tt class="ph tt code">hTexRef</tt> is unbound.
                        </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__CUDA__TEXREF.html#group__CUDA__TEXREF_1g44ef7e5055192d52b3d43456602b50a8" title="Binds an address as a texture reference." shape="rect">cuTexRefSetAddress</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g26f709bbe10516681913d1ffe8756ee2" title="Binds an address as a 2D texture reference." shape="rect">cuTexRefSetAddress2D</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g85f4a13eeb94c8072f61091489349bcb" title="Sets the addressing mode for a texture reference." shape="rect">cuTexRefSetAddressMode</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g595d0af02c55576f8c835e4efd1f39c0" title="Sets the filtering mode for a texture reference." shape="rect">cuTexRefSetFilterMode</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g554ffd896487533c36810f2e45bb7a28" title="Sets the flags for a texture reference." shape="rect">cuTexRefSetFlags</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g05585ef8ea2fec728a03c6c8f87cf07a" title="Sets the format for a texture reference." shape="rect">cuTexRefSetFormat</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g4e4674ce0b20a8951b65dead94a338e1" title="Gets the address associated with a texture reference." shape="rect">cuTexRefGetAddress</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1gfb367d93dc1d20aab0cf8ce70d543b33" title="Gets the addressing mode used by a texture reference." shape="rect">cuTexRefGetAddressMode</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g388250d826d74c075b51d0c1648aa6d1" title="Gets the array bound to a texture reference." shape="rect">cuTexRefGetArray</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g2439e069746f69b940f2f4dbc78cdf87" title="Gets the filter-mode used by a texture reference." shape="rect">cuTexRefGetFilterMode</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g71310eec5c196aa85674b079dea88a04" title="Gets the flags used by a texture reference." shape="rect">cuTexRefGetFlags</a>, <a class="xref" href="group__CUDA__TEXREF.html#group__CUDA__TEXREF_1g90936eb6c7c4434a609e1160c278ae53" title="Gets the format used by a texture reference." shape="rect">cuTexRefGetFormat</a></p>
                        <p class="p"></p>
                     </div>
                  </dd>
               </dl>
            </div>
         </div>
         
         <hr id="contents-end"></hr>
         <div id="breadcrumbs"><a href="group__CUDA__EXEC__DEPRECATED.html" shape="rect">&lt; Previous</a> | <a href="group__CUDA__TEXREF__DEPRECATED.html" shape="rect">Next &gt;</a></div>
         <div id="release-info">CUDA Driver API
            (<a href="../../pdf/CUDA_Driver_API.pdf">PDF</a>)
            -
            CUDA Toolkit v5.5
            (<a href="https://developer.nvidia.com/cuda-toolkit-archive">older</a>)
            -
            Last updated 
            July 19, 2013
            -
            <a href="mailto:cudatools@nvidia.com?subject=CUDA Tools Documentation Feedback: cuda-driver-api">Send Feedback</a></div>
         
      </article>
      
      <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>
      <nav id="site-nav">
         <div class="category closed"><span class="twiddle">▷</span><a href="../index.html" title="The root of the site.">CUDA Toolkit</a></div>
         <ul class="closed">
            <li><a href="../cuda-toolkit-release-notes/index.html" title="The Release Notes for the CUDA Toolkit from v4.0 to today.">Release Notes</a></li>
            <li><a href="../eula/index.html" title="The End User License Agreements for the NVIDIA CUDA Toolkit, the NVIDIA CUDA Samples, the NVIDIA Display Driver, and NVIDIA NSight (Visual Studio Edition).">EULA</a></li>
            <li><a href="../cuda-getting-started-guide-for-linux/index.html" title="This guide discusses how to install and check for correct operation of the CUDA Development Tools on GNU/Linux systems.">Getting Started Linux</a></li>
            <li><a href="../cuda-getting-started-guide-for-mac-os-x/index.html" title="This guide discusses how to install and check for correct operation of the CUDA Development Tools on Mac OS X systems.">Getting Started Mac OS X</a></li>
            <li><a href="../cuda-getting-started-guide-for-microsoft-windows/index.html" title="This guide discusses how to install and check for correct operation of the CUDA Development Tools on Microsoft Windows systems.">Getting Started Windows</a></li>
            <li><a href="../cuda-c-programming-guide/index.html" title="This guide provides a detailed discussion of the CUDA programming model and programming interface. It then describes the hardware implementation, and provides guidance on how to achieve maximum performance. The Appendixes include a list of all CUDA-enabled devices, detailed description of all extensions to the C language, listings of supported mathematical functions, C++ features supported in host and device code, details on texture fetching, technical specifications of various devices, and concludes by introducing the low-level driver API.">Programming Guide</a></li>
            <li><a href="../cuda-c-best-practices-guide/index.html" title="This guide presents established parallelization and optimization techniques and explains coding metaphors and idioms that can greatly simplify programming for CUDA-capable GPU architectures. The intent is to provide guidelines for obtaining the best performance from NVIDIA GPUs using the CUDA Toolkit.">Best Practices Guide</a></li>
            <li><a href="../kepler-compatibility-guide/index.html" title="This application note is intended to help developers ensure that their NVIDIA CUDA applications will run effectively on GPUs based on the NVIDIA Kepler Architecture. This document provides guidance to ensure that your software applications are compatible with Kepler.">Kepler Compatibility Guide</a></li>
            <li><a href="../kepler-tuning-guide/index.html" title="Kepler is NVIDIA's next-generation architecture for CUDA compute applications. Applications that follow the best practices for the Fermi architecture should typically see speedups on the Kepler architecture without any code changes. This guide summarizes the ways that an application can be fine-tuned to gain additional speedups by leveraging Kepler architectural features.">Kepler Tuning Guide</a></li>
            <li><a href="../parallel-thread-execution/index.html" title="This guide provides detailed instructions on the use of PTX, a low-level parallel thread execution virtual machine and instruction set architecture (ISA). PTX exposes the GPU as a data-parallel computing device.">PTX ISA</a></li>
            <li><a href="../optimus-developer-guide/index.html" title="This document explains how CUDA APIs can be used to query for GPU capabilities in NVIDIA Optimus systems.">Developer Guide for Optimus</a></li>
            <li><a href="../video-decoder/index.html" title="This document provides the video decoder API specification and the format conversion and display using DirectX or OpenGL following decode.">Video Decoder</a></li>
            <li><a href="../video-encoder/index.html" title="This document provides the CUDA video encoder specifications, including the C-library API functions and encoder query parameters.">Video Encoder</a></li>
            <li><a href="../inline-ptx-assembly/index.html" title="This document shows how to inline PTX (parallel thread execution) assembly language statements into CUDA code. It describes available assembler statement parameters and constraints, and the document also provides a list of some pitfalls that you may encounter.">Inline PTX Assembly</a></li>
            <li><a href="../cuda-runtime-api/index.html" title="The CUDA runtime API.">CUDA Runtime API</a></li>
            <li><a href="../cuda-driver-api/index.html" title="The CUDA driver API.">CUDA Driver API</a></li>
            <li><a href="../cuda-math-api/index.html" title="The CUDA math API.">CUDA Math API</a></li>
            <li><a href="../cublas/index.html" title="The CUBLAS library is an implementation of BLAS (Basic Linear Algebra Subprograms) on top of the NVIDIA CUDA runtime. It allows the user to access the computational resources of NVIDIA Graphical Processing Unit (GPU), but does not auto-parallelize across multiple GPUs.">CUBLAS</a></li>
            <li><a href="../cufft/index.html" title="The CUFFT library user guide.">CUFFT</a></li>
            <li><a href="../curand/index.html" title="The CURAND library user guide.">CURAND</a></li>
            <li><a href="../cusparse/index.html" title="The CUSPARSE library user guide.">CUSPARSE</a></li>
            <li><a href="../npp/index.html" title="NVIDIA NPP is a library of functions for performing CUDA accelerated processing. The initial set of functionality in the library focuses on imaging and video processing and is widely applicable for developers in these areas. NPP will evolve over time to encompass more of the compute heavy tasks in a variety of problem domains. The NPP library is written to maximize flexibility, while maintaining high performance.">NPP</a></li>
            <li><a href="../thrust/index.html" title="The Thrust getting started guide.">Thrust</a></li>
            <li><a href="../cuda-samples/index.html" title="This document contains a complete listing of the code samples that are included with the NVIDIA CUDA Toolkit. It describes each code sample, lists the minimum GPU specification, and provides links to the source code and white papers if available.">CUDA Samples</a></li>
            <li><a href="../cuda-compiler-driver-nvcc/index.html" title="This document is a reference guide on the use of the CUDA compiler driver nvcc. Instead of being a specific CUDA compilation driver, nvcc mimics the behavior of the GNU compiler gcc, accepting a range of conventional compiler options, such as for defining macros and include/library paths, and for steering the compilation process.">NVCC</a></li>
            <li><a href="../cuda-gdb/index.html" title="The NVIDIA tool for debugging CUDA applications running on Linux and Mac, providing developers with a mechanism for debugging CUDA applications running on actual hardware. CUDA-GDB is an extension to the x86-64 port of GDB, the GNU Project debugger.">CUDA-GDB</a></li>
            <li><a href="../cuda-memcheck/index.html" title="CUDA-MEMCHECK is a suite of run time tools capable of precisely detecting out of bounds and misaligned memory access errors, checking device allocation leaks, reporting hardware errors and identifying shared memory data access hazards.">CUDA-MEMCHECK</a></li>
            <li><a href="../nsight-eclipse-edition-getting-started-guide/index.html" title="Nsight Eclipse Edition getting started guide">Nsight Eclipse Edition</a></li>
            <li><a href="../profiler-users-guide/index.html" title="This is the guide to the Profiler.">Profiler</a></li>
            <li><a href="../cuda-binary-utilities/index.html" title="The application notes for cuobjdump and nvdisasm.">CUDA Binary Utilities</a></li>
            <li><a href="../floating-point/index.html" title="A number of issues related to floating point accuracy and compliance are a frequent source of confusion on both CPUs and GPUs. The purpose of this white paper is to discuss the most common issues related to NVIDIA GPUs and to supplement the documentation in the CUDA C Programming Guide.">Floating Point and IEEE 754</a></li>
            <li><a href="../incomplete-lu-cholesky/index.html" title="In this white paper we show how to use the CUSPARSE and CUBLAS libraries to achieve a 2x speedup over CPU in the incomplete-LU and Cholesky preconditioned iterative methods. We focus on the Bi-Conjugate Gradient Stabilized and Conjugate Gradient iterative methods, that can be used to solve large sparse nonsymmetric and symmetric positive definite linear systems, respectively. Also, we comment on the parallel sparse triangular solve, which is an essential building block in these algorithms.">Incomplete-LU and Cholesky Preconditioned Iterative Methods</a></li>
            <li><a href="../libnvvm-api/index.html" title="The libNVVM API.">libNVVM API</a></li>
            <li><a href="../libdevice-users-guide/index.html" title="The libdevice library is an LLVM bitcode library that implements common functions for GPU kernels.">libdevice User's Guide</a></li>
            <li><a href="../nvvm-ir-spec/index.html" title="NVVM IR is a compiler IR (internal representation) based on the LLVM IR. The NVVM IR is designed to represent GPU compute kernels (for example, CUDA kernels). High-level language front-ends, like the CUDA C compiler front-end, can generate NVVM IR.">NVVM IR</a></li>
            <li><a href="../cupti/index.html" title="The CUPTI API.">CUPTI</a></li>
            <li><a href="../debugger-api/index.html" title="The CUDA debugger API.">Debugger API</a></li>
            <li><a href="../gpudirect-rdma/index.html" title="A tool for Kepler-class GPUs and CUDA 5.0 enabling a direct path for communication between the GPU and a peer device on the PCI Express bus when the devices share the same upstream root complex using standard features of PCI Express. This document introduces the technology and describes the steps necessary to enable a RDMA for GPUDirect connection to NVIDIA GPUs within the Linux device driver model.">RDMA for GPUDirect</a></li>
         </ul>
         <div class="category"><span class="twiddle">▼</span><a href="index.html" title="CUDA Driver API">CUDA Driver API</a></div>
         <ul>
            <li><a href="api-sync-behavior.html#api-sync-behavior">1.&nbsp;API synchronization behavior </a></li>
            <li><a href="modules.html#modules">2.&nbsp;Modules</a><ul>
                  <li><a href="group__CUDA__TYPES.html#group__CUDA__TYPES">2.1.&nbsp;Data types used by CUDA driver</a></li>
                  <li><a href="group__CUDA__INITIALIZE.html#group__CUDA__INITIALIZE">2.2.&nbsp;Initialization</a></li>
                  <li><a href="group__CUDA__VERSION.html#group__CUDA__VERSION">2.3.&nbsp;Version Management</a></li>
                  <li><a href="group__CUDA__DEVICE.html#group__CUDA__DEVICE">2.4.&nbsp;Device Management</a></li>
                  <li><a href="group__CUDA__DEVICE__DEPRECATED.html#group__CUDA__DEVICE__DEPRECATED">2.5.&nbsp;Device Management [DEPRECATED]</a></li>
                  <li><a href="group__CUDA__CTX.html#group__CUDA__CTX">2.6.&nbsp;Context Management</a></li>
                  <li><a href="group__CUDA__CTX__DEPRECATED.html#group__CUDA__CTX__DEPRECATED">2.7.&nbsp;Context Management [DEPRECATED]</a></li>
                  <li><a href="group__CUDA__MODULE.html#group__CUDA__MODULE">2.8.&nbsp;Module Management</a></li>
                  <li><a href="group__CUDA__MEM.html#group__CUDA__MEM">2.9.&nbsp;Memory Management</a></li>
                  <li><a href="group__CUDA__UNIFIED.html#group__CUDA__UNIFIED">2.10.&nbsp;Unified Addressing</a></li>
                  <li><a href="group__CUDA__STREAM.html#group__CUDA__STREAM">2.11.&nbsp;Stream Management</a></li>
                  <li><a href="group__CUDA__EVENT.html#group__CUDA__EVENT">2.12.&nbsp;Event Management</a></li>
                  <li><a href="group__CUDA__EXEC.html#group__CUDA__EXEC">2.13.&nbsp;Execution Control</a></li>
                  <li><a href="group__CUDA__EXEC__DEPRECATED.html#group__CUDA__EXEC__DEPRECATED">2.14.&nbsp;Execution Control [DEPRECATED]</a></li>
                  <li><a href="group__CUDA__TEXREF.html#group__CUDA__TEXREF">2.15.&nbsp;Texture Reference Management</a></li>
                  <li><a href="group__CUDA__TEXREF__DEPRECATED.html#group__CUDA__TEXREF__DEPRECATED">2.16.&nbsp;Texture Reference Management [DEPRECATED]</a></li>
                  <li><a href="group__CUDA__SURFREF.html#group__CUDA__SURFREF">2.17.&nbsp;Surface Reference Management</a></li>
                  <li><a href="group__CUDA__TEXOBJECT.html#group__CUDA__TEXOBJECT">2.18.&nbsp;Texture Object Management</a></li>
                  <li><a href="group__CUDA__SURFOBJECT.html#group__CUDA__SURFOBJECT">2.19.&nbsp;Surface Object Management</a></li>
                  <li><a href="group__CUDA__PEER__ACCESS.html#group__CUDA__PEER__ACCESS">2.20.&nbsp;Peer Context Memory Access</a></li>
                  <li><a href="group__CUDA__GRAPHICS.html#group__CUDA__GRAPHICS">2.21.&nbsp;Graphics Interoperability</a></li>
                  <li><a href="group__CUDA__PROFILER.html#group__CUDA__PROFILER">2.22.&nbsp;Profiler Control</a></li>
                  <li><a href="group__CUDA__GL.html#group__CUDA__GL">2.23.&nbsp;OpenGL Interoperability</a><ul>
                        <li><a href="group__CUDA__GL__DEPRECATED.html#group__CUDA__GL__DEPRECATED">2.23.1.&nbsp;OpenGL Interoperability [DEPRECATED]</a></li>
                     </ul>
                  </li>
                  <li><a href="group__CUDA__D3D9.html#group__CUDA__D3D9">2.24.&nbsp;Direct3D 9 Interoperability</a><ul>
                        <li><a href="group__CUDA__D3D9__DEPRECATED.html#group__CUDA__D3D9__DEPRECATED">2.24.1.&nbsp;Direct3D 9 Interoperability [DEPRECATED]</a></li>
                     </ul>
                  </li>
                  <li><a href="group__CUDA__D3D10.html#group__CUDA__D3D10">2.25.&nbsp;Direct3D 10 Interoperability</a><ul>
                        <li><a href="group__CUDA__D3D10__DEPRECATED.html#group__CUDA__D3D10__DEPRECATED">2.25.1.&nbsp;Direct3D 10 Interoperability [DEPRECATED]</a></li>
                     </ul>
                  </li>
                  <li><a href="group__CUDA__D3D11.html#group__CUDA__D3D11">2.26.&nbsp;Direct3D 11 Interoperability</a><ul>
                        <li><a href="group__CUDA__D3D11__DEPRECATED.html#group__CUDA__D3D11__DEPRECATED">2.26.1.&nbsp;Direct3D 11 Interoperability [DEPRECATED]</a></li>
                     </ul>
                  </li>
                  <li><a href="group__CUDA__VDPAU.html#group__CUDA__VDPAU">2.27.&nbsp;VDPAU Interoperability</a></li>
               </ul>
            </li>
            <li><a href="annotated.html#annotated">3.&nbsp;Data Structures</a><ul>
                  <li><a href="structCUDA__ARRAY3D__DESCRIPTOR.html#structCUDA__ARRAY3D__DESCRIPTOR">3.1.&nbsp;CUDA_ARRAY3D_DESCRIPTOR</a></li>
                  <li><a href="structCUDA__ARRAY__DESCRIPTOR.html#structCUDA__ARRAY__DESCRIPTOR">3.2.&nbsp;CUDA_ARRAY_DESCRIPTOR</a></li>
                  <li><a href="structCUDA__MEMCPY2D.html#structCUDA__MEMCPY2D">3.3.&nbsp;CUDA_MEMCPY2D</a></li>
                  <li><a href="structCUDA__MEMCPY3D.html#structCUDA__MEMCPY3D">3.4.&nbsp;CUDA_MEMCPY3D</a></li>
                  <li><a href="structCUDA__MEMCPY3D__PEER.html#structCUDA__MEMCPY3D__PEER">3.5.&nbsp;CUDA_MEMCPY3D_PEER</a></li>
                  <li><a href="structCUDA__POINTER__ATTRIBUTE__P2P__TOKENS.html#structCUDA__POINTER__ATTRIBUTE__P2P__TOKENS">3.6.&nbsp;CUDA_POINTER_ATTRIBUTE_P2P_TOKENS</a></li>
                  <li><a href="structCUDA__RESOURCE__DESC.html#structCUDA__RESOURCE__DESC">3.7.&nbsp;CUDA_RESOURCE_DESC</a></li>
                  <li><a href="structCUDA__RESOURCE__VIEW__DESC.html#structCUDA__RESOURCE__VIEW__DESC">3.8.&nbsp;CUDA_RESOURCE_VIEW_DESC</a></li>
                  <li><a href="structCUDA__TEXTURE__DESC.html#structCUDA__TEXTURE__DESC">3.9.&nbsp;CUDA_TEXTURE_DESC</a></li>
                  <li><a href="structCUdevprop.html#structCUdevprop">3.10.&nbsp;CUdevprop</a></li>
                  <li><a href="structCUipcEventHandle.html#structCUipcEventHandle">3.11.&nbsp;CUipcEventHandle</a></li>
                  <li><a href="structCUipcMemHandle.html#structCUipcMemHandle">3.12.&nbsp;CUipcMemHandle</a></li>
               </ul>
            </li>
            <li><a href="functions.html#functions">4.&nbsp;Data Fields</a></li>
            <li><a href="deprecated.html#deprecated">5.&nbsp;Deprecated List</a></li>
            <li><a href="notices-header.html#notices-header">Notices</a><ul></ul>
            </li>
         </ul>
      </nav>
      <nav id="search-results">
         <h2>Search Results</h2>
         <ol></ol>
      </nav>
      <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/omniture/s_code_us_dev_aut1-nolinktrackin.js"></script>
      <script language="JavaScript" type="text/javascript" charset="utf-8" src="../common/scripts/omniture/omniture.js"></script>
      <noscript><a href="http://www.omniture.com" title="Web Analytics"><img src="http://omniture.nvidia.com/b/ss/nvidiacudadocs/1/H.17--NS/0" height="1" width="1" border="0" alt=""></img></a></noscript>
      <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>
      </body>
</html>