Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

luxmark: hide compilation dialog on errors like CL_OUT_OF_HOST_MEMORY #15

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

illwieckz
Copy link

@illwieckz illwieckz commented Apr 9, 2023

The compilation dialog should be hidden if the OpenCL kernel compilation failed, and not let the application in an unusable state with all inputs disabled.

This makes sure the application remains in an usable state when OpenCL compilation fails with errors like that:

RUNTIME ERROR: OpenCL driver API error (code: -6, file:LuxCore/src/luxrays/devices/ocldevice.cpp, line: 143): CL_OUT_OF_HOST_MEMORY 

This work is courtesy of I ♥ Compute initiative funded by 🇫🇷️ rebatir.fr.

The compilation dialog should be hidden if the OpenCL kernel compilation failed,
and not let the application in an unusable state with all inputs disabled.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant