-
Notifications
You must be signed in to change notification settings - Fork 231
Open
Labels
feature requestNew feature or requestNew feature or request
Description
I'm working on a project that requires the use of the C++ compile option -fno-exceptions
to optimize my library's performance and reduce binary size.
When compiling RMM with -fno-exceptions
, I encountered a compilation error because code paths like RMM_EXPECT
explicitly or implicitly use throw
(e.g.,
rmm/cpp/include/rmm/detail/error.hpp
Line 65 in 5072785
: throw _exception_type{std::string{"RMM failure at: "} + __FILE__ + ":" + \ |
Could the RMM library implement a CMake option (similar to SPDLOG_NO_EXCEPTIONS
in spdlog
) to conditionally disable exception-throwing behavior and allow for compilation with -fno-exceptions
?
Metadata
Metadata
Assignees
Labels
feature requestNew feature or requestNew feature or request
Type
Projects
Status
To-do