mirror of
https://github.com/Z3Prover/z3
synced 2025-04-25 10:05:32 +00:00
Z3 sources
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
parent
3f9edad676
commit
e9eab22e5c
1186 changed files with 381859 additions and 0 deletions
38
lib/z3_omp.h
Normal file
38
lib/z3_omp.h
Normal file
|
@ -0,0 +1,38 @@
|
|||
/*++
|
||||
Copyright (c) 2012 Microsoft Corporation
|
||||
|
||||
Module Name:
|
||||
|
||||
z3_omp.h
|
||||
|
||||
Abstract:
|
||||
|
||||
Wrapper for OMP functions and data-structures
|
||||
|
||||
Author:
|
||||
|
||||
Leonardo (leonardo) 2012-01-05
|
||||
|
||||
Notes:
|
||||
|
||||
--*/
|
||||
#ifndef _Z3_OMP_H
|
||||
#define _Z3_OMP_H
|
||||
|
||||
#ifndef _NO_OMP_
|
||||
#include"omp.h"
|
||||
#else
|
||||
#define omp_in_parallel() false
|
||||
#define omp_set_num_threads(SZ) ((void)0)
|
||||
#define omp_get_thread_num() 0
|
||||
#define omp_get_num_procs() 1
|
||||
#define omp_set_nested(V) ((void)0)
|
||||
#define omp_init_nest_lock(L) ((void) 0)
|
||||
#define omp_destroy_nest_lock(L) ((void) 0)
|
||||
#define omp_set_nest_lock(L) ((void) 0)
|
||||
#define omp_unset_nest_lock(L) ((void) 0)
|
||||
struct omp_nest_lock_t {
|
||||
};
|
||||
#endif
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue