Halide
vulkan_memory.h File Reference

Go to the source code of this file.

Classes

struct  Halide::Runtime::Internal::Vulkan::VulkanMemoryConfig
 
class  Halide::Runtime::Internal::Vulkan::VulkanMemoryAllocator
 Vulkan Memory Allocator class interface for managing large memory requests stored as contiguous blocks of memory, which are then sub-allocated into smaller regions of memory to avoid the excessive cost of vkAllocate and the limited number of available allocation calls through the API. More...
 

Namespaces

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

Functions

WEAK void halide_vulkan_set_allocation_callbacks (const VkAllocationCallbacks *callbacks)
 
const WEAK VkAllocationCallbackshalide_vulkan_get_allocation_callbacks (void *user_context)
 

Variables

WEAK ScopedSpinLock::AtomicFlag Halide::Runtime::Internal::Vulkan::custom_allocation_callbacks_lock = 0
 
const WEAK VkAllocationCallbacksHalide::Runtime::Internal::Vulkan::custom_allocation_callbacks = nullptr
 
WEAK VulkanMemoryConfig Halide::Runtime::Internal::Vulkan::memory_allocator_config
 

Function Documentation

◆ halide_vulkan_set_allocation_callbacks()

WEAK void halide_vulkan_set_allocation_callbacks ( const VkAllocationCallbacks callbacks)

◆ halide_vulkan_get_allocation_callbacks()

const WEAK VkAllocationCallbacks* halide_vulkan_get_allocation_callbacks ( void *  user_context)

Definition at line 1213 of file vulkan_memory.h.