contiguous.cpp 445 Bytes
Newer Older
1

Paul's avatar
Paul committed
2
3
#include <migraphx/gpu/device/contiguous.hpp>
#include <migraphx/gpu/device/nary.hpp>
4

Paul's avatar
Paul committed
5
namespace migraphx {
Paul's avatar
Paul committed
6
inline namespace MIGRAPHX_INLINE_NS {
Paul's avatar
Paul committed
7
namespace gpu {
8
namespace device {
9

Paul's avatar
Paul committed
10
void contiguous(hipStream_t stream, argument result, argument arg)
11
{
Paul's avatar
Paul committed
12
    nary_nonstandard(stream, std::move(result), std::move(arg))([](auto x) { return x; });
13
14
}

15
} // namespace device
Paul's avatar
Paul committed
16
} // namespace gpu
Paul's avatar
Paul committed
17
} // namespace MIGRAPHX_INLINE_NS
Paul's avatar
Paul committed
18
} // namespace migraphx