mkl_vml.h 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. /* file: mkl_vml.h */
  2. /*******************************************************************************
  3. * Copyright 2006-2022 Intel Corporation.
  4. *
  5. * This software and the related documents are Intel copyrighted materials, and
  6. * your use of them is governed by the express license under which they were
  7. * provided to you (License). Unless the License provides otherwise, you may not
  8. * use, modify, copy, publish, distribute, disclose or transmit this software or
  9. * the related documents without Intel's prior written permission.
  10. *
  11. * This software and the related documents are provided as is, with no express
  12. * or implied warranties, other than those that are expressly stated in the
  13. * License.
  14. *******************************************************************************/
  15. /*
  16. //++
  17. // VML main header file. To use VML it is sufficient to include
  18. // mkl_vml.h only.
  19. //--
  20. */
  21. #ifndef __MKL_VML_H__
  22. #define __MKL_VML_H__
  23. /*
  24. // Latest versions of the Microsoft (R) C/C++ Optimizing Compiler emit Spectre v1
  25. // warning C5045 on vulnerable memory loads and suggests using /Qspectre to mitigate.
  26. // Adding the switch still results in warnings being emitted.
  27. // This disables the warning for oneMKL VML applications until this compiler issue
  28. // is resolved by Microsoft.
  29. */
  30. #if defined _MSC_VER && !(defined __INTEL_COMPILER || defined __INTEL_LLVM_COMPILER)
  31. #pragma warning(disable :5045)
  32. #endif
  33. #ifdef __cplusplus
  34. extern "C" {
  35. #endif /* __cplusplus */
  36. #include "mkl_vml_defines.h"
  37. #include "mkl_vml_types.h"
  38. #include "mkl_vml_functions.h"
  39. #ifdef __cplusplus
  40. }
  41. #endif /* __cplusplus */
  42. #endif /* __MKL_VML_H__ */