Skip to main content

Runtime

Struct Runtime 

Source
pub struct Runtime { /* private fields */ }
Expand description

Lazily-resolved CUDA Runtime API function-pointer table.

Implementations§

Source§

impl Runtime

Source

pub fn cuda_runtime_get_version( &self, ) -> Result<PFN_cudaRuntimeGetVersion, LoaderError>

Resolve cudaRuntimeGetVersion and return the cached function pointer.

Source

pub fn cuda_driver_get_version( &self, ) -> Result<PFN_cudaDriverGetVersion, LoaderError>

Resolve cudaDriverGetVersion and return the cached function pointer.

Source

pub fn cuda_get_last_error(&self) -> Result<PFN_cudaGetLastError, LoaderError>

Resolve cudaGetLastError and return the cached function pointer.

Source

pub fn cuda_peek_at_last_error( &self, ) -> Result<PFN_cudaPeekAtLastError, LoaderError>

Resolve cudaPeekAtLastError and return the cached function pointer.

Source

pub fn cuda_get_error_name(&self) -> Result<PFN_cudaGetErrorName, LoaderError>

Resolve cudaGetErrorName and return the cached function pointer.

Source

pub fn cuda_get_error_string( &self, ) -> Result<PFN_cudaGetErrorString, LoaderError>

Resolve cudaGetErrorString and return the cached function pointer.

Source

pub fn cuda_get_device_count( &self, ) -> Result<PFN_cudaGetDeviceCount, LoaderError>

Resolve cudaGetDeviceCount and return the cached function pointer.

Source

pub fn cuda_set_device(&self) -> Result<PFN_cudaSetDevice, LoaderError>

Resolve cudaSetDevice and return the cached function pointer.

Source

pub fn cuda_get_device(&self) -> Result<PFN_cudaGetDevice, LoaderError>

Resolve cudaGetDevice and return the cached function pointer.

Source

pub fn cuda_device_synchronize( &self, ) -> Result<PFN_cudaDeviceSynchronize, LoaderError>

Resolve cudaDeviceSynchronize and return the cached function pointer.

Source

pub fn cuda_device_reset(&self) -> Result<PFN_cudaDeviceReset, LoaderError>

Resolve cudaDeviceReset and return the cached function pointer.

Source

pub fn cuda_device_get_attribute( &self, ) -> Result<PFN_cudaDeviceGetAttribute, LoaderError>

Resolve cudaDeviceGetAttribute and return the cached function pointer.

Source

pub fn cuda_init_device(&self) -> Result<PFN_cudaInitDevice, LoaderError>

Resolve cudaInitDevice and return the cached function pointer.

Source

pub fn cuda_malloc(&self) -> Result<PFN_cudaMalloc, LoaderError>

Resolve cudaMalloc and return the cached function pointer.

Source

pub fn cuda_free(&self) -> Result<PFN_cudaFree, LoaderError>

Resolve cudaFree and return the cached function pointer.

Source

pub fn cuda_malloc_managed(&self) -> Result<PFN_cudaMallocManaged, LoaderError>

Resolve cudaMallocManaged and return the cached function pointer.

Source

pub fn cuda_memcpy(&self) -> Result<PFN_cudaMemcpy, LoaderError>

Resolve cudaMemcpy and return the cached function pointer.

Source

pub fn cuda_memcpy_async(&self) -> Result<PFN_cudaMemcpyAsync, LoaderError>

Resolve cudaMemcpyAsync and return the cached function pointer.

Source

pub fn cuda_memset(&self) -> Result<PFN_cudaMemset, LoaderError>

Resolve cudaMemset and return the cached function pointer.

Source

pub fn cuda_memset_async(&self) -> Result<PFN_cudaMemsetAsync, LoaderError>

Resolve cudaMemsetAsync and return the cached function pointer.

Source

pub fn cuda_stream_create(&self) -> Result<PFN_cudaStreamCreate, LoaderError>

Resolve cudaStreamCreate and return the cached function pointer.

Source

pub fn cuda_stream_create_with_flags( &self, ) -> Result<PFN_cudaStreamCreateWithFlags, LoaderError>

Resolve cudaStreamCreateWithFlags and return the cached function pointer.

Source

pub fn cuda_stream_destroy(&self) -> Result<PFN_cudaStreamDestroy, LoaderError>

Resolve cudaStreamDestroy and return the cached function pointer.

Source

pub fn cuda_stream_synchronize( &self, ) -> Result<PFN_cudaStreamSynchronize, LoaderError>

Resolve cudaStreamSynchronize and return the cached function pointer.

Source

pub fn cuda_stream_query(&self) -> Result<PFN_cudaStreamQuery, LoaderError>

Resolve cudaStreamQuery and return the cached function pointer.

Source

pub fn cuda_stream_wait_event( &self, ) -> Result<PFN_cudaStreamWaitEvent, LoaderError>

Resolve cudaStreamWaitEvent and return the cached function pointer.

Source

pub fn cuda_event_create(&self) -> Result<PFN_cudaEventCreate, LoaderError>

Resolve cudaEventCreate and return the cached function pointer.

Source

pub fn cuda_event_create_with_flags( &self, ) -> Result<PFN_cudaEventCreateWithFlags, LoaderError>

Resolve cudaEventCreateWithFlags and return the cached function pointer.

Source

pub fn cuda_event_destroy(&self) -> Result<PFN_cudaEventDestroy, LoaderError>

Resolve cudaEventDestroy and return the cached function pointer.

Source

pub fn cuda_event_record(&self) -> Result<PFN_cudaEventRecord, LoaderError>

Resolve cudaEventRecord and return the cached function pointer.

Source

pub fn cuda_event_synchronize( &self, ) -> Result<PFN_cudaEventSynchronize, LoaderError>

Resolve cudaEventSynchronize and return the cached function pointer.

Source

pub fn cuda_event_query(&self) -> Result<PFN_cudaEventQuery, LoaderError>

Resolve cudaEventQuery and return the cached function pointer.

