[HIPIFY][tests] Fix ambiguous call to cusparseGetErrorString declared in cusparse.h

[ROCm/clr commit: 9529e1d91d]
このコミットが含まれているのは:
Evgeny Mankov committed 2019-10-25 16:04:20 +03:00
1 親 f22391c362
コミット 91732f98c0
1ファイル変更
+2 -2
+2 -2
ファイルの表示
@@ -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: