Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

pyopencl access violation #593

Open
lucas-wilkins opened this issue Mar 19, 2024 · 1 comment
Open

pyopencl access violation #593

lucas-wilkins opened this issue Mar 19, 2024 · 1 comment
Labels

Comments

@lucas-wilkins
Copy link
Contributor

Some installs of pyopencl cause an access violation in kernelcl.py, line 82

cl.create_some_context(interactive=False)

This has happened on a machine without a GPU with pyopencl installed. Removing pyopencl is a work-around, but it should probably be dealt with, especially if distributions of sasview are installing pyopencl.

@pkienzle
Copy link
Contributor

pkienzle commented Sep 3, 2024

This code is already in a try-block. Nothing we can do in sasmodels when the C module brings down the python interpreter.

SasView doesn't need to load pyopencl until we try evaluating our first model, so users can shut off OpenCL in the fitting menu after they restart.

I suggest closing this ticket.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants