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
returnget!(task_local_storage(), :CLMemoryBackend) do
215
-
backend =default_memory_backend(device())
220
+
dev =device()
221
+
backend =default_memory_backend(dev)
216
222
if backend ===nothing
217
-
error("Device $(device()) does not support any of the available memory backends")
223
+
error("Device $(dev) does not support any of the available memory backends")
224
+
end
225
+
if backend ===BufferBackend() &&!bda_supported(dev)
226
+
@warn"""Your device $(dev.name) does not support the necessary extensions for OpenCL.jl's memory management (requiring either USM, coarse-grained SVM, or BDA).
227
+
Falling back to plain OpenCL buffers, which severely limits compatibility with other OpenCL.jl, only supporting OpenCL C kernels.""" maxlog=1 _id="memory_backend_$(dev.name)"
0 commit comments