def test_shared_cudandarray():
 a = cuda.shared_constructor(cuda.CudaNdarray.zeros((2, 3)))
 assert isinstance(a.type, tcn.CudaNdarrayType)

def test_shared_cudandarray ( ) : a = cuda . shared_constructor ( cuda . CudaNdarray . zeros ( ( 2 , 3 ) ) ) assert isinstance ( a . type , tcn . CudaNdarrayType )
test that we can create a cudandarraysharedvariable from a cudandarray .