Halide 19.0.0
Halide compiler and libraries
Loading...
Searching...
No Matches
Halide::Runtime::Internal::Vulkan::VulkanContext Class Reference

#include <vulkan_context.h>

Public Member Functions

HALIDE_ALWAYS_INLINE VulkanContext (void *user_context)
 
HALIDE_ALWAYS_INLINE ~VulkanContext ()
 
HALIDE_ALWAYS_INLINE const VkAllocationCallbacks * allocation_callbacks ()
 

Public Attributes

VulkanMemoryAllocatorallocator = nullptr
 
VkInstance instance = VK_NULL_HANDLE
 
VkDevice device = VK_NULL_HANDLE
 
VkPhysicalDevice physical_device = VK_NULL_HANDLE
 
VkQueue queue = VK_NULL_HANDLE
 
uint32_t queue_family_index = 0
 
VkDebugUtilsMessengerEXT messenger = VK_NULL_HANDLE
 
halide_error_code_t error = halide_error_code_success
 

Detailed Description

Definition at line 38 of file vulkan_context.h.

Constructor & Destructor Documentation

◆ VulkanContext()

◆ ~VulkanContext()

HALIDE_ALWAYS_INLINE Halide::Runtime::Internal::Vulkan::VulkanContext::~VulkanContext ( )
inline

Member Function Documentation

◆ allocation_callbacks()

HALIDE_ALWAYS_INLINE const VkAllocationCallbacks * Halide::Runtime::Internal::Vulkan::VulkanContext::allocation_callbacks ( )
inline

Definition at line 73 of file vulkan_context.h.

Member Data Documentation

◆ allocator

VulkanMemoryAllocator* Halide::Runtime::Internal::Vulkan::VulkanContext::allocator = nullptr

Definition at line 42 of file vulkan_context.h.

Referenced by VulkanContext().

◆ instance

VkInstance Halide::Runtime::Internal::Vulkan::VulkanContext::instance = VK_NULL_HANDLE

Definition at line 43 of file vulkan_context.h.

Referenced by VulkanContext(), and ~VulkanContext().

◆ device

VkDevice Halide::Runtime::Internal::Vulkan::VulkanContext::device = VK_NULL_HANDLE

Definition at line 44 of file vulkan_context.h.

Referenced by VulkanContext(), and ~VulkanContext().

◆ physical_device

VkPhysicalDevice Halide::Runtime::Internal::Vulkan::VulkanContext::physical_device = VK_NULL_HANDLE

Definition at line 45 of file vulkan_context.h.

Referenced by VulkanContext().

◆ queue

VkQueue Halide::Runtime::Internal::Vulkan::VulkanContext::queue = VK_NULL_HANDLE

Definition at line 46 of file vulkan_context.h.

Referenced by VulkanContext(), and ~VulkanContext().

◆ queue_family_index

uint32_t Halide::Runtime::Internal::Vulkan::VulkanContext::queue_family_index = 0

Definition at line 47 of file vulkan_context.h.

Referenced by VulkanContext().

◆ messenger

VkDebugUtilsMessengerEXT Halide::Runtime::Internal::Vulkan::VulkanContext::messenger = VK_NULL_HANDLE

Definition at line 48 of file vulkan_context.h.

Referenced by VulkanContext(), and ~VulkanContext().

◆ error

halide_error_code_t Halide::Runtime::Internal::Vulkan::VulkanContext::error = halide_error_code_success

Definition at line 49 of file vulkan_context.h.

Referenced by VulkanContext().


The documentation for this class was generated from the following file: