Skip to content

Commit

Permalink
Deploy Documentation: fix double promotion warning (NVIDIA#1768) 202a8b0
Browse files Browse the repository at this point in the history
  • Loading branch information
senior-zero committed Feb 21, 2023
1 parent 0885d0e commit 7332940
Show file tree
Hide file tree
Showing 10 changed files with 562 additions and 164 deletions.
42 changes: 42 additions & 0 deletions api/classes/classthrust_1_1device__vector.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,13 @@ A <code><a href="{{ site.baseurl }}/api/classes/classthrust_1_1device__vector.ht
<span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;typename OtherAlloc&gt;</span>
<span>&nbsp;&nbsp;<a href="{{ site.baseurl }}/api/classes/classthrust_1_1device__vector.html">device_vector</a> & </span><span>&nbsp;&nbsp;<b><a href="{{ site.baseurl }}/api/classes/classthrust_1_1device__vector.html#function-operator=">operator=</a></b>(const detail::vector_base< OtherT, OtherAlloc > & v);</span>
<br>
<span>&nbsp;&nbsp;<b><a href="{{ site.baseurl }}/api/classes/classthrust_1_1device__vector.html#function-device-vector">device&#95;vector</a></b>(std::initializer_list< T > il);</span>
<br>
<span>&nbsp;&nbsp;<b><a href="{{ site.baseurl }}/api/classes/classthrust_1_1device__vector.html#function-device-vector">device&#95;vector</a></b>(std::initializer_list< T > il,</span>
<span>&nbsp;&nbsp;&nbsp;&nbsp;const Alloc & alloc);</span>
<br>
<span>&nbsp;&nbsp;<a href="{{ site.baseurl }}/api/classes/classthrust_1_1device__vector.html">device_vector</a> & </span><span>&nbsp;&nbsp;<b><a href="{{ site.baseurl }}/api/classes/classthrust_1_1device__vector.html#function-operator=">operator=</a></b>(std::initializer_list< T > il);</span>
<br>
<span>&nbsp;&nbsp;template &lt;typename InputIterator&gt;</span>
<span>&nbsp;&nbsp;<b><a href="{{ site.baseurl }}/api/classes/classthrust_1_1device__vector.html#function-device-vector">device&#95;vector</a></b>(InputIterator first,</span>
<span>&nbsp;&nbsp;&nbsp;&nbsp;InputIterator last);</span>
Expand Down Expand Up @@ -324,6 +331,41 @@ Assign a <code>vector&#95;base</code> whose element type is convertible to <code
Function <code>thrust::device&#95;vector::device&#95;vector</code>
</h3>

<code class="doxybook">
<span><b>device_vector</b>(std::initializer_list< T > il);</span></code>
This constructor builds a <code><a href="{{ site.baseurl }}/api/classes/classthrust_1_1device__vector.html">device&#95;vector</a></code> from an intializer_list.

**Function Parameters**:
**`il`**: The intializer_list.

<h3 id="function-device-vector">
Function <code>thrust::device&#95;vector::device&#95;vector</code>
</h3>

<code class="doxybook">
<span><b>device_vector</b>(std::initializer_list< T > il,</span>
<span>&nbsp;&nbsp;const Alloc & alloc);</span></code>
This constructor builds a <code><a href="{{ site.baseurl }}/api/classes/classthrust_1_1device__vector.html">device&#95;vector</a></code> from an intializer_list.

**Function Parameters**:
* **`il`** The intializer_list.
* **`alloc`** The allocator to use by this <a href="{{ site.baseurl }}/api/classes/classthrust_1_1device__vector.html">device_vector</a>.

<h3 id="function-operator=">
Function <code>thrust::device&#95;vector::operator=</code>
</h3>

<code class="doxybook">
<span><a href="{{ site.baseurl }}/api/classes/classthrust_1_1device__vector.html">device_vector</a> & </span><span><b>operator=</b>(std::initializer_list< T > il);</span></code>
Assign an <code>intializer&#95;list</code> with a matching element type

**Function Parameters**:
**`il`**: The intializer_list.

<h3 id="function-device-vector">
Function <code>thrust::device&#95;vector::device&#95;vector</code>
</h3>

<code class="doxybook">
<span>template &lt;typename InputIterator&gt;</span>
<span><b>device_vector</b>(InputIterator first,</span>
Expand Down
Loading

0 comments on commit 7332940

Please sign in to comment.