Source

pub fn cuda_event_elapsed_time( &self, ) -> Result<PFN_cudaEventElapsedTime, LoaderError>

Resolve cudaEventElapsedTime and return the cached function pointer.

Source

pub fn cuda_launch_kernel(&self) -> Result<PFN_cudaLaunchKernel, LoaderError>

Resolve cudaLaunchKernel and return the cached function pointer.

Source

pub fn cuda_library_load_data( &self, ) -> Result<PFN_cudaLibraryLoadData, LoaderError>

Resolve cudaLibraryLoadData and return the cached function pointer.

Source

pub fn cuda_library_unload(&self) -> Result<PFN_cudaLibraryUnload, LoaderError>

Resolve cudaLibraryUnload and return the cached function pointer.

Source

pub fn cuda_library_get_kernel( &self, ) -> Result<PFN_cudaLibraryGetKernel, LoaderError>

Resolve cudaLibraryGetKernel and return the cached function pointer.

Source

pub fn cuda_stream_create_with_priority( &self, ) -> Result<PFN_cudaStreamCreateWithPriority, LoaderError>

Resolve cudaStreamCreateWithPriority and return the cached function pointer.

Source

pub fn cuda_stream_get_priority( &self, ) -> Result<PFN_cudaStreamGetPriority, LoaderError>

Resolve cudaStreamGetPriority and return the cached function pointer.

Source

pub fn cuda_stream_get_flags( &self, ) -> Result<PFN_cudaStreamGetFlags, LoaderError>

Resolve cudaStreamGetFlags and return the cached function pointer.

Source

pub fn cuda_device_get_stream_priority_range( &self, ) -> Result<PFN_cudaDeviceGetStreamPriorityRange, LoaderError>

Resolve cudaDeviceGetStreamPriorityRange and return the cached function pointer.

Source

pub fn cuda_device_can_access_peer( &self, ) -> Result<PFN_cudaDeviceCanAccessPeer, LoaderError>

Resolve cudaDeviceCanAccessPeer and return the cached function pointer.

Source

pub fn cuda_device_enable_peer_access( &self, ) -> Result<PFN_cudaDeviceEnablePeerAccess, LoaderError>

Resolve cudaDeviceEnablePeerAccess and return the cached function pointer.

Source

pub fn cuda_device_disable_peer_access( &self, ) -> Result<PFN_cudaDeviceDisablePeerAccess, LoaderError>

Resolve cudaDeviceDisablePeerAccess and return the cached function pointer.

Source

pub fn cuda_mem_prefetch_async( &self, ) -> Result<PFN_cudaMemPrefetchAsync, LoaderError>

Resolve cudaMemPrefetchAsync and return the cached function pointer.

Source

pub fn cuda_mem_advise(&self) -> Result<PFN_cudaMemAdvise, LoaderError>

Resolve cudaMemAdvise and return the cached function pointer.

Source

pub fn cuda_mem_get_info(&self) -> Result<PFN_cudaMemGetInfo, LoaderError>

Resolve cudaMemGetInfo and return the cached function pointer.

Source

pub fn cuda_malloc_host(&self) -> Result<PFN_cudaMallocHost, LoaderError>

Resolve cudaMallocHost and return the cached function pointer.

Source

pub fn cuda_free_host(&self) -> Result<PFN_cudaFreeHost, LoaderError>

Resolve cudaFreeHost and return the cached function pointer.

Source

pub fn cuda_host_alloc(&self) -> Result<PFN_cudaHostAlloc, LoaderError>

Resolve cudaHostAlloc and return the cached function pointer.

Source

pub fn cuda_host_register(&self) -> Result<PFN_cudaHostRegister, LoaderError>

Resolve cudaHostRegister and return the cached function pointer.

Source

pub fn cuda_host_unregister( &self, ) -> Result<PFN_cudaHostUnregister, LoaderError>

Resolve cudaHostUnregister and return the cached function pointer.

Source

pub fn cuda_host_get_device_pointer( &self, ) -> Result<PFN_cudaHostGetDevicePointer, LoaderError>

Resolve cudaHostGetDevicePointer and return the cached function pointer.

Source

pub fn cuda_host_get_flags(&self) -> Result<PFN_cudaHostGetFlags, LoaderError>

Resolve cudaHostGetFlags and return the cached function pointer.

Source

pub fn cuda_malloc_async(&self) -> Result<PFN_cudaMallocAsync, LoaderError>

Resolve cudaMallocAsync and return the cached function pointer.

Source

pub fn cuda_free_async(&self) -> Result<PFN_cudaFreeAsync, LoaderError>

Resolve cudaFreeAsync and return the cached function pointer.

Source

pub fn cuda_graph_create(&self) -> Result<PFN_cudaGraphCreate, LoaderError>

Resolve cudaGraphCreate and return the cached function pointer.

Source

pub fn cuda_graph_destroy(&self) -> Result<PFN_cudaGraphDestroy, LoaderError>

Resolve cudaGraphDestroy and return the cached function pointer.

Source

pub fn cuda_graph_instantiate( &self, ) -> Result<PFN_cudaGraphInstantiate, LoaderError>

Resolve cudaGraphInstantiate and return the cached function pointer.

Source

pub fn cuda_graph_launch(&self) -> Result<PFN_cudaGraphLaunch, LoaderError>

Resolve cudaGraphLaunch and return the cached function pointer.

Source

pub fn cuda_graph_exec_destroy( &self, ) -> Result<PFN_cudaGraphExecDestroy, LoaderError>

Resolve cudaGraphExecDestroy and return the cached function pointer.

Source

pub fn cuda_graph_get_nodes(&self) -> Result<PFN_cudaGraphGetNodes, LoaderError>

Resolve cudaGraphGetNodes and return the cached function pointer.

Source

pub fn cuda_stream_begin_capture( &self, ) -> Result<PFN_cudaStreamBeginCapture, LoaderError>

Resolve cudaStreamBeginCapture and return the cached function pointer.

