[HIPIFY][tests] Fix ambiguous call to cusparseGetErrorString declared in cusparse.h
This commit is contained in:
@@ -26,8 +26,8 @@ static void CudaCheckCore(cudaError_t code, const char *file, int line) {
|
||||
// CHECK: #define CudaCheckAfterCall() { CudaCheckCore((hipGetLastError()), __FILE__, __LINE__); }
|
||||
#define CudaCheckAfterCall() { CudaCheckCore((cudaGetLastError()), __FILE__, __LINE__); }
|
||||
|
||||
// CHECK: static const char * cusparseGetErrorString(hipsparseStatus_t error) {
|
||||
static const char * cusparseGetErrorString(cusparseStatus_t error) {
|
||||
// CHECK: static const char * GetErrorString(hipsparseStatus_t error) {
|
||||
static const char * GetErrorString(cusparseStatus_t error) {
|
||||
switch (error) {
|
||||
// CHECK: case HIPSPARSE_STATUS_SUCCESS:
|
||||
case CUSPARSE_STATUS_SUCCESS:
|
||||
|
||||
Reference in New Issue
Block a user