batman/openmp.py
def detect():
	"""Does this compiler support OpenMP parallelization?"""
	compiler = new_compiler()
	hasopenmp = hasfunction(compiler, 'omp_get_num_threads()')
	needs_gomp = hasopenmp
	if not hasopenmp:
		compiler.add_library('gomp')
	hasopenmp = hasfunction(compiler, 'omp_get_num_threads()')
	needs_gomp = hasopenmp
	return hasopenmp
def detect():
	"""Does this compiler support OpenMP parallelization?"""
	compiler = new_compiler()
	hasopenmp = hasfunction(compiler, 'omp_get_num_threads()')
	needs_gomp = hasopenmp
	if not hasopenmp:
		compiler.add_library('gomp')
	hasopenmp = hasfunction(compiler, 'omp_get_num_threads()')
	needs_gomp = hasopenmp
	return hasopenmp
def detect ( ) : compiler = new_compiler ( ) hasopenmp = hasfunction ( compiler , 'omp_get_num_threads()' ) needs_gomp = hasopenmp if not hasopenmp : compiler . add_library ( 'gomp' ) hasopenmp = hasfunction ( compiler , 'omp_get_num_threads()' ) needs_gomp = hasopenmp return hasopenmp
Does this compiler support OpenMP parallelization?
Does this compiler support OpenMP parallelization?