> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kinetica.com/llms.txt
> Use this file to discover all available pages before exploring further.

# GPUdb

<div className="kinetica-doxygen">
  <div id="a4fba86159e87456ae7d24f89d9ad4ac3" />

  <h2 className="memtitle"><span className="permalink"><a href="#a4fba86159e87456ae7d24f89d9ad4ac3">◆ </a></span>GPUdb() <span className="overload">\[1/4]</span></h2>

  <div className="memitem">
    <div className="memproto">
      <table className="memname">
        <tr>
          <td className="memname">gpudb::GPUdb::GPUdb </td>
          <td>(</td>
          <td className="paramtype">const <a className="el" href="/content/api/cpp/classgpudb_1_1HttpUrl">HttpUrl</a> &</td>
          <td className="paramname"><span className="paramname"><span className="em">url</span></span>, </td>
        </tr>

        <tr>
          <td className="paramkey" />

          <td />

          <td className="paramtype">const <a className="el" href="/content/api/cpp/classgpudb_1_1GPUdb_1_1Options">Options</a> &</td>
          <td className="paramname"><span className="paramname"><span className="em">options</span></span><span className="paramdefsep"> = </span><span className="paramdefval"><a className="el" href="/content/api/cpp/classgpudb_1_1GPUdb_1_1Options">Options</a>()</span> )</td>
        </tr>
      </table>
    </div>

    <div className="memdoc">
      <p>Pass a single HttpURL and options to instantiate a <a className="el" href="/content/api/cpp/classgpudb_1_1GPUdb">GPUdb</a> object. </p>

      <div className="dl params">
        <div className="dt">Parameters</div>

        <div className="dd">
          <table className="params">
            <tr>
              <td className="paramdir">\[in]</td>
              <td className="paramname">url</td>
              <td>An HttpURL object containing the single host URL for the client. If no primary URL is specified via the options, the given URL will be used as the primary URL. </td>
            </tr>

            <tr>
              <td className="paramdir">\[in]</td>
              <td className="paramname">options</td>
              <td>An optional <a className="el" href="/content/api/cpp/classgpudb_1_1GPUdb_1_1Options">GPUdb::Options</a> object containing options, e.g. primary cluster URL, used to the create the <a className="el" href="/content/api/cpp/classgpudb_1_1GPUdb">GPUdb</a> object. </td>
            </tr>
          </table>
        </div>
      </div>
    </div>
  </div>

  <div id="a6b64b5387568345b97a16cbb75355544" />

  <h2 className="memtitle"><span className="permalink"><a href="#a6b64b5387568345b97a16cbb75355544">◆ </a></span>GPUdb() <span className="overload">\[2/4]</span></h2>

  <div className="memitem">
    <div className="memproto">
      <table className="memname">
        <tr>
          <td className="memname">gpudb::GPUdb::GPUdb </td>
          <td>(</td>
          <td className="paramtype">const std::string &</td>
          <td className="paramname"><span className="paramname"><span className="em">url</span></span>, </td>
        </tr>

        <tr>
          <td className="paramkey" />

          <td />

          <td className="paramtype">const <a className="el" href="/content/api/cpp/classgpudb_1_1GPUdb_1_1Options">Options</a> &</td>
          <td className="paramname"><span className="paramname"><span className="em">options</span></span><span className="paramdefsep"> = </span><span className="paramdefval"><a className="el" href="/content/api/cpp/classgpudb_1_1GPUdb_1_1Options">Options</a>()</span> )</td>
        </tr>
      </table>
    </div>

    <div className="memdoc">
      <p>Pass a single or multiple, comma-separated URLs as a string and optional options to instantiate a <a className="el" href="/content/api/cpp/classgpudb_1_1GPUdb">GPUdb</a> object. </p>

      <div className="dl params">
        <div className="dt">Parameters</div>

        <div className="dd">
          <table className="params">
            <tr>
              <td className="paramdir">\[in]</td>
              <td className="paramname">url</td>
              <td>An std::string containing the one host URL or a comma-separated string with multiple host URLs for the client. For example '<a href="http://172.42.40.1:9191,,http://172.42.40.2:9191'">[http://172.42.40.1:9191,,http://172.42.40.2:9191](http://172.42.40.1:9191,,http://172.42.40.2:9191)'</a>. If a single URL is given, and no primary URL is specified via the options, the given URL will be used as the primary URL. </td>
            </tr>

            <tr>
              <td className="paramdir">\[in]</td>
              <td className="paramname">options</td>
              <td>An optional <a className="el" href="/content/api/cpp/classgpudb_1_1GPUdb_1_1Options">GPUdb::Options</a> object containing options, e.g. primary cluster URL, used to the create the <a className="el" href="/content/api/cpp/classgpudb_1_1GPUdb">GPUdb</a> object. </td>
            </tr>
          </table>
        </div>
      </div>
    </div>
  </div>

  <div id="a4615d61b10db20286a0a8ebea681a2b8" />

  <h2 className="memtitle"><span className="permalink"><a href="#a4615d61b10db20286a0a8ebea681a2b8">◆ </a></span>GPUdb() <span className="overload">\[3/4]</span></h2>

  <div className="memitem">
    <div className="memproto">
      <table className="memname">
        <tr>
          <td className="memname">gpudb::GPUdb::GPUdb </td>
          <td>(</td>
          <td className="paramtype">const std::vector\< <a className="el" href="/content/api/cpp/classgpudb_1_1HttpUrl">HttpUrl</a> > &</td>
          <td className="paramname"><span className="paramname"><span className="em">urls</span></span>, </td>
        </tr>

        <tr>
          <td className="paramkey" />

          <td />

          <td className="paramtype">const <a className="el" href="/content/api/cpp/classgpudb_1_1GPUdb_1_1Options">Options</a> &</td>
          <td className="paramname"><span className="paramname"><span className="em">options</span></span><span className="paramdefsep"> = </span><span className="paramdefval"><a className="el" href="/content/api/cpp/classgpudb_1_1GPUdb_1_1Options">Options</a>()</span> )</td>
        </tr>
      </table>
    </div>

    <div className="memdoc">
      <p>Pass multiple HttpURLs and optional options to instantiate a <a className="el" href="/content/api/cpp/classgpudb_1_1GPUdb">GPUdb</a> object. </p>

      <div className="dl params">
        <div className="dt">Parameters</div>

        <div className="dd">
          <table className="params">
            <tr>
              <td className="paramdir">\[in]</td>
              <td className="paramname">urls</td>
              <td>The host URLs for the client. If a single URL is given, and no primary URL is specified via the options, the given URL will be used as the primary URL. </td>
            </tr>

            <tr>
              <td className="paramdir">\[in]</td>
              <td className="paramname">options</td>
              <td>An optional <a className="el" href="/content/api/cpp/classgpudb_1_1GPUdb_1_1Options">GPUdb::Options</a> object containing options, e.g. primary cluster URL, used to the create the <a className="el" href="/content/api/cpp/classgpudb_1_1GPUdb">GPUdb</a> object. </td>
            </tr>
          </table>
        </div>
      </div>
    </div>
  </div>

  <div id="af29ae0379d62e6b54e8434631f834f5f" />

  <h2 className="memtitle"><span className="permalink"><a href="#af29ae0379d62e6b54e8434631f834f5f">◆ </a></span>GPUdb() <span className="overload">\[4/4]</span></h2>

  <div className="memitem">
    <div className="memproto">
      <table className="memname">
        <tr>
          <td className="memname">gpudb::GPUdb::GPUdb </td>
          <td>(</td>
          <td className="paramtype">const std::vector\< std::string > &</td>
          <td className="paramname"><span className="paramname"><span className="em">urls</span></span>, </td>
        </tr>

        <tr>
          <td className="paramkey" />

          <td />

          <td className="paramtype">const <a className="el" href="/content/api/cpp/classgpudb_1_1GPUdb_1_1Options">Options</a> &</td>
          <td className="paramname"><span className="paramname"><span className="em">options</span></span><span className="paramdefsep"> = </span><span className="paramdefval"><a className="el" href="/content/api/cpp/classgpudb_1_1GPUdb_1_1Options">Options</a>()</span> )</td>
        </tr>
      </table>
    </div>

    <div className="memdoc">
      <p>Pass multiple strings, each containing a single URL, and optional options to instantiate a <a className="el" href="/content/api/cpp/classgpudb_1_1GPUdb">GPUdb</a> object. </p>

      <div className="dl params">
        <div className="dt">Parameters</div>

        <div className="dd">
          <table className="params">
            <tr>
              <td className="paramdir">\[in]</td>
              <td className="paramname">urls</td>
              <td>The host URLs for the client. Each string must contain a single valid URL. If a single URL is given, and no primary URL is specified via the options, the given URL will be used as the primary URL. </td>
            </tr>

            <tr>
              <td className="paramdir">\[in]</td>
              <td className="paramname">options</td>
              <td>An optional <a className="el" href="/content/api/cpp/classgpudb_1_1GPUdb_1_1Options">GPUdb::Options</a> object containing options, e.g. primary cluster URL, used to the create the <a className="el" href="/content/api/cpp/classgpudb_1_1GPUdb">GPUdb</a> object. </td>
            </tr>
          </table>
        </div>
      </div>
    </div>
  </div>
</div>
