From 00540594df33fb1e380cc8f23672d757094f9f13 Mon Sep 17 00:00:00 2001 From: Karol Herbst Date: Wed, 17 Jul 2024 13:17:39 +0200 Subject: [PATCH] rusticl/event: fix outdated comment in call Reviewed-by: @LingMan Part-of: --- src/gallium/frontends/rusticl/core/event.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/frontends/rusticl/core/event.rs b/src/gallium/frontends/rusticl/core/event.rs index 8e11b683069..2ee27630715 100644 --- a/src/gallium/frontends/rusticl/core/event.rs +++ b/src/gallium/frontends/rusticl/core/event.rs @@ -241,7 +241,7 @@ impl Event { } let res = w(queue, ctx).err().map_or( - // if there is an error, negate it + // return the error if there is one CL_SUBMITTED as cl_int, |e| e, );