#NEWLINE# def accept( self , fgraph , no_recycling = None ) : #NEWLINE# #INDENT# '\n\n        Parameters\n        ----------\n        fgraph\n            A PerformLinker can have accepted one FunctionGraph instance\n            at a time.\n        no_recycling\n            WRITEME\n\n        Returns\n        -------\n        Self if fgraph is the first FunctionGraph that has ever been\n        associated to self, else, a new VM_Linker associated to fgraph.\n\n        ' #NEWLINE# if ( config . profile and hasattr ( theano , 'sandbox' ) and hasattr ( theano . sandbox , 'cuda' ) and theano . sandbox . cuda . cuda_enabled ) : #NEWLINE# #INDENT# if ( os . environ . get ( 'CUDA_LAUNCH_BLOCKING' , '0' ) != '1' ) : #NEWLINE# #INDENT# raise Exception ( 'You are running the Theano profiler with CUDA enabled. Theano GPU ops execution is asynchronous by default. So by default, the profile is useless. You must set the environment variable CUDA_LAUNCH_BLOCKING to 1 to tell the CUDA driver to synchronize the execution to get a meaningful profile.' ) #NEWLINE# #UNINDENT# #UNINDENT# if ( no_recycling is None ) : #NEWLINE# #INDENT# no_recycling = [ ] #NEWLINE# #UNINDENT# if ( ( self . fgraph is not None ) and ( self . fgraph is not fgraph ) ) : #NEWLINE# #INDENT# return type ( self ) ( allow_gc = self . allow_gc , use_cloop = self . use_cloop , callback = self . callback , lazy = self . lazy , schedule = self . schedule , c_thunks = self . c_thunks ) . accept ( fgraph , no_recycling ) #NEWLINE# #UNINDENT# self . fgraph = fgraph #NEWLINE# self . no_recycling = no_recycling #NEWLINE# return self