Skip to content

Commit 01e8a67

Browse files
committed
runic fmt
1 parent b7ec84f commit 01e8a67

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/compiler/execution.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,6 @@ end
313313
end
314314

315315
end
316-
317316
commit!(cmdbuf)
318317
end
319318

test/execution.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,12 +261,13 @@ end
261261
end
262262
end
263263

264+
264265
@testset "error handling" begin
265266
function failing_kernel(arr, ptr)
266267
x = unsafe_load(reinterpret(Ptr{Int}, ptr))
267268
@inbounds arr[1] = x
268269
return nothing
269270
end
270271

271-
@test_logs (:error, r"GPU kernel execution failed") @metal failing_kernel(mtl([0], 0)
272+
@test_logs (:error, r"GPU kernel execution failed") @metal failing_kernel(mtl([0], 0))
272273
end

0 commit comments

Comments
 (0)