Source

pub fn cuda_stream_end_capture( &self, ) -> Result<PFN_cudaStreamEndCapture, LoaderError>

Resolve cudaStreamEndCapture and return the cached function pointer.

Source

pub fn cuda_stream_is_capturing( &self, ) -> Result<PFN_cudaStreamIsCapturing, LoaderError>

Resolve cudaStreamIsCapturing and return the cached function pointer.

Source

pub fn cuda_get_func_by_symbol( &self, ) -> Result<PFN_cudaGetFuncBySymbol, LoaderError>

Resolve cudaGetFuncBySymbol and return the cached function pointer.

Source

pub fn cuda_func_get_attributes( &self, ) -> Result<PFN_cudaFuncGetAttributes, LoaderError>

Resolve cudaFuncGetAttributes and return the cached function pointer.

Source

pub fn cuda_func_set_attribute( &self, ) -> Result<PFN_cudaFuncSetAttribute, LoaderError>

Resolve cudaFuncSetAttribute and return the cached function pointer.

Source

pub fn cuda_occupancy_max_active_blocks_per_multiprocessor( &self, ) -> Result<PFN_cudaOccupancyMaxActiveBlocksPerMultiprocessor, LoaderError>

Resolve cudaOccupancyMaxActiveBlocksPerMultiprocessor and return the cached function pointer.

Source

pub fn cuda_occupancy_max_potential_block_size( &self, ) -> Result<PFN_cudaOccupancyMaxPotentialBlockSize, LoaderError>

Resolve cudaOccupancyMaxPotentialBlockSize and return the cached function pointer.

Source

pub fn cuda_pointer_get_attributes( &self, ) -> Result<PFN_cudaPointerGetAttributes, LoaderError>

Resolve cudaPointerGetAttributes and return the cached function pointer.

Source

pub fn cuda_memcpy_2d(&self) -> Result<PFN_cudaMemcpy2D, LoaderError>

Resolve cudaMemcpy2D and return the cached function pointer.

Source

pub fn cuda_memcpy_2d_async(&self) -> Result<PFN_cudaMemcpy2DAsync, LoaderError>

Resolve cudaMemcpy2DAsync and return the cached function pointer.

Source

pub fn cuda_malloc_pitch(&self) -> Result<PFN_cudaMallocPitch, LoaderError>

Resolve cudaMallocPitch and return the cached function pointer.

Source

pub fn cuda_memset_2d(&self) -> Result<PFN_cudaMemset2D, LoaderError>

Resolve cudaMemset2D and return the cached function pointer.

Source

pub fn cuda_memset_2d_async(&self) -> Result<PFN_cudaMemset2DAsync, LoaderError>

Resolve cudaMemset2DAsync and return the cached function pointer.

Source

pub fn cuda_memcpy_peer(&self) -> Result<PFN_cudaMemcpyPeer, LoaderError>

Resolve cudaMemcpyPeer and return the cached function pointer.

Source

pub fn cuda_memcpy_peer_async( &self, ) -> Result<PFN_cudaMemcpyPeerAsync, LoaderError>

Resolve cudaMemcpyPeerAsync and return the cached function pointer.

Source

pub fn cuda_get_device_properties( &self, ) -> Result<PFN_cudaGetDeviceProperties, LoaderError>

Resolve cudaGetDeviceProperties and return the cached function pointer.

Source

pub fn cuda_import_external_memory( &self, ) -> Result<PFN_cudaImportExternalMemory, LoaderError>

Resolve cudaImportExternalMemory and return the cached function pointer.

Source

pub fn cuda_destroy_external_memory( &self, ) -> Result<PFN_cudaDestroyExternalMemory, LoaderError>

Resolve cudaDestroyExternalMemory and return the cached function pointer.

Source

pub fn cuda_external_memory_get_mapped_buffer( &self, ) -> Result<PFN_cudaExternalMemoryGetMappedBuffer, LoaderError>

Resolve cudaExternalMemoryGetMappedBuffer and return the cached function pointer.

Source

pub fn cuda_external_memory_get_mapped_mipmapped_array( &self, ) -> Result<PFN_cudaExternalMemoryGetMappedMipmappedArray, LoaderError>

Resolve cudaExternalMemoryGetMappedMipmappedArray and return the cached function pointer.

Source

pub fn cuda_import_external_semaphore( &self, ) -> Result<PFN_cudaImportExternalSemaphore, LoaderError>

Resolve cudaImportExternalSemaphore and return the cached function pointer.

Source

pub fn cuda_destroy_external_semaphore( &self, ) -> Result<PFN_cudaDestroyExternalSemaphore, LoaderError>

Resolve cudaDestroyExternalSemaphore and return the cached function pointer.

Source

pub fn cuda_signal_external_semaphores_async( &self, ) -> Result<PFN_cudaSignalExternalSemaphoresAsync, LoaderError>

Resolve cudaSignalExternalSemaphoresAsync and return the cached function pointer.

Source

pub fn cuda_wait_external_semaphores_async( &self, ) -> Result<PFN_cudaWaitExternalSemaphoresAsync, LoaderError>

Resolve cudaWaitExternalSemaphoresAsync and return the cached function pointer.

Source

pub fn cuda_launch_host_func( &self, ) -> Result<PFN_cudaLaunchHostFunc, LoaderError>

Resolve cudaLaunchHostFunc and return the cached function pointer.

Source

pub fn cuda_stream_write_value_32( &self, ) -> Result<PFN_cudaStreamWriteValue32, LoaderError>

Resolve cudaStreamWriteValue32 and return the cached function pointer.

Source

pub fn cuda_stream_write_value_64( &self, ) -> Result<PFN_cudaStreamWriteValue64, LoaderError>

Resolve cudaStreamWriteValue64 and return the cached function pointer.

Source

pub fn cuda_stream_wait_value_32( &self, ) -> Result<PFN_cudaStreamWaitValue32, LoaderError>

Resolve cudaStreamWaitValue32 and return the cached function pointer.

