vision.h 339 Bytes
Newer Older
1
#pragma once
Shahriar's avatar
Shahriar committed
2

3
4
5
6
#include <cstdint>
#include "macros.h"

namespace vision {
7
VISION_API int64_t cuda_version();
8
9

namespace detail {
10
11
12
13
14
extern "C" VISION_INLINE_VARIABLE auto _register_ops = &cuda_version;
#ifdef HINT_MSVC_LINKER_INCLUDE_SYMBOL
#pragma comment(linker, "/include:_register_ops")
#endif

15
16
} // namespace detail
} // namespace vision