vision.h 339 B

12345678910111213141516
  1. #pragma once
  2. #include <cstdint>
  3. #include "macros.h"
  4. namespace vision {
  5. VISION_API int64_t cuda_version();
  6. namespace detail {
  7. extern "C" VISION_INLINE_VARIABLE auto _register_ops = &cuda_version;
  8. #ifdef HINT_MSVC_LINKER_INCLUDE_SYMBOL
  9. #pragma comment(linker, "/include:_register_ops")
  10. #endif
  11. } // namespace detail
  12. } // namespace vision