[HIPIFY][tests] Rename the ambiguous call as well

Cette révision appartient à :
Evgeny Mankov
2019-10-25 16:07:31 +03:00
Parent 9529e1d91d
révision f68bee02f5
+1 -1
Voir le fichier
@@ -73,7 +73,7 @@ static const char * GetErrorString(cusparseStatus_t error) {
static void CudaSparseCheckCore(cusparseStatus_t code, const char *file, int line) {
// CHECK: if (code != HIPSPARSE_STATUS_SUCCESS) {
if (code != CUSPARSE_STATUS_SUCCESS) {
fprintf(stderr,"Cuda Error %d : %s %s %d\n", code, cusparseGetErrorString(code), file, line);
fprintf(stderr,"Cuda Error %d : %s %s %d\n", code, GetErrorString(code), file, line);
exit(code);
}
}