#NEWLINE# def bind_params( self , I , E , O , alpha ) : #NEWLINE# #INDENT# assert ( I . dtype == E . dtype ) #NEWLINE# if ( O . dtype . type is not np . float32 ) : #NEWLINE# #INDENT# update_temp = self . lib . scratch_buffer ( ( ( self . determ or O . size ) * 4 ) ) #NEWLINE# self . convert_args = [ update_temp , 'f4' , O , False ] #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# update_temp = O . gpudata #NEWLINE# self . convert_args = False #NEWLINE# #UNINDENT# self . zero_args = [ update_temp , 0 , O . size , self . lib . stream ] #NEWLINE# beta = 0.0 #NEWLINE# bsum_gpudata = 0 #NEWLINE# self . launch_args [ 2 : 9 ] = ( self . lib . stream , alpha , beta , I . gpudata , E . gpudata , O . gpudata , bsum_gpudata )