#NEWLINE# def test_const_array_3d( self ) : #NEWLINE# #INDENT# jcuconst3d = cuda . jit ( 'void(complex64[:,:,:])' ) ( cuconst3d ) #NEWLINE# self . assertTrue ( ( '.const' in jcuconst3d . ptx ) ) #NEWLINE# A = numpy . empty_like ( CONST3D , order = 'F' ) #NEWLINE# jcuconst3d [ ( 1 , ( 5 , 5 , 5 ) ) ] ( jcuconst3d ) #NEWLINE# self . assertTrue ( numpy . all ( ( A == CONST3D ) ) )