/home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-composable-kernel/checkouts/docs-7.0.0/include/ck_tile/host/kernel_launch.hpp Source File#
kernel_launch.hpp
Go to the documentation of this file.
70 * this is the function to launch arbitrary number of kernels with optional timer(selected by stream_config)
73 * the simplest way is pass in a lambda function, with "[=](const stream_config& s){ call_your_kernel_here() }"
82 * if you use ck_tile kernel, or similiar to this style (structure with "static __device__ operator()(...){}")
83 * you can pass your kernel to ck_tile::make_kernel(), which will create a anonymous functor for you,
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:47
CK_TILE_HOST void launch_and_check(const stream_config &sc, Callables &&... callables)
Definition: kernel_launch.hpp:57
CK_TILE_HOST float launch_kernel(const stream_config &s, Callables &&... callables)
Definition: kernel_launch.hpp:94
CK_TILE_HOST float launch_kernel_preprocess(const stream_config &s, PreprocessFunc preprocess, Callables &&... callables)
Definition: kernel_launch.hpp:132
Definition: timer.hpp:52
Definition: timer.hpp:15
Definition: stream_config.hpp:26
#define OPTIMAL_LATENCY_HIGH_CU_PROCESSORS
Definition: kernel_launch.hpp:19
#define OPTIMAL_LATENCY_LOW_CU_PROCESSORS
Definition: kernel_launch.hpp:18