예제 #1
0
파일: test_sort.py 프로젝트: suryadwar/cupy
 def test_msort_unsupported_dtype(self, dtype):
     a = testing.shaped_random((10, ), cupy, dtype)
     with self.assertRaises(NotImplementedError):
         return cupy.msort(a)
예제 #2
0
파일: test_sort.py 프로젝트: jo7ueb/cupy
 def test_msort_two_or_more_dim(self):
     a = testing.shaped_random((2, 3), cupy)
     with self.assertRaises(ValueError):
         return cupy.msort(a)