Remove obsolete HIP workaround
This commit is contained in:
parent
b56f079e28
commit
9ad2e7dfd2
1 changed files with 0 additions and 7 deletions
|
@ -119,13 +119,6 @@ static cudaError_t ggml_cuda_device_malloc(void ** ptr, size_t size, int device)
|
||||||
}
|
}
|
||||||
|
|
||||||
static ggml_cuda_device_info ggml_cuda_init() {
|
static ggml_cuda_device_info ggml_cuda_init() {
|
||||||
#ifdef __HIP_PLATFORM_AMD__
|
|
||||||
// Workaround for a rocBLAS bug when using multiple graphics cards:
|
|
||||||
// https://github.com/ROCmSoftwarePlatform/rocBLAS/issues/1346
|
|
||||||
rocblas_initialize();
|
|
||||||
CUDA_CHECK(cudaDeviceSynchronize());
|
|
||||||
#endif
|
|
||||||
|
|
||||||
ggml_cuda_device_info info = {};
|
ggml_cuda_device_info info = {};
|
||||||
|
|
||||||
cudaError_t err = cudaGetDeviceCount(&info.device_count);
|
cudaError_t err = cudaGetDeviceCount(&info.device_count);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue