"src/include/blockwise_4d_tensor_op.cuh" did not exist on "21c918162e81211d2b7ec3a555accef1235957eb"
element_wise_operation.hpp 365 Bytes
Newer Older
Chao Liu's avatar
Chao Liu committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#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