Halide 19.0.0
Halide compiler and libraries
Loading...
Searching...
No Matches
vulkan_interface.h File Reference
#include "runtime_internal.h"
#include "mini_vulkan.h"
#include "vulkan_functions.h"

Go to the source code of this file.

Namespaces

namespace  Halide
 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.
 
namespace  Halide::Runtime
 
namespace  Halide::Runtime::Internal
 
namespace  Halide::Runtime::Internal::Vulkan
 

Macros

#define VK_MAKE_API_VERSION(variant, major, minor, patch)
 
#define VK_API_VERSION_1_0   VK_MAKE_API_VERSION(0, 1, 0, 0)
 
#define HL_VK_ENV_DELIM   ":"
 
#define VK_NO_PROTOTYPES
 
#define VULKAN_FN(fn)
 
#define VULKAN_FN(fn)
 
#define VULKAN_FN(fn)
 

Functions

WEAK void * Halide::Runtime::Internal::Vulkan::halide_vulkan_get_symbol (void *user_context, const char *name)
 
 Halide::Runtime::Internal::Vulkan::VULKAN_FN (vkCmdCopyBuffer) void WEAK vk_load_vulkan_loader_functions(void *user_context)
 
void WEAK Halide::Runtime::Internal::Vulkan::vk_load_vulkan_functions (void *user_context, VkInstance instance)
 

Variables

WEAK halide_device_interface_t Halide::Runtime::Internal::Vulkan::vulkan_device_interface
 
WEAK void * Halide::Runtime::Internal::Vulkan::lib_vulkan = nullptr
 

Macro Definition Documentation

◆ VK_MAKE_API_VERSION

#define VK_MAKE_API_VERSION ( variant,
major,
minor,
patch )
Value:
((((uint32_t)(variant)) << 29) | (((uint32_t)(major)) << 22) | (((uint32_t)(minor)) << 12) | ((uint32_t)(patch)))
unsigned __INT32_TYPE__ uint32_t

Definition at line 11 of file vulkan_interface.h.

◆ VK_API_VERSION_1_0

#define VK_API_VERSION_1_0   VK_MAKE_API_VERSION(0, 1, 0, 0)

Definition at line 15 of file vulkan_interface.h.

◆ HL_VK_ENV_DELIM

#define HL_VK_ENV_DELIM   ":"

Definition at line 21 of file vulkan_interface.h.

◆ VK_NO_PROTOTYPES

#define VK_NO_PROTOTYPES

Definition at line 25 of file vulkan_interface.h.

◆ VULKAN_FN [1/3]

#define VULKAN_FN ( fn)
Value:
WEAK PFN_##fn fn;
#define WEAK

Definition at line 80 of file vulkan_interface.h.

◆ VULKAN_FN [2/3]

#define VULKAN_FN ( fn)
Value:
fn = (PFN_##fn)halide_vulkan_get_symbol(user_context, #fn);

Definition at line 80 of file vulkan_interface.h.

◆ VULKAN_FN [3/3]

#define VULKAN_FN ( fn)
Value:
fn = (PFN_##fn)vkGetInstanceProcAddr(instance, #fn);
VKAPI_ATTR PFN_vkVoidFunction VKAPI_CALL vkGetInstanceProcAddr(VkInstance instance, const char *pName)

Definition at line 80 of file vulkan_interface.h.