#NEWLINE# def test_simple_smem( self ) : #NEWLINE# #INDENT# compiled = cuda . jit ( 'void(int32[::1])' ) ( simple_smem ) #NEWLINE# nelem = 100 #NEWLINE# ary = np . empty ( nelem , dtype = np . int32 ) #NEWLINE# compiled [ ( 1 , nelem ) ] ( ary ) #NEWLINE# self . assertTrue ( np . all ( ( ary == np . arange ( nelem , dtype = np . int32 ) ) ) )