Source

pub fn cuda_stream_wait_value_64( &self, ) -> Result<PFN_cudaStreamWaitValue64, LoaderError>

Resolve cudaStreamWaitValue64 and return the cached function pointer.

Source

pub fn cuda_mem_pool_create(&self) -> Result<PFN_cudaMemPoolCreate, LoaderError>

Resolve cudaMemPoolCreate and return the cached function pointer.

Source

pub fn cuda_mem_pool_destroy( &self, ) -> Result<PFN_cudaMemPoolDestroy, LoaderError>

Resolve cudaMemPoolDestroy and return the cached function pointer.

Source

pub fn cuda_mem_pool_set_attribute( &self, ) -> Result<PFN_cudaMemPoolSetAttribute, LoaderError>

Resolve cudaMemPoolSetAttribute and return the cached function pointer.

Source

pub fn cuda_mem_pool_get_attribute( &self, ) -> Result<PFN_cudaMemPoolGetAttribute, LoaderError>

Resolve cudaMemPoolGetAttribute and return the cached function pointer.

Source

pub fn cuda_mem_pool_trim_to( &self, ) -> Result<PFN_cudaMemPoolTrimTo, LoaderError>

Resolve cudaMemPoolTrimTo and return the cached function pointer.

Source

pub fn cuda_mem_pool_set_access( &self, ) -> Result<PFN_cudaMemPoolSetAccess, LoaderError>

Resolve cudaMemPoolSetAccess and return the cached function pointer.

Source

pub fn cuda_mem_pool_get_access( &self, ) -> Result<PFN_cudaMemPoolGetAccess, LoaderError>

Resolve cudaMemPoolGetAccess and return the cached function pointer.

Source

pub fn cuda_malloc_from_pool_async( &self, ) -> Result<PFN_cudaMallocFromPoolAsync, LoaderError>

Resolve cudaMallocFromPoolAsync and return the cached function pointer.

Source

pub fn cuda_device_get_default_mem_pool( &self, ) -> Result<PFN_cudaDeviceGetDefaultMemPool, LoaderError>

Resolve cudaDeviceGetDefaultMemPool and return the cached function pointer.

Source

pub fn cuda_device_get_mem_pool( &self, ) -> Result<PFN_cudaDeviceGetMemPool, LoaderError>

Resolve cudaDeviceGetMemPool and return the cached function pointer.

Source

pub fn cuda_device_set_mem_pool( &self, ) -> Result<PFN_cudaDeviceSetMemPool, LoaderError>

Resolve cudaDeviceSetMemPool and return the cached function pointer.

Source

pub fn cuda_mem_pool_export_to_shareable_handle( &self, ) -> Result<PFN_cudaMemPoolExportToShareableHandle, LoaderError>

Resolve cudaMemPoolExportToShareableHandle and return the cached function pointer.

Source

pub fn cuda_mem_pool_import_from_shareable_handle( &self, ) -> Result<PFN_cudaMemPoolImportFromShareableHandle, LoaderError>

Resolve cudaMemPoolImportFromShareableHandle and return the cached function pointer.

Source

pub fn cuda_mem_pool_export_pointer( &self, ) -> Result<PFN_cudaMemPoolExportPointer, LoaderError>

Resolve cudaMemPoolExportPointer and return the cached function pointer.

Source

pub fn cuda_mem_pool_import_pointer( &self, ) -> Result<PFN_cudaMemPoolImportPointer, LoaderError>

Resolve cudaMemPoolImportPointer and return the cached function pointer.

Source

pub fn cuda_graph_add_kernel_node( &self, ) -> Result<PFN_cudaGraphAddKernelNode, LoaderError>

Resolve cudaGraphAddKernelNode and return the cached function pointer.

Source

pub fn cuda_graph_add_memset_node( &self, ) -> Result<PFN_cudaGraphAddMemsetNode, LoaderError>

Resolve cudaGraphAddMemsetNode and return the cached function pointer.

Source

pub fn cuda_graph_add_memcpy_node( &self, ) -> Result<PFN_cudaGraphAddMemcpyNode, LoaderError>

Resolve cudaGraphAddMemcpyNode and return the cached function pointer.

Source

pub fn cuda_graph_add_host_node( &self, ) -> Result<PFN_cudaGraphAddHostNode, LoaderError>

Resolve cudaGraphAddHostNode and return the cached function pointer.

Source

pub fn cuda_graph_add_empty_node( &self, ) -> Result<PFN_cudaGraphAddEmptyNode, LoaderError>

Resolve cudaGraphAddEmptyNode and return the cached function pointer.

Source

pub fn cuda_graph_add_child_graph_node( &self, ) -> Result<PFN_cudaGraphAddChildGraphNode, LoaderError>

Resolve cudaGraphAddChildGraphNode and return the cached function pointer.

Source

pub fn cuda_graph_add_event_record_node( &self, ) -> Result<PFN_cudaGraphAddEventRecordNode, LoaderError>

Resolve cudaGraphAddEventRecordNode and return the cached function pointer.

Source

pub fn cuda_graph_add_event_wait_node( &self, ) -> Result<PFN_cudaGraphAddEventWaitNode, LoaderError>

Resolve cudaGraphAddEventWaitNode and return the cached function pointer.

Source

pub fn cuda_graph_add_mem_alloc_node( &self, ) -> Result<PFN_cudaGraphAddMemAllocNode, LoaderError>

Resolve cudaGraphAddMemAllocNode and return the cached function pointer.

Source

pub fn cuda_graph_add_mem_free_node( &self, ) -> Result<PFN_cudaGraphAddMemFreeNode, LoaderError>

Resolve cudaGraphAddMemFreeNode and return the cached function pointer.

Source

pub fn cuda_graph_exec_update( &self, ) -> Result<PFN_cudaGraphExecUpdate, LoaderError>

Resolve cudaGraphExecUpdate and return the cached function pointer.

Source

pub fn cuda_graph_add_dependencies( &self, ) -> Result<PFN_cudaGraphAddDependencies, LoaderError>

