#NEWLINE# def open_cudalib( lib , ccc = False ) : #NEWLINE# #INDENT# path = get_cudalib ( lib ) #NEWLINE# if ( path is None ) : #NEWLINE# #INDENT# raise OSError ( ( 'library %s not found' % ccc ) ) #NEWLINE# #UNINDENT# if ccc : #NEWLINE# #INDENT# return ctypes . CDLL ( path ) #NEWLINE# #UNINDENT# return _dllopener ( path )