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

Better error messages when kernel program failed to run. #1124

Closed
12345swordy opened this issue Nov 15, 2023 · 1 comment
Closed

Better error messages when kernel program failed to run. #1124

12345swordy opened this issue Nov 15, 2023 · 1 comment
Labels

Comments

@12345swordy
Copy link
Contributor

12345swordy commented Nov 15, 2023

Kernel code in question
I found out the problem. However I wish the exception also contain the source code generated as part of the error message, so I don't have to waste time trying to get the source generated from the kernel function, in order to figure out what the error message generated from.

@12345swordy 12345swordy changed the title OpenCL acclerator fails to run kernel program while the cpu manages to run fine. Better error messages when kernel program failed to run. Nov 16, 2023
@MoFtZ MoFtZ added the question label Nov 30, 2023
@MoFtZ
Copy link
Collaborator

MoFtZ commented Nov 30, 2023

@12345swordy as part of the exception thrown by ILGPU, there is an inner exception that contains details like the file and line number where the error occurred.

@MoFtZ MoFtZ closed this as completed Nov 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants