Input descriptor for the GpuDispatcher's built-in copy kernel. More...
#include <PxGpuCopyDesc.h>
Public Types | |
enum | CopyType { HostToDevice, DeviceToHost, DeviceToDevice, DeviceMemset32 } |
Input descriptor for the GpuDispatcher's built-in copy kernel. More... | |
Public Member Functions | |
PX_INLINE bool | isValid () |
Copy is optimally performed as 64bit words, requires 64bit alignment. But it can gracefully degrade to 32bit copies if necessary. More... | |
Public Attributes | |
size_t | dest |
the destination More... | |
size_t | source |
the source (32bit value when type == DeviceMemset) More... | |
size_t | bytes |
the size in bytes More... | |
CopyType | type |
the memory transaction type More... | |
Input descriptor for the GpuDispatcher's built-in copy kernel.
All host memory involved in copy transactions must be page-locked. If more than one descriptor is passed to the copy kernel in one launch, the descriptors themselves must be in page-locked memory.
|
inline |
Copy is optimally performed as 64bit words, requires 64bit alignment. But it can gracefully degrade to 32bit copies if necessary.
References bytes.
Referenced by PxGpuCopyDescQueue::enqueue().
size_t PxGpuCopyDesc::bytes |
the size in bytes
Referenced by PxGpuCopyDescQueue::enqueue().
size_t PxGpuCopyDesc::dest |
the destination
size_t PxGpuCopyDesc::source |
the source (32bit value when type == DeviceMemset)
CopyType PxGpuCopyDesc::type |
the memory transaction type