Added test for CudaNdarray.__getitem__ that show a new bug under Ubuntu and fix it.
The bug make the CudaNdarray.__getitem__ return something with the wrong number of dimensions.
The bug happen with the param of __getitem__ is a tuple with element that are a numpy.int under Ubuntu(system where PyInt_Check(numpy.int) return false.
正在显示
请
注册
或者
登录
后发表评论