Skip to content

Commit

Permalink
la_op_inline.h to la_op-inl.h for consistency (apache#13045)
Browse files Browse the repository at this point in the history
* la_op_inline.h to la_op-inl.h for consistency

* operator/tensor left-over doc changes
  • Loading branch information
ChaiBapchya authored and Jose Luis Contreras committed Nov 13, 2018
1 parent abdf93a commit 93844d2
Show file tree
Hide file tree
Showing 13 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion src/operator/linalg_impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
*/

/*!
* \file linalg.h
* \file linalg_impl.h
* \brief Implementation of unified tensor interface for advanced linear algebra functions
* (specifically BLAS3/LAPACK) from within mxnet.
*/
Expand Down
2 changes: 1 addition & 1 deletion src/operator/tensor/control_flow_op.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

/*!
* Copyright (c) 2017 by Contributors
* \file control_flow.h
* \file control_flow_op.h
* \brief Function definitions of operators for controlling flow
*/
#ifndef MXNET_OPERATOR_TENSOR_CONTROL_FLOW_OP_H_
Expand Down
4 changes: 2 additions & 2 deletions src/operator/tensor/elemwise_binary_broadcast_op_basic.cc
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@

/*!
* Copyright (c) 2016 by Contributors
* \file elemwise_binary_scalar_op.cc
* \brief CPU Implementation of binary function.
* \file elemwise_binary_broadcast_op_basic.cc
* \brief CPU Implementation of basic functions for elementwise binary broadcast operator.
*/
#include "./elemwise_unary_op.h"
#include "./elemwise_binary_op.h"
Expand Down
4 changes: 2 additions & 2 deletions src/operator/tensor/elemwise_binary_broadcast_op_basic.cu
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@

/*!
* Copyright (c) 2016 by Contributors
* \file elemwise_binary_scalar_op.cu
* \brief GPU Implementation of binary function.
* \file elemwise_binary_broadcast_op_basic.cu
* \brief GPU Implementation of basic functions for elementwise binary broadcast operator.
*/
#include "./elemwise_unary_op.h"
#include "./elemwise_binary_op.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

/*!
* Copyright (c) 2016 by Contributors
* \file elemwise_binary_scalar_op.cu
* \file elemwise_binary_broadcast_op_extended.cu
* \brief GPU Implementation of extended functions for elementwise binary broadcast operator.
*/
#include "./elemwise_unary_op.h"
Expand Down
2 changes: 1 addition & 1 deletion src/operator/tensor/elemwise_binary_broadcast_op_logic.cu
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

/*!
* Copyright (c) 2016 by Contributors
* \file elemwise_binary_scalar_op.cu
* \file elemwise_binary_broadcast_op_logic.cu
* \brief GPU Implementation of elementwise binary broadcast logical operators.
*/
#include "./elemwise_unary_op.h"
Expand Down
4 changes: 2 additions & 2 deletions src/operator/tensor/elemwise_binary_op_extended.cc
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@

/*!
* Copyright (c) 2016 by Contributors
* \file elemwise_binary_scalar_op.cc
* \brief CPU Implementation of unary function.
* \file elemwise_binary_op_extended.cc
* \brief CPU Implementation of extended functions for elementwise binary broadcast operator..
*/
#include "./elemwise_unary_op.h"
#include "./elemwise_binary_op-inl.h"
Expand Down
2 changes: 1 addition & 1 deletion src/operator/tensor/elemwise_scatter_op.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
*/

/*!
* \file elementwise_scatter_op.h
* \file elemwise_scatter_op.h
* \brief Function definition of elementwise scatter operators
*/
#ifndef MXNET_OPERATOR_TENSOR_ELEMWISE_SCATTER_OP_H_
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@

/*!
* Copyright (c) 2017 by Contributors
* \file la_op_inline.h
* \file la_op-inl.h
* \brief Operators for advanced linear algebra.
*/
#ifndef MXNET_OPERATOR_TENSOR_LA_OP_INLINE_H_
#define MXNET_OPERATOR_TENSOR_LA_OP_INLINE_H_
#ifndef MXNET_OPERATOR_TENSOR_LA_OP_INL_H_
#define MXNET_OPERATOR_TENSOR_LA_OP_INL_H_

#include "../linalg.h"

Expand Down Expand Up @@ -672,4 +672,4 @@ struct syevd_backward {
} // namespace op
} // namespace mxnet

#endif // MXNET_OPERATOR_TENSOR_LA_OP_INLINE_H_
#endif // MXNET_OPERATOR_TENSOR_LA_OP_INL_H_
2 changes: 1 addition & 1 deletion src/operator/tensor/la_op.cc
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
* \brief CPU implementation of Operators for advanced linear algebra.
*/
#include "./la_op.h"
#include "./la_op_inline.h"
#include "./la_op-inl.h"

namespace mxnet {
namespace op {
Expand Down
2 changes: 1 addition & 1 deletion src/operator/tensor/la_op.cu
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
* \brief GPU implementation of Operators for advanced linear algebra.
*/
#include "./la_op.h"
#include "./la_op_inline.h"
#include "./la_op-inl.h"

namespace mxnet {
namespace op {
Expand Down
2 changes: 1 addition & 1 deletion src/operator/tensor/ordering_op-inl.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
/*!
* Copyright (c) 2016 by Contributors
* \file ordering_op-inl.h
* \brief Function definition of matrix related operators
* \brief Function definition of ordering operators
*/
#ifndef MXNET_OPERATOR_TENSOR_ORDERING_OP_INL_H_
#define MXNET_OPERATOR_TENSOR_ORDERING_OP_INL_H_
Expand Down
2 changes: 1 addition & 1 deletion src/operator/tensor/ordering_op.cu
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
/*!
* Copyright (c) 2015 by Contributors
* \file ordering_op.cu
* \brief GPU Implementation of matrix operations
* \brief GPU Implementation of ordering operations
*/
// this will be invoked by gcc and compile GPU version
#include "./ordering_op-inl.h"
Expand Down

0 comments on commit 93844d2

Please sign in to comment.