|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjcuda.runtime.cudaResourceDesc
public class cudaResourceDesc
CUDA resource descriptor NOTE: The structure of this class should be considered as being preliminary. In the C version, the internal fields are stored as a union. Depending on whether the union storage had a reason, the structure of this class might change accordingly.
Field Summary | |
---|---|
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 Summary | |
---|---|
cudaResourceDesc()
Creates a new, uninitialized cudaResourceDesc |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public int resType
cudaResourceType
public cudaArray array_array
cudaResourceType.cudaResourceTypeArray
public cudaMipmappedArray mipmap_mipmap
cudaResourceType.cudaResourceTypeMipmappedArray
public Pointer linear_devPtr
cudaResourceType.cudaResourceTypeLinear
public cudaChannelFormatDesc linear_desc
cudaResourceType.cudaResourceTypeLinear
public long linear_sizeInBytes
cudaResourceType.cudaResourceTypeLinear
public Pointer pitch2D_devPtr
cudaResourceType.cudaResourceTypePitch2D
public cudaChannelFormatDesc pitch2D_desc
cudaResourceType.cudaResourceTypePitch2D
public long pitch2D_width
cudaResourceType.cudaResourceTypePitch2D
public long pitch2D_height
cudaResourceType.cudaResourceTypePitch2D
public long pitch2D_pitchInBytes
cudaResourceType.cudaResourceTypePitch2D
Constructor Detail |
---|
public cudaResourceDesc()
Method Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toFormattedString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |