blob: 29df70f9e6b483b13da9b97bcac15ec15dc9684c [file] [log] [blame]
/*!
* Copyright (c) 2015 by Contributors
* \file matrix_op.cu
* \brief GPU Implementation of matrix operations
*/
// this will be invoked by gcc and compile GPU version
#include "./ordering_op-inl.h"
namespace mxnet {
namespace op {
NNVM_REGISTER_OP(topk)
.set_attr<FCompute>("FCompute<gpu>", TopK<gpu>);
NNVM_REGISTER_OP(_backward_topk)
.set_attr<FCompute>("FCompute<gpu>", TopKBackward_<gpu>);
NNVM_REGISTER_OP(sort)
.set_attr<FCompute>("FCompute<gpu>", Sort<gpu>);
NNVM_REGISTER_OP(argsort)
.set_attr<FCompute>("FCompute<gpu>", ArgSort<gpu>);
} // namespace op
} // namespace mxnet