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) // Patch version should always be set to 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; 51 void WEAK vk_load_vulkan_functions(VkInstance instance) {
52 #define VULKAN_FN(fn) fn = (PFN_##fn)vkGetInstanceProcAddr(instance, #fn); 66 #endif // HALIDE_RUNTIME_VULKAN_INTERFACE_H
This file defines the class FunctionDAG, which is our representation of a Halide pipeline, and contains methods to using Halide's bounds tools to query properties of it.
Each GPU API provides a halide_device_interface_t struct pointing to the code that manages device all...
WEAK halide_device_interface_t vulkan_device_interface