Resolve cudaGraphAddDependencies and return the cached function pointer.

Source

pub fn cuda_graph_mem_free_node_get_params( &self, ) -> Result<PFN_cudaGraphMemFreeNodeGetParams, LoaderError>

Resolve cudaGraphMemFreeNodeGetParams and return the cached function pointer.

Source

pub fn cuda_graph_node_get_type( &self, ) -> Result<PFN_cudaGraphNodeGetType, LoaderError>

Resolve cudaGraphNodeGetType and return the cached function pointer.

Source

pub fn cuda_malloc_array(&self) -> Result<PFN_cudaMallocArray, LoaderError>

Resolve cudaMallocArray and return the cached function pointer.

Source

pub fn cuda_free_array(&self) -> Result<PFN_cudaFreeArray, LoaderError>

Resolve cudaFreeArray and return the cached function pointer.

Source

pub fn cuda_memcpy_2d_to_array( &self, ) -> Result<PFN_cudaMemcpy2DToArray, LoaderError>

Resolve cudaMemcpy2DToArray and return the cached function pointer.

Source

pub fn cuda_memcpy_2d_from_array( &self, ) -> Result<PFN_cudaMemcpy2DFromArray, LoaderError>

Resolve cudaMemcpy2DFromArray and return the cached function pointer.

Source

pub fn cuda_create_texture_object( &self, ) -> Result<PFN_cudaCreateTextureObject, LoaderError>

Resolve cudaCreateTextureObject and return the cached function pointer.

Source

pub fn cuda_destroy_texture_object( &self, ) -> Result<PFN_cudaDestroyTextureObject, LoaderError>

Resolve cudaDestroyTextureObject and return the cached function pointer.

Source

pub fn cuda_create_surface_object( &self, ) -> Result<PFN_cudaCreateSurfaceObject, LoaderError>

Resolve cudaCreateSurfaceObject and return the cached function pointer.

Source

pub fn cuda_destroy_surface_object( &self, ) -> Result<PFN_cudaDestroySurfaceObject, LoaderError>

Resolve cudaDestroySurfaceObject and return the cached function pointer.

Source

pub fn cuda_user_object_create( &self, ) -> Result<PFN_cudaUserObjectCreate, LoaderError>

Resolve cudaUserObjectCreate and return the cached function pointer.

Source

pub fn cuda_user_object_retain( &self, ) -> Result<PFN_cudaUserObjectRetain, LoaderError>

Resolve cudaUserObjectRetain and return the cached function pointer.

Source

pub fn cuda_user_object_release( &self, ) -> Result<PFN_cudaUserObjectRelease, LoaderError>

Resolve cudaUserObjectRelease and return the cached function pointer.

Source

pub fn cuda_graph_retain_user_object( &self, ) -> Result<PFN_cudaGraphRetainUserObject, LoaderError>

Resolve cudaGraphRetainUserObject and return the cached function pointer.

Source

pub fn cuda_graph_release_user_object( &self, ) -> Result<PFN_cudaGraphReleaseUserObject, LoaderError>

Resolve cudaGraphReleaseUserObject and return the cached function pointer.

Source

pub fn cuda_launch_cooperative_kernel( &self, ) -> Result<PFN_cudaLaunchCooperativeKernel, LoaderError>

Resolve cudaLaunchCooperativeKernel and return the cached function pointer.

Source

pub fn cuda_stream_attach_mem_async( &self, ) -> Result<PFN_cudaStreamAttachMemAsync, LoaderError>

Resolve cudaStreamAttachMemAsync and return the cached function pointer.

Source

pub fn cuda_stream_get_attribute( &self, ) -> Result<PFN_cudaStreamGetAttribute, LoaderError>

Resolve cudaStreamGetAttribute and return the cached function pointer.

Source

pub fn cuda_stream_set_attribute( &self, ) -> Result<PFN_cudaStreamSetAttribute, LoaderError>

Resolve cudaStreamSetAttribute and return the cached function pointer.

Source

pub fn cuda_stream_copy_attributes( &self, ) -> Result<PFN_cudaStreamCopyAttributes, LoaderError>

Resolve cudaStreamCopyAttributes and return the cached function pointer.

Source

pub fn cuda_ipc_get_event_handle( &self, ) -> Result<PFN_cudaIpcGetEventHandle, LoaderError>

Resolve cudaIpcGetEventHandle and return the cached function pointer.

Source

pub fn cuda_ipc_open_event_handle( &self, ) -> Result<PFN_cudaIpcOpenEventHandle, LoaderError>

Resolve cudaIpcOpenEventHandle and return the cached function pointer.

Source

pub fn cuda_ipc_get_mem_handle( &self, ) -> Result<PFN_cudaIpcGetMemHandle, LoaderError>

Resolve cudaIpcGetMemHandle and return the cached function pointer.

Source

pub fn cuda_ipc_open_mem_handle( &self, ) -> Result<PFN_cudaIpcOpenMemHandle, LoaderError>

Resolve cudaIpcOpenMemHandle and return the cached function pointer.

Source

pub fn cuda_ipc_close_mem_handle( &self, ) -> Result<PFN_cudaIpcCloseMemHandle, LoaderError>

Resolve cudaIpcCloseMemHandle and return the cached function pointer.

Source

pub fn cuda_set_device_flags( &self, ) -> Result<PFN_cudaSetDeviceFlags, LoaderError>

Resolve cudaSetDeviceFlags and return the cached function pointer.

Source

pub fn cuda_get_device_flags( &self, ) -> Result<PFN_cudaGetDeviceFlags, LoaderError>

Resolve cudaGetDeviceFlags and return the cached function pointer.

Source

pub fn cuda_stream_batch_mem_op( &self, ) -> Result<PFN_cudaStreamBatchMemOp, LoaderError>

Resolve cudaStreamBatchMemOp and return the cached function pointer.

Source

pub fn cuda_graph_add_node(&self) -> Result<PFN_cudaGraphAddNode, LoaderError>

