|
| std::string | build_error_message (std::string_view reason, std::source_location const &loc=std::source_location::current()) |
| | Build an error message with source location information. More...
|
| |
| template<typename ThrowFn > |
| constexpr void | expects_impl (bool condition, std::string_view reason, ThrowFn &&throw_fn, std::source_location const &loc=std::source_location::current()) |
| | Core implementation for RAPIDSMPF_EXPECTS. More...
|
| |
| std::string | build_cuda_error_message (cudaError_t error, std::source_location const &loc=std::source_location::current()) |
| | Build a CUDA error message with source location information. More...
|
| |
| std::string | build_cuda_alloc_error_message (cudaError_t error, std::size_t num_bytes, std::source_location const &loc=std::source_location::current()) |
| | Build a CUDA allocation error message with source location information. More...
|
| |
| void | fatal_error (std::string_view reason, std::source_location const &loc=std::source_location::current()) noexcept |
| | Print a fatal error message and terminate. More...
|
| |
| constexpr void | expects_fatal_impl (bool condition, std::string_view reason, std::source_location const &loc=std::source_location::current()) noexcept |
| | Implementation for RAPIDSMPF_EXPECTS_FATAL. More...
|
| |
| void | fatal_impl (std::string_view reason, std::source_location const &loc=std::source_location::current()) noexcept |
| | Implementation for RAPIDSMPF_FATAL. More...
|
| |
| template<typename T > |
| requires std::is_integral_v< T > std::int64_t | convert_to_64bit (T value) |
| | Convert an integral value to a 64-bit signed integer. More...
|
| |
| template<typename T > |
| requires std::is_floating_point_v< T > double | convert_to_64bit (T value) |
| | Convert a floating-point value to double. More...
|
| |
| template<typename T > |
| constexpr T * | to_pointer (T *ptr) noexcept |
| | Returns the raw pointer from a pointer, reference, or smart pointer. More...
|
| |
| template<typename T > |
| constexpr T * | to_pointer (T &ptr) noexcept |
| | Returns the raw pointer from a pointer, reference, or smart pointer. More...
|
| |
| template<typename T > |
| constexpr T * | to_pointer (std::unique_ptr< T > &ptr) noexcept |
| | Returns the raw pointer from a pointer, reference, or smart pointer. More...
|
| |
| template<typename T > |
| constexpr T * | to_pointer (std::shared_ptr< T > &ptr) noexcept |
| | Returns the raw pointer from a pointer, reference, or smart pointer. More...
|
| |