Build warnings about CpuSparseMatrix.h
Created by: wangkuiyi
We are close to kill all warning messages in the build log. But I see this batch
[11:32:50] /paddle/paddle/math/CpuSparseMatrix.h(21): warning: overloaded virtual function "paddle::Matrix::rowMax" is only partially overridden in class "paddle::CpuSparseMatrix"
[11:32:50]
[11:32:50] /paddle/paddle/math/CpuSparseMatrix.h(21): warning: overloaded virtual function "paddle::Matrix::mul" is only partially overridden in class "paddle::CpuSparseMatrix"
[11:32:50]
[11:32:50] /paddle/paddle/math/CpuSparseMatrix.h(21): warning: overloaded virtual function "paddle::Matrix::print" is only partially overridden in class "paddle::CpuSparseMatrix"
[11:32:50]
[11:32:50] /paddle/paddle/math/CpuSparseMatrix.h(21): warning: overloaded virtual function "paddle::Matrix::subMatrix" is only partially overridden in class "paddle::CpuSparseMatrix"
[11:32:50]
[11:32:50] /paddle/paddle/math/SparseMatrix.h(24): warning: overloaded virtual function "paddle::Matrix::print" is only partially overridden in class "paddle::GpuSparseMatrix"
[11:32:50]
[11:32:50] /paddle/paddle/math/SparseMatrix.h(24): warning: overloaded virtual function "paddle::Matrix::rowMax" is only partially overridden in class "paddle::GpuSparseMatrix"
[11:32:50]
[11:32:51] [ 34%] Building NVCC (Device) object paddle/function/CMakeFiles/cuda_compile.dir/cuda_compile_generated_CosSimOpGpu.cu.o
[11:32:52] [ 34%] Building NVCC (Device) object paddle/function/CMakeFiles/cuda_compile.dir/cuda_compile_generated_CropOpGpu.cu.o
[11:32:53] /paddle/paddle/math/CpuSparseMatrix.h(21): warning: overloaded virtual function "paddle::Matrix::rowMax" is only partially overridden in class "paddle::CpuSparseMatrix"
[11:32:53]
[11:32:53] /paddle/paddle/math/CpuSparseMatrix.h(21): warning: overloaded virtual function "paddle::Matrix::mul" is only partially overridden in class "paddle::CpuSparseMatrix"
[11:32:53]
[11:32:53] /paddle/paddle/math/CpuSparseMatrix.h(21): warning: overloaded virtual function "paddle::Matrix::print" is only partially overridden in class "paddle::CpuSparseMatrix"
[11:32:53]
[11:32:53] /paddle/paddle/math/CpuSparseMatrix.h(21): warning: overloaded virtual function "paddle::Matrix::subMatrix" is only partially overridden in class "paddle::CpuSparseMatrix"
[11:32:53]
[11:32:53] /paddle/paddle/math/SparseMatrix.h(24): warning: overloaded virtual function "paddle::Matrix::print" is only partially overridden in class "paddle::GpuSparseMatrix"
[11:32:53]
[11:32:53] /paddle/paddle/math/SparseMatrix.h(24): warning: overloaded virtual function "paddle::Matrix::rowMax" is only partially overridden in class "paddle::GpuSparseMatrix"
Could we fix them?