From 3dfe2108cfab31ba3ee5527e217d0d8e99a51162 Mon Sep 17 00:00:00 2001
From: git perforce import user
Date: Tue, 25 Oct 2016 12:29:14 -0600
Subject: Initial commit: PhysX 3.4.0 Update @ 21294896 APEX 1.4.0 Update @
21275617
[CL 21300167]
---
.../PhysXAPI/files/PxGpuTask_8h-source.html | 111 +++++++++++++++++++++
1 file changed, 111 insertions(+)
create mode 100644 PhysX_3.4/Documentation/PhysXAPI/files/PxGpuTask_8h-source.html
(limited to 'PhysX_3.4/Documentation/PhysXAPI/files/PxGpuTask_8h-source.html')
diff --git a/PhysX_3.4/Documentation/PhysXAPI/files/PxGpuTask_8h-source.html b/PhysX_3.4/Documentation/PhysXAPI/files/PxGpuTask_8h-source.html
new file mode 100644
index 00000000..b0edc770
--- /dev/null
+++ b/PhysX_3.4/Documentation/PhysXAPI/files/PxGpuTask_8h-source.html
@@ -0,0 +1,111 @@
+
+
+ PxGpuTask.h
Go to the documentation of this file.
00001 // This code contains NVIDIA Confidential Information and is disclosed to you +00002 // under a form of NVIDIA software license agreement provided separately to you. +00003 // +00004 // Notice +00005 // NVIDIA Corporation and its licensors retain all intellectual property and +00006 // proprietary rights in and to this software and related documentation and +00007 // any modifications thereto. Any use, reproduction, disclosure, or +00008 // distribution of this software and related documentation without an express +00009 // license agreement from NVIDIA Corporation is strictly prohibited. +00010 // +00011 // ALL NVIDIA DESIGN SPECIFICATIONS, CODE ARE PROVIDED "AS IS.". NVIDIA MAKES +00012 // NO WARRANTIES, EXPRESSED, IMPLIED, STATUTORY, OR OTHERWISE WITH RESPECT TO +00013 // THE MATERIALS, AND EXPRESSLY DISCLAIMS ALL IMPLIED WARRANTIES OF NONINFRINGEMENT, +00014 // MERCHANTABILITY, AND FITNESS FOR A PARTICULAR PURPOSE. +00015 // +00016 // Information and code furnished is believed to be accurate and reliable. +00017 // However, NVIDIA Corporation assumes no responsibility for the consequences of use of such +00018 // information or for any infringement of patents or other rights of third parties that may +00019 // result from its use. No license is granted by implication or otherwise under any patent +00020 // or patent rights of NVIDIA Corporation. Details are subject to change without notice. +00021 // This code supersedes and replaces all information previously supplied. +00022 // NVIDIA Corporation products are not authorized for use as critical +00023 // components in life support devices or systems without express written approval of +00024 // NVIDIA Corporation. +00025 // +00026 // Copyright (c) 2008-2016 NVIDIA Corporation. All rights reserved. +00027 +00028 +00029 #ifndef PXTASK_PXGPUTASK_H +00030 #define PXTASK_PXGPUTASK_H +00031 +00032 #include "task/PxTaskDefine.h" +00033 #include "task/PxTask.h" +00034 #include "task/PxGpuDispatcher.h" +00035 +00036 namespace physx +00037 { +00038 +00039 PX_PUSH_PACK_DEFAULT +00040 +00051 struct PxGpuTaskHint +00052 { +00054 enum Enum +00055 { +00056 HostToDevice, +00057 Kernel, +00058 DeviceToHost, +00059 +00060 NUM_GPU_TASK_HINTS +00061 }; +00062 }; +00063 +00067 class PxGpuTask : public PxTask +00068 { +00069 public: +00070 PxGpuTask() : mComp(NULL) {} +00071 +00083 virtual bool launchInstance(CUstream stream, int kernelIndex) = 0; +00084 +00088 virtual PxGpuTaskHint::Enum getTaskHint() const = 0; +00089 +00094 void setCompletionTask(PxBaseTask& task) +00095 { +00096 mComp = &task; +00097 } +00098 +00099 void release() +00100 { +00101 if (mComp) +00102 { +00103 mComp->removeReference(); +00104 mComp = NULL; +00105 } +00106 PxTask::release(); +00107 } +00108 +00109 protected: +00111 PxBaseTask* mComp; +00112 }; +00113 +00114 PX_POP_PACK +00115 +00116 } // end physx namespace +00117 +00118 #endif // PXTASK_PXGPUTASK_H +