blob: cb8040eed693bea4fa204af6a0b0329ebe4caa83 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#ifndef TENSORFLOW_PLATFORM_THREAD_ANNOTATIONS_H_
#define TENSORFLOW_PLATFORM_THREAD_ANNOTATIONS_H_
#include "tensorflow/core/platform/port.h"
#if defined(PLATFORM_GOOGLE) || defined(PLATFORM_GOOGLE_ANDROID)
#include "base/thread_annotations.h"
#elif defined(PLATFORM_POSIX) || defined(PLATFORM_POSIX_ANDROID)
#include "tensorflow/core/platform/default/thread_annotations.h"
#else
#error Define the appropriate PLATFORM_<foo> macro for this platform
#endif
#endif // TENSORFLOW_PLATFORM_THREAD_ANNOTATIONS_H_
|