1#ifndef HALIDE_RUNTIME_VULKAN_INTERNAL_H
2#define HALIDE_RUNTIME_VULKAN_INTERNAL_H
25class VulkanMemoryAllocator;
26struct VulkanShaderBinding;
27struct VulkanCompilationCacheEntry;
44 VulkanMemoryAllocator *allocator,
54 VulkanMemoryAllocator **allocator,
122 VulkanMemoryAllocator *allocator,
126 VulkanMemoryAllocator *allocator,
136 VulkanMemoryAllocator *allocator,
142 VulkanMemoryAllocator *allocator,
152 VulkanMemoryAllocator *allocator,
158 VulkanMemoryAllocator *allocator,
163 VulkanMemoryAllocator *allocator,
169 VulkanMemoryAllocator *allocator,
171 size_t uniform_buffer_count,
172 size_t storage_buffer_count,
180 VulkanMemoryAllocator *allocator,
186 VulkanMemoryAllocator *allocator,
190 VulkanMemoryAllocator *allocator,
198 VulkanMemoryAllocator *allocator,
205 VulkanMemoryAllocator *allocator,
213 const char *src,
int size);
232 return "VK_NOT_READY";
236 return "VK_EVENT_SET";
238 return "VK_EVENT_RESET";
240 return "VK_INCOMPLETE";
242 return "VK_ERROR_OUT_OF_HOST_MEMORY";
244 return "VK_ERROR_OUT_OF_DEVICE_MEMORY";
246 return "VK_ERROR_INITIALIZATION_FAILED";
248 return "VK_ERROR_DEVICE_LOST";
250 return "VK_ERROR_MEMORY_MAP_FAILED";
252 return "VK_ERROR_LAYER_NOT_PRESENT";
254 return "VK_ERROR_EXTENSION_NOT_PRESENT";
256 return "VK_ERROR_FEATURE_NOT_PRESENT";
258 return "VK_ERROR_INCOMPATIBLE_DRIVER";
260 return "VK_ERROR_TOO_MANY_OBJECTS";
262 return "VK_ERROR_FORMAT_NOT_SUPPORTED";
264 return "VK_ERROR_FRAGMENTED_POOL";
266 return "VK_ERROR_SURFACE_LOST_KHR";
268 return "VK_ERROR_NATIVE_WINDOW_IN_USE_KHR";
270 return "VK_SUBOPTIMAL_KHR";
272 return "VK_ERROR_OUT_OF_DATE_KHR";
274 return "VK_ERROR_INCOMPATIBLE_DISPLAY_KHR";
276 return "VK_ERROR_VALIDATION_FAILED_EXT";
278 return "VK_ERROR_INVALID_SHADER_NV";
280 return "VK_ERROR_OUT_OF_POOL_MEMORY_KHR";
282 return "VK_ERROR_INVALID_EXTERNAL_HANDLE_KHR";
284 return "<Unknown Vulkan Result Code>";
@ VK_ERROR_VALIDATION_FAILED_EXT
@ VK_ERROR_INVALID_EXTERNAL_HANDLE_KHR
@ VK_ERROR_INVALID_SHADER_NV
@ VK_ERROR_EXTENSION_NOT_PRESENT
@ VK_ERROR_OUT_OF_POOL_MEMORY_KHR
@ VK_ERROR_OUT_OF_HOST_MEMORY
@ VK_ERROR_INITIALIZATION_FAILED
@ VK_ERROR_INCOMPATIBLE_DISPLAY_KHR
@ VK_ERROR_OUT_OF_DEVICE_MEMORY
@ VK_ERROR_NATIVE_WINDOW_IN_USE_KHR
@ VK_ERROR_OUT_OF_DATE_KHR
@ VK_ERROR_FORMAT_NOT_SUPPORTED
@ VK_ERROR_FRAGMENTED_POOL
@ VK_ERROR_SURFACE_LOST_KHR
@ VK_ERROR_FEATURE_NOT_PRESENT
@ VK_ERROR_TOO_MANY_OBJECTS
@ VK_ERROR_MEMORY_MAP_FAILED
@ VK_ERROR_LAYER_NOT_PRESENT
@ VK_ERROR_INCOMPATIBLE_DRIVER
This file defines the class FunctionDAG, which is our representation of a Halide pipeline,...
@ Internal
Not visible externally, similar to 'static' linkage in C.
Expr cast(Expr a)
Cast an expression to the halide type corresponding to the C++ type T.
unsigned __INT64_TYPE__ uint64_t
signed __INT64_TYPE__ int64_t
unsigned __INT32_TYPE__ uint32_t
signed __INT8_TYPE__ int8_t
VkDescriptorSetLayout * descriptor_set_layouts
VulkanShaderBinding * shader_bindings
VkPipelineLayout pipeline_layout
VkShaderModule shader_module
The raw representation of an image passed around by generated Halide code.