logic error okay too

This commit is contained in:
George Hotz 2020-11-09 23:55:21 -08:00
parent 29b22d117f
commit 943ff6490d
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ def require_init_gpu():
try:
# for Macbook 16 inch
cl_ctx = cl.create_some_context(answers=[0,2])
except (cl._cl.RuntimeError, TypeError):
except (cl._cl.RuntimeError, cl._cl.LogicError, TypeError):
cl_ctx = cl.create_some_context(interactive=False)
cl_queue = cl.CommandQueue(cl_ctx)