#NEWLINE# def __init__( self , use_cache = True , cachedir = None ) : #NEWLINE# #INDENT# if ( not lfd . registration . _has_cuda ) : #NEWLINE# #INDENT# raise NotImplementedError ( 'CUDA not installed' ) #NEWLINE# #UNINDENT# super ( GpuTpsSolverFactory , self ) . __init__ ( use_cache = use_cache , cachedir = use_cache )