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

Add user-controlled logging mechanism for warnings #6

Open
fknorr opened this issue Jan 24, 2024 · 0 comments
Open

Add user-controlled logging mechanism for warnings #6

fknorr opened this issue Jan 24, 2024 · 0 comments

Comments

@fknorr
Copy link
Collaborator

fknorr commented Jan 24, 2024

Sometimes we want to elaborate on error conditions, but SYCL restricts the return type / exceptions thrown. Example: USM allocation functions have different reasons for returning nullptr.

SimSYCL should have a reporting mechanism that the user can tap into, both for logging and to verify that a certain error condition was met.

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

No branches or pull requests

1 participant