INGOR
Loading...
Searching...
No Matches
ytFakeOmp.h
1/*
2 util/ytFakeOmp.{h,c} : Fake omp routine for single thread
3 Copyright (C) 2018, Yoshinori Tamada <tamada A T ytlab.jp>
4 All rights reserved.
5
6 See LICENSE.txt for details of the licensing agreement.
7*/
8
9#ifndef __YTLIB_FAKE_OMP_H
10#define __YTLIB_FAKE_OMP_H
11#ifndef _OPENMP
12int omp_get_thread_num();
13int omp_get_num_threads();
14int omp_get_max_threads();
15#endif /* _OPENMP */
16#endif /* __YTLIB_FAKE_OMP_H */