We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b7ec84f commit 01e8a67Copy full SHA for 01e8a67
src/compiler/execution.jl
@@ -313,7 +313,6 @@ end
313
end
314
315
316
-
317
commit!(cmdbuf)
318
319
test/execution.jl
@@ -261,12 +261,13 @@ end
261
262
263
264
+
265
@testset "error handling" begin
266
function failing_kernel(arr, ptr)
267
x = unsafe_load(reinterpret(Ptr{Int}, ptr))
268
@inbounds arr[1] = x
269
return nothing
270
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))
273
0 commit comments