/home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-composable-kernel/checkouts/develop/include/ck_tile/host/kernel_launch.hpp Source File#
kernel_launch.hpp
Go to the documentation of this file.
116 * this is the function to launch arbitrary number of kernels with optional timer(selected by stream_config)
119 * the simplest way is pass in a lambda function, with "[=](const stream_config& s){ call_your_kernel_here() }"
128 * if you use ck_tile kernel, or similiar to this style (structure with "static __device__ operator()(...){}")
129 * you can pass your kernel to ck_tile::make_kernel(), which will create a anonymous functor for you,
164 launch_kernel_time_mask(const stream_config& s, PreprocessFunc preprocess, Callables&&... callables)
Definition: cluster_descriptor.hpp:13
CK_TILE_HOST auto make_kernel(KernelImpl, dim3 grid_dim, dim3 block_dim, std::size_t lds_byte, Args... args)
Definition: kernel_launch.hpp:40
CK_TILE_HOST double timing_loop_impl(TimerType timer, const stream_config &s, CallablesFunc &&callables_func, PreprocessFunc preprocess=nullptr)
Definition: kernel_launch.hpp:77
CK_TILE_HOST double preprocess_profiling_impl(TimerType timer, const stream_config &s, PreprocessFunc preprocess)
Definition: kernel_launch.hpp:61
CK_TILE_HOST void launch_and_check(const stream_config &sc, Callables &&... callables)
Definition: kernel_launch.hpp:49
CK_TILE_HOST float launch_kernel_time_mask(const stream_config &s, PreprocessFunc preprocess, Callables &&... callables)
Definition: kernel_launch.hpp:164
CK_TILE_HOST float launch_kernel(const stream_config &s, Callables &&... callables)
Definition: kernel_launch.hpp:140
Definition: timer.hpp:52
Definition: timer.hpp:15
Definition: stream_config.hpp:30