diff --git a/lib/targets/hip/device.cpp b/lib/targets/hip/device.cpp
index 38afb0d09..21366628c 100644
--- a/lib/targets/hip/device.cpp
+++ b/lib/targets/hip/device.cpp
@@ -54,7 +54,7 @@ namespace quda
void init_thread()
{
if (device_id == -1) errorQuda("No HIP device has been initialized for this process");
Here is the fix
diff --git a/lib/targets/hip/device.cpp b/lib/targets/hip/device.cpp index 38afb0d09..21366628c 100644 --- a/lib/targets/hip/device.cpp +++ b/lib/targets/hip/device.cpp @@ -54,7 +54,7 @@ namespace quda void init_thread() { if (device_id == -1) errorQuda("No HIP device has been initialized for this process");
CHECK_HIP_ERROR(hipSetDevice(device_id)); }
int get_device_count()