#NEWLINE# def test_slice_as_arg( self ) : #NEWLINE# #INDENT# global cufoo #NEWLINE# cufoo = cuda . jit ( 'void(int32[:], int32[:])' , device = True ) ( foo ) #NEWLINE# cucopy = cuda . jit ( 'void(int32[:,:], int32[:,:])' ) ( copy ) #NEWLINE# inp = np . arange ( 100 , dtype = np . int32 ) . reshape ( 10 , 10 ) #NEWLINE# out = np . zeros_like ( inp ) #NEWLINE# cucopy [ ( 1 , 10 ) ] ( inp , inp )