PeriDyno 1.0.0
Loading...
Searching...
No Matches
VkFFT_Utils.h File Reference
#include "VkFFT_Base.h"
#include <vector>
Include dependency graph for VkFFT_Utils.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  VkFFTUserSystemParameters
 

Functions

VkResult CreateDebugUtilsMessengerEXT (VkGPU *vkGPU, const VkDebugUtilsMessengerCreateInfoEXT *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkDebugUtilsMessengerEXT *pDebugMessenger)
 
void DestroyDebugUtilsMessengerEXT (VkGPU *vkGPU, const VkAllocationCallbacks *pAllocator)
 
static VKAPI_ATTR VkBool32 VKAPI_CALL debugCallback (VkDebugUtilsMessageSeverityFlagBitsEXT messageSeverity, VkDebugUtilsMessageTypeFlagsEXT messageType, const VkDebugUtilsMessengerCallbackDataEXT *pCallbackData, void *pUserData)
 
VkResult setupDebugMessenger (VkGPU *vkGPU)
 
VkResult checkValidationLayerSupport ()
 
std::vector< const char * > getRequiredExtensions (VkGPU *vkGPU, uint64_t sample_id)
 
VkResult createInstance (VkGPU *vkGPU, uint64_t sample_id)
 
VkResult findPhysicalDevice (VkGPU *vkGPU)
 
VkResult getComputeQueueFamilyIndex (VkGPU *vkGPU)
 
VkResult createDevice (VkGPU *vkGPU, uint64_t sample_id)
 
VkResult createFence (VkGPU *vkGPU)
 
VkResult createCommandPool (VkGPU *vkGPU)
 
VkFFTResult findMemoryType (VkGPU *vkGPU, uint64_t memoryTypeBits, uint64_t memorySize, VkMemoryPropertyFlags properties, uint32_t *memoryTypeIndex)
 
VkFFTResult allocateBuffer (VkGPU *vkGPU, VkBuffer *buffer, VkDeviceMemory *deviceMemory, VkBufferUsageFlags usageFlags, VkMemoryPropertyFlags propertyFlags, uint64_t size)
 
VkFFTResult transferDataFromCPU (VkGPU *vkGPU, void *arr, VkBuffer *buffer, uint64_t bufferSize)
 
VkFFTResult transferDataToCPU (VkGPU *vkGPU, void *arr, VkBuffer *buffer, uint64_t bufferSize)
 
VkFFTResult devices_list ()
 
VkFFTResult performVulkanFFT (VkGPU *vkGPU, VkFFTApplication *app, VkFFTLaunchParams *launchParams, int inverse, uint64_t num_iter)
 
VkFFTResult performVulkanFFTiFFT (VkGPU *vkGPU, VkFFTApplication *app, VkFFTLaunchParams *launchParams, uint64_t num_iter, double *time_result)
 

Function Documentation

◆ allocateBuffer()

VkFFTResult allocateBuffer ( VkGPU * vkGPU,
VkBuffer * buffer,
VkDeviceMemory * deviceMemory,
VkBufferUsageFlags usageFlags,
VkMemoryPropertyFlags propertyFlags,
uint64_t size )

Definition at line 327 of file VkFFT_Utils.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ checkValidationLayerSupport()

VkResult checkValidationLayerSupport ( )

Definition at line 81 of file VkFFT_Utils.cpp.

Here is the caller graph for this function:

◆ createCommandPool()

VkResult createCommandPool ( VkGPU * vkGPU)

Definition at line 302 of file VkFFT_Utils.cpp.

Here is the caller graph for this function:

◆ CreateDebugUtilsMessengerEXT()

VkResult CreateDebugUtilsMessengerEXT ( VkGPU * vkGPU,
const VkDebugUtilsMessengerCreateInfoEXT * pCreateInfo,
const VkAllocationCallbacks * pAllocator,
VkDebugUtilsMessengerEXT * pDebugMessenger )

Definition at line 44 of file VkFFT_Utils.cpp.

Here is the caller graph for this function:

◆ createDevice()

VkResult createDevice ( VkGPU * vkGPU,
uint64_t sample_id )

Definition at line 227 of file VkFFT_Utils.cpp.

Here is the call graph for this function:

◆ createFence()

VkResult createFence ( VkGPU * vkGPU)

Definition at line 294 of file VkFFT_Utils.cpp.

Here is the caller graph for this function:

◆ createInstance()

VkResult createInstance ( VkGPU * vkGPU,
uint64_t sample_id )

Definition at line 124 of file VkFFT_Utils.cpp.

Here is the call graph for this function:

◆ debugCallback()

static VKAPI_ATTR VkBool32 VKAPI_CALL debugCallback ( VkDebugUtilsMessageSeverityFlagBitsEXT messageSeverity,
VkDebugUtilsMessageTypeFlagsEXT messageType,
const VkDebugUtilsMessengerCallbackDataEXT * pCallbackData,
void * pUserData )
static

◆ DestroyDebugUtilsMessengerEXT()

void DestroyDebugUtilsMessengerEXT ( VkGPU * vkGPU,
const VkAllocationCallbacks * pAllocator )

Definition at line 54 of file VkFFT_Utils.cpp.

◆ devices_list()

VkFFTResult devices_list ( )

Definition at line 445 of file VkFFT_Utils.cpp.

◆ findMemoryType()

VkFFTResult findMemoryType ( VkGPU * vkGPU,
uint64_t memoryTypeBits,
uint64_t memorySize,
VkMemoryPropertyFlags properties,
uint32_t * memoryTypeIndex )

Definition at line 312 of file VkFFT_Utils.cpp.

Here is the caller graph for this function:

◆ findPhysicalDevice()

VkResult findPhysicalDevice ( VkGPU * vkGPU)

Definition at line 177 of file VkFFT_Utils.cpp.

◆ getComputeQueueFamilyIndex()

VkResult getComputeQueueFamilyIndex ( VkGPU * vkGPU)

Definition at line 199 of file VkFFT_Utils.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getRequiredExtensions()

std::vector< const char * > getRequiredExtensions ( VkGPU * vkGPU,
uint64_t sample_id )

Definition at line 104 of file VkFFT_Utils.cpp.

Here is the caller graph for this function:

◆ performVulkanFFT()

VkFFTResult performVulkanFFT ( VkGPU * vkGPU,
VkFFTApplication * app,
VkFFTLaunchParams * launchParams,
int inverse,
uint64_t num_iter )

Definition at line 544 of file VkFFT_Utils.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ performVulkanFFTiFFT()

VkFFTResult performVulkanFFTiFFT ( VkGPU * vkGPU,
VkFFTApplication * app,
VkFFTLaunchParams * launchParams,
uint64_t num_iter,
double * time_result )

Definition at line 618 of file VkFFT_Utils.cpp.

Here is the call graph for this function:

◆ setupDebugMessenger()

VkResult setupDebugMessenger ( VkGPU * vkGPU)

Definition at line 67 of file VkFFT_Utils.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ transferDataFromCPU()

VkFFTResult transferDataFromCPU ( VkGPU * vkGPU,
void * arr,
VkBuffer * buffer,
uint64_t bufferSize )

Definition at line 352 of file VkFFT_Utils.cpp.

Here is the call graph for this function:

◆ transferDataToCPU()

VkFFTResult transferDataToCPU ( VkGPU * vkGPU,
void * arr,
VkBuffer * buffer,
uint64_t bufferSize )

Definition at line 398 of file VkFFT_Utils.cpp.

Here is the call graph for this function: