You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/compiler/execution.jl
+3-2Lines changed: 3 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -277,12 +277,13 @@ end
277
277
throw(ArgumentError("Number of threads in group ($(threads.width * threads.height * threads.depth)) should not exceed $(kernel.pipeline.maxTotalThreadsPerThreadgroup)"))
278
278
279
279
cmdbuf =if kernel.loggingEnabled
280
+
#TODO: make this a dynamic error, i.e., from the kernel (JuliaGPU/Metal.jl#433)
280
281
ifmacos_version() <v"15"
281
-
@error"Logging is only supported on macOS 15 or higher"
282
+
error("Logging is only supported on macOS 15 or higher")
282
283
end
283
284
284
285
ifMTLCaptureManager().isCapturing
285
-
@error"Logging is not supported while GPU frame capturing"
286
+
error("Logging is not supported while GPU frame capturing")
0 commit comments