1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
|
From: Christian Kastner <ckk@debian.org>
Date: Sat, 28 Jun 2025 01:24:51 +0200
Subject: Drop stray semicolon
I saw this fixed in one of the hundreds of branches in the upstream
repository, but can't tell which is authoritative, so I'm adding the
Forwarded tag instead of Origin.
Forwarded: not-needed
---
rocprim/include/rocprim/device/config_types.hpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/rocprim/include/rocprim/device/config_types.hpp b/rocprim/include/rocprim/device/config_types.hpp
index 099b05a..1fcc9f5 100644
--- a/rocprim/include/rocprim/device/config_types.hpp
+++ b/rocprim/include/rocprim/device/config_types.hpp
@@ -381,7 +381,7 @@ inline hipError_t get_device_from_stream(const hipStream_t stream, int& device_i
const bool is_legacy_stream = false;
#endif
- if (stream == default_stream || stream == hipStreamPerThread || is_legacy_stream);
+ if (stream == default_stream || stream == hipStreamPerThread || is_legacy_stream)
{
const hipError_t result = hipGetDevice(&device_id);
if(result != hipSuccess)
|