cuStateVec Ex data types

Opaque data structures

custatevecExDictionaryDescriptor_t

typedef struct custatevecExDictionary *custatevecExDictionaryDescriptor_t

This descriptor holds a handle to a dictionary instance.

custatevecExStateVectorDescriptor_t

typedef struct custatevecExStateVector *custatevecExStateVectorDescriptor_t

This descriptor holds a handle to a state vector instance.

custatevecExSVUpdaterDescriptor_t

typedef struct custatevecExSVUpdater *custatevecExSVUpdaterDescriptor_t

This descriptor holds a handle to an SVUpdater instance.

custatevecExResourceManagerDescriptor_t

typedef struct custatevecExResourceManager *custatevecExResourceManagerDescriptor_t

This descriptor holds a handle to a resource manager instance.

Note

Custom resource manager is not supported in this release.


Enumerators

custatevecExStateVectorCapability_t

enum custatevecExStateVectorCapability_t

Bitmask that specifies state vector capability. This enum is reserved for future use.

Values:


custatevecExStateVectorDistributionType_t

enum custatevecExStateVectorDistributionType_t

Enum that specifies the distribution type of state vector.

Values:

enumerator CUSTATEVEC_EX_SV_DISTRIBUTION_SINGLE_DEVICE = 0

State vector on single device.


custatevecExStateVectorProperty_t

enum custatevecExStateVectorProperty_t

Specifies the name of state vector property.

Values:

enumerator CUSTATEVEC_EX_SV_PROP_DISTRIBUTION_TYPE = 0

Returns custatevecExStateVectorDistributionType_t.

enumerator CUSTATEVEC_EX_SV_PROP_DATA_TYPE = 1

Returns cudaDataType_t.

enumerator CUSTATEVEC_EX_SV_PROP_NUM_WIRES = 2

Returns int32_t.

enumerator CUSTATEVEC_EX_SV_PROP_WIRE_ORDERING = 3

Returns int32_t array.

enumerator CUSTATEVEC_EX_SV_PROP_NUM_LOCAL_WIRES = 4

Returns int32_t.

enumerator CUSTATEVEC_EX_SV_PROP_NUM_DEVICE_SUBSVS = 5

Returns int32_t.

enumerator CUSTATEVEC_EX_SV_PROP_DEVICE_SUBSV_INDICES = 6

Returns int32_t array.


custatevecExPermutationType_t

enum custatevecExPermutationType_t

Specifies the permutation type.

Values:

enumerator CUSTATEVEC_EX_PERMUTATION_SCATTER = 0

Scatter permutation.

enumerator CUSTATEVEC_EX_PERMUTATION_GATHER = 1

Gather permutation.


custatevecExMatrixType_t

enum custatevecExMatrixType_t

Specifies the type of matrix.

Values:

enumerator CUSTATEVEC_EX_MATRIX_DENSE = 1

Dense matrix.

enumerator CUSTATEVEC_EX_MATRIX_DIAGONAL = 2

Diagonal matrix.

enumerator CUSTATEVEC_EX_MATRIX_ANTI_DIAGONAL = 4

Anti-diagonal matrix.


custatevecExSVUpdaterConfigName_t

enum custatevecExSVUpdaterConfigName_t

Specifies the configuration argument type of SVUpdater.

Values:

enumerator CUSTATEVEC_EX_SVUPDATER_CONFIG_MAX_NUM_HOST_THREADS = 0

Number of host threads, int32_t.

enumerator CUSTATEVEC_EX_SVUPDATER_CONFIG_DENSE_FUSION_SIZE = 1

Dense fusion size, int32_t.

enumerator CUSTATEVEC_EX_SVUPDATER_CONFIG_DIAGONAL_FUSION_SIZE = 2

Diagonal fusion size, int32_t.


Structures

custatevecExSVUpdaterConfigItem_t

struct custatevecExSVUpdaterConfigItem_t

Specifies the configuration item of SVUpdater.

Public Members

custatevecExSVUpdaterConfigName_t name

Configuration name.

int32_t int32

int32 value

char placeholder[32]

Placeholder to keep 32 bytes for the value member.

union custatevecExSVUpdaterConfigItem_t::[anonymous] value

Configuration value.