public class cudaResourceDesc
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
cudaArray |
array_array
CUDA array for
cudaResourceType.cudaResourceTypeArray |
cudaChannelFormatDesc |
linear_desc
Channel descriptor for
cudaResourceType.cudaResourceTypeLinear |
Pointer |
linear_devPtr
Device pointer for
cudaResourceType.cudaResourceTypeLinear |
long |
linear_sizeInBytes
Size in bytes for
cudaResourceType.cudaResourceTypeLinear |
cudaMipmappedArray |
mipmap_mipmap
CUDA mipmapped array for
cudaResourceType.cudaResourceTypeMipmappedArray |
cudaChannelFormatDesc |
pitch2D_desc
Channel descriptor for
cudaResourceType.cudaResourceTypePitch2D |
Pointer |
pitch2D_devPtr
Device pointer for
cudaResourceType.cudaResourceTypePitch2D |
long |
pitch2D_height
Height of the array in elements for
cudaResourceType.cudaResourceTypePitch2D |
long |
pitch2D_pitchInBytes
Pitch between two rows in bytes for
cudaResourceType.cudaResourceTypePitch2D |
long |
pitch2D_width
Width of the array in elements for
cudaResourceType.cudaResourceTypePitch2D |
int |
resType
Resource type
|
| Constructor and Description |
|---|
cudaResourceDesc()
Creates a new, uninitialized cudaResourceDesc
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
toFormattedString()
Creates and returns a formatted (aligned, multi-line) String
representation of this object
|
java.lang.String |
toString()
Returns a String representation of this object.
|
public int resType
cudaResourceTypepublic cudaArray array_array
cudaResourceType.cudaResourceTypeArraypublic cudaMipmappedArray mipmap_mipmap
cudaResourceType.cudaResourceTypeMipmappedArraypublic Pointer linear_devPtr
cudaResourceType.cudaResourceTypeLinearpublic cudaChannelFormatDesc linear_desc
cudaResourceType.cudaResourceTypeLinearpublic long linear_sizeInBytes
cudaResourceType.cudaResourceTypeLinearpublic Pointer pitch2D_devPtr
cudaResourceType.cudaResourceTypePitch2Dpublic cudaChannelFormatDesc pitch2D_desc
cudaResourceType.cudaResourceTypePitch2Dpublic long pitch2D_width
cudaResourceType.cudaResourceTypePitch2Dpublic long pitch2D_height
cudaResourceType.cudaResourceTypePitch2Dpublic long pitch2D_pitchInBytes
cudaResourceType.cudaResourceTypePitch2Dpublic cudaResourceDesc()
public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String toFormattedString()