API reference guide#
This document provides information about hipTensor APIs, data types, and other programming constructs.
Supported GPU architectures#
List of supported CDNA architectures:
gfx908
gfx90a
gfx942
gfx950
Note
gfx9 = gfx908, gfx90a, gfx942, gfx950
gfx90a+ = gfx90a, gfx942, gfx950
List of supported RDNA architectures:
gfx1100
gfx1101
gfx1102
gfx1103
gfx1150
gfx1151
gfx1152
gfx1153
gfx1200
gfx1201
Note
gfx11 = gfx1100, gfx1101, gfx1102, gfx1103, gfx1150, gfx1151, gfx1152, gfx1153 gfx12 = gfx1200, gfx1201
Supported data types#
hipTensor supports the following datatype combinations in API functionality.
Data Types <Ti / To / Tc> = <Input type / Output Type / Compute Type>, where:
Input Type = Matrix A / B
Output Type = Matrix C / D
Compute Type = Math / accumulation type
f16 = half-precision floating point
bf16 = half-precision brain floating point
f32 = single-precision floating point
cf32 = complex single-precision floating point
f64 = double-precision floating point
cf64 = complex double-precision floating point
Note
f16 represents equivalent support for both _Float16 and __half types.
API context |
Datatype Support <Ti / To / Tc> |
GPU Support |
Tensor Rank Support |
|---|---|---|---|
Contraction (Scale, bilinear) |
f16 / f16 / f16 |
gfx11 gfx12 |
1m1n1k (Rank2) 2m2n2k (Rank4) 3m3n3k (Rank6) 4m4n4k (Rank8) 5m5n5k (Rank10) 6m6n6k (Rank12) |
bf16 / bf16 / bf16 |
|||
f32 / f32 / f16 |
gfx9 gfx11 gfx12 |
||
f32 / f32 / bf16 |
|||
f16 / f16 / f32 |
gfx9 |
||
bf16 / bf16 / f32 |
|||
f32 / f32 / f32 |
|||
cf32 / cf32 / cf32 |
|||
f64 / f64 / f64 |
gfx90a+ |
||
f64 / f64 / f32 |
|||
cf64 / cf64 / cf64 |
|||
Element-wise Operations |
f16 / f16 / - |
gfx9 gfx11 gfx12 |
Rank2 - Rank6 |
f16 / f32 / - |
|||
f32 / f32 / - |
|||
Reduction |
f16 / f16 / f16 |
gfx9 gfx11 gfx12 |
Rank1 - Rank6 |
f16 / f16 / f32 |
|||
bf16 / bf16 / bf16 |
|||
bf16 / bf16 / f32 |
|||
f32 / f32 / f32 |
|||
f64 / f64 / f64 |
gfx90a+ |
Limitations#
hipTensor currently supports tensors up to 2GB in size due to backend address-space limitations.
hipTensor API objects#
hiptensorDataType_t#
-
enum hiptensorDataType_t#
hipTensor data types
Values:
-
enumerator HIPTENSOR_R_32F#
-
enumerator HIPTENSOR_R_64F#
-
enumerator HIPTENSOR_R_16F#
-
enumerator HIPTENSOR_R_8I#
-
enumerator HIPTENSOR_C_32F#
-
enumerator HIPTENSOR_C_64F#
-
enumerator HIPTENSOR_C_16F#
-
enumerator HIPTENSOR_C_8I#
-
enumerator HIPTENSOR_R_8U#
-
enumerator HIPTENSOR_C_8U#
-
enumerator HIPTENSOR_R_32I#
-
enumerator HIPTENSOR_C_32I#
-
enumerator HIPTENSOR_R_32U#
-
enumerator HIPTENSOR_C_32U#
-
enumerator HIPTENSOR_R_16BF#
-
enumerator HIPTENSOR_C_16BF#
-
enumerator HIPTENSOR_R_4I#
-
enumerator HIPTENSOR_C_4I#
-
enumerator HIPTENSOR_R_4U#
-
enumerator HIPTENSOR_C_4U#
-
enumerator HIPTENSOR_R_16I#
-
enumerator HIPTENSOR_C_16I#
-
enumerator HIPTENSOR_R_16U#
-
enumerator HIPTENSOR_C_16U#
-
enumerator HIPTENSOR_R_64I#
-
enumerator HIPTENSOR_C_64I#
-
enumerator HIPTENSOR_R_64U#
-
enumerator HIPTENSOR_C_64U#
-
enumerator HIPTENSOR_R_32F#
hiptensorStatus_t#
-
enum hiptensorStatus_t#
hipTensor status type enumeration
The type is used to indicate the resulting status of hipTensor library function calls
Values:
-
enumerator HIPTENSOR_STATUS_SUCCESS#
The operation is successful.
-
enumerator HIPTENSOR_STATUS_NOT_INITIALIZED#
The handle was not initialized.
-
enumerator HIPTENSOR_STATUS_ALLOC_FAILED#
Resource allocation failed inside the hipTensor library.
-
enumerator HIPTENSOR_STATUS_INVALID_VALUE#
Invalid value or parameter was passed to the function (indicates a user error).
-
enumerator HIPTENSOR_STATUS_ARCH_MISMATCH#
Indicates that the target architecure is not supported, or the device is not ready.
-
enumerator HIPTENSOR_STATUS_EXECUTION_FAILED#
Indicates the failure of a GPU program or a kernel, which can be caused by multiple reasons.
-
enumerator HIPTENSOR_STATUS_INTERNAL_ERROR#
An internal error has occurred.
-
enumerator HIPTENSOR_STATUS_NOT_SUPPORTED#
The requested operation is not supported.
-
enumerator HIPTENSOR_STATUS_CK_ERROR#
A call to Composable Kernels did not succeed.
-
enumerator HIPTENSOR_STATUS_HIP_ERROR#
Unknown hipTensor error has occurred.
-
enumerator HIPTENSOR_STATUS_INSUFFICIENT_WORKSPACE#
The provided workspace was insufficient.
-
enumerator HIPTENSOR_STATUS_INSUFFICIENT_DRIVER#
Indicates that the driver version is insufficient.
-
enumerator HIPTENSOR_STATUS_IO_ERROR#
Indicates an error related to file I/O.
-
enumerator HIPTENSOR_STATUS_SUCCESS#
hiptensorComputeDescriptor_t#
-
enum hiptensorComputeDescriptor_t#
hipTensor compute type enumeration
Values:
-
enumerator HIPTENSOR_COMPUTE_DESC_32F#
Single precision floating point.
-
enumerator HIPTENSOR_COMPUTE_DESC_64F#
Double precision floating point.
-
enumerator HIPTENSOR_COMPUTE_DESC_16F#
Half precision floating point.
-
enumerator HIPTENSOR_COMPUTE_DESC_16BF#
Brain float half precision floating point.
-
enumerator HIPTENSOR_COMPUTE_DESC_C32F#
Complex single precision floating point.
-
enumerator HIPTENSOR_COMPUTE_DESC_C64F#
Complex double precision floating point.
-
enumerator HIPTENSOR_COMPUTE_DESC_NONE#
No type.
-
enumerator HIPTENSOR_COMPUTE_DESC_32F#
hiptensorOperator_t#
-
enum hiptensorOperator_t#
Element-wise operations.
Values:
-
enumerator HIPTENSOR_OP_IDENTITY#
Identity operator (i.e., elements are not changed)
-
enumerator HIPTENSOR_OP_SQRT#
Square root.
-
enumerator HIPTENSOR_OP_RELU#
Rectified linear unit.
-
enumerator HIPTENSOR_OP_CONJ#
Complex conjugate.
-
enumerator HIPTENSOR_OP_RCP#
Reciprocal.
-
enumerator HIPTENSOR_OP_SIGMOID#
y=1/(1+exp(-x))
-
enumerator HIPTENSOR_OP_TANH#
y=tanh(x)
-
enumerator HIPTENSOR_OP_EXP#
Exponentiation.
-
enumerator HIPTENSOR_OP_LOG#
Log (base e).
-
enumerator HIPTENSOR_OP_ABS#
Absolute value.
-
enumerator HIPTENSOR_OP_NEG#
Negation.
-
enumerator HIPTENSOR_OP_SIN#
Sine.
-
enumerator HIPTENSOR_OP_COS#
Cosine.
-
enumerator HIPTENSOR_OP_TAN#
Tangent.
-
enumerator HIPTENSOR_OP_SINH#
Hyperbolic sine.
-
enumerator HIPTENSOR_OP_COSH#
Hyperbolic cosine.
-
enumerator HIPTENSOR_OP_ASIN#
Inverse sine.
-
enumerator HIPTENSOR_OP_ACOS#
Inverse cosine.
-
enumerator HIPTENSOR_OP_ATAN#
Inverse tangent.
-
enumerator HIPTENSOR_OP_ASINH#
Inverse hyperbolic sine.
-
enumerator HIPTENSOR_OP_ACOSH#
Inverse hyperbolic cosine.
-
enumerator HIPTENSOR_OP_ATANH#
Inverse hyperbolic tangent.
-
enumerator HIPTENSOR_OP_CEIL#
Ceiling.
-
enumerator HIPTENSOR_OP_FLOOR#
Floor.
-
enumerator HIPTENSOR_OP_ADD#
Addition of two elements.
-
enumerator HIPTENSOR_OP_MUL#
Multiplication of two elements.
-
enumerator HIPTENSOR_OP_MAX#
Maximum of two elements.
-
enumerator HIPTENSOR_OP_MIN#
Minimum of two elements.
-
enumerator HIPTENSOR_OP_UNKNOWN#
reserved for internal use only)
-
enumerator HIPTENSOR_OP_IDENTITY#
hiptensorAlgo_t#
-
enum hiptensorAlgo_t#
Tensor contraction kernel selection algorithm.
Values:
-
enumerator HIPTENSOR_ALGO_ACTOR_CRITIC#
Uses novel actor-critic selection model.
-
enumerator HIPTENSOR_ALGO_DEFAULT#
Lets the internal heuristic choose.
-
enumerator HIPTENSOR_ALGO_DEFAULT_PATIENT#
Uses the more accurate and time-consuming model.
-
enumerator HIPTENSOR_ALGO_ACTOR_CRITIC#
hiptensorWorksizePreference_t#
-
enum hiptensorWorksizePreference_t#
Workspace size selection.
Values:
-
enumerator HIPTENSOR_WORKSPACE_MIN#
At least one algorithm will be available.
-
enumerator HIPTENSOR_WORKSPACE_DEFAULT#
The most suitable algorithm will be available.
-
enumerator HIPTENSOR_WORKSPACE_MAX#
All algorithms will be available.
-
enumerator HIPTENSOR_WORKSPACE_MIN#
hiptensorLogLevel_t#
-
enum hiptensorLogLevel_t#
Logging context.
The logger output of certain contexts maybe constrained to these levels
Values:
-
enumerator HIPTENSOR_LOG_LEVEL_OFF#
No logging.
-
enumerator HIPTENSOR_LOG_LEVEL_ERROR#
Log errors.
-
enumerator HIPTENSOR_LOG_LEVEL_PERF_TRACE#
Log performance messages.
-
enumerator HIPTENSOR_LOG_LEVEL_PERF_HINT#
Log performance hints.
-
enumerator HIPTENSOR_LOG_LEVEL_HEURISTICS_TRACE#
Log selection messages.
-
enumerator HIPTENSOR_LOG_LEVEL_API_TRACE#
Log a trace of API calls.
-
enumerator HIPTENSOR_LOG_LEVEL_OFF#
hiptensorOperationDescriptorAttribute_t#
-
enum hiptensorOperationDescriptorAttribute_t#
Values:
-
enumerator HIPTENSOR_OPERATION_DESCRIPTOR_TAG#
-
enumerator HIPTENSOR_OPERATION_DESCRIPTOR_SCALAR_TYPE#
-
enumerator HIPTENSOR_OPERATION_DESCRIPTOR_FLOPS#
-
enumerator HIPTENSOR_OPERATION_DESCRIPTOR_MOVED_BYTES#
-
enumerator HIPTENSOR_OPERATION_DESCRIPTOR_PADDING_LEFT#
-
enumerator HIPTENSOR_OPERATION_DESCRIPTOR_PADDING_RIGHT#
-
enumerator HIPTENSOR_OPERATION_DESCRIPTOR_PADDING_VALUE#
-
enumerator HIPTENSOR_OPERATION_DESCRIPTOR_TAG#
hiptensorPlanPreferenceAttribute_t#
-
enum hiptensorPlanPreferenceAttribute_t#
Values:
-
enumerator HIPTENSOR_PLAN_PREFERENCE_AUTOTUNE_MODE#
-
enumerator HIPTENSOR_PLAN_PREFERENCE_CACHE_MODE#
-
enumerator HIPTENSOR_PLAN_PREFERENCE_INCREMENTAL_COUNT#
-
enumerator HIPTENSOR_PLAN_PREFERENCE_ALGO#
-
enumerator HIPTENSOR_PLAN_PREFERENCE_KERNEL_RANK#
-
enumerator HIPTENSOR_PLAN_PREFERENCE_JIT#
-
enumerator HIPTENSOR_PLAN_PREFERENCE_AUTOTUNE_MODE#
hiptensorPlanAttribute_t#
hiptensorAutotuneMode_t#
hiptensorCacheMode_t#
hiptensorJitMode_t#
hiptensorLoggerCallback_t#
-
typedef void (*hiptensorLoggerCallback_t)(int32_t logContext, const char *funcName, const char *msg)#
Logging callback The specified callback is invoked whenever logging is enabled and a message is generated.
- Param logContext:
The logging context enum
- Param funcName:
A string holding the function name where the logging message was generated
- Param msg:
A string holding the logging message
hiptensorHandle_t#
-
struct hiptensorHandle#
hipTensor’s library context
Pointer to hiptensorHandle.
hiptensorPlan_t#
-
struct hiptensorPlan#
Pointer to hiptensorPlan.
hiptensorTensorDescriptor#
-
struct hiptensorTensorDescriptor#
Structure representing a tensor descriptor.
Pointer to hiptensorTensorDescriptor.
Represents a descriptor for the tensor with the given properties of data type, lengths, strides and element-wise unary operation. Constructed with hiptensorInitTensorDescriptor() function.
hiptensorOperationDescriptor#
-
struct hiptensorOperationDescriptor#
Pointer to hiptensorOperationDescriptor.
hiptensorPlanPreference#
-
struct hiptensorPlanPreference#
Pointer to hiptensorPlanPreference.
Helper functions#
hiptensorCreate#
Warning
doxygenfunction: Unable to resolve function “hiptensorCreate” with arguments “None”. Candidate function could not be parsed. Parsing error is Error when parsing function declaration. If the function has no return type: Error in declarator or parameters-and-qualifiers Invalid C++ declaration: Expecting “(” in parameters-and-qualifiers. [error at 17] HIPTENSOR_EXPORT hiptensorStatus_t hiptensorCreate (hiptensorHandle_t *handle) —————–^ If the function has a return type: Error in declarator or parameters-and-qualifiers If pointer to member declarator: Invalid C++ declaration: Expected ‘::’ in pointer to member (function). [error at 35] HIPTENSOR_EXPORT hiptensorStatus_t hiptensorCreate (hiptensorHandle_t *handle) ———————————–^ If declarator-id: Invalid C++ declaration: Expecting “(” in parameters-and-qualifiers. [error at 35] HIPTENSOR_EXPORT hiptensorStatus_t hiptensorCreate (hiptensorHandle_t *handle) ———————————–^
hiptensorDestroy#
Warning
doxygenfunction: Unable to resolve function “hiptensorDestroy” with arguments “None”. Candidate function could not be parsed. Parsing error is Error when parsing function declaration. If the function has no return type: Error in declarator or parameters-and-qualifiers Invalid C++ declaration: Expecting “(” in parameters-and-qualifiers. [error at 17] HIPTENSOR_EXPORT hiptensorStatus_t hiptensorDestroy (hiptensorHandle_t handle) —————–^ If the function has a return type: Error in declarator or parameters-and-qualifiers If pointer to member declarator: Invalid C++ declaration: Expected ‘::’ in pointer to member (function). [error at 35] HIPTENSOR_EXPORT hiptensorStatus_t hiptensorDestroy (hiptensorHandle_t handle) ———————————–^ If declarator-id: Invalid C++ declaration: Expecting “(” in parameters-and-qualifiers. [error at 35] HIPTENSOR_EXPORT hiptensorStatus_t hiptensorDestroy (hiptensorHandle_t handle) ———————————–^
hiptensorHandleResizePlanCache#
Warning
doxygenfunction: Unable to resolve function “hiptensorHandleResizePlanCache” with arguments “None”. Candidate function could not be parsed. Parsing error is Error when parsing function declaration. If the function has no return type: Error in declarator or parameters-and-qualifiers Invalid C++ declaration: Expecting “(” in parameters-and-qualifiers. [error at 17] HIPTENSOR_EXPORT hiptensorStatus_t hiptensorHandleResizePlanCache (hiptensorHandle_t handle, const uint32_t numEntries) —————–^ If the function has a return type: Error in declarator or parameters-and-qualifiers If pointer to member declarator: Invalid C++ declaration: Expected ‘::’ in pointer to member (function). [error at 35] HIPTENSOR_EXPORT hiptensorStatus_t hiptensorHandleResizePlanCache (hiptensorHandle_t handle, const uint32_t numEntries) ———————————–^ If declarator-id: Invalid C++ declaration: Expecting “(” in parameters-and-qualifiers. [error at 35] HIPTENSOR_EXPORT hiptensorStatus_t hiptensorHandleResizePlanCache (hiptensorHandle_t handle, const uint32_t numEntries) ———————————–^
hiptensorHandleWritePlanCacheToFile#
Warning
doxygenfunction: Unable to resolve function “hiptensorHandleWritePlanCacheToFile” with arguments “None”. Candidate function could not be parsed. Parsing error is Error when parsing function declaration. If the function has no return type: Error in declarator or parameters-and-qualifiers Invalid C++ declaration: Expecting “(” in parameters-and-qualifiers. [error at 17] HIPTENSOR_EXPORT hiptensorStatus_t hiptensorHandleWritePlanCacheToFile (const hiptensorHandle_t handle, const char fileName[]) —————–^ If the function has a return type: Error in declarator or parameters-and-qualifiers If pointer to member declarator: Invalid C++ declaration: Expected ‘::’ in pointer to member (function). [error at 35] HIPTENSOR_EXPORT hiptensorStatus_t hiptensorHandleWritePlanCacheToFile (const hiptensorHandle_t handle, const char fileName[]) ———————————–^ If declarator-id: Invalid C++ declaration: Expecting “(” in parameters-and-qualifiers. [error at 35] HIPTENSOR_EXPORT hiptensorStatus_t hiptensorHandleWritePlanCacheToFile (const hiptensorHandle_t handle, const char fileName[]) ———————————–^
hiptensorHandleReadPlanCacheFromFile#
Warning
doxygenfunction: Unable to resolve function “hiptensorHandleReadPlanCacheFromFile” with arguments “None”. Candidate function could not be parsed. Parsing error is Error when parsing function declaration. If the function has no return type: Error in declarator or parameters-and-qualifiers Invalid C++ declaration: Expecting “(” in parameters-and-qualifiers. [error at 17] HIPTENSOR_EXPORT hiptensorStatus_t hiptensorHandleReadPlanCacheFromFile (hiptensorHandle_t handle, const char fileName[], uint32_t *numCachelinesRead) —————–^ If the function has a return type: Error in declarator or parameters-and-qualifiers If pointer to member declarator: Invalid C++ declaration: Expected ‘::’ in pointer to member (function). [error at 35] HIPTENSOR_EXPORT hiptensorStatus_t hiptensorHandleReadPlanCacheFromFile (hiptensorHandle_t handle, const char fileName[], uint32_t *numCachelinesRead) ———————————–^ If declarator-id: Invalid C++ declaration: Expecting “(” in parameters-and-qualifiers. [error at 35] HIPTENSOR_EXPORT hiptensorStatus_t hiptensorHandleReadPlanCacheFromFile (hiptensorHandle_t handle, const char fileName[], uint32_t *numCachelinesRead) ———————————–^
hiptensorWriteKernelCacheToFile#
Warning
doxygenfunction: Unable to resolve function “hiptensorWriteKernelCacheToFile” with arguments “None”. Candidate function could not be parsed. Parsing error is Error when parsing function declaration. If the function has no return type: Error in declarator or parameters-and-qualifiers Invalid C++ declaration: Expecting “(” in parameters-and-qualifiers. [error at 17] HIPTENSOR_EXPORT hiptensorStatus_t hiptensorWriteKernelCacheToFile (const hiptensorHandle_t handle, const char fileName[]) —————–^ If the function has a return type: Error in declarator or parameters-and-qualifiers If pointer to member declarator: Invalid C++ declaration: Expected ‘::’ in pointer to member (function). [error at 35] HIPTENSOR_EXPORT hiptensorStatus_t hiptensorWriteKernelCacheToFile (const hiptensorHandle_t handle, const char fileName[]) ———————————–^ If declarator-id: Invalid C++ declaration: Expecting “(” in parameters-and-qualifiers. [error at 35] HIPTENSOR_EXPORT hiptensorStatus_t hiptensorWriteKernelCacheToFile (const hiptensorHandle_t handle, const char fileName[]) ———————————–^
hiptensorReadKernelCacheFromFile#
Warning
doxygenfunction: Unable to resolve function “hiptensorReadKernelCacheFromFile” with arguments “None”. Candidate function could not be parsed. Parsing error is Error when parsing function declaration. If the function has no return type: Error in declarator or parameters-and-qualifiers Invalid C++ declaration: Expecting “(” in parameters-and-qualifiers. [error at 17] HIPTENSOR_EXPORT hiptensorStatus_t hiptensorReadKernelCacheFromFile (hiptensorHandle_t handle, const char fileName[]) —————–^ If the function has a return type: Error in declarator or parameters-and-qualifiers If pointer to member declarator: Invalid C++ declaration: Expected ‘::’ in pointer to member (function). [error at 35] HIPTENSOR_EXPORT hiptensorStatus_t hiptensorReadKernelCacheFromFile (hiptensorHandle_t handle, const char fileName[]) ———————————–^ If declarator-id: Invalid C++ declaration: Expecting “(” in parameters-and-qualifiers. [error at 35] HIPTENSOR_EXPORT hiptensorStatus_t hiptensorReadKernelCacheFromFile (hiptensorHandle_t handle, const char fileName[]) ———————————–^
hiptensorCreateTensorDescriptor#
Warning
doxygenfunction: Unable to resolve function “hiptensorCreateTensorDescriptor” with arguments “None”. Candidate function could not be parsed. Parsing error is Error when parsing function declaration. If the function has no return type: Error in declarator or parameters-and-qualifiers Invalid C++ declaration: Expecting “(” in parameters-and-qualifiers. [error at 17] HIPTENSOR_EXPORT hiptensorStatus_t hiptensorCreateTensorDescriptor (const hiptensorHandle_t handle, hiptensorTensorDescriptor_t *desc, const uint32_t numModes, const int64_t lens[], const int64_t strides[], hiptensorDataType_t dataType, uint32_t alignmentRequirement) —————–^ If the function has a return type: Error in declarator or parameters-and-qualifiers If pointer to member declarator: Invalid C++ declaration: Expected ‘::’ in pointer to member (function). [error at 35] HIPTENSOR_EXPORT hiptensorStatus_t hiptensorCreateTensorDescriptor (const hiptensorHandle_t handle, hiptensorTensorDescriptor_t *desc, const uint32_t numModes, const int64_t lens[], const int64_t strides[], hiptensorDataType_t dataType, uint32_t alignmentRequirement) ———————————–^ If declarator-id: Invalid C++ declaration: Expecting “(” in parameters-and-qualifiers. [error at 35] HIPTENSOR_EXPORT hiptensorStatus_t hiptensorCreateTensorDescriptor (const hiptensorHandle_t handle, hiptensorTensorDescriptor_t *desc, const uint32_t numModes, const int64_t lens[], const int64_t strides[], hiptensorDataType_t dataType, uint32_t alignmentRequirement) ———————————–^
hiptensorDestroyTensorDescriptor#
Warning
doxygenfunction: Unable to resolve function “hiptensorDestroyTensorDescriptor” with arguments “None”. Candidate function could not be parsed. Parsing error is Error when parsing function declaration. If the function has no return type: Error in declarator or parameters-and-qualifiers Invalid C++ declaration: Expecting “(” in parameters-and-qualifiers. [error at 17] HIPTENSOR_EXPORT hiptensorStatus_t hiptensorDestroyTensorDescriptor (hiptensorTensorDescriptor_t desc) —————–^ If the function has a return type: Error in declarator or parameters-and-qualifiers If pointer to member declarator: Invalid C++ declaration: Expected ‘::’ in pointer to member (function). [error at 35] HIPTENSOR_EXPORT hiptensorStatus_t hiptensorDestroyTensorDescriptor (hiptensorTensorDescriptor_t desc) ———————————–^ If declarator-id: Invalid C++ declaration: Expecting “(” in parameters-and-qualifiers. [error at 35] HIPTENSOR_EXPORT hiptensorStatus_t hiptensorDestroyTensorDescriptor (hiptensorTensorDescriptor_t desc) ———————————–^
hiptensorDestroyOperationDescriptor#
Warning
doxygenfunction: Unable to resolve function “hiptensorDestroyOperationDescriptor” with arguments “None”. Candidate function could not be parsed. Parsing error is Error when parsing function declaration. If the function has no return type: Error in declarator or parameters-and-qualifiers Invalid C++ declaration: Expecting “(” in parameters-and-qualifiers. [error at 17] HIPTENSOR_EXPORT hiptensorStatus_t hiptensorDestroyOperationDescriptor (hiptensorOperationDescriptor_t desc) —————–^ If the function has a return type: Error in declarator or parameters-and-qualifiers If pointer to member declarator: Invalid C++ declaration: Expected ‘::’ in pointer to member (function). [error at 35] HIPTENSOR_EXPORT hiptensorStatus_t hiptensorDestroyOperationDescriptor (hiptensorOperationDescriptor_t desc) ———————————–^ If declarator-id: Invalid C++ declaration: Expecting “(” in parameters-and-qualifiers. [error at 35] HIPTENSOR_EXPORT hiptensorStatus_t hiptensorDestroyOperationDescriptor (hiptensorOperationDescriptor_t desc) ———————————–^
hiptensorOperationDescriptorSetAttribute#
Warning
doxygenfunction: Unable to resolve function “hiptensorOperationDescriptorSetAttribute” with arguments “None”. Candidate function could not be parsed. Parsing error is Error when parsing function declaration. If the function has no return type: Error in declarator or parameters-and-qualifiers Invalid C++ declaration: Expecting “(” in parameters-and-qualifiers. [error at 17] HIPTENSOR_EXPORT hiptensorStatus_t hiptensorOperationDescriptorSetAttribute (const hiptensorHandle_t handle, hiptensorOperationDescriptor_t desc, hiptensorOperationDescriptorAttribute_t attr, const void *buf, size_t sizeInBytes) —————–^ If the function has a return type: Error in declarator or parameters-and-qualifiers If pointer to member declarator: Invalid C++ declaration: Expected ‘::’ in pointer to member (function). [error at 35] HIPTENSOR_EXPORT hiptensorStatus_t hiptensorOperationDescriptorSetAttribute (const hiptensorHandle_t handle, hiptensorOperationDescriptor_t desc, hiptensorOperationDescriptorAttribute_t attr, const void *buf, size_t sizeInBytes) ———————————–^ If declarator-id: Invalid C++ declaration: Expecting “(” in parameters-and-qualifiers. [error at 35] HIPTENSOR_EXPORT hiptensorStatus_t hiptensorOperationDescriptorSetAttribute (const hiptensorHandle_t handle, hiptensorOperationDescriptor_t desc, hiptensorOperationDescriptorAttribute_t attr, const void *buf, size_t sizeInBytes) ———————————–^
hiptensorOperationDescriptorGetAttribute#
Warning
doxygenfunction: Unable to resolve function “hiptensorOperationDescriptorGetAttribute” with arguments “None”. Candidate function could not be parsed. Parsing error is Error when parsing function declaration. If the function has no return type: Error in declarator or parameters-and-qualifiers Invalid C++ declaration: Expecting “(” in parameters-and-qualifiers. [error at 17] HIPTENSOR_EXPORT hiptensorStatus_t hiptensorOperationDescriptorGetAttribute (const hiptensorHandle_t handle, hiptensorOperationDescriptor_t desc, hiptensorOperationDescriptorAttribute_t attr, void *buf, size_t sizeInBytes) —————–^ If the function has a return type: Error in declarator or parameters-and-qualifiers If pointer to member declarator: Invalid C++ declaration: Expected ‘::’ in pointer to member (function). [error at 35] HIPTENSOR_EXPORT hiptensorStatus_t hiptensorOperationDescriptorGetAttribute (const hiptensorHandle_t handle, hiptensorOperationDescriptor_t desc, hiptensorOperationDescriptorAttribute_t attr, void *buf, size_t sizeInBytes) ———————————–^ If declarator-id: Invalid C++ declaration: Expecting “(” in parameters-and-qualifiers. [error at 35] HIPTENSOR_EXPORT hiptensorStatus_t hiptensorOperationDescriptorGetAttribute (const hiptensorHandle_t handle, hiptensorOperationDescriptor_t desc, hiptensorOperationDescriptorAttribute_t attr, void *buf, size_t sizeInBytes) ———————————–^
hiptensorCreatePlanPreference#
Warning
doxygenfunction: Unable to resolve function “hiptensorCreatePlanPreference” with arguments “None”. Candidate function could not be parsed. Parsing error is Error when parsing function declaration. If the function has no return type: Error in declarator or parameters-and-qualifiers Invalid C++ declaration: Expecting “(” in parameters-and-qualifiers. [error at 17] HIPTENSOR_EXPORT hiptensorStatus_t hiptensorCreatePlanPreference (const hiptensorHandle_t handle, hiptensorPlanPreference_t *pref, hiptensorAlgo_t algo, hiptensorJitMode_t jitMode) —————–^ If the function has a return type: Error in declarator or parameters-and-qualifiers If pointer to member declarator: Invalid C++ declaration: Expected ‘::’ in pointer to member (function). [error at 35] HIPTENSOR_EXPORT hiptensorStatus_t hiptensorCreatePlanPreference (const hiptensorHandle_t handle, hiptensorPlanPreference_t *pref, hiptensorAlgo_t algo, hiptensorJitMode_t jitMode) ———————————–^ If declarator-id: Invalid C++ declaration: Expecting “(” in parameters-and-qualifiers. [error at 35] HIPTENSOR_EXPORT hiptensorStatus_t hiptensorCreatePlanPreference (const hiptensorHandle_t handle, hiptensorPlanPreference_t *pref, hiptensorAlgo_t algo, hiptensorJitMode_t jitMode) ———————————–^
hiptensorDestroyPlanPreference#
Warning
doxygenfunction: Unable to resolve function “hiptensorDestroyPlanPreference” with arguments “None”. Candidate function could not be parsed. Parsing error is Error when parsing function declaration. If the function has no return type: Error in declarator or parameters-and-qualifiers Invalid C++ declaration: Expecting “(” in parameters-and-qualifiers. [error at 17] HIPTENSOR_EXPORT hiptensorStatus_t hiptensorDestroyPlanPreference (hiptensorPlanPreference_t pref) —————–^ If the function has a return type: Error in declarator or parameters-and-qualifiers If pointer to member declarator: Invalid C++ declaration: Expected ‘::’ in pointer to member (function). [error at 35] HIPTENSOR_EXPORT hiptensorStatus_t hiptensorDestroyPlanPreference (hiptensorPlanPreference_t pref) ———————————–^ If declarator-id: Invalid C++ declaration: Expecting “(” in parameters-and-qualifiers. [error at 35] HIPTENSOR_EXPORT hiptensorStatus_t hiptensorDestroyPlanPreference (hiptensorPlanPreference_t pref) ———————————–^
hiptensorPlanPreferenceSetAttribute#
Warning
doxygenfunction: Unable to resolve function “hiptensorPlanPreferenceSetAttribute” with arguments “None”. Candidate function could not be parsed. Parsing error is Error when parsing function declaration. If the function has no return type: Error in declarator or parameters-and-qualifiers Invalid C++ declaration: Expecting “(” in parameters-and-qualifiers. [error at 17] HIPTENSOR_EXPORT hiptensorStatus_t hiptensorPlanPreferenceSetAttribute (const hiptensorHandle_t handle, hiptensorPlanPreference_t pref, hiptensorPlanPreferenceAttribute_t attr, const void *buf, size_t sizeInBytes) —————–^ If the function has a return type: Error in declarator or parameters-and-qualifiers If pointer to member declarator: Invalid C++ declaration: Expected ‘::’ in pointer to member (function). [error at 35] HIPTENSOR_EXPORT hiptensorStatus_t hiptensorPlanPreferenceSetAttribute (const hiptensorHandle_t handle, hiptensorPlanPreference_t pref, hiptensorPlanPreferenceAttribute_t attr, const void *buf, size_t sizeInBytes) ———————————–^ If declarator-id: Invalid C++ declaration: Expecting “(” in parameters-and-qualifiers. [error at 35] HIPTENSOR_EXPORT hiptensorStatus_t hiptensorPlanPreferenceSetAttribute (const hiptensorHandle_t handle, hiptensorPlanPreference_t pref, hiptensorPlanPreferenceAttribute_t attr, const void *buf, size_t sizeInBytes) ———————————–^
hiptensorPlanGetAttribute#
Warning
doxygenfunction: Unable to resolve function “hiptensorPlanGetAttribute” with arguments “None”. Candidate function could not be parsed. Parsing error is Error when parsing function declaration. If the function has no return type: Error in declarator or parameters-and-qualifiers Invalid C++ declaration: Expecting “(” in parameters-and-qualifiers. [error at 17] HIPTENSOR_EXPORT hiptensorStatus_t hiptensorPlanGetAttribute (const hiptensorHandle_t handle, const hiptensorPlan_t plan, hiptensorPlanAttribute_t attr, void *buf, size_t sizeInBytes) —————–^ If the function has a return type: Error in declarator or parameters-and-qualifiers If pointer to member declarator: Invalid C++ declaration: Expected ‘::’ in pointer to member (function). [error at 35] HIPTENSOR_EXPORT hiptensorStatus_t hiptensorPlanGetAttribute (const hiptensorHandle_t handle, const hiptensorPlan_t plan, hiptensorPlanAttribute_t attr, void *buf, size_t sizeInBytes) ———————————–^ If declarator-id: Invalid C++ declaration: Expecting “(” in parameters-and-qualifiers. [error at 35] HIPTENSOR_EXPORT hiptensorStatus_t hiptensorPlanGetAttribute (const hiptensorHandle_t handle, const hiptensorPlan_t plan, hiptensorPlanAttribute_t attr, void *buf, size_t sizeInBytes) ———————————–^
hiptensorEstimateWorkspaceSize#
Warning
doxygenfunction: Unable to resolve function “hiptensorEstimateWorkspaceSize” with arguments “None”. Candidate function could not be parsed. Parsing error is Error when parsing function declaration. If the function has no return type: Error in declarator or parameters-and-qualifiers Invalid C++ declaration: Expecting “(” in parameters-and-qualifiers. [error at 17] HIPTENSOR_EXPORT hiptensorStatus_t hiptensorEstimateWorkspaceSize (const hiptensorHandle_t handle, const hiptensorOperationDescriptor_t desc, const hiptensorPlanPreference_t planPref, const hiptensorWorksizePreference_t workspacePref, uint64_t *workspaceSizeEstimate) —————–^ If the function has a return type: Error in declarator or parameters-and-qualifiers If pointer to member declarator: Invalid C++ declaration: Expected ‘::’ in pointer to member (function). [error at 35] HIPTENSOR_EXPORT hiptensorStatus_t hiptensorEstimateWorkspaceSize (const hiptensorHandle_t handle, const hiptensorOperationDescriptor_t desc, const hiptensorPlanPreference_t planPref, const hiptensorWorksizePreference_t workspacePref, uint64_t *workspaceSizeEstimate) ———————————–^ If declarator-id: Invalid C++ declaration: Expecting “(” in parameters-and-qualifiers. [error at 35] HIPTENSOR_EXPORT hiptensorStatus_t hiptensorEstimateWorkspaceSize (const hiptensorHandle_t handle, const hiptensorOperationDescriptor_t desc, const hiptensorPlanPreference_t planPref, const hiptensorWorksizePreference_t workspacePref, uint64_t *workspaceSizeEstimate) ———————————–^
hiptensorCreatePlan#
Warning
doxygenfunction: Unable to resolve function “hiptensorCreatePlan” with arguments “None”. Candidate function could not be parsed. Parsing error is Error when parsing function declaration. If the function has no return type: Error in declarator or parameters-and-qualifiers Invalid C++ declaration: Expecting “(” in parameters-and-qualifiers. [error at 17] HIPTENSOR_EXPORT hiptensorStatus_t hiptensorCreatePlan (const hiptensorHandle_t handle, hiptensorPlan_t *plan, const hiptensorOperationDescriptor_t desc, const hiptensorPlanPreference_t pref, uint64_t workspaceSizeLimit) —————–^ If the function has a return type: Error in declarator or parameters-and-qualifiers If pointer to member declarator: Invalid C++ declaration: Expected ‘::’ in pointer to member (function). [error at 35] HIPTENSOR_EXPORT hiptensorStatus_t hiptensorCreatePlan (const hiptensorHandle_t handle, hiptensorPlan_t *plan, const hiptensorOperationDescriptor_t desc, const hiptensorPlanPreference_t pref, uint64_t workspaceSizeLimit) ———————————–^ If declarator-id: Invalid C++ declaration: Expecting “(” in parameters-and-qualifiers. [error at 35] HIPTENSOR_EXPORT hiptensorStatus_t hiptensorCreatePlan (const hiptensorHandle_t handle, hiptensorPlan_t *plan, const hiptensorOperationDescriptor_t desc, const hiptensorPlanPreference_t pref, uint64_t workspaceSizeLimit) ———————————–^
hiptensorDestroyPlan#
Warning
doxygenfunction: Unable to resolve function “hiptensorDestroyPlan” with arguments “None”. Candidate function could not be parsed. Parsing error is Error when parsing function declaration. If the function has no return type: Error in declarator or parameters-and-qualifiers Invalid C++ declaration: Expecting “(” in parameters-and-qualifiers. [error at 17] HIPTENSOR_EXPORT hiptensorStatus_t hiptensorDestroyPlan (hiptensorPlan_t plan) —————–^ If the function has a return type: Error in declarator or parameters-and-qualifiers If pointer to member declarator: Invalid C++ declaration: Expected ‘::’ in pointer to member (function). [error at 35] HIPTENSOR_EXPORT hiptensorStatus_t hiptensorDestroyPlan (hiptensorPlan_t plan) ———————————–^ If declarator-id: Invalid C++ declaration: Expecting “(” in parameters-and-qualifiers. [error at 35] HIPTENSOR_EXPORT hiptensorStatus_t hiptensorDestroyPlan (hiptensorPlan_t plan) ———————————–^
hiptensorGetErrorString#
Warning
doxygenfunction: Unable to resolve function “hiptensorGetErrorString” with arguments “None”. Candidate function could not be parsed. Parsing error is Error when parsing function declaration. If the function has no return type: Error in declarator or parameters-and-qualifiers Invalid C++ declaration: Expecting “(” in parameters-and-qualifiers. [error at 17] HIPTENSOR_EXPORT const char * hiptensorGetErrorString (const hiptensorStatus_t error) —————–^ If the function has a return type: Error in declarator or parameters-and-qualifiers If pointer to member declarator: Invalid C++ declaration: Expected identifier in nested name, got keyword: char [error at 27] HIPTENSOR_EXPORT const char * hiptensorGetErrorString (const hiptensorStatus_t error) —————————^ If declarator-id: Invalid C++ declaration: Expected identifier in nested name, got keyword: char [error at 27] HIPTENSOR_EXPORT const char * hiptensorGetErrorString (const hiptensorStatus_t error) —————————^
hiptensorGetVersion#
Warning
doxygenfunction: Unable to resolve function “hiptensorGetVersion” with arguments “None”. Candidate function could not be parsed. Parsing error is Error when parsing function declaration. If the function has no return type: Error in declarator or parameters-and-qualifiers Invalid C++ declaration: Expecting “(” in parameters-and-qualifiers. [error at 17] HIPTENSOR_EXPORT size_t hiptensorGetVersion () —————–^ If the function has a return type: Error in declarator or parameters-and-qualifiers If pointer to member declarator: Invalid C++ declaration: Expected ‘::’ in pointer to member (function). [error at 24] HIPTENSOR_EXPORT size_t hiptensorGetVersion () ————————^ If declarator-id: Invalid C++ declaration: Expecting “(” in parameters-and-qualifiers. [error at 24] HIPTENSOR_EXPORT size_t hiptensorGetVersion () ————————^
hiptensorGetHiprtVersion#
Warning
doxygenfunction: Unable to resolve function “hiptensorGetHiprtVersion” with arguments “None”. Candidate function could not be parsed. Parsing error is Error when parsing function declaration. If the function has no return type: Error in declarator or parameters-and-qualifiers Invalid C++ declaration: Expecting “(” in parameters-and-qualifiers. [error at 17] HIPTENSOR_EXPORT int hiptensorGetHiprtVersion () —————–^ If the function has a return type: Error in declarator or parameters-and-qualifiers If pointer to member declarator: Invalid C++ declaration: Expected identifier in nested name, got keyword: int [error at 20] HIPTENSOR_EXPORT int hiptensorGetHiprtVersion () ——————–^ If declarator-id: Invalid C++ declaration: Expected identifier in nested name, got keyword: int [error at 20] HIPTENSOR_EXPORT int hiptensorGetHiprtVersion () ——————–^
Contraction operations#
hiptensorCreateContraction#
Warning
doxygenfunction: Unable to resolve function “hiptensorCreateContraction” with arguments “None”. Candidate function could not be parsed. Parsing error is Error when parsing function declaration. If the function has no return type: Error in declarator or parameters-and-qualifiers Invalid C++ declaration: Expecting “(” in parameters-and-qualifiers. [error at 17] HIPTENSOR_EXPORT hiptensorStatus_t hiptensorCreateContraction (const hiptensorHandle_t handle, hiptensorOperationDescriptor_t *desc, const hiptensorTensorDescriptor_t descA, const int32_t modeA[], hiptensorOperator_t opA, const hiptensorTensorDescriptor_t descB, const int32_t modeB[], hiptensorOperator_t opB, const hiptensorTensorDescriptor_t descC, const int32_t modeC[], hiptensorOperator_t opC, const hiptensorTensorDescriptor_t descD, const int32_t modeD[], const hiptensorComputeDescriptor_t descCompute) —————–^ If the function has a return type: Error in declarator or parameters-and-qualifiers If pointer to member declarator: Invalid C++ declaration: Expected ‘::’ in pointer to member (function). [error at 35] HIPTENSOR_EXPORT hiptensorStatus_t hiptensorCreateContraction (const hiptensorHandle_t handle, hiptensorOperationDescriptor_t *desc, const hiptensorTensorDescriptor_t descA, const int32_t modeA[], hiptensorOperator_t opA, const hiptensorTensorDescriptor_t descB, const int32_t modeB[], hiptensorOperator_t opB, const hiptensorTensorDescriptor_t descC, const int32_t modeC[], hiptensorOperator_t opC, const hiptensorTensorDescriptor_t descD, const int32_t modeD[], const hiptensorComputeDescriptor_t descCompute) ———————————–^ If declarator-id: Invalid C++ declaration: Expecting “(” in parameters-and-qualifiers. [error at 35] HIPTENSOR_EXPORT hiptensorStatus_t hiptensorCreateContraction (const hiptensorHandle_t handle, hiptensorOperationDescriptor_t *desc, const hiptensorTensorDescriptor_t descA, const int32_t modeA[], hiptensorOperator_t opA, const hiptensorTensorDescriptor_t descB, const int32_t modeB[], hiptensorOperator_t opB, const hiptensorTensorDescriptor_t descC, const int32_t modeC[], hiptensorOperator_t opC, const hiptensorTensorDescriptor_t descD, const int32_t modeD[], const hiptensorComputeDescriptor_t descCompute) ———————————–^
hiptensorContract#
Warning
doxygenfunction: Unable to resolve function “hiptensorContract” with arguments “None”. Candidate function could not be parsed. Parsing error is Error when parsing function declaration. If the function has no return type: Error in declarator or parameters-and-qualifiers Invalid C++ declaration: Expecting “(” in parameters-and-qualifiers. [error at 17] HIPTENSOR_EXPORT hiptensorStatus_t hiptensorContract (const hiptensorHandle_t handle, const hiptensorPlan_t plan, const void *alpha, const void *A, const void *B, const void *beta, const void *C, void *D, void *workspace, uint64_t workspaceSize, hipStream_t stream) —————–^ If the function has a return type: Error in declarator or parameters-and-qualifiers If pointer to member declarator: Invalid C++ declaration: Expected ‘::’ in pointer to member (function). [error at 35] HIPTENSOR_EXPORT hiptensorStatus_t hiptensorContract (const hiptensorHandle_t handle, const hiptensorPlan_t plan, const void *alpha, const void *A, const void *B, const void *beta, const void *C, void *D, void *workspace, uint64_t workspaceSize, hipStream_t stream) ———————————–^ If declarator-id: Invalid C++ declaration: Expecting “(” in parameters-and-qualifiers. [error at 35] HIPTENSOR_EXPORT hiptensorStatus_t hiptensorContract (const hiptensorHandle_t handle, const hiptensorPlan_t plan, const void *alpha, const void *A, const void *B, const void *beta, const void *C, void *D, void *workspace, uint64_t workspaceSize, hipStream_t stream) ———————————–^
Element-wise operations#
hiptensorCreatePermutation#
Warning
doxygenfunction: Unable to resolve function “hiptensorCreatePermutation” with arguments “None”. Candidate function could not be parsed. Parsing error is Error when parsing function declaration. If the function has no return type: Error in declarator or parameters-and-qualifiers Invalid C++ declaration: Expecting “(” in parameters-and-qualifiers. [error at 17] HIPTENSOR_EXPORT hiptensorStatus_t hiptensorCreatePermutation (const hiptensorHandle_t handle, hiptensorOperationDescriptor_t *desc, const hiptensorTensorDescriptor_t descA, const int32_t modeA[], hiptensorOperator_t opA, const hiptensorTensorDescriptor_t descB, const int32_t modeB[], const hiptensorComputeDescriptor_t descCompute) —————–^ If the function has a return type: Error in declarator or parameters-and-qualifiers If pointer to member declarator: Invalid C++ declaration: Expected ‘::’ in pointer to member (function). [error at 35] HIPTENSOR_EXPORT hiptensorStatus_t hiptensorCreatePermutation (const hiptensorHandle_t handle, hiptensorOperationDescriptor_t *desc, const hiptensorTensorDescriptor_t descA, const int32_t modeA[], hiptensorOperator_t opA, const hiptensorTensorDescriptor_t descB, const int32_t modeB[], const hiptensorComputeDescriptor_t descCompute) ———————————–^ If declarator-id: Invalid C++ declaration: Expecting “(” in parameters-and-qualifiers. [error at 35] HIPTENSOR_EXPORT hiptensorStatus_t hiptensorCreatePermutation (const hiptensorHandle_t handle, hiptensorOperationDescriptor_t *desc, const hiptensorTensorDescriptor_t descA, const int32_t modeA[], hiptensorOperator_t opA, const hiptensorTensorDescriptor_t descB, const int32_t modeB[], const hiptensorComputeDescriptor_t descCompute) ———————————–^
hiptensorPermute#
Warning
doxygenfunction: Unable to resolve function “hiptensorPermute” with arguments “None”. Candidate function could not be parsed. Parsing error is Error when parsing function declaration. If the function has no return type: Error in declarator or parameters-and-qualifiers Invalid C++ declaration: Expecting “(” in parameters-and-qualifiers. [error at 17] HIPTENSOR_EXPORT hiptensorStatus_t hiptensorPermute (const hiptensorHandle_t handle, const hiptensorPlan_t plan, const void *alpha, const void *A, void *B, const hipStream_t stream) —————–^ If the function has a return type: Error in declarator or parameters-and-qualifiers If pointer to member declarator: Invalid C++ declaration: Expected ‘::’ in pointer to member (function). [error at 35] HIPTENSOR_EXPORT hiptensorStatus_t hiptensorPermute (const hiptensorHandle_t handle, const hiptensorPlan_t plan, const void *alpha, const void *A, void *B, const hipStream_t stream) ———————————–^ If declarator-id: Invalid C++ declaration: Expecting “(” in parameters-and-qualifiers. [error at 35] HIPTENSOR_EXPORT hiptensorStatus_t hiptensorPermute (const hiptensorHandle_t handle, const hiptensorPlan_t plan, const void *alpha, const void *A, void *B, const hipStream_t stream) ———————————–^
hiptensorCreateElementwiseBinary#
Warning
doxygenfunction: Unable to resolve function “hiptensorCreateElementwiseBinary” with arguments “None”. Candidate function could not be parsed. Parsing error is Error when parsing function declaration. If the function has no return type: Error in declarator or parameters-and-qualifiers Invalid C++ declaration: Expecting “(” in parameters-and-qualifiers. [error at 17] HIPTENSOR_EXPORT hiptensorStatus_t hiptensorCreateElementwiseBinary (const hiptensorHandle_t handle, hiptensorOperationDescriptor_t *desc, const hiptensorTensorDescriptor_t descA, const int32_t modeA[], hiptensorOperator_t opA, const hiptensorTensorDescriptor_t descC, const int32_t modeC[], hiptensorOperator_t opC, const hiptensorTensorDescriptor_t descD, const int32_t modeD[], hiptensorOperator_t opAC, const hiptensorComputeDescriptor_t descCompute) —————–^ If the function has a return type: Error in declarator or parameters-and-qualifiers If pointer to member declarator: Invalid C++ declaration: Expected ‘::’ in pointer to member (function). [error at 35] HIPTENSOR_EXPORT hiptensorStatus_t hiptensorCreateElementwiseBinary (const hiptensorHandle_t handle, hiptensorOperationDescriptor_t *desc, const hiptensorTensorDescriptor_t descA, const int32_t modeA[], hiptensorOperator_t opA, const hiptensorTensorDescriptor_t descC, const int32_t modeC[], hiptensorOperator_t opC, const hiptensorTensorDescriptor_t descD, const int32_t modeD[], hiptensorOperator_t opAC, const hiptensorComputeDescriptor_t descCompute) ———————————–^ If declarator-id: Invalid C++ declaration: Expecting “(” in parameters-and-qualifiers. [error at 35] HIPTENSOR_EXPORT hiptensorStatus_t hiptensorCreateElementwiseBinary (const hiptensorHandle_t handle, hiptensorOperationDescriptor_t *desc, const hiptensorTensorDescriptor_t descA, const int32_t modeA[], hiptensorOperator_t opA, const hiptensorTensorDescriptor_t descC, const int32_t modeC[], hiptensorOperator_t opC, const hiptensorTensorDescriptor_t descD, const int32_t modeD[], hiptensorOperator_t opAC, const hiptensorComputeDescriptor_t descCompute) ———————————–^
hiptensorElementwiseBinaryExecute#
Warning
doxygenfunction: Unable to resolve function “hiptensorElementwiseBinaryExecute” with arguments “None”. Candidate function could not be parsed. Parsing error is Error when parsing function declaration. If the function has no return type: Error in declarator or parameters-and-qualifiers Invalid C++ declaration: Expecting “(” in parameters-and-qualifiers. [error at 17] HIPTENSOR_EXPORT hiptensorStatus_t hiptensorElementwiseBinaryExecute (const hiptensorHandle_t handle, const hiptensorPlan_t plan, const void *alpha, const void *A, const void *gamma, const void *C, void *D, hipStream_t stream) —————–^ If the function has a return type: Error in declarator or parameters-and-qualifiers If pointer to member declarator: Invalid C++ declaration: Expected ‘::’ in pointer to member (function). [error at 35] HIPTENSOR_EXPORT hiptensorStatus_t hiptensorElementwiseBinaryExecute (const hiptensorHandle_t handle, const hiptensorPlan_t plan, const void *alpha, const void *A, const void *gamma, const void *C, void *D, hipStream_t stream) ———————————–^ If declarator-id: Invalid C++ declaration: Expecting “(” in parameters-and-qualifiers. [error at 35] HIPTENSOR_EXPORT hiptensorStatus_t hiptensorElementwiseBinaryExecute (const hiptensorHandle_t handle, const hiptensorPlan_t plan, const void *alpha, const void *A, const void *gamma, const void *C, void *D, hipStream_t stream) ———————————–^
hiptensorCreateElementwiseTrinary#
Warning
doxygenfunction: Unable to resolve function “hiptensorCreateElementwiseTrinary” with arguments “None”. Candidate function could not be parsed. Parsing error is Error when parsing function declaration. If the function has no return type: Error in declarator or parameters-and-qualifiers Invalid C++ declaration: Expecting “(” in parameters-and-qualifiers. [error at 17] HIPTENSOR_EXPORT hiptensorStatus_t hiptensorCreateElementwiseTrinary (const hiptensorHandle_t handle, hiptensorOperationDescriptor_t *desc, const hiptensorTensorDescriptor_t descA, const int32_t modeA[], hiptensorOperator_t opA, const hiptensorTensorDescriptor_t descB, const int32_t modeB[], hiptensorOperator_t opB, const hiptensorTensorDescriptor_t descC, const int32_t modeC[], hiptensorOperator_t opC, const hiptensorTensorDescriptor_t descD, const int32_t modeD[], hiptensorOperator_t opAB, hiptensorOperator_t opABC, const hiptensorComputeDescriptor_t descCompute) —————–^ If the function has a return type: Error in declarator or parameters-and-qualifiers If pointer to member declarator: Invalid C++ declaration: Expected ‘::’ in pointer to member (function). [error at 35] HIPTENSOR_EXPORT hiptensorStatus_t hiptensorCreateElementwiseTrinary (const hiptensorHandle_t handle, hiptensorOperationDescriptor_t *desc, const hiptensorTensorDescriptor_t descA, const int32_t modeA[], hiptensorOperator_t opA, const hiptensorTensorDescriptor_t descB, const int32_t modeB[], hiptensorOperator_t opB, const hiptensorTensorDescriptor_t descC, const int32_t modeC[], hiptensorOperator_t opC, const hiptensorTensorDescriptor_t descD, const int32_t modeD[], hiptensorOperator_t opAB, hiptensorOperator_t opABC, const hiptensorComputeDescriptor_t descCompute) ———————————–^ If declarator-id: Invalid C++ declaration: Expecting “(” in parameters-and-qualifiers. [error at 35] HIPTENSOR_EXPORT hiptensorStatus_t hiptensorCreateElementwiseTrinary (const hiptensorHandle_t handle, hiptensorOperationDescriptor_t *desc, const hiptensorTensorDescriptor_t descA, const int32_t modeA[], hiptensorOperator_t opA, const hiptensorTensorDescriptor_t descB, const int32_t modeB[], hiptensorOperator_t opB, const hiptensorTensorDescriptor_t descC, const int32_t modeC[], hiptensorOperator_t opC, const hiptensorTensorDescriptor_t descD, const int32_t modeD[], hiptensorOperator_t opAB, hiptensorOperator_t opABC, const hiptensorComputeDescriptor_t descCompute) ———————————–^
hiptensorElementwiseTrinaryExecute#
Warning
doxygenfunction: Unable to resolve function “hiptensorElementwiseTrinaryExecute” with arguments “None”. Candidate function could not be parsed. Parsing error is Error when parsing function declaration. If the function has no return type: Error in declarator or parameters-and-qualifiers Invalid C++ declaration: Expecting “(” in parameters-and-qualifiers. [error at 17] HIPTENSOR_EXPORT hiptensorStatus_t hiptensorElementwiseTrinaryExecute (const hiptensorHandle_t handle, const hiptensorPlan_t plan, const void *alpha, const void *A, const void *beta, const void *B, const void *gamma, const void *C, void *D, hipStream_t stream) —————–^ If the function has a return type: Error in declarator or parameters-and-qualifiers If pointer to member declarator: Invalid C++ declaration: Expected ‘::’ in pointer to member (function). [error at 35] HIPTENSOR_EXPORT hiptensorStatus_t hiptensorElementwiseTrinaryExecute (const hiptensorHandle_t handle, const hiptensorPlan_t plan, const void *alpha, const void *A, const void *beta, const void *B, const void *gamma, const void *C, void *D, hipStream_t stream) ———————————–^ If declarator-id: Invalid C++ declaration: Expecting “(” in parameters-and-qualifiers. [error at 35] HIPTENSOR_EXPORT hiptensorStatus_t hiptensorElementwiseTrinaryExecute (const hiptensorHandle_t handle, const hiptensorPlan_t plan, const void *alpha, const void *A, const void *beta, const void *B, const void *gamma, const void *C, void *D, hipStream_t stream) ———————————–^
Reduction operations#
hiptensorCreateReduction#
Warning
doxygenfunction: Unable to resolve function “hiptensorCreateReduction” with arguments “None”. Candidate function could not be parsed. Parsing error is Error when parsing function declaration. If the function has no return type: Error in declarator or parameters-and-qualifiers Invalid C++ declaration: Expecting “(” in parameters-and-qualifiers. [error at 17] HIPTENSOR_EXPORT hiptensorStatus_t hiptensorCreateReduction (const hiptensorHandle_t handle, hiptensorOperationDescriptor_t *desc, const hiptensorTensorDescriptor_t descA, const int32_t modeA[], hiptensorOperator_t opA, const hiptensorTensorDescriptor_t descC, const int32_t modeC[], hiptensorOperator_t opC, const hiptensorTensorDescriptor_t descD, const int32_t modeD[], hiptensorOperator_t opReduce, const hiptensorComputeDescriptor_t descCompute) —————–^ If the function has a return type: Error in declarator or parameters-and-qualifiers If pointer to member declarator: Invalid C++ declaration: Expected ‘::’ in pointer to member (function). [error at 35] HIPTENSOR_EXPORT hiptensorStatus_t hiptensorCreateReduction (const hiptensorHandle_t handle, hiptensorOperationDescriptor_t *desc, const hiptensorTensorDescriptor_t descA, const int32_t modeA[], hiptensorOperator_t opA, const hiptensorTensorDescriptor_t descC, const int32_t modeC[], hiptensorOperator_t opC, const hiptensorTensorDescriptor_t descD, const int32_t modeD[], hiptensorOperator_t opReduce, const hiptensorComputeDescriptor_t descCompute) ———————————–^ If declarator-id: Invalid C++ declaration: Expecting “(” in parameters-and-qualifiers. [error at 35] HIPTENSOR_EXPORT hiptensorStatus_t hiptensorCreateReduction (const hiptensorHandle_t handle, hiptensorOperationDescriptor_t *desc, const hiptensorTensorDescriptor_t descA, const int32_t modeA[], hiptensorOperator_t opA, const hiptensorTensorDescriptor_t descC, const int32_t modeC[], hiptensorOperator_t opC, const hiptensorTensorDescriptor_t descD, const int32_t modeD[], hiptensorOperator_t opReduce, const hiptensorComputeDescriptor_t descCompute) ———————————–^
hiptensorReduce#
Warning
doxygenfunction: Unable to resolve function “hiptensorReduce” with arguments “None”. Candidate function could not be parsed. Parsing error is Error when parsing function declaration. If the function has no return type: Error in declarator or parameters-and-qualifiers Invalid C++ declaration: Expecting “(” in parameters-and-qualifiers. [error at 17] HIPTENSOR_EXPORT hiptensorStatus_t hiptensorReduce (const hiptensorHandle_t handle, const hiptensorPlan_t plan, const void *alpha, const void *A, const void *beta, const void *C, void *D, void *workspace, uint64_t workspaceSize, hipStream_t stream) —————–^ If the function has a return type: Error in declarator or parameters-and-qualifiers If pointer to member declarator: Invalid C++ declaration: Expected ‘::’ in pointer to member (function). [error at 35] HIPTENSOR_EXPORT hiptensorStatus_t hiptensorReduce (const hiptensorHandle_t handle, const hiptensorPlan_t plan, const void *alpha, const void *A, const void *beta, const void *C, void *D, void *workspace, uint64_t workspaceSize, hipStream_t stream) ———————————–^ If declarator-id: Invalid C++ declaration: Expecting “(” in parameters-and-qualifiers. [error at 35] HIPTENSOR_EXPORT hiptensorStatus_t hiptensorReduce (const hiptensorHandle_t handle, const hiptensorPlan_t plan, const void *alpha, const void *A, const void *beta, const void *C, void *D, void *workspace, uint64_t workspaceSize, hipStream_t stream) ———————————–^
Logging functions#
hiptensorLoggerSetCallback#
Warning
doxygenfunction: Unable to resolve function “hiptensorLoggerSetCallback” with arguments “None”. Candidate function could not be parsed. Parsing error is Error when parsing function declaration. If the function has no return type: Error in declarator or parameters-and-qualifiers Invalid C++ declaration: Expecting “(” in parameters-and-qualifiers. [error at 17] HIPTENSOR_EXPORT hiptensorStatus_t hiptensorLoggerSetCallback (hiptensorLoggerCallback_t callback) —————–^ If the function has a return type: Error in declarator or parameters-and-qualifiers If pointer to member declarator: Invalid C++ declaration: Expected ‘::’ in pointer to member (function). [error at 35] HIPTENSOR_EXPORT hiptensorStatus_t hiptensorLoggerSetCallback (hiptensorLoggerCallback_t callback) ———————————–^ If declarator-id: Invalid C++ declaration: Expecting “(” in parameters-and-qualifiers. [error at 35] HIPTENSOR_EXPORT hiptensorStatus_t hiptensorLoggerSetCallback (hiptensorLoggerCallback_t callback) ———————————–^
hiptensorLoggerSetFile#
Warning
doxygenfunction: Unable to resolve function “hiptensorLoggerSetFile” with arguments “None”. Candidate function could not be parsed. Parsing error is Error when parsing function declaration. If the function has no return type: Error in declarator or parameters-and-qualifiers Invalid C++ declaration: Expecting “(” in parameters-and-qualifiers. [error at 17] HIPTENSOR_EXPORT hiptensorStatus_t hiptensorLoggerSetFile (FILE *file) —————–^ If the function has a return type: Error in declarator or parameters-and-qualifiers If pointer to member declarator: Invalid C++ declaration: Expected ‘::’ in pointer to member (function). [error at 35] HIPTENSOR_EXPORT hiptensorStatus_t hiptensorLoggerSetFile (FILE *file) ———————————–^ If declarator-id: Invalid C++ declaration: Expecting “(” in parameters-and-qualifiers. [error at 35] HIPTENSOR_EXPORT hiptensorStatus_t hiptensorLoggerSetFile (FILE *file) ———————————–^
hiptensorLoggerOpenFile#
Warning
doxygenfunction: Unable to resolve function “hiptensorLoggerOpenFile” with arguments “None”. Candidate function could not be parsed. Parsing error is Error when parsing function declaration. If the function has no return type: Error in declarator or parameters-and-qualifiers Invalid C++ declaration: Expecting “(” in parameters-and-qualifiers. [error at 17] HIPTENSOR_EXPORT hiptensorStatus_t hiptensorLoggerOpenFile (const char *logFile) —————–^ If the function has a return type: Error in declarator or parameters-and-qualifiers If pointer to member declarator: Invalid C++ declaration: Expected ‘::’ in pointer to member (function). [error at 35] HIPTENSOR_EXPORT hiptensorStatus_t hiptensorLoggerOpenFile (const char *logFile) ———————————–^ If declarator-id: Invalid C++ declaration: Expecting “(” in parameters-and-qualifiers. [error at 35] HIPTENSOR_EXPORT hiptensorStatus_t hiptensorLoggerOpenFile (const char *logFile) ———————————–^
hiptensorLoggerSetLevel#
Warning
doxygenfunction: Unable to resolve function “hiptensorLoggerSetLevel” with arguments “None”. Candidate function could not be parsed. Parsing error is Error when parsing function declaration. If the function has no return type: Error in declarator or parameters-and-qualifiers Invalid C++ declaration: Expecting “(” in parameters-and-qualifiers. [error at 17] HIPTENSOR_EXPORT hiptensorStatus_t hiptensorLoggerSetLevel (hiptensorLogLevel_t level) —————–^ If the function has a return type: Error in declarator or parameters-and-qualifiers If pointer to member declarator: Invalid C++ declaration: Expected ‘::’ in pointer to member (function). [error at 35] HIPTENSOR_EXPORT hiptensorStatus_t hiptensorLoggerSetLevel (hiptensorLogLevel_t level) ———————————–^ If declarator-id: Invalid C++ declaration: Expecting “(” in parameters-and-qualifiers. [error at 35] HIPTENSOR_EXPORT hiptensorStatus_t hiptensorLoggerSetLevel (hiptensorLogLevel_t level) ———————————–^
hiptensorLoggerSetMask#
Warning
doxygenfunction: Unable to resolve function “hiptensorLoggerSetMask” with arguments “None”. Candidate function could not be parsed. Parsing error is Error when parsing function declaration. If the function has no return type: Error in declarator or parameters-and-qualifiers Invalid C++ declaration: Expecting “(” in parameters-and-qualifiers. [error at 17] HIPTENSOR_EXPORT hiptensorStatus_t hiptensorLoggerSetMask (int32_t mask) —————–^ If the function has a return type: Error in declarator or parameters-and-qualifiers If pointer to member declarator: Invalid C++ declaration: Expected ‘::’ in pointer to member (function). [error at 35] HIPTENSOR_EXPORT hiptensorStatus_t hiptensorLoggerSetMask (int32_t mask) ———————————–^ If declarator-id: Invalid C++ declaration: Expecting “(” in parameters-and-qualifiers. [error at 35] HIPTENSOR_EXPORT hiptensorStatus_t hiptensorLoggerSetMask (int32_t mask) ———————————–^
hiptensorLoggerForceDisable#
Warning
doxygenfunction: Unable to resolve function “hiptensorLoggerForceDisable” with arguments “None”. Candidate function could not be parsed. Parsing error is Error when parsing function declaration. If the function has no return type: Error in declarator or parameters-and-qualifiers Invalid C++ declaration: Expecting “(” in parameters-and-qualifiers. [error at 17] HIPTENSOR_EXPORT hiptensorStatus_t hiptensorLoggerForceDisable () —————–^ If the function has a return type: Error in declarator or parameters-and-qualifiers If pointer to member declarator: Invalid C++ declaration: Expected ‘::’ in pointer to member (function). [error at 35] HIPTENSOR_EXPORT hiptensorStatus_t hiptensorLoggerForceDisable () ———————————–^ If declarator-id: Invalid C++ declaration: Expecting “(” in parameters-and-qualifiers. [error at 35] HIPTENSOR_EXPORT hiptensorStatus_t hiptensorLoggerForceDisable () ———————————–^