#include #include #include namespace migraphx { inline namespace MIGRAPHX_INLINE_NS { namespace gpu { shape hip_nonzero::compute_shape(std::vector inputs) const { return op.compute_shape({inputs.front()}); } argument hip_nonzero::compute(context& ctx, const shape&, const std::vector& args) const { return device::nonzero(ctx.get_stream().get(), args.back(), args.front()); } } // namespace gpu } // namespace MIGRAPHX_INLINE_NS } // namespace migraphx