Resolve cudaGraphAddNode and return the cached function pointer.

Source

pub fn cuda_graph_conditional_handle_create( &self, ) -> Result<PFN_cudaGraphConditionalHandleCreate, LoaderError>

Resolve cudaGraphConditionalHandleCreate and return the cached function pointer.

Source

pub fn cuda_get_driver_entry_point( &self, ) -> Result<PFN_cudaGetDriverEntryPoint, LoaderError>

Resolve cudaGetDriverEntryPoint and return the cached function pointer.

Source

pub fn cuda_occupancy_max_active_blocks_per_multiprocessor_with_flags( &self, ) -> Result<PFN_cudaOccupancyMaxActiveBlocksPerMultiprocessorWithFlags, LoaderError>

Resolve cudaOccupancyMaxActiveBlocksPerMultiprocessorWithFlags and return the cached function pointer.

Source

pub fn cuda_occupancy_available_dynamic_smem_per_block( &self, ) -> Result<PFN_cudaOccupancyAvailableDynamicSMemPerBlock, LoaderError>

Resolve cudaOccupancyAvailableDynamicSMemPerBlock and return the cached function pointer.

Source

pub fn cuda_graphics_unregister_resource( &self, ) -> Result<PFN_cudaGraphicsUnregisterResource, LoaderError>

Resolve cudaGraphicsUnregisterResource and return the cached function pointer.

Source

pub fn cuda_graphics_map_resources( &self, ) -> Result<PFN_cudaGraphicsMapResources, LoaderError>

Resolve cudaGraphicsMapResources and return the cached function pointer.

Source

pub fn cuda_graphics_unmap_resources( &self, ) -> Result<PFN_cudaGraphicsUnmapResources, LoaderError>

Resolve cudaGraphicsUnmapResources and return the cached function pointer.

Source

pub fn cuda_graphics_resource_get_mapped_pointer( &self, ) -> Result<PFN_cudaGraphicsResourceGetMappedPointer, LoaderError>

Resolve cudaGraphicsResourceGetMappedPointer and return the cached function pointer.

Source

pub fn cuda_graphics_sub_resource_get_mapped_array( &self, ) -> Result<PFN_cudaGraphicsSubResourceGetMappedArray, LoaderError>

Resolve cudaGraphicsSubResourceGetMappedArray and return the cached function pointer.

Source

pub fn cuda_graphics_resource_get_mapped_mipmapped_array( &self, ) -> Result<PFN_cudaGraphicsResourceGetMappedMipmappedArray, LoaderError>

Resolve cudaGraphicsResourceGetMappedMipmappedArray and return the cached function pointer.

Source

pub fn cuda_graphics_resource_set_map_flags( &self, ) -> Result<PFN_cudaGraphicsResourceSetMapFlags, LoaderError>

Resolve cudaGraphicsResourceSetMapFlags and return the cached function pointer.

Source

pub fn cuda_graphics_gl_register_buffer( &self, ) -> Result<PFN_cudaGraphicsGLRegisterBuffer, LoaderError>

Resolve cudaGraphicsGLRegisterBuffer and return the cached function pointer.

Source

pub fn cuda_graphics_gl_register_image( &self, ) -> Result<PFN_cudaGraphicsGLRegisterImage, LoaderError>

Resolve cudaGraphicsGLRegisterImage and return the cached function pointer.

Source

pub fn cuda_gl_get_devices(&self) -> Result<PFN_cudaGLGetDevices, LoaderError>

Resolve cudaGLGetDevices and return the cached function pointer.

Source

pub fn cuda_d3d9_get_device(&self) -> Result<PFN_cudaD3D9GetDevice, LoaderError>

Resolve cudaD3D9GetDevice and return the cached function pointer.

Source

pub fn cuda_d3d9_get_devices( &self, ) -> Result<PFN_cudaD3D9GetDevices, LoaderError>

Resolve cudaD3D9GetDevices and return the cached function pointer.

Source

pub fn cuda_graphics_d3d9_register_resource( &self, ) -> Result<PFN_cudaGraphicsD3D9RegisterResource, LoaderError>

Resolve cudaGraphicsD3D9RegisterResource and return the cached function pointer.

Source

pub fn cuda_d3d10_get_device( &self, ) -> Result<PFN_cudaD3D10GetDevice, LoaderError>

Resolve cudaD3D10GetDevice and return the cached function pointer.

Source

pub fn cuda_d3d10_get_devices( &self, ) -> Result<PFN_cudaD3D10GetDevices, LoaderError>

Resolve cudaD3D10GetDevices and return the cached function pointer.

Source

pub fn cuda_graphics_d3d10_register_resource( &self, ) -> Result<PFN_cudaGraphicsD3D10RegisterResource, LoaderError>

Resolve cudaGraphicsD3D10RegisterResource and return the cached function pointer.

Source

pub fn cuda_d3d11_get_device( &self, ) -> Result<PFN_cudaD3D11GetDevice, LoaderError>

Resolve cudaD3D11GetDevice and return the cached function pointer.

Source

pub fn cuda_d3d11_get_devices( &self, ) -> Result<PFN_cudaD3D11GetDevices, LoaderError>

Resolve cudaD3D11GetDevices and return the cached function pointer.

Source

pub fn cuda_graphics_d3d11_register_resource( &self, ) -> Result<PFN_cudaGraphicsD3D11RegisterResource, LoaderError>

Resolve cudaGraphicsD3D11RegisterResource and return the cached function pointer.

Source

pub fn cuda_vdpau_get_device( &self, ) -> Result<PFN_cudaVDPAUGetDevice, LoaderError>

Resolve cudaVDPAUGetDevice and return the cached function pointer.

Source

pub fn cuda_graphics_vdpau_register_video_surface( &self, ) -> Result<PFN_cudaGraphicsVDPAURegisterVideoSurface, LoaderError>

Resolve cudaGraphicsVDPAURegisterVideoSurface and return the cached function pointer.

