1 #ifndef HALIDE_RUNTIME_VULKAN_INTERFACE_H
2 #define HALIDE_RUNTIME_VULKAN_INTERFACE_H
11 #define VK_MAKE_API_VERSION(variant, major, minor, patch) \
12 ((((uint32_t)(variant)) << 29) | (((uint32_t)(major)) << 22) | (((uint32_t)(minor)) << 12) | ((uint32_t)(patch)))
15 #define VK_API_VERSION_1_0 VK_MAKE_API_VERSION(0, 1, 0, 0)
19 #define HL_VK_ENV_DELIM ";"
21 #define HL_VK_ENV_DELIM ":"
25 #define VK_NO_PROTOTYPES
46 #define VULKAN_FN(fn) WEAK PFN_##fn fn;
52 #define VULKAN_FN(fn) fn = (PFN_##fn)vkGetInstanceProcAddr(instance, #fn);
WEAK halide_device_interface_t vulkan_device_interface
void WEAK vk_load_vulkan_functions(VkInstance instance)
This file defines the class FunctionDAG, which is our representation of a Halide pipeline,...
Each GPU API provides a halide_device_interface_t struct pointing to the code that manages device all...