physx::PxGpuTaskHint Struct Reference

Define the 'flavor' of a PxGpuTask. More...

#include <PxGpuTask.h>

List of all members.

Public Types

enum  Enum {
 Enums for the type of GPU task. More...

Detailed Description

Define the 'flavor' of a PxGpuTask.

Each PxGpuTask should have a specific function; either copying data to the device, running kernels on that data, or copying data from the device.

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.

Member Enumeration Documentation

Enums for the type of GPU task.


The documentation for this struct was generated from the following file:

Copyright © 2008-2017 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved.