示例#1
0
def setup():
    """ This function is run once on module import to configure initial settings """
    setLogLevel("ERROR")  # set default loglevel for C++ code
    setPrintLocation(True)
    enableNestedParallelism()  # enable nested parallelism
    logging.basicConfig(
        level=logging.INFO)  # set default loglevel for Python code
示例#2
0
def setup():
    """ This function is run once on module import to configure initial settings """
    setLogLevel("ERROR")  # set default loglevel for C++ code
    setPrintLocation(True)
示例#3
0
def setup():
	""" This function is run once on module import to configure initial settings """
	setLogLevel("ERROR")    # set default loglevel for C++ code
	setPrintLocation(True)
	enableNestedParallelism()	# enable nested parallelism
	logging.basicConfig(level=logging.INFO)	# set default loglevel for Python code