Skip to content

Commit 9ad2e7d

Browse files
committed
Remove obsolete HIP workaround
1 parent b56f079 commit 9ad2e7d

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

ggml/src/ggml-cuda/ggml-cuda.cu

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -119,13 +119,6 @@ static cudaError_t ggml_cuda_device_malloc(void ** ptr, size_t size, int device)
119119
}
120120

121121
static ggml_cuda_device_info ggml_cuda_init() {
122-
#ifdef __HIP_PLATFORM_AMD__
123-
// Workaround for a rocBLAS bug when using multiple graphics cards:
124-
// https://github.com/ROCmSoftwarePlatform/rocBLAS/issues/1346
125-
rocblas_initialize();
126-
CUDA_CHECK(cudaDeviceSynchronize());
127-
#endif
128-
129122
ggml_cuda_device_info info = {};
130123

131124
cudaError_t err = cudaGetDeviceCount(&info.device_count);

0 commit comments

Comments
 (0)