"src/include/rtg/argument.hpp" did not exist on "81778d3de6bb24fb6cbbdd34a2c97cf63a32aa33"
cosh.cpp 474 Bytes
Newer Older
1
2
3
4
5
#include <migraphx/gpu/device/cosh.hpp>
#include <migraphx/gpu/device/nary.hpp>
#include <migraphx/gpu/device/types.hpp>

namespace migraphx {
6
inline namespace MIGRAPHX_INLINE_NS {
7
8
9
10
11
12
13
14
15
16
namespace gpu {
namespace device {

void cosh(hipStream_t stream, const argument& result, const argument& arg)
{
    nary(stream, result, arg)([](auto x) { return ::cosh(to_hip_type(x)); });
}

} // namespace device
} // namespace gpu
17
} // namespace MIGRAPHX_INLINE_NS
18
} // namespace migraphx