[eigen] minor warning fix

[ Thread Index | Date Index | More lists.tuxfamily.org/eigen Archives ]


Hi,

 

This function in unsupported\Eigen\CXX11\src\Tensor\TensorDeviceCuda.h (lines 290-292):

 

EIGEN_STRONG_INLINE int sharedMemPerBlock() const {

  return stream_->deviceProperties().sharedMemPerBlock;

}

 

Is causing a compile warning (about the conversion from size_t to int) for me. I don’t have access to Bugzilla to report the bug. Is it possible to change the return type to size_t?

 

Thanks!

Matt

 

 

 



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/