Open PhilipDeegan opened 3 years ago
Sure, I wouldn't mind having that in camp. Any chance you have the time/inclination to put up a PR?
sure, "CAMP_NO_EXCEPT" similarly for the env var string?
Works for me!
From: @. @.> Sent: Tuesday, October 26, 2021 10:46 AM To: LLNL/camp @.> Cc: Scogland, Tom @.>; Comment @.***> Subject: Re: [LLNL/camp] Abort instead of throw (Issue #88)
sure, "CAMP_NO_EXCEPT" similarly for the env var string?
— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://urldefense.us/v3/__https://github.com/LLNL/camp/issues/88*issuecomment-952168997__;Iw!!G2kpM7uM-TzIFchu!jtZ9ffuP0DvDbDPIKZjUT7yrCMyyS4-GYUYF4_ZAr3YaSmkplSVUTV-BmxzYd5S-fw$, or unsubscribehttps://urldefense.us/v3/__https://github.com/notifications/unsubscribe-auth/AAFBFNNVFPBR54Z43XLM4OTUI3ZP7ANCNFSM5GU2NX7A__;!!G2kpM7uM-TzIFchu!jtZ9ffuP0DvDbDPIKZjUT7yrCMyyS4-GYUYF4_ZAr3YaSmkplSVUTV-Bmxw2vIk2GA$.
https://github.com/LLNL/camp/blob/b804898279379c5bb0ea76e2f26509ffeb72dd18/include/camp/defines.hpp#L204
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?