Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Protryon/cuda-oxide
/ functions
Functions
194 in github.com/Protryon/cuda-oxide
⨍
Functions
194
◇
Types & classes
138
↓ 57 callers
Function
cuda_error
(input: u32)
src/error.rs:312
↓ 29 callers
Method
len
Gets the length of this slice
src/mem.rs:127
↓ 5 callers
Method
load
Synchronously loads the data from this slice into a local buffer
src/mem.rs:137
↓ 4 callers
Method
into
(self)
src/dim3.rs:21
↓ 3 callers
Method
callback
Calls a callback closure function `callback` once all prior tasks in the Stream have been driven to completion. Note that it is a memory leak to drop
src/stream.rs:136
↓ 3 callers
Method
store
Synchronously stores host data from `data` to `self`.
src/mem.rs:166
↓ 2 callers
Method
context
Get an immutable reference to the source context.
src/context.rs:77
↓ 2 callers
Method
emit_logs
(&self)
src/module.rs:131
↓ 2 callers
Method
enter
Enter a [`Context`], consuming a mutable reference to the context, and allowing thread-local operations to happen.
src/context.rs:52
↓ 2 callers
Method
get_attribute
Gets a current attribute value for the device
src/device.rs:52
↓ 2 callers
Method
get_function
Retrieve a reference to a define CUDA kernel within the module.
src/module.rs:255
↓ 2 callers
Method
is_empty
Check if the slice's length is 0
src/mem.rs:132
↓ 2 callers
Method
launch
Launch a CUDA kernel on this [`Stream`] with the given `grid_dim` grid dimensions, `block_dim` block dimensions, `shared_mem_size` allocated shared me
src/stream.rs:150
↓ 2 callers
Function
matrix_bytes
(input: &[f64])
examples/matrix_mul_jit/main.rs:12
↓ 2 callers
Function
matrix_bytes
(input: &[f64])
examples/matrix_mul/main.rs:12
↓ 2 callers
Method
store_stream
Asynchronously stores host data from `data` to `self`. The `data` must not be dropped or mutated until `stream.sync` is called.
src/mem.rs:184
↓ 2 callers
Method
store_stream_buf
Asynchronously stores host data from `data` to `self`. `data` will be dropped once the [`Stream`] is synced or dropped.
src/mem.rs:203
↓ 2 callers
Method
sync
Drives all pending tasks on the stream to completion
src/stream.rs:50
↓ 2 callers
Method
synchronize
Synchronize a [`Context`], running all active handles to completion
src/context.rs:35
↓ 1 callers
Method
add
Add an input file to the linker context. `name` is only used for logs
src/module.rs:153
↓ 1 callers
Method
build
Emit the cubin assembly binary. You probably want [`Linker::build_module`]
src/module.rs:190
↓ 1 callers
Method
build_module
Build a CUDA module from this [`Linker`].
src/module.rs:208
↓ 1 callers
Function
bytes_matrix
(input: &[u8])
examples/matrix_mul_jit/main.rs:16
↓ 1 callers
Function
bytes_matrix
(input: &[u8])
examples/matrix_mul/main.rs:16
↓ 1 callers
Method
compute_capability
Gets the compute capability of the device
src/device.rs:61
↓ 1 callers
Method
copy_to
Synchronously copies data from `self` to `target`. Panics if length is not equal.
src/mem.rs:31
↓ 1 callers
Method
copy_to_stream
Asynchronously copies data from `self` to `target`. Panics if length is not equal.
src/mem.rs:54
↓ 1 callers
Method
into
(self)
src/version.rs:25
↓ 1 callers
Method
params
(&self, out: &mut Vec<Vec<u8>>)
src/kernel_params.rs:9
Method
alloc
Allocate an uninitialized buffer of size `size` on the device
src/mem.rs:287
Method
as_raw
(&self)
src/mem.rs:18
Method
as_ref
(&self)
src/mem.rs:408
Function
bindgen_test_layout_CUDA_ARRAY3D_DESCRIPTOR_st
()
src/sys.rs:6038
Function
bindgen_test_layout_CUDA_ARRAY_DESCRIPTOR_st
()
src/sys.rs:5963
Function
bindgen_test_layout_CUDA_ARRAY_SPARSE_PROPERTIES_st
()
src/sys.rs:6207
Function
bindgen_test_layout_CUDA_ARRAY_SPARSE_PROPERTIES_st__bindgen_ty_1
()
src/sys.rs:6149
Function
bindgen_test_layout_CUDA_EXTERNAL_MEMORY_BUFFER_DESC_st
()
src/sys.rs:7612
Function
bindgen_test_layout_CUDA_EXTERNAL_MEMORY_HANDLE_DESC_st
()
src/sys.rs:7516
Function
bindgen_test_layout_CUDA_EXTERNAL_MEMORY_HANDLE_DESC_st__bindgen_ty_1
()
src/sys.rs:7458
Function
bindgen_test_layout_CUDA_EXTERNAL_MEMORY_HANDLE_DESC_st__bindgen_ty_1__bindgen_ty_1
()
src/sys.rs:7411
Function
bindgen_test_layout_CUDA_EXTERNAL_MEMORY_MIPMAPPED_ARRAY_DESC_st
()
src/sys.rs:7696
Function
bindgen_test_layout_CUDA_EXTERNAL_SEMAPHORE_HANDLE_DESC_st
()
src/sys.rs:7955
Function
bindgen_test_layout_CUDA_EXTERNAL_SEMAPHORE_HANDLE_DESC_st__bindgen_ty_1
()
src/sys.rs:7897
Function
bindgen_test_layout_CUDA_EXTERNAL_SEMAPHORE_HANDLE_DESC_st__bindgen_ty_1__bindgen_ty_1
()
src/sys.rs:7847
Function
bindgen_test_layout_CUDA_EXTERNAL_SEMAPHORE_SIGNAL_PARAMS_st
()
src/sys.rs:8269
Function
bindgen_test_layout_CUDA_EXTERNAL_SEMAPHORE_SIGNAL_PARAMS_st__bindgen_ty_1
()
src/sys.rs:8198
Function
bindgen_test_layout_CUDA_EXTERNAL_SEMAPHORE_SIGNAL_PARAMS_st__bindgen_ty_1__bindgen_ty_1
()
src/sys.rs:8060
Function
bindgen_test_layout_CUDA_EXTERNAL_SEMAPHORE_SIGNAL_PARAMS_st__bindgen_ty_1__bindgen_ty_2
()
src/sys.rs:8104
Function
bindgen_test_layout_CUDA_EXTERNAL_SEMAPHORE_SIGNAL_PARAMS_st__bindgen_ty_1__bindgen_ty_3
()
src/sys.rs:8162
Function
bindgen_test_layout_CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS_st
()
src/sys.rs:8583
Function
bindgen_test_layout_CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS_st__bindgen_ty_1
()
src/sys.rs:8512
Function
bindgen_test_layout_CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS_st__bindgen_ty_1__bindgen_ty_1
()
src/sys.rs:8360
Function
bindgen_test_layout_CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS_st__bindgen_ty_1__bindgen_ty_2
()
src/sys.rs:8403
Function
bindgen_test_layout_CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS_st__bindgen_ty_1__bindgen_ty_3
()
src/sys.rs:8462
Function
bindgen_test_layout_CUDA_EXT_SEM_SIGNAL_NODE_PARAMS_st
()
src/sys.rs:8655
Function
bindgen_test_layout_CUDA_EXT_SEM_WAIT_NODE_PARAMS_st
()
src/sys.rs:8724
Function
bindgen_test_layout_CUDA_HOST_NODE_PARAMS_st
()
src/sys.rs:4530
Function
bindgen_test_layout_CUDA_KERNEL_NODE_PARAMS_st
()
src/sys.rs:4283
Function
bindgen_test_layout_CUDA_LAUNCH_PARAMS_st
()
src/sys.rs:7216
Function
bindgen_test_layout_CUDA_MEMCPY2D_st
()
src/sys.rs:5118
Function
bindgen_test_layout_CUDA_MEMCPY3D_PEER_st
()
src/sys.rs:5670
Function
bindgen_test_layout_CUDA_MEMCPY3D_st
()
src/sys.rs:5349
Function
bindgen_test_layout_CUDA_MEMSET_NODE_PARAMS_st
()
src/sys.rs:4435
Function
bindgen_test_layout_CUDA_POINTER_ATTRIBUTE_P2P_TOKENS_st
()
src/sys.rs:7128
Function
bindgen_test_layout_CUDA_RESOURCE_DESC_st
()
src/sys.rs:6696
Function
bindgen_test_layout_CUDA_RESOURCE_DESC_st__bindgen_ty_1
()
src/sys.rs:6615
Function
bindgen_test_layout_CUDA_RESOURCE_DESC_st__bindgen_ty_1__bindgen_ty_1
()
src/sys.rs:6312
Function
bindgen_test_layout_CUDA_RESOURCE_DESC_st__bindgen_ty_1__bindgen_ty_2
()
src/sys.rs:6350
Function
bindgen_test_layout_CUDA_RESOURCE_DESC_st__bindgen_ty_1__bindgen_ty_3
()
src/sys.rs:6394
Function
bindgen_test_layout_CUDA_RESOURCE_DESC_st__bindgen_ty_1__bindgen_ty_4
()
src/sys.rs:6481
Function
bindgen_test_layout_CUDA_RESOURCE_DESC_st__bindgen_ty_1__bindgen_ty_5
()
src/sys.rs:6583
Function
bindgen_test_layout_CUDA_RESOURCE_VIEW_DESC_st
()
src/sys.rs:6995
Function
bindgen_test_layout_CUDA_TEXTURE_DESC_st
()
src/sys.rs:6766
Function
bindgen_test_layout_CUaccessPolicyWindow_st
()
src/sys.rs:4175
Function
bindgen_test_layout_CUarrayMapInfo_st
()
src/sys.rs:9215
Function
bindgen_test_layout_CUarrayMapInfo_st__bindgen_ty_1
()
src/sys.rs:8892
Function
bindgen_test_layout_CUarrayMapInfo_st__bindgen_ty_2
()
src/sys.rs:9146
Function
bindgen_test_layout_CUarrayMapInfo_st__bindgen_ty_2__bindgen_ty_1
()
src/sys.rs:8955
Function
bindgen_test_layout_CUarrayMapInfo_st__bindgen_ty_2__bindgen_ty_2
()
src/sys.rs:9088
Function
bindgen_test_layout_CUarrayMapInfo_st__bindgen_ty_3
()
src/sys.rs:9189
Function
bindgen_test_layout_CUdevprop_st
()
src/sys.rs:3559
Function
bindgen_test_layout_CUipcEventHandle_st
()
src/sys.rs:2460
Function
bindgen_test_layout_CUipcMemHandle_st
()
src/sys.rs:2492
Function
bindgen_test_layout_CUkernelNodeAttrValue_union
()
src/sys.rs:4617
Function
bindgen_test_layout_CUmemAccessDesc_st
()
src/sys.rs:9589
Function
bindgen_test_layout_CUmemAllocationProp_st
()
src/sys.rs:9506
Function
bindgen_test_layout_CUmemAllocationProp_st__bindgen_ty_1
()
src/sys.rs:9435
Function
bindgen_test_layout_CUmemLocation_st
()
src/sys.rs:9354
Function
bindgen_test_layout_CUmemPoolProps_st
()
src/sys.rs:9682
Function
bindgen_test_layout_CUmemPoolPtrExportData_st
()
src/sys.rs:9757
Function
bindgen_test_layout_CUstreamAttrValue_union
()
src/sys.rs:4698
Function
bindgen_test_layout_CUstreamBatchMemOpParams_union
()
src/sys.rs:3036
Function
bindgen_test_layout_CUstreamBatchMemOpParams_union_CUstreamMemOpFlushRemoteWritesParams_st
()
src/sys.rs:2984
Function
bindgen_test_layout_CUstreamBatchMemOpParams_union_CUstreamMemOpWaitValueParams_st
()
src/sys.rs:2749
Function
bindgen_test_layout_CUstreamBatchMemOpParams_union_CUstreamMemOpWaitValueParams_st__bindgen_ty_1
( )
src/sys.rs:2687
Function
bindgen_test_layout_CUstreamBatchMemOpParams_union_CUstreamMemOpWriteValueParams_st
()
src/sys.rs:2903
Function
bindgen_test_layout_CUstreamBatchMemOpParams_union_CUstreamMemOpWriteValueParams_st__bindgen_ty_1
( )
src/sys.rs:2841
Function
bindgen_test_layout_CUuuid_st
()
src/sys.rs:2430
Function
bindgen_test_layout___fsid_t
()
src/sys.rs:450
Function
bindgen_test_layout___once_flag
()
src/sys.rs:1303
next →
1–100 of 194, ranked by callers