#NEWLINE# @ pytest . fixture #NEWLINE# def kernel_inc( ) : #NEWLINE# #INDENT# code = c_for ( 'i' , 3 , c_for ( 'j' , 3 , Incr ( Symbol ( 'entry' , ( 'i' , 'j' ) ) , c_sym ( '*g' ) ) ) ) #NEWLINE# kernel_code = FunDecl ( 'void' , 'kernel_inc' , [ Decl ( 'double' , Symbol ( 'entry' , ( 3 , 3 ) ) ) , Decl ( 'double*' , c_sym ( 'g' ) ) ] , Block ( [ code ] , open_scope = False ) ) #NEWLINE# return op2 . Kernel ( code , 'kernel_inc' )