NVIDIA(R) PhysX(R) SDK 3.4 API Reference: physx::PxGpuTaskHint Struct Reference

NVIDIA PhysX SDK 3.4 API

physx::PxGpuTaskHint Struct Reference

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

#include <PxGpuTask.h>

List of all members.


Public Types

enum  Enum {
  HostToDevice,
  Kernel,
  DeviceToHost,
  NUM_GPU_TASK_HINTS
}
 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.

Enumerator:
HostToDevice 
Kernel 
DeviceToHost 
NUM_GPU_TASK_HINTS 


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. www.nvidia.com