a=zeros(20,dtype=float32)
b = a[::-1]
self.assertRaises(InterpKernelException,DataArrayFloat.New,b) # b is not contiguous in memory
a=zeros(20,dtype=float32)
b = a[::-1]
self.assertRaises(InterpKernelException,DataArrayFloat.New,b) # b is not contiguous in memory