Minor bugs in header file "cublasmp.h" of cuBLASMp

I have found a minor bug in the header file “cublasmp.h” of cuBLASMp. The code in lines 73 to 80 of “cublasmp.h” looks like this:

struct cublasMpHandle;
typedef cublasMpHandle* cublasMpHandle_t;

struct cublasMpGrid;
typedef cublasMpGrid* cublasMpGrid_t;

struct cublasMpMatrixDescriptor;
typedef cublasMpMatrixDescriptor* cublasMpMatrixDescriptor_t;

In C++ this code is fine, but in C it should be modified as follows:

struct cublasMpHandle;
typedef struct cublasMpHandle* cublasMpHandle_t;

struct cublasMpGrid;
typedef struct cublasMpGrid* cublasMpGrid_t;

struct cublasMpMatrixDescriptor;
typedef struct cublasMpMatrixDescriptor* cublasMpMatrixDescriptor_t;

At least in “cublasmp.h” of cuBLASMp in NVIDIA HPC SDK 24.1 and “cublasmp.h” in cuBLASMp v0.1.2, you need to fix this bug yourself.

Thanks for letting us know. We plan to fix this issue in an upcoming release.