|
| | cs_void_context (void) |
| | Constructor. More...
|
| |
| void | set_cuda_grid (long grid_size, long block_size) |
| |
| void | set_cuda_stream (int stream_id) |
| |
| void | set_cuda_device (int device_id) |
| |
| void | set_use_gpu (bool use_gpu) |
| |
| bool | use_gpu (void) |
| | Check whether we are trying to run on GPU. More...
|
| |
| cs_alloc_mode_t | alloc_mode (void) |
| | Check preferred allocation mode depending on execution policy. More...
|
| |
| cs_alloc_mode_t | alloc_mode (bool readable_on_cpu) |
| |
| template<class F , class... Args> |
| bool | parallel_for (cs_lnum_t n, F &&f, Args &&... args) |
| |
| template<class T , class F , class... Args> |
| bool | parallel_for_reduce_sum (cs_lnum_t n, T &sum, F &&f, Args &&... args) |
| |
| 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) |
| |
| template<class... Args> |
| bool | wait (void) |
| |
| decltype(auto) | parallel_for (cs_lnum_t n, F &&f, Args &&... args)=delete |
| |
| decltype(auto) | parallel_for_i_faces (const M *m, F &&f, Args &&... args) |
| |
| decltype(auto) | parallel_for_b_faces (const M *m, F &&f, Args &&... args) |
| |
| decltype(auto) | parallel_for_reduce_sum (cs_lnum_t n, T &sum, F &&f, Args &&... args)=delete |
| |
| decltype(auto) | parallel_for_reduce (cs_lnum_t n, T &r, R &reducer, F &&f, Args &&... args)=delete |
| |
| decltype(auto) | wait (void)=delete |
| |
| bool | try_get_parallel_for_i_faces_sum_type (const M *m, cs_dispatch_sum_type_t &st) |
| |
| bool | try_get_parallel_for_b_faces_sum_type (const M *m, cs_dispatch_sum_type_t &st) |
| |
Context to group unused options and catch missing execution paths.