/home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-composable-kernel/checkouts/docs-6.4.3/include/ck/host_utility/kernel_launch.hpp File Reference#
kernel_launch.hpp File Reference
#include <hip/hip_runtime.h>
#include "ck/ck.hpp"
#include "ck/stream_config.hpp"
#include "ck/host_utility/hip_check_error.hpp"
Go to the source code of this file.
Functions | |
template<typename... Args, typename F > | |
float | launch_and_time_kernel (const StreamConfig &stream_config, F kernel, dim3 grid_dim, dim3 block_dim, std::size_t lds_byte, Args... args) |
template<typename... Args, typename F , typename PreProcessFunc > | |
float | launch_and_time_kernel_with_preprocess (const StreamConfig &stream_config, PreProcessFunc preprocess, F kernel, dim3 grid_dim, dim3 block_dim, std::size_t lds_byte, Args... args) |
Function Documentation
◆ launch_and_time_kernel()
template<typename... Args, typename F >
float launch_and_time_kernel | ( | const StreamConfig & | stream_config, |
F | kernel, | ||
dim3 | grid_dim, | ||
dim3 | block_dim, | ||
std::size_t | lds_byte, | ||
Args... | args | ||
) |
◆ launch_and_time_kernel_with_preprocess()
template<typename... Args, typename F , typename PreProcessFunc >
float launch_and_time_kernel_with_preprocess | ( | const StreamConfig & | stream_config, |
PreProcessFunc | preprocess, | ||
F | kernel, | ||
dim3 | grid_dim, | ||
dim3 | block_dim, | ||
std::size_t | lds_byte, | ||
Args... | args | ||
) |