mirror of
https://github.com/ROCm/composable_kernel.git
synced 2026-05-11 08:50:17 +00:00
* gemm+activation * move C pointwise operation into threadwise copy * add pointwise operation to A/B matrix * update ckProfiler * adding bias add * adding bias add * adding bias add * added bias add; worked around compiler issues * clean up * clean up * Update README.md * Update README.md * Update README.md * clean up * add conv_xdl example * adding conv_xdl_bias_relu_add example * add conv+bias+relu+add, but has register spill issue * tweak * tweak * refactor * Update README.md update readme for example/2_gemm_xdl_bias_relu_add * clean up * Update README.md update readme for example/3_conv_xdl * Update README.md
21 lines
365 B
C++
21 lines
365 B
C++
#ifndef ELEMENT_WISE_OPERATION_HPP
|
|
#define ELEMENT_WISE_OPERATION_HPP
|
|
|
|
namespace ck {
|
|
namespace tensor_operation {
|
|
namespace element_wise {
|
|
|
|
struct PassThrough
|
|
{
|
|
template <typename T>
|
|
__host__ __device__ constexpr T operator()(T v) const
|
|
{
|
|
return v;
|
|
}
|
|
};
|
|
|
|
} // namespace element_wise
|
|
} // namespace tensor_operation
|
|
} // namespace ck
|
|
#endif
|