VulkanNativeBindings

Helpers & Utilities · AiDotNet.Tensors.Engines.DirectGpu.Vulkan

No summary documentation available yet.

Properties

Property Summary
bool IsPlatformSupported { get; }
string LibraryName { get; }

Methods

Method Summary
int vkAllocateCommandBuffers(IntPtr device, VkCommandBufferAllocateInfo* pAllocateInfo, IntPtr* pCommandBuffers)
int vkAllocateDescriptorSets(IntPtr device, VkDescriptorSetAllocateInfo* pAllocateInfo, IntPtr* pDescriptorSets)
int vkAllocateMemory(IntPtr device, VkMemoryAllocateInfo* pAllocateInfo, IntPtr pAllocator, IntPtr pMemory)
int vkBeginCommandBuffer(IntPtr commandBuffer, VkCommandBufferBeginInfo* pBeginInfo)
int vkBindBufferMemory(IntPtr device, IntPtr buffer, IntPtr memory, ulong memoryOffset)
int vkCreateBuffer(IntPtr device, VkBufferCreateInfo* pCreateInfo, IntPtr pAllocator, IntPtr pBuffer)
int vkCreateCommandPool(IntPtr device, VkCommandPoolCreateInfo* pCreateInfo, IntPtr pAllocator, IntPtr pCommandPool)
int vkCreateComputePipelines(IntPtr device, IntPtr pipelineCache, uint createInfoCount, VkComputePipelineCreateInfo* pCreateInfos, IntPtr pAllocator, IntPtr* pPipelines)
int vkCreateDescriptorPool(IntPtr device, VkDescriptorPoolCreateInfo* pCreateInfo, IntPtr pAllocator, IntPtr pDescriptorPool)
int vkCreateDescriptorSetLayout(IntPtr device, VkDescriptorSetLayoutCreateInfo* pCreateInfo, IntPtr pAllocator, IntPtr pSetLayout)
int vkCreateDevice(IntPtr physicalDevice, VkDeviceCreateInfo* pCreateInfo, IntPtr pAllocator, IntPtr pDevice)
int vkCreateFence(IntPtr device, VkFenceCreateInfo* pCreateInfo, IntPtr pAllocator, IntPtr pFence)
int vkCreateInstance(VkInstanceCreateInfo* pCreateInfo, IntPtr pAllocator, IntPtr pInstance)
int vkCreatePipelineLayout(IntPtr device, VkPipelineLayoutCreateInfo* pCreateInfo, IntPtr pAllocator, IntPtr pPipelineLayout)
int vkCreateShaderModule(IntPtr device, VkShaderModuleCreateInfo* pCreateInfo, IntPtr pAllocator, IntPtr pShaderModule)
int vkDeviceWaitIdle(IntPtr device)
int vkEndCommandBuffer(IntPtr commandBuffer)
int vkEnumerateDeviceExtensionProperties(IntPtr physicalDevice, Byte* pLayerName, UInt32* pPropertyCount, VkExtensionProperties* pProperties)
int vkEnumerateInstanceVersion(UInt32* pApiVersion)
int vkEnumeratePhysicalDevices(IntPtr instance, uint pPhysicalDeviceCount, IntPtr* pPhysicalDevices)
int vkFlushMappedMemoryRanges(IntPtr device, uint memoryRangeCount, VkMappedMemoryRange* pMemoryRanges)
int vkGetFenceStatus(IntPtr device, IntPtr fence)
int vkMapMemory(IntPtr device, IntPtr memory, ulong offset, ulong size, uint flags, IntPtr ppData)
int vkQueueSubmit(IntPtr queue, uint submitCount, VkSubmitInfo* pSubmits, IntPtr fence)
int vkQueueWaitIdle(IntPtr queue)
int vkResetCommandBuffer(IntPtr commandBuffer, uint flags)
int vkResetCommandPool(IntPtr device, IntPtr commandPool, uint flags)
int vkResetFences(IntPtr device, uint fenceCount, IntPtr* pFences)
int vkWaitForFences(IntPtr device, uint fenceCount, IntPtr* pFences, uint waitAll, ulong timeout)
void vkCmdBindDescriptorSets(IntPtr commandBuffer, int pipelineBindPoint, IntPtr layout, uint firstSet, uint descriptorSetCount, IntPtr* pDescriptorSets, uint dynamicOffsetCount, UInt32* pDynamicOffsets)
void vkCmdBindPipeline(IntPtr commandBuffer, int pipelineBindPoint, IntPtr pipeline)
void vkCmdCopyBuffer(IntPtr commandBuffer, IntPtr srcBuffer, IntPtr dstBuffer, uint regionCount, VkBufferCopy* pRegions)
void vkCmdDispatch(IntPtr commandBuffer, uint groupCountX, uint groupCountY, uint groupCountZ)
void vkCmdPipelineBarrier(IntPtr commandBuffer, uint srcStageMask, uint dstStageMask, uint dependencyFlags, uint memoryBarrierCount, IntPtr pMemoryBarriers, uint bufferMemoryBarrierCount, VkBufferMemoryBarrier* pBufferMemoryBarriers, uint imageMemoryBarrierCount, IntPtr pImageMemoryBarriers)
void vkCmdPushConstants(IntPtr commandBuffer, IntPtr layout, uint stageFlags, uint offset, uint size, Void* pValues)
void vkDestroyBuffer(IntPtr device, IntPtr buffer, IntPtr pAllocator)
void vkDestroyCommandPool(IntPtr device, IntPtr commandPool, IntPtr pAllocator)
void vkDestroyDescriptorPool(IntPtr device, IntPtr descriptorPool, IntPtr pAllocator)
void vkDestroyDescriptorSetLayout(IntPtr device, IntPtr descriptorSetLayout, IntPtr pAllocator)
void vkDestroyDevice(IntPtr device, IntPtr pAllocator)
void vkDestroyFence(IntPtr device, IntPtr fence, IntPtr pAllocator)
void vkDestroyInstance(IntPtr instance, IntPtr pAllocator)
void vkDestroyPipeline(IntPtr device, IntPtr pipeline, IntPtr pAllocator)
void vkDestroyPipelineLayout(IntPtr device, IntPtr pipelineLayout, IntPtr pAllocator)
void vkDestroyShaderModule(IntPtr device, IntPtr shaderModule, IntPtr pAllocator)
void vkFreeCommandBuffers(IntPtr device, IntPtr commandPool, uint commandBufferCount, IntPtr* pCommandBuffers)
void vkFreeMemory(IntPtr device, IntPtr memory, IntPtr pAllocator)
void vkGetBufferMemoryRequirements(IntPtr device, IntPtr buffer, VkMemoryRequirements* pMemoryRequirements)
void vkGetDeviceQueue(IntPtr device, uint queueFamilyIndex, uint queueIndex, IntPtr pQueue)
void vkGetPhysicalDeviceFeatures(IntPtr physicalDevice, UInt32* pFeatures)
void vkGetPhysicalDeviceFeatures2(IntPtr physicalDevice, VkPhysicalDeviceFeatures2* pFeatures)
void vkGetPhysicalDeviceMemoryProperties(IntPtr physicalDevice, VkPhysicalDeviceMemoryProperties* pMemoryProperties)
void vkGetPhysicalDeviceProperties(IntPtr physicalDevice, VkPhysicalDeviceProperties* pProperties)
void vkGetPhysicalDeviceProperties2(IntPtr physicalDevice, VkPhysicalDeviceProperties2* pProperties)
void vkGetPhysicalDeviceQueueFamilyProperties(IntPtr physicalDevice, uint pQueueFamilyPropertyCount, VkQueueFamilyProperties* pQueueFamilyProperties)
void vkUnmapMemory(IntPtr device, IntPtr memory)
void vkUpdateDescriptorSets(IntPtr device, uint descriptorWriteCount, VkWriteDescriptorSet* pDescriptorWrites, uint descriptorCopyCount, IntPtr pDescriptorCopies)