Source

pub fn cuda_graphics_vdpau_register_output_surface( &self, ) -> Result<PFN_cudaGraphicsVDPAURegisterOutputSurface, LoaderError>

Resolve cudaGraphicsVDPAURegisterOutputSurface and return the cached function pointer.

Source

pub fn cuda_graphics_egl_register_image( &self, ) -> Result<PFN_cudaGraphicsEGLRegisterImage, LoaderError>

Resolve cudaGraphicsEGLRegisterImage and return the cached function pointer.

Source

pub fn cuda_graphics_resource_get_mapped_egl_frame( &self, ) -> Result<PFN_cudaGraphicsResourceGetMappedEglFrame, LoaderError>

Resolve cudaGraphicsResourceGetMappedEglFrame and return the cached function pointer.

Source

pub fn cuda_event_create_from_egl_sync( &self, ) -> Result<PFN_cudaEventCreateFromEGLSync, LoaderError>

Resolve cudaEventCreateFromEGLSync and return the cached function pointer.

Source

pub fn cuda_egl_stream_consumer_connect( &self, ) -> Result<PFN_cudaEGLStreamConsumerConnect, LoaderError>

Resolve cudaEGLStreamConsumerConnect and return the cached function pointer.

Source

pub fn cuda_egl_stream_consumer_disconnect( &self, ) -> Result<PFN_cudaEGLStreamConsumerDisconnect, LoaderError>

Resolve cudaEGLStreamConsumerDisconnect and return the cached function pointer.

Source

pub fn cuda_egl_stream_consumer_acquire_frame( &self, ) -> Result<PFN_cudaEGLStreamConsumerAcquireFrame, LoaderError>

Resolve cudaEGLStreamConsumerAcquireFrame and return the cached function pointer.

Source

pub fn cuda_egl_stream_consumer_release_frame( &self, ) -> Result<PFN_cudaEGLStreamConsumerReleaseFrame, LoaderError>

Resolve cudaEGLStreamConsumerReleaseFrame and return the cached function pointer.

Source

pub fn cuda_egl_stream_producer_connect( &self, ) -> Result<PFN_cudaEGLStreamProducerConnect, LoaderError>

Resolve cudaEGLStreamProducerConnect and return the cached function pointer.

Source

pub fn cuda_egl_stream_producer_disconnect( &self, ) -> Result<PFN_cudaEGLStreamProducerDisconnect, LoaderError>

Resolve cudaEGLStreamProducerDisconnect and return the cached function pointer.

Source

pub fn cuda_egl_stream_producer_present_frame( &self, ) -> Result<PFN_cudaEGLStreamProducerPresentFrame, LoaderError>

Resolve cudaEGLStreamProducerPresentFrame and return the cached function pointer.

Source

pub fn cuda_egl_stream_producer_return_frame( &self, ) -> Result<PFN_cudaEGLStreamProducerReturnFrame, LoaderError>

Resolve cudaEGLStreamProducerReturnFrame and return the cached function pointer.

Source

pub fn cuda_device_get_nv_sci_sync_attributes( &self, ) -> Result<PFN_cudaDeviceGetNvSciSyncAttributes, LoaderError>

Resolve cudaDeviceGetNvSciSyncAttributes and return the cached function pointer.

Source

pub fn cuda_malloc_mipmapped_array( &self, ) -> Result<PFN_cudaMallocMipmappedArray, LoaderError>

Resolve cudaMallocMipmappedArray and return the cached function pointer.

Source

pub fn cuda_free_mipmapped_array( &self, ) -> Result<PFN_cudaFreeMipmappedArray, LoaderError>

Resolve cudaFreeMipmappedArray and return the cached function pointer.

Source

pub fn cuda_array_get_info(&self) -> Result<PFN_cudaArrayGetInfo, LoaderError>

Resolve cudaArrayGetInfo and return the cached function pointer.

Source

pub fn cuda_get_mipmapped_array_level( &self, ) -> Result<PFN_cudaGetMipmappedArrayLevel, LoaderError>

Resolve cudaGetMipmappedArrayLevel and return the cached function pointer.

Source

pub fn cuda_get_texture_object_resource_desc( &self, ) -> Result<PFN_cudaGetTextureObjectResourceDesc, LoaderError>

Resolve cudaGetTextureObjectResourceDesc and return the cached function pointer.

Source

pub fn cuda_get_texture_object_texture_desc( &self, ) -> Result<PFN_cudaGetTextureObjectTextureDesc, LoaderError>

Resolve cudaGetTextureObjectTextureDesc and return the cached function pointer.

Source

pub fn cuda_get_texture_object_resource_view_desc( &self, ) -> Result<PFN_cudaGetTextureObjectResourceViewDesc, LoaderError>

Resolve cudaGetTextureObjectResourceViewDesc and return the cached function pointer.

Source

pub fn cuda_get_surface_object_resource_desc( &self, ) -> Result<PFN_cudaGetSurfaceObjectResourceDesc, LoaderError>

Resolve cudaGetSurfaceObjectResourceDesc and return the cached function pointer.

Source

pub fn cuda_memcpy_3d(&self) -> Result<PFN_cudaMemcpy3D, LoaderError>

Resolve cudaMemcpy3D and return the cached function pointer.

Source

pub fn cuda_memcpy_3d_async(&self) -> Result<PFN_cudaMemcpy3DAsync, LoaderError>

Resolve cudaMemcpy3DAsync and return the cached function pointer.

Source

pub fn cuda_memcpy_3d_peer(&self) -> Result<PFN_cudaMemcpy3DPeer, LoaderError>

Resolve cudaMemcpy3DPeer and return the cached function pointer.

Source

pub fn cuda_memcpy_3d_peer_async( &self, ) -> Result<PFN_cudaMemcpy3DPeerAsync, LoaderError>

Resolve cudaMemcpy3DPeerAsync and return the cached function pointer.

Source

pub fn cuda_memset_3d(&self) -> Result<PFN_cudaMemset3D, LoaderError>

Resolve cudaMemset3D and return the cached function pointer.

Source

pub fn cuda_malloc_3d(&self) -> Result<PFN_cudaMalloc3D, LoaderError>

Resolve cudaMalloc3D and return the cached function pointer.

Source

pub fn cuda_malloc_3d_array(&self) -> Result<PFN_cudaMalloc3DArray, LoaderError>

Resolve cudaMalloc3DArray and return the cached function pointer.

Source

pub fn cuda_launch_kernel_ex( &self, ) -> Result<PFN_cudaLaunchKernelEx, LoaderError>

Resolve cudaLaunchKernelEx and return the cached function pointer.

Source

pub fn cuda_profiler_start(&self) -> Result<PFN_cudaProfilerStart, LoaderError>

Resolve cudaProfilerStart and return the cached function pointer.

Source

pub fn cuda_profiler_stop(&self) -> Result<PFN_cudaProfilerStop, LoaderError>

Resolve cudaProfilerStop and return the cached function pointer.

Source

pub fn cuda_mem_address_reserve( &self, ) -> Result<PFN_cudaMemAddressReserve, LoaderError>

Resolve cudaMemAddressReserve and return the cached function pointer.

Source

pub fn cuda_mem_address_free( &self, ) -> Result<PFN_cudaMemAddressFree, LoaderError>

Resolve cudaMemAddressFree and return the cached function pointer.

Source

pub fn cuda_mem_create(&self) -> Result<PFN_cudaMemCreate, LoaderError>

Resolve cudaMemCreate and return the cached function pointer.

Source

pub fn cuda_mem_release(&self) -> Result<PFN_cudaMemRelease, LoaderError>

Resolve cudaMemRelease and return the cached function pointer.

Source

pub fn cuda_mem_map(&self) -> Result<PFN_cudaMemMap, LoaderError>

Resolve cudaMemMap and return the cached function pointer.

Source

pub fn cuda_mem_unmap(&self) -> Result<PFN_cudaMemUnmap, LoaderError>

Resolve cudaMemUnmap and return the cached function pointer.

Source

pub fn cuda_mem_set_access(&self) -> Result<PFN_cudaMemSetAccess, LoaderError>

Resolve cudaMemSetAccess and return the cached function pointer.

Source

pub fn cuda_mem_get_access(&self) -> Result<PFN_cudaMemGetAccess, LoaderError>

Resolve cudaMemGetAccess and return the cached function pointer.

Source

pub fn cuda_mem_get_allocation_granularity( &self, ) -> Result<PFN_cudaMemGetAllocationGranularity, LoaderError>

Resolve cudaMemGetAllocationGranularity and return the cached function pointer.

Source

pub fn cuda_mem_get_allocation_properties_from_handle( &self, ) -> Result<PFN_cudaMemGetAllocationPropertiesFromHandle, LoaderError>

Resolve cudaMemGetAllocationPropertiesFromHandle and return the cached function pointer.

Source

pub fn cuda_mem_export_to_shareable_handle( &self, ) -> Result<PFN_cudaMemExportToShareableHandle, LoaderError>

Resolve cudaMemExportToShareableHandle and return the cached function pointer.

Source

pub fn cuda_mem_import_from_shareable_handle( &self, ) -> Result<PFN_cudaMemImportFromShareableHandle, LoaderError>

Resolve cudaMemImportFromShareableHandle and return the cached function pointer.

Source

pub fn cuda_mem_retain_allocation_handle( &self, ) -> Result<PFN_cudaMemRetainAllocationHandle, LoaderError>

Resolve cudaMemRetainAllocationHandle and return the cached function pointer.

Source

pub fn cuda_multicast_create( &self, ) -> Result<PFN_cudaMulticastCreate, LoaderError>

Resolve cudaMulticastCreate and return the cached function pointer.

Source

pub fn cuda_multicast_add_device( &self, ) -> Result<PFN_cudaMulticastAddDevice, LoaderError>

Resolve cudaMulticastAddDevice and return the cached function pointer.

Source

pub fn cuda_multicast_bind_mem( &self, ) -> Result<PFN_cudaMulticastBindMem, LoaderError>

Resolve cudaMulticastBindMem and return the cached function pointer.

Source

pub fn cuda_multicast_bind_addr( &self, ) -> Result<PFN_cudaMulticastBindAddr, LoaderError>

Resolve cudaMulticastBindAddr and return the cached function pointer.

Source

pub fn cuda_multicast_unbind( &self, ) -> Result<PFN_cudaMulticastUnbind, LoaderError>

Resolve cudaMulticastUnbind and return the cached function pointer.

Source

pub fn cuda_multicast_get_granularity( &self, ) -> Result<PFN_cudaMulticastGetGranularity, LoaderError>

Resolve cudaMulticastGetGranularity and return the cached function pointer.

Source

pub fn cuda_device_create_green_ctx( &self, ) -> Result<PFN_cudaDeviceCreateGreenCtx, LoaderError>

Resolve cudaDeviceCreateGreenCtx and return the cached function pointer.

Source

pub fn cuda_green_ctx_destroy( &self, ) -> Result<PFN_cudaGreenCtxDestroy, LoaderError>

Resolve cudaGreenCtxDestroy and return the cached function pointer.

Source

pub fn cuda_green_ctx_record_event( &self, ) -> Result<PFN_cudaGreenCtxRecordEvent, LoaderError>

Resolve cudaGreenCtxRecordEvent and return the cached function pointer.

Source

pub fn cuda_green_ctx_wait_event( &self, ) -> Result<PFN_cudaGreenCtxWaitEvent, LoaderError>

Resolve cudaGreenCtxWaitEvent and return the cached function pointer.

Source

pub fn cuda_green_ctx_stream_create( &self, ) -> Result<PFN_cudaGreenCtxStreamCreate, LoaderError>

Resolve cudaGreenCtxStreamCreate and return the cached function pointer.

Trait Implementations§

Source§

impl Debug for Runtime

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.