Skip to content

Commit be41ab8

Browse files
vovwmaleadt
authored andcommitted
fix fmt
1 parent 4179f1f commit be41ab8

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/compiler/execution.jl

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -304,12 +304,10 @@ end
304304
if buf.status == MTL.MTLCommandBufferStatusError
305305
err = buf.error
306306
if err !== nothing
307-
# Get error details
308307
code = err.code # MTLCommandBufferError enum value
309308
description = err.localizedDescription
310-
311-
# Log the error
312-
@error "GPU kernel execution failed" exception=(err, catch_backtrace()) kernel=nameof(kernel.f) error_code=code description=description
309+
310+
@error "GPU kernel execution failed" exception = (err, catch_backtrace()) kernel = nameof(kernel.f) error_code = code description = description
313311
end
314312
end
315313
end

0 commit comments

Comments
 (0)