"ts/webui/src/components/modals/Compare.tsx" did not exist on "56be400c2130e3d61f84c3bd2e1eb9de8d99ce92"
tan.cpp 471 Bytes
Newer Older
Shucai Xiao's avatar
Shucai Xiao committed
1
2
3
4
5
#include <migraphx/gpu/device/tan.hpp>
#include <migraphx/gpu/device/nary.hpp>
#include <migraphx/gpu/device/types.hpp>

namespace migraphx {
6
inline namespace MIGRAPHX_INLINE_NS {
Shucai Xiao's avatar
Shucai Xiao committed
7
8
9
10
11
12
13
14
15
16
namespace gpu {
namespace device {

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

} // namespace device
} // namespace gpu
17
} // namespace MIGRAPHX_INLINE_NS
Shucai Xiao's avatar
Shucai Xiao committed
18
} // namespace migraphx