Skip to content

Commit

Permalink
Deploy Documentation: Merge pull request NVIDIA#1799 from miscco/no_t…
Browse files Browse the repository at this point in the history
…hrow

Remove remnants of `throw()` d3e6fa1
mfbalin committed Oct 2, 2022

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent c4ebbe2 commit 9c18bb3
Showing 81 changed files with 2,679 additions and 1,681 deletions.
1 change: 1 addition & 0 deletions _sass/color_schemes/nvidia.scss
Original file line number Diff line number Diff line change
@@ -142,3 +142,4 @@ span.doxybook-comment
.highlight span.gd { color: #ff0000; } /* Generic.Deleted */
.highlight span.gi { color: #00ff00; } /* Generic.Inserted */

.search-input { color: $body-text-color; }
14 changes: 7 additions & 7 deletions api/classes/classthrust_1_1bad__optional__access.md.json
Original file line number Diff line number Diff line change
@@ -21,12 +21,12 @@
"kind": "class",
"language": "cpp",
"location": {
"bodyEnd": 822,
"bodyEnd": 807,
"bodyFile": "thrust/optional.h",
"bodyStart": 817,
"bodyStart": 802,
"column": 1,
"file": "thrust/optional.h",
"line": 817
"line": 802
},
"name": "thrust::bad_optional_access",
"override": false,
@@ -77,7 +77,7 @@
"location": {
"column": 3,
"file": "thrust/optional.h",
"line": 819
"line": 804
},
"name": "bad_optional_access",
"override": false,
@@ -108,12 +108,12 @@
"kind": "function",
"language": "cpp",
"location": {
"bodyEnd": 821,
"bodyEnd": 806,
"bodyFile": "thrust/optional.h",
"bodyStart": 821,
"bodyStart": 806,
"column": 14,
"file": "thrust/optional.h",
"line": 821
"line": 806
},
"name": "what",
"override": false,
14 changes: 7 additions & 7 deletions api/classes/classthrust_1_1device__allocator.md
Original file line number Diff line number Diff line change
@@ -68,19 +68,19 @@ An allocator which creates new elements in memory accessible by devices.
/* Inherited from <code><b><a href="{{ site.baseurl }}/api/classes/classthrust_1_1mr_1_1allocator.html">thrust::mr::allocator&lt; T, Upstream &gt;</a></b></code> */</span><span>&nbsp;&nbsp;template &lt;typename U&gt;</span>
<span>&nbsp;&nbsp;struct <b><a href="{{ site.baseurl }}/api/classes/structthrust_1_1mr_1_1allocator_1_1rebind.html">rebind</a></b>;</span>
<br>
<span>&nbsp;&nbsp;__host__ </span><span>&nbsp;&nbsp;<b><a href="{{ site.baseurl }}/api/classes/classthrust_1_1device__allocator.html#function-device-allocator">device&#95;allocator</a></b>();</span>
<span>&nbsp;&nbsp;__host__ __device__ </span><span>&nbsp;&nbsp;<b><a href="{{ site.baseurl }}/api/classes/classthrust_1_1device__allocator.html#function-device-allocator">device&#95;allocator</a></b>();</span>
<br>
<span>&nbsp;&nbsp;__host__ __device__ </span><span>&nbsp;&nbsp;<b><a href="{{ site.baseurl }}/api/classes/classthrust_1_1device__allocator.html#function-device-allocator">device&#95;allocator</a></b>(const <a href="{{ site.baseurl }}/api/classes/classthrust_1_1device__allocator.html">device_allocator</a> & other);</span>
<br>
<span>&nbsp;&nbsp;template &lt;typename U&gt;</span>
<span>&nbsp;&nbsp;__host__ </span><span>&nbsp;&nbsp;<b><a href="{{ site.baseurl }}/api/classes/classthrust_1_1device__allocator.html#function-device-allocator">device&#95;allocator</a></b>(const <a href="{{ site.baseurl }}/api/classes/classthrust_1_1device__allocator.html">device_allocator</a>< U > & other);</span>
<span>&nbsp;&nbsp;__host__ __device__ </span><span>&nbsp;&nbsp;<b><a href="{{ site.baseurl }}/api/classes/classthrust_1_1device__allocator.html#function-device-allocator">device&#95;allocator</a></b>(const <a href="{{ site.baseurl }}/api/classes/classthrust_1_1device__allocator.html">device_allocator</a>< U > & other);</span>
<br>
<span>&nbsp;&nbsp;<a href="{{ site.baseurl }}/api/classes/classthrust_1_1device__allocator.html">device_allocator</a> & </span><span>&nbsp;&nbsp;<b><a href="{{ site.baseurl }}/api/classes/classthrust_1_1device__allocator.html#function-operator=">operator=</a></b>(const <a href="{{ site.baseurl }}/api/classes/classthrust_1_1device__allocator.html">device_allocator</a> &) = default;</span>
<br>
<span>&nbsp;&nbsp;__host__ </span><span>&nbsp;&nbsp;<b><a href="{{ site.baseurl }}/api/classes/classthrust_1_1device__allocator.html#function-~device-allocator">~device&#95;allocator</a></b>();</span>
<span>&nbsp;&nbsp;__host__ __device__ </span><span>&nbsp;&nbsp;<b><a href="{{ site.baseurl }}/api/classes/classthrust_1_1device__allocator.html#function-~device-allocator">~device&#95;allocator</a></b>();</span>
<br>
<span class="doxybook-comment"><code>&nbsp;&nbsp;</code>
/* Inherited from <code><b><a href="{{ site.baseurl }}/api/classes/classthrust_1_1mr_1_1stateless__resource__allocator.html">thrust::mr::stateless&#95;resource&#95;allocator&lt; T, device&#95;ptr&#95;memory&#95;resource&lt; device&#95;memory&#95;resource &gt; &gt;</a></b></code> */</span><span>&nbsp;&nbsp;__host__ </span><span>&nbsp;&nbsp;<b><a href="{{ site.baseurl }}/api/classes/classthrust_1_1mr_1_1stateless__resource__allocator.html#function-stateless-resource-allocator">stateless&#95;resource&#95;allocator</a></b>();</span>
/* Inherited from <code><b><a href="{{ site.baseurl }}/api/classes/classthrust_1_1mr_1_1stateless__resource__allocator.html">thrust::mr::stateless&#95;resource&#95;allocator&lt; T, device&#95;ptr&#95;memory&#95;resource&lt; device&#95;memory&#95;resource &gt; &gt;</a></b></code> */</span><span>&nbsp;&nbsp;__thrust_exec_check_disable__ __host__ __device__ </span><span>&nbsp;&nbsp;<b><a href="{{ site.baseurl }}/api/classes/classthrust_1_1mr_1_1stateless__resource__allocator.html#function-stateless-resource-allocator">stateless&#95;resource&#95;allocator</a></b>();</span>
<br>
<span class="doxybook-comment"><code>&nbsp;&nbsp;</code>
/* Inherited from <code><b><a href="{{ site.baseurl }}/api/classes/classthrust_1_1mr_1_1stateless__resource__allocator.html">thrust::mr::stateless&#95;resource&#95;allocator&lt; T, device&#95;ptr&#95;memory&#95;resource&lt; device&#95;memory&#95;resource &gt; &gt;</a></b></code> */</span><span>&nbsp;&nbsp;__host__ __device__ </span><span>&nbsp;&nbsp;<b><a href="{{ site.baseurl }}/api/classes/classthrust_1_1mr_1_1stateless__resource__allocator.html#function-stateless-resource-allocator">stateless&#95;resource&#95;allocator</a></b>(const <a href="{{ site.baseurl }}/api/classes/classthrust_1_1mr_1_1stateless__resource__allocator.html">stateless_resource_allocator</a> & other);</span>
@@ -129,7 +129,7 @@ Function <code>thrust::device&#95;allocator::device&#95;allocator</code>
</h3>

<code class="doxybook">
<span>__host__ </span><span><b>device_allocator</b>();</span></code>
<span>__host__ __device__ </span><span><b>device_allocator</b>();</span></code>
Default constructor has no effect.

<h3 id="function-device-allocator">
@@ -146,7 +146,7 @@ Function <code>thrust::device&#95;allocator::device&#95;allocator</code>

<code class="doxybook">
<span>template &lt;typename U&gt;</span>
<span>__host__ </span><span><b>device_allocator</b>(const <a href="{{ site.baseurl }}/api/classes/classthrust_1_1device__allocator.html">device_allocator</a>< U > & other);</span></code>
<span>__host__ __device__ </span><span><b>device_allocator</b>(const <a href="{{ site.baseurl }}/api/classes/classthrust_1_1device__allocator.html">device_allocator</a>< U > & other);</span></code>
Constructor from other <code><a href="{{ site.baseurl }}/api/classes/classthrust_1_1device__allocator.html">device&#95;allocator</a></code> has no effect.

<h3 id="function-operator=">
@@ -160,7 +160,7 @@ Function <code>thrust::device&#95;allocator::~device&#95;allocator</code>
</h3>

<code class="doxybook">
<span>__host__ </span><span><b>~device_allocator</b>();</span></code>
<span>__host__ __device__ </span><span><b>~device_allocator</b>();</span></code>
Destructor has no effect.


66 changes: 33 additions & 33 deletions api/classes/classthrust_1_1device__allocator.md.json
Original file line number Diff line number Diff line change
@@ -28,7 +28,7 @@
"category": "functions",
"const": false,
"default": false,
"definition": "__host__ thrust::mr::stateless_resource_allocator< T, Upstream >::stateless_resource_allocator",
"definition": "__thrust_exec_check_disable__ __host__ __device__ thrust::mr::stateless_resource_allocator< T, Upstream >::stateless_resource_allocator",
"deleted": false,
"details": "Default constructor. Uses <code>get&#95;global&#95;resource</code> to get the global instance of <code>Upstream</code> and initializes the <code>allocator</code> base subobject with that resource. ",
"explicit": false,
@@ -38,24 +38,24 @@
"kind": "function",
"language": "cpp",
"location": {
"bodyEnd": 225,
"bodyEnd": 226,
"bodyFile": "thrust/mr/allocator.h",
"bodyStart": 223,
"bodyStart": 224,
"column": 5,
"file": "thrust/mr/allocator.h",
"line": 223
"line": 224
},
"name": "stateless_resource_allocator",
"override": false,
"params": [],
"pureVirtual": false,
"qualifiedname": "thrust::mr::stateless_resource_allocator::stateless_resource_allocator",
"refid": "classthrust_1_1mr_1_1stateless__resource__allocator_1a4963489c68fd728f140890153c8fcbb5",
"refid": "classthrust_1_1mr_1_1stateless__resource__allocator_1a04e0900fc42027bfff4704456f89bff0",
"static": false,
"strong": false,
"title": "stateless_resource_allocator",
"type": "__host__",
"typePlain": "__host__",
"type": "__thrust_exec_check_disable__ __host__ __device__",
"typePlain": "__thrust_exec_check_disable__ __host__ __device__",
"url": "{{ site.baseurl }}/api/classes/classthrust_1_1mr_1_1stateless__resource__allocator.html#function-stateless-resource-allocator",
"virtual": false,
"visibility": "public"
@@ -77,12 +77,12 @@
"kind": "function",
"language": "cpp",
"location": {
"bodyEnd": 230,
"bodyEnd": 231,
"bodyFile": "thrust/mr/allocator.h",
"bodyStart": 229,
"bodyStart": 230,
"column": 5,
"file": "thrust/mr/allocator.h",
"line": 229
"line": 230
},
"name": "stateless_resource_allocator",
"override": false,
@@ -122,12 +122,12 @@
"kind": "function",
"language": "cpp",
"location": {
"bodyEnd": 236,
"bodyEnd": 237,
"bodyFile": "thrust/mr/allocator.h",
"bodyStart": 235,
"bodyStart": 236,
"column": 5,
"file": "thrust/mr/allocator.h",
"line": 235
"line": 236
},
"name": "stateless_resource_allocator",
"override": false,
@@ -174,12 +174,12 @@
"kind": "function",
"language": "cpp",
"location": {
"bodyEnd": 244,
"bodyEnd": 245,
"bodyFile": "thrust/mr/allocator.h",
"bodyStart": 244,
"bodyStart": 245,
"column": 5,
"file": "thrust/mr/allocator.h",
"line": 244
"line": 245
},
"name": "~stateless_resource_allocator",
"override": false,
@@ -936,7 +936,7 @@
"kind": "class",
"language": "cpp",
"location": {
"bodyEnd": 137,
"bodyEnd": 135,
"bodyFile": "thrust/device_allocator.h",
"bodyStart": 97,
"column": 1,
@@ -1070,7 +1070,7 @@
"category": "functions",
"const": false,
"default": false,
"definition": "__host__ thrust::device_allocator< T >::device_allocator",
"definition": "__host__ __device__ thrust::device_allocator< T >::device_allocator",
"deleted": false,
"details": "Default constructor has no effect. ",
"explicit": false,
@@ -1092,12 +1092,12 @@
"params": [],
"pureVirtual": false,
"qualifiedname": "thrust::device_allocator::device_allocator",
"refid": "classthrust_1_1device__allocator_1a9874b90c9a945324b11405e882e69369",
"refid": "classthrust_1_1device__allocator_1a49dc5faafd0010c4b32de3c34272ea8f",
"static": false,
"strong": false,
"title": "device_allocator",
"type": "__host__",
"typePlain": "__host__",
"type": "__host__ __device__",
"typePlain": "__host__ __device__",
"url": "{{ site.baseurl }}/api/classes/classthrust_1_1device__allocator.html#function-device-allocator",
"virtual": false,
"visibility": "public"
@@ -1154,7 +1154,7 @@
"category": "functions",
"const": false,
"default": false,
"definition": "__host__ thrust::device_allocator< T >::device_allocator",
"definition": "__host__ __device__ thrust::device_allocator< T >::device_allocator",
"deleted": false,
"details": "Constructor from other <code><a href=\"{{ site.baseurl }}/api/classes/classthrust_1_1device__allocator.html\">device&#95;allocator</a></code> has no effect. ",
"explicit": false,
@@ -1182,7 +1182,7 @@
],
"pureVirtual": false,
"qualifiedname": "thrust::device_allocator::device_allocator",
"refid": "classthrust_1_1device__allocator_1a49e1302dd294a17ee9b4036d4d181844",
"refid": "classthrust_1_1device__allocator_1a78745d0ddd9ee6f701f6a6b8dbcc0dff",
"static": false,
"strong": false,
"templateParams": [
@@ -1193,8 +1193,8 @@
}
],
"title": "device_allocator",
"type": "__host__",
"typePlain": "__host__",
"type": "__host__ __device__",
"typePlain": "__host__ __device__",
"url": "{{ site.baseurl }}/api/classes/classthrust_1_1device__allocator.html#function-device-allocator",
"virtual": false,
"visibility": "public"
@@ -1217,7 +1217,7 @@
"location": {
"column": 23,
"file": "thrust/device_allocator.h",
"line": 131
"line": 130
},
"name": "operator=",
"override": false,
@@ -1247,7 +1247,7 @@
"category": "functions",
"const": false,
"default": false,
"definition": "__host__ thrust::device_allocator< T >::~device_allocator",
"definition": "__host__ __device__ thrust::device_allocator< T >::~device_allocator",
"deleted": false,
"details": "Destructor has no effect. ",
"explicit": false,
@@ -1257,24 +1257,24 @@
"kind": "function",
"language": "cpp",
"location": {
"bodyEnd": 136,
"bodyEnd": 134,
"bodyFile": "thrust/device_allocator.h",
"bodyStart": 136,
"bodyStart": 134,
"column": 5,
"file": "thrust/device_allocator.h",
"line": 136
"line": 134
},
"name": "~device_allocator",
"override": false,
"params": [],
"pureVirtual": false,
"qualifiedname": "thrust::device_allocator::~device_allocator",
"refid": "classthrust_1_1device__allocator_1a0f10409905aaf21b98b86f35884b3e4e",
"refid": "classthrust_1_1device__allocator_1aaf56de5eefa1813a6308902ef429ca4c",
"static": false,
"strong": false,
"title": "~device_allocator",
"type": "__host__",
"typePlain": "__host__",
"type": "__host__ __device__",
"typePlain": "__host__ __device__",
"url": "{{ site.baseurl }}/api/classes/classthrust_1_1device__allocator.html#function-~device-allocator",
"virtual": false,
"visibility": "public"
8 changes: 4 additions & 4 deletions api/classes/classthrust_1_1device__ptr.md
Original file line number Diff line number Diff line change
@@ -41,7 +41,7 @@ The raw pointer contained in a <code><a href="{{ site.baseurl }}/api/classes/cla
/* Construct a null <code><a href="{{ site.baseurl }}/api/classes/classthrust_1_1device__ptr.html">device&#95;ptr</a></code>. */</span><span>&nbsp;&nbsp;__host__ __device__ </span><span>&nbsp;&nbsp;<b><a href="{{ site.baseurl }}/api/classes/classthrust_1_1device__ptr.html#function-device-ptr">device&#95;ptr</a></b>();</span>
<br>
<span class="doxybook-comment"><code>&nbsp;&nbsp;</code>
/* Construct a null <code><a href="{{ site.baseurl }}/api/classes/classthrust_1_1device__ptr.html">device&#95;ptr</a></code>. */</span><span>&nbsp;&nbsp;__host__ __device__ </span><span>&nbsp;&nbsp;<b><a href="{{ site.baseurl }}/api/classes/classthrust_1_1device__ptr.html#function-device-ptr">device&#95;ptr</a></b>(std::nullptr_t ptr);</span>
/* Construct a null <code><a href="{{ site.baseurl }}/api/classes/classthrust_1_1device__ptr.html">device&#95;ptr</a></code>. */</span><span>&nbsp;&nbsp;__host__ __device__ </span><span>&nbsp;&nbsp;<b><a href="{{ site.baseurl }}/api/classes/classthrust_1_1device__ptr.html#function-device-ptr">device&#95;ptr</a></b>(std::nullptr_t);</span>
<br>
<span class="doxybook-comment"><code>&nbsp;&nbsp;</code>
/* Construct a <code><a href="{{ site.baseurl }}/api/classes/classthrust_1_1device__ptr.html">device&#95;ptr</a></code> from a raw pointer which is convertible to <code>T&#42;</code>. */</span><span>&nbsp;&nbsp;template &lt;typename U&gt;</span>
@@ -56,7 +56,7 @@ The raw pointer contained in a <code><a href="{{ site.baseurl }}/api/classes/cla
<span>&nbsp;&nbsp;__host__ __device__ <a href="{{ site.baseurl }}/api/classes/classthrust_1_1device__ptr.html">device_ptr</a> & </span><span>&nbsp;&nbsp;<b><a href="{{ site.baseurl }}/api/classes/classthrust_1_1device__ptr.html#function-operator=">operator=</a></b>(<a href="{{ site.baseurl }}/api/classes/classthrust_1_1device__ptr.html">device_ptr</a>< U > const & other);</span>
<br>
<span class="doxybook-comment"><code>&nbsp;&nbsp;</code>
/* Set this <code><a href="{{ site.baseurl }}/api/classes/classthrust_1_1device__ptr.html">device&#95;ptr</a></code> to null. */</span><span>&nbsp;&nbsp;__host__ __device__ <a href="{{ site.baseurl }}/api/classes/classthrust_1_1device__ptr.html">device_ptr</a> & </span><span>&nbsp;&nbsp;<b><a href="{{ site.baseurl }}/api/classes/classthrust_1_1device__ptr.html#function-operator=">operator=</a></b>(std::nullptr_t ptr);</span>
/* Set this <code><a href="{{ site.baseurl }}/api/classes/classthrust_1_1device__ptr.html">device&#95;ptr</a></code> to null. */</span><span>&nbsp;&nbsp;__host__ __device__ <a href="{{ site.baseurl }}/api/classes/classthrust_1_1device__ptr.html">device_ptr</a> & </span><span>&nbsp;&nbsp;<b><a href="{{ site.baseurl }}/api/classes/classthrust_1_1device__ptr.html#function-operator=">operator=</a></b>(std::nullptr_t);</span>
<br>
<span class="doxybook-comment"><code>&nbsp;&nbsp;</code>
/* Return the raw pointer that this <code><a href="{{ site.baseurl }}/api/classes/classthrust_1_1device__ptr.html">device&#95;ptr</a></code> points to. */</span><span>&nbsp;&nbsp;__host__ __device__ T * </span><span>&nbsp;&nbsp;<b><a href="{{ site.baseurl }}/api/classes/classthrust_1_1device__ptr.html#function-get">get</a></b>() const;</span>
@@ -81,7 +81,7 @@ Function <code>thrust::device&#95;ptr::device&#95;ptr</code>
</h3>

<code class="doxybook">
<span>__host__ __device__ </span><span><b>device_ptr</b>(std::nullptr_t ptr);</span></code>
<span>__host__ __device__ </span><span><b>device_ptr</b>(std::nullptr_t);</span></code>
Construct a null <code><a href="{{ site.baseurl }}/api/classes/classthrust_1_1device__ptr.html">device&#95;ptr</a></code>.

**Function Parameters**:
@@ -162,7 +162,7 @@ Function <code>thrust::device&#95;ptr::operator=</code>
</h3>

<code class="doxybook">
<span>__host__ __device__ <a href="{{ site.baseurl }}/api/classes/classthrust_1_1device__ptr.html">device_ptr</a> & </span><span><b>operator=</b>(std::nullptr_t ptr);</span></code>
<span>__host__ __device__ <a href="{{ site.baseurl }}/api/classes/classthrust_1_1device__ptr.html">device_ptr</a> & </span><span><b>operator=</b>(std::nullptr_t);</span></code>
Set this <code><a href="{{ site.baseurl }}/api/classes/classthrust_1_1device__ptr.html">device&#95;ptr</a></code> to null.

**Function Parameters**:
Loading

0 comments on commit 9c18bb3

Please sign in to comment.