libittnotify.h 823 B

123456789101112131415161718192021222324
  1. #if !defined(TORCH_STABLE_ONLY) && !defined(TORCH_TARGET_VERSION)
  2. /*
  3. Copyright (C) 2005-2019 Intel Corporation
  4. SPDX-License-Identifier: GPL-2.0-only OR BSD-3-Clause
  5. */
  6. #ifndef _LIBITTNOTIFY_H_
  7. #define _LIBITTNOTIFY_H_
  8. #ifndef __ITT_INTERNAL_INCLUDE
  9. # if defined WIN32 || defined _WIN32
  10. # pragma message("WARNING!!! Include file libittnotify.h is deprecated and should not be included anymore")
  11. # else /* WIN32 */
  12. # warning "Include file libittnotify.h is deprecated and should not be included anymore"
  13. # endif /* WIN32 */
  14. #endif /* __ITT_INTERNAL_INCLUDE */
  15. #include "legacy/ittnotify.h"
  16. #endif /* _LIBITTNOTIFY_H_ */
  17. #else
  18. #error "This file should not be included when either TORCH_STABLE_ONLY or TORCH_TARGET_VERSION is defined."
  19. #endif // !defined(TORCH_STABLE_ONLY) && !defined(TORCH_TARGET_VERSION)