Fields

Field Summary
int FeatureShaderFloat64
int FeatureShaderInt64
int PhysicalDeviceFeatureCount
int VK_API_VERSION_1_0
int VK_API_VERSION_1_1
int VK_API_VERSION_1_2
int VK_API_VERSION_1_3
int VK_COMMAND_BUFFER_LEVEL_PRIMARY
int VK_COMMAND_BUFFER_LEVEL_SECONDARY
int VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER
int VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE
int VK_DESCRIPTOR_TYPE_SAMPLER
int VK_DESCRIPTOR_TYPE_STORAGE_BUFFER
int VK_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC
int VK_DESCRIPTOR_TYPE_STORAGE_IMAGE
int VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER
int VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER
int VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC
int VK_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER
int VK_ERROR_DEVICE_LOST
int VK_ERROR_EXTENSION_NOT_PRESENT
int VK_ERROR_FEATURE_NOT_PRESENT
int VK_ERROR_FORMAT_NOT_SUPPORTED
int VK_ERROR_INCOMPATIBLE_DRIVER
int VK_ERROR_INITIALIZATION_FAILED
int VK_ERROR_LAYER_NOT_PRESENT
int VK_ERROR_MEMORY_MAP_FAILED
int VK_ERROR_OUT_OF_DEVICE_MEMORY
int VK_ERROR_OUT_OF_HOST_MEMORY
int VK_ERROR_TOO_MANY_OBJECTS
int VK_EVENT_RESET
int VK_EVENT_SET
int VK_INCOMPLETE
int VK_NOT_READY
int VK_PIPELINE_BIND_POINT_COMPUTE
int VK_PIPELINE_BIND_POINT_GRAPHICS
int VK_STRUCTURE_TYPE_APPLICATION_INFO
int VK_STRUCTURE_TYPE_BUFFER_CREATE_INFO
int VK_STRUCTURE_TYPE_BUFFER_MEMORY_BARRIER
int VK_STRUCTURE_TYPE_COMMAND_BUFFER_ALLOCATE_INFO
int VK_STRUCTURE_TYPE_COMMAND_BUFFER_BEGIN_INFO
int VK_STRUCTURE_TYPE_COMMAND_POOL_CREATE_INFO
int VK_STRUCTURE_TYPE_COMPUTE_PIPELINE_CREATE_INFO
int VK_STRUCTURE_TYPE_DESCRIPTOR_POOL_CREATE_INFO
int VK_STRUCTURE_TYPE_DESCRIPTOR_SET_ALLOCATE_INFO
int VK_STRUCTURE_TYPE_DESCRIPTOR_SET_LAYOUT_CREATE_INFO
int VK_STRUCTURE_TYPE_DEVICE_CREATE_INFO
int VK_STRUCTURE_TYPE_DEVICE_QUEUE_CREATE_INFO
int VK_STRUCTURE_TYPE_FENCE_CREATE_INFO
int VK_STRUCTURE_TYPE_INSTANCE_CREATE_INFO
int VK_STRUCTURE_TYPE_MAPPED_MEMORY_RANGE
int VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO
int VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FEATURES_2
int VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FLOAT_CONTROLS_PROPERTIES
int VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MEMORY_PROPERTIES_2
int VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROPERTIES_2
int VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_ATOMIC_FLOAT_FEATURES_EXT
int VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_ATOMIC_INT64_FEATURES
int VK_STRUCTURE_TYPE_PIPELINE_LAYOUT_CREATE_INFO
int VK_STRUCTURE_TYPE_PIPELINE_SHADER_STAGE_CREATE_INFO
int VK_STRUCTURE_TYPE_SHADER_MODULE_CREATE_INFO
int VK_STRUCTURE_TYPE_SUBMIT_INFO
int VK_STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET
int VK_SUCCESS
int VK_TIMEOUT
uint VK_BUFFER_USAGE_STORAGE_BUFFER_BIT
uint VK_BUFFER_USAGE_TRANSFER_DST_BIT
uint VK_BUFFER_USAGE_TRANSFER_SRC_BIT
uint VK_BUFFER_USAGE_UNIFORM_BUFFER_BIT
uint VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT
uint VK_MEMORY_PROPERTY_HOST_CACHED_BIT
uint VK_MEMORY_PROPERTY_HOST_COHERENT_BIT
uint VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT
uint VK_QUEUE_COMPUTE_BIT
uint VK_QUEUE_FAMILY_IGNORED
uint VK_QUEUE_GRAPHICS_BIT
uint VK_QUEUE_TRANSFER_BIT
uint VK_SHADER_STAGE_ALL
uint VK_SHADER_STAGE_COMPUTE_BIT
uint VK_SHADER_STAGE_FRAGMENT_BIT
uint VK_SHADER_STAGE_VERTEX_BIT
ulong VK_WHOLE_SIZE