Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Tetragramm
GitHub Repository: Tetragramm/opencv
Path: blob/master/modules/dnn/src/vkcom/vulkan/vk_functions.hpp
16350 views
1
// This file is part of OpenCV project.
2
// It is subject to the license terms in the LICENSE file found in the top-level directory
3
// of this distribution and at http://opencv.org/license.html.
4
//
5
// Copyright (C) 2018, Intel Corporation, all rights reserved.
6
// Third party copyrights are property of their respective owners.
7
8
#ifndef OPENCV_DNN_VKCOM_VULKAN_VK_FUNCTONS_HPP
9
#define OPENCV_DNN_VKCOM_VULKAN_VK_FUNCTONS_HPP
10
11
#include "../../precomp.hpp"
12
#ifdef HAVE_VULKAN
13
#include <vulkan/vulkan.h>
14
15
#define VK_ENTRY(func) extern PFN_##func func;
16
#define VK_GLOBAL_LEVEL_FUNC(func) extern PFN_##func func;
17
#define VK_GLOBAL_LEVEL_FUNC_MANDATORY(func) extern PFN_##func func;
18
#define VK_FUNC(func) extern PFN_##func func;
19
#define VK_FUNC_MANDATORY(func) extern PFN_##func func;
20
21
namespace cv { namespace dnn { namespace vkcom {
22
23
#include "function_list.inl"
24
25
}}} // namespace cv::dnn::vkcom
26
#endif // HAVE_VULKAN
27
28
#endif // OPENCV_DNN_VKCOM_VULKAN_VK_FUNCTONS_HPP
29
30