public class cudaResourceDesc extends 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 |
---|---|
String |
toFormattedString()
Creates and returns a formatted (aligned, multi-line) String
representation of this object
|
String |
toString()
Returns a String representation of this object.
|
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
public cudaResourceDesc()
Copyright © 2020. All rights reserved.