"docs/en_US/Customize_Advisor.md" did not exist on "bc9eab33642f6d059092c5f19d0a21bd11e06992"
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