Skip to content

Commit 1299c04

Browse files
committed
hipBLAS changes have been introduced also from ROCm 6.5 (aka 6.4 with 7.0 preview)
1 parent 74c7a2f commit 1299c04

File tree

1 file changed

+2
-2
lines changed
  • ggml/src/ggml-cuda/vendors

1 file changed

+2
-2
lines changed

ggml/src/ggml-cuda/vendors/hip.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@
137137
#define CUBLAS_STATUS_INTERNAL_ERROR HIPBLAS_STATUS_INTERNAL_ERROR
138138
#define CUBLAS_STATUS_NOT_SUPPORTED HIPBLAS_STATUS_NOT_SUPPORTED
139139

140-
#if HIP_VERSION >= 70000000
140+
#if HIP_VERSION >= 60500000
141141
#define CUBLAS_COMPUTE_16F HIPBLAS_COMPUTE_16F
142142
#define CUBLAS_COMPUTE_32F HIPBLAS_COMPUTE_32F
143143
#define CUBLAS_COMPUTE_32F_FAST_16F HIPBLAS_COMPUTE_32F_FAST_16F
@@ -149,7 +149,7 @@
149149
#define CUBLAS_COMPUTE_32F_FAST_16F HIPBLAS_R_32F
150150
#define cublasComputeType_t hipblasDatatype_t
151151
#define cudaDataType_t hipblasDatatype_t
152-
#endif // HIP_VERSION >= 70000000
152+
#endif // HIP_VERSION >= 60500000
153153

154154
#if !defined(__HIP_PLATFORM_AMD__)
155155
#error "The HIP backend supports only AMD targets"

0 commit comments

Comments
 (0)