ScaMaC
0.8.2
A Scalable Matrix Collection
lib
toolkit
private_headers
scamac_omp.h
Go to the documentation of this file.
1
8
#ifndef SCAMAC_OMP_H
9
#define SCAMAC_OMP_H
10
11
#ifdef _OPENMP
12
#include <omp.h>
13
#else
14
#define omp_get_thread_num() 0
15
#define omp_get_num_threads() 1
16
#include "time.h"
17
#define omp_get_wtime() ( (double) clock() / (double) CLOCKS_PER_SEC )
18
#endif
19
20
#endif
/* SCAMAC_OMP_H */
Generated by
1.8.13