You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by ma...@apache.org on 2021/04/27 00:06:45 UTC

[incubator-mxnet] branch v1.x updated: [v1.x] Fix gcc 10 build (#20216)

This is an automated email from the ASF dual-hosted git repository.

manuseth pushed a commit to branch v1.x
in repository https://gitbox.apache.org/repos/asf/incubator-mxnet.git


The following commit(s) were added to refs/heads/v1.x by this push:
     new 3d38067  [v1.x] Fix gcc 10 build (#20216)
3d38067 is described below

commit 3d38067bbfb448ff71c890b6216dcb669ada021e
Author: Manu Seth <22...@users.noreply.github.com>
AuthorDate: Mon Apr 26 17:04:47 2021 -0700

    [v1.x] Fix gcc 10 build (#20216)
    
    * Update elemwise_binary_broadcast_op_basic.cu (#18761)
    
    This fix https://github.com/apache/incubator-mxnet/issues/18170
    refer to the fix: https://github.com/apache/incubator-mxnet/pull/18357
    
    * Fix undef symbol mxnet::op::ElemwiseBinaryOp::DnsCsrCsrOp (#18357)
    
    Co-authored-by: Balint Cristian <cr...@gmail.com>
---
 src/operator/tensor/elemwise_binary_broadcast_op_basic.cc | 2 +-
 src/operator/tensor/elemwise_binary_broadcast_op_basic.cu | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/operator/tensor/elemwise_binary_broadcast_op_basic.cc b/src/operator/tensor/elemwise_binary_broadcast_op_basic.cc
index 6d3ce93..18fe653 100644
--- a/src/operator/tensor/elemwise_binary_broadcast_op_basic.cc
+++ b/src/operator/tensor/elemwise_binary_broadcast_op_basic.cc
@@ -23,7 +23,7 @@
  * \brief CPU Implementation of basic functions for elementwise binary broadcast operator.
  */
 #include "./elemwise_unary_op.h"
-#include "./elemwise_binary_op.h"
+#include "./elemwise_binary_op-inl.h"
 #include "./elemwise_binary_broadcast_op.h"
 
 namespace mxnet {
diff --git a/src/operator/tensor/elemwise_binary_broadcast_op_basic.cu b/src/operator/tensor/elemwise_binary_broadcast_op_basic.cu
index aa0850a..75ab2ae 100644
--- a/src/operator/tensor/elemwise_binary_broadcast_op_basic.cu
+++ b/src/operator/tensor/elemwise_binary_broadcast_op_basic.cu
@@ -23,7 +23,7 @@
  * \brief GPU Implementation of basic functions for elementwise binary broadcast operator.
  */
 #include "./elemwise_unary_op.h"
-#include "./elemwise_binary_op.h"
+#include "./elemwise_binary_op-inl.h"
 #include "./elemwise_binary_broadcast_op.h"
 
 namespace mxnet {