Struct ash::extensions_generated::nv::cuda_kernel_launch::Device
source · pub struct Device {
pub(crate) fp: DeviceFn,
pub(crate) handle: Device,
}
Expand description
VK_NV_cuda_kernel_launch device-level functions
Fields§
§fp: DeviceFn
§handle: Device
Implementations§
source§impl Device
impl Device
sourcepub unsafe fn create_cuda_module(
&self,
create_info: &CudaModuleCreateInfoNV<'_>,
allocator: Option<&AllocationCallbacks<'_>>,
) -> VkResult<CudaModuleNV>
pub unsafe fn create_cuda_module( &self, create_info: &CudaModuleCreateInfoNV<'_>, allocator: Option<&AllocationCallbacks<'_>>, ) -> VkResult<CudaModuleNV>
sourcepub unsafe fn get_cuda_module_cache(
&self,
module: CudaModuleNV,
) -> VkResult<Vec<u8>>
pub unsafe fn get_cuda_module_cache( &self, module: CudaModuleNV, ) -> VkResult<Vec<u8>>
sourcepub unsafe fn create_cuda_function(
&self,
create_info: &CudaFunctionCreateInfoNV<'_>,
allocator: Option<&AllocationCallbacks<'_>>,
) -> VkResult<CudaFunctionNV>
pub unsafe fn create_cuda_function( &self, create_info: &CudaFunctionCreateInfoNV<'_>, allocator: Option<&AllocationCallbacks<'_>>, ) -> VkResult<CudaFunctionNV>
sourcepub unsafe fn destroy_cuda_module(
&self,
module: CudaModuleNV,
allocator: Option<&AllocationCallbacks<'_>>,
)
pub unsafe fn destroy_cuda_module( &self, module: CudaModuleNV, allocator: Option<&AllocationCallbacks<'_>>, )
sourcepub unsafe fn destroy_cuda_function(
&self,
function: CudaFunctionNV,
allocator: Option<&AllocationCallbacks<'_>>,
)
pub unsafe fn destroy_cuda_function( &self, function: CudaFunctionNV, allocator: Option<&AllocationCallbacks<'_>>, )
sourcepub unsafe fn cmd_cuda_launch_kernel(
&self,
command_buffer: CommandBuffer,
launch_info: &CudaLaunchInfoNV<'_>,
)
pub unsafe fn cmd_cuda_launch_kernel( &self, command_buffer: CommandBuffer, launch_info: &CudaLaunchInfoNV<'_>, )
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Device
impl RefUnwindSafe for Device
impl Send for Device
impl Sync for Device
impl Unpin for Device
impl UnwindSafe for Device
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more