blob: cb8e9e14a17e52e9f1c71a696a1f70bd204134c1 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
|
<html>
<head>
<title>NVIDIA(R) PhysX(R) SDK 3.4 API Reference: physx::PxGpuTaskHint Struct Reference</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<LINK HREF="NVIDIA.css" REL="stylesheet" TYPE="text/css">
</head>
<body bgcolor="#FFFFFF">
<div id="header">
<hr class="first">
<img alt="" src="images/PhysXlogo.png" align="middle"> <br>
<center>
<a class="qindex" href="main.html">Main Page</a>
<a class="qindex" href="hierarchy.html">Class Hierarchy</a>
<a class="qindex" href="annotated.html">Compound List</a>
<a class="qindex" href="functions.html">Compound Members</a>
</center>
<hr class="second">
</div>
<!-- Generated by Doxygen 1.5.8 -->
<div class="navpath"><a class="el" href="namespacephysx.html">physx</a>::<a class="el" href="structphysx_1_1PxGpuTaskHint.html">PxGpuTaskHint</a>
</div>
<div class="contents">
<h1>physx::PxGpuTaskHint Struct Reference</h1><!-- doxytag: class="physx::PxGpuTaskHint" -->Define the 'flavor' of a <a class="el" href="classphysx_1_1PxGpuTask.html" title="PxTask implementation for launching CUDA work.">PxGpuTask</a>.
<a href="#_details">More...</a>
<p>
<code>#include <<a class="el" href="PxGpuTask_8h-source.html">PxGpuTask.h</a>></code>
<p>
<p>
<a href="structphysx_1_1PxGpuTaskHint-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Types</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><a class="el" href="structphysx_1_1PxGpuTaskHint.html#d04073eff7b52fedb0f551f7583bbc80">Enum</a> { <br>
<a class="el" href="structphysx_1_1PxGpuTaskHint.html#d04073eff7b52fedb0f551f7583bbc80d78c9d3251fa699d8efaa7a4116c3679">HostToDevice</a>,
<br>
<a class="el" href="structphysx_1_1PxGpuTaskHint.html#d04073eff7b52fedb0f551f7583bbc8037e966d05930ba223ff4a7bff05b0be2">Kernel</a>,
<br>
<a class="el" href="structphysx_1_1PxGpuTaskHint.html#d04073eff7b52fedb0f551f7583bbc80216f52509c0a9d07ef556dfe17dff8c6">DeviceToHost</a>,
<br>
<a class="el" href="structphysx_1_1PxGpuTaskHint.html#d04073eff7b52fedb0f551f7583bbc80bc8bb0ca370c3819f7da087a48fdf84a">NUM_GPU_TASK_HINTS</a>
<br>
}</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Enums for the type of GPU task. <a href="structphysx_1_1PxGpuTaskHint.html#d04073eff7b52fedb0f551f7583bbc80">More...</a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Define the 'flavor' of a <a class="el" href="classphysx_1_1PxGpuTask.html" title="PxTask implementation for launching CUDA work.">PxGpuTask</a>.
<p>
Each <a class="el" href="classphysx_1_1PxGpuTask.html" title="PxTask implementation for launching CUDA work.">PxGpuTask</a> should have a specific function; either copying data to the device, running kernels on that data, or copying data from the device.<p>
For optimal performance, the dispatcher should run all available HtoD tasks before running all Kernel tasks, and all Kernel tasks before running any DtoH tasks. This provides maximal kernel overlap and the least number of CUDA flushes. <hr><h2>Member Enumeration Documentation</h2>
<a class="anchor" name="d04073eff7b52fedb0f551f7583bbc80"></a><!-- doxytag: member="physx::PxGpuTaskHint::Enum" ref="d04073eff7b52fedb0f551f7583bbc80" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">enum <a class="el" href="structphysx_1_1PxGpuTaskHint.html#d04073eff7b52fedb0f551f7583bbc80">physx::PxGpuTaskHint::Enum</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Enums for the type of GPU task.
<p>
<dl compact><dt><b>Enumerator: </b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" name="d04073eff7b52fedb0f551f7583bbc80d78c9d3251fa699d8efaa7a4116c3679"></a><!-- doxytag: member="HostToDevice" ref="d04073eff7b52fedb0f551f7583bbc80d78c9d3251fa699d8efaa7a4116c3679" args="" -->HostToDevice</em> </td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="d04073eff7b52fedb0f551f7583bbc8037e966d05930ba223ff4a7bff05b0be2"></a><!-- doxytag: member="Kernel" ref="d04073eff7b52fedb0f551f7583bbc8037e966d05930ba223ff4a7bff05b0be2" args="" -->Kernel</em> </td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="d04073eff7b52fedb0f551f7583bbc80216f52509c0a9d07ef556dfe17dff8c6"></a><!-- doxytag: member="DeviceToHost" ref="d04073eff7b52fedb0f551f7583bbc80216f52509c0a9d07ef556dfe17dff8c6" args="" -->DeviceToHost</em> </td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="d04073eff7b52fedb0f551f7583bbc80bc8bb0ca370c3819f7da087a48fdf84a"></a><!-- doxytag: member="NUM_GPU_TASK_HINTS" ref="d04073eff7b52fedb0f551f7583bbc80bc8bb0ca370c3819f7da087a48fdf84a" args="" -->NUM_GPU_TASK_HINTS</em> </td><td>
</td></tr>
</table>
</dl>
</div>
</div><p>
<hr>The documentation for this struct was generated from the following file:<ul>
<li><a class="el" href="PxGpuTask_8h-source.html">PxGpuTask.h</a></ul>
</div>
<hr style="width: 100%; height: 2px;"><br>
Copyright © 2008-2018 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved. <a href="http://www.nvidia.com ">www.nvidia.com</a>
</body>
</html>
|