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

Abort instead of throw #88

Open
PhilipDeegan opened this issue Oct 25, 2021 · 3 comments
Open

Abort instead of throw #88

PhilipDeegan opened this issue Oct 25, 2021 · 3 comments

Comments

@PhilipDeegan
Copy link

throw std::runtime_error(msg);

RAJA provides a handy envar override "RAJA_NO_EXCEPT" to not throw but call abort instead.

This is useful for getting a stack trace of the exception case, would/could this be considered here?

@trws
Copy link
Member

trws commented Oct 26, 2021

Sure, I wouldn't mind having that in camp. Any chance you have the time/inclination to put up a PR?

@PhilipDeegan
Copy link
Author

sure, "CAMP_NO_EXCEPT" similarly for the env var string?

@trws
Copy link
Member

trws commented Oct 26, 2021 via email

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

2 participants