diff --git a/cupy_backends/hip/cupy_hipsolver.h b/cupy_backends/hip/cupy_hipsolver.h index 0fec482b2bf..2a0b943e98f 100755 --- a/cupy_backends/hip/cupy_hipsolver.h +++ b/cupy_backends/hip/cupy_hipsolver.h @@ -19,6 +19,9 @@ hipsolverStatus_t cusolverGetProperty(hipLibraryPropertyType_t type, int* val) { #if HIP_VERSION < 60240092 typedef enum hipsolverDnParams_t {}; +#endif + +#if HIP_VERSION < 50631061 typedef hipsolverHandle_t hipsolverDnHandle_t; typedef void* hipsolverGesvdjInfo_t; typedef void* hipsolverSyevjInfo_t;