|
| template<typename T > |
| CS_F_HOST_DEVICE T | abs (const T a) |
| |
| template<typename T > |
| CS_F_HOST_DEVICE T | min (const T a, const T b) |
| |
| template<typename T > |
| CS_F_HOST_DEVICE T | max (const T a, const T b) |
| |
| template<typename T > |
| CS_F_HOST_DEVICE T | clamp (const T x, const T xmin, const T xmax) |
| |
| template<class T > |
| CS_F_HOST_DEVICE constexpr std::enable_if_t< std::is_move_constructible< T >::value &&std::is_move_assignable< T >::value > | swap_objects (T &obj1, T &obj2) |
| | A swap method which is callable from GPU and not only CPU. More...
|
| |
| template<class T , std::size_t N> |
| CS_F_HOST_DEVICE constexpr void | swap_objects (T(&obj1)[N], T(&obj2)[N]) |
| |
| template<typename Id1 > |
| CS_F_HOST_DEVICE unsigned int | number_of_digits (Id1 val) |
| | Count number of digits in an integer. More...
|
| |
| template<typename Id1 > |
| CS_F_HOST_DEVICE void | uint_to_char (char *dest, Id1 val) |
| | Convert an unsigned integer to an array of char. More...
|
| |
| CS_F_HOST_DEVICE void | concatenate_char (char *dest, const char *src) |
| | Concatenate two strings (char *) More...
|
| |
| template<exec_type _EXEC_, class F , class... Args> |
| bool | parallel_for (cs_lnum_t n, F &&f, Args &&... args) |
| | parallel_for construct using a dispatch context based on template parameter (enum) "exec_type" More...
|
| |
| template<class F , class... Args> |
| bool | parallel_for (cs_lnum_t n, F &&f, Args &&... args) |
| | parallel_for construct using the default global dispatch context More...
|
| |
| template<class F , class... Args> |
| bool | parallel_for (cs_dispatch_context &ctx, cs_lnum_t n, F &&f, Args &&... args) |
| | parallel_for construct using a dispatch context as input argument More...
|
| |
| template<class F , class... Args> |
| bool | parallel_for (cs_host_context &ctx, cs_lnum_t n, F &&f, Args &&... args) |
| | parallel_for construct using a host context as input argument More...
|
| |
| template<exec_type _EXEC_, class M , class F , class... Args> |
| bool | parallel_for_i_faces (const M *m, F &&f, Args &&... args) |
| | parallel_for_i_faces construct using a dispatch context based on template parameter (enum) "exec_type" More...
|
| |
| template<class M , class F , class... Args> |
| bool | parallel_for_i_faces (const M *m, F &&f, Args &&... args) |
| | parallel_for_i_faces construct using the default global dispatch context More...
|
| |
| template<class M , class F , class... Args> |
| bool | parallel_for_i_faces (cs_dispatch_context &ctx, const M *m, F &&f, Args &&... args) |
| | parallel_for_i_faces construct using dispatch context as input argument More...
|
| |
| template<class M , class F , class... Args> |
| bool | parallel_for_i_faces (cs_host_context &ctx, const M *m, F &&f, Args &&... args) |
| | parallel_for_i_faces construct using host context as input argument More...
|
| |
| template<exec_type _EXEC_, class T , class F , class... Args> |
| bool | parallel_for_reduce_sum (cs_lnum_t n, T &sum, F &&f, Args &&... args) |
| | parallel_for_reduce_sum construct using a dispatch context based on template parameter (enum) "exec_type" More...
|
| |
| template<class T , class F , class... Args> |
| bool | parallel_for_reduce_sum (cs_lnum_t n, T &sum, F &&f, Args &&... args) |
| | parallel_for_reduce_sum construct using the default global dispatch context More...
|
| |
| template<class T , class F , class... Args> |
| bool | parallel_for_reduce_sum (cs_dispatch_context &ctx, cs_lnum_t n, T &sum, F &&f, Args &&... args) |
| | parallel_for_reduce_sum construct using the default global dispatch context More...
|
| |
| template<class T , class F , class... Args> |
| bool | parallel_for_reduce_sum (cs_host_context &ctx, cs_lnum_t n, T &sum, F &&f, Args &&... args) |
| | parallel_for_reduce_sum construct using the default global host context More...
|
| |
| template<exec_type _EXEC_, class T , class R , class F , class... Args> |
| bool | parallel_for_reduce (cs_lnum_t n, T &result, R &reducer, F &&f, Args &&... args) |
| | parallel_for_reduce construct using a dispatch context based on template parameter (enum) "exec_type" More...
|
| |
| template<class T , class R , class F , class... Args> |
| bool | parallel_for_reduce (cs_lnum_t n, T &result, R &reducer, F &&f, Args &&... args) |
| | parallel_for_reduce construct using the default global dispatch context More...
|
| |
| template<class T , class R , class F , class... Args> |
| bool | parallel_for_reduce (cs_dispatch_context &ctx, cs_lnum_t n, T &result, R &reducer, F &&f, Args &&... args) |
| | parallel_for_reduce_sum construct using the default global dispatch context More...
|
| |
| template<class T , class R , class F , class... Args> |
| bool | parallel_for_reduce (cs_host_context &ctx, cs_lnum_t n, T &result, R &reducer, F &&f, Args &&... args) |
| | parallel_for_reduce_sum construct using the default global host context More...
|
| |
| template<exec_type _EXEC_, class... Args> |
| bool | wait (void) |
| | wait construct using a dispatch context based on template parameter of exec_type (enum) More...
|
| |
| template<class... Args> |
| bool | wait (void) |
| | wait construct using the default global dispatch context More...
|
| |
| template<class... Args> |
| bool | wait (cs_dispatch_context &ctx) |
| | wait construct using a dispatch context as input argument More...
|
| |
| template<class... Args> |
| bool | wait (cs_host_context &ctx) |
| | wait construct using a host context as input argument More...
|
| |
| CS_F_HOST_DEVICE double | abs (const double a) |
| |
| CS_F_HOST_DEVICE float | abs (const float a) |
| |
| CS_F_HOST_DEVICE double | min (const double a, const double b) |
| |
| CS_F_HOST_DEVICE float | min (const float a, const float b) |
| |
| CS_F_HOST_DEVICE double | max (const double a, const double b) |
| |
| CS_F_HOST_DEVICE float | max (const float a, const float b) |
| |
| CS_F_HOST_DEVICE double | clamp (const double x, const double xmin, const double xmax) |
| |
| CS_F_HOST_DEVICE float | clamp (const float x, const float xmin, const float xmax) |
| |
| CS_F_HOST_DEVICE float | pow2 (float x) |
| | Compute the square of a real value. More...
|
| |
| CS_F_HOST_DEVICE double | pow2 (double x) |
| |