cuSOLVERMp Data Types#
Data types#
cusolverMpHandle_t
#
ThecusolverMpHandle_t
structure holds the cuSOLVERMp library context (device properties, system information, etc.).The handle must be initialized and destroyed using cusolverMpCreate() and cusolverMpDestroy() functions respectively.
cusolverMpGrid_t
#
ThecusolverMpGrid_t
structure holds information about the grid dimensions and stores the communicator associated to the grid of processes.It must be initialized and destroyed using cusolverMpCreateDeviceGrid() and cusolverMpDestroyGrid() functions respectively.
cusolverMpMatrixDescriptor_t
#
ThecusolverMpMatrixDescriptor_t
structure captures the shape and characteristics of a distributed matrix.It must be initialized and destroyed using cusolverMpCreateMatrixDesc() and cusolverMpDestroyMatrixDesc() functions respectively.
Enumerators#
cusolverMpGridMapping_t
#
Describes the ordering of the grid of processes.
Value |
Meaning |
---|---|
CUSOLVERMP_GRID_MAPPING_ROW_MAJOR |
The grid of processes will be accessed in row-major ordering. |
CUSOLVERMP_GRID_MAPPING_COL_MAJOR |
The grid of processes will be accessed in column-major ordering. |
cusolverMpLoggerCallback_t
#
Function pointer type for cuSOLVERMp logging callbacks. The callback function is called by the library to report logging information.The callback can be set using cusolverMpLoggerSetCallback().The callback function takes the following parameters:
Parameter |
Type |
Description |
---|---|---|
logLevel |
int |
The severity level of the log message. |
functionName |
const char* |
Name of the function generating the log message. |
message |
const char* |
The actual log message text. |