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
Function
bindgen_test_layout___pthread_cond_s
()
src/sys.rs:1233
Function
bindgen_test_layout___pthread_cond_s__bindgen_ty_1
()
src/sys.rs:1100
Function
bindgen_test_layout___pthread_cond_s__bindgen_ty_1__bindgen_ty_1
()
src/sys.rs:1055
Function
bindgen_test_layout___pthread_cond_s__bindgen_ty_2
()
src/sys.rs:1194
Function
bindgen_test_layout___pthread_cond_s__bindgen_ty_2__bindgen_ty_1
()
src/sys.rs:1149
Function
bindgen_test_layout___pthread_internal_list
()
src/sys.rs:701
Function
bindgen_test_layout___pthread_internal_slist
()
src/sys.rs:740
Function
bindgen_test_layout___pthread_mutex_s
()
src/sys.rs:776
Function
bindgen_test_layout___pthread_rwlock_arch_t
()
src/sys.rs:885
Function
bindgen_test_layout___sigset_t
()
src/sys.rs:539
Function
bindgen_test_layout_div_t
()
src/sys.rs:219
Function
bindgen_test_layout_drand48_data
()
src/sys.rs:1892
Function
bindgen_test_layout_fd_set
()
src/sys.rs:648
Function
bindgen_test_layout_ldiv_t
()
src/sys.rs:258
Function
bindgen_test_layout_lldiv_t
()
src/sys.rs:297
Function
bindgen_test_layout_pthread_attr_t
()
src/sys.rs:1413
Function
bindgen_test_layout_pthread_barrier_t
()
src/sys.rs:1642
Function
bindgen_test_layout_pthread_barrierattr_t
()
src/sys.rs:1681
Function
bindgen_test_layout_pthread_cond_t
()
src/sys.rs:1503
Function
bindgen_test_layout_pthread_condattr_t
()
src/sys.rs:1372
Function
bindgen_test_layout_pthread_mutex_t
()
src/sys.rs:1453
Function
bindgen_test_layout_pthread_mutexattr_t
()
src/sys.rs:1333
Function
bindgen_test_layout_pthread_rwlock_t
()
src/sys.rs:1553
Function
bindgen_test_layout_pthread_rwlockattr_t
()
src/sys.rs:1602
Function
bindgen_test_layout_random_data
()
src/sys.rs:1741
Function
bindgen_test_layout_timespec
()
src/sys.rs:608
Function
bindgen_test_layout_timeval
()
src/sys.rs:569
Method
copy_from
Synchronously copies data from `source` to `self`. Panics if length is not equal.
src/mem.rs:101
Method
copy_from_stream
Asynchronously copies data from `source` to `self`. Panics if length is not equal.
src/mem.rs:106
Method
default
()
src/module.rs:41
Method
deref
(&self)
src/dim3.rs:9
Method
deref
(&self)
src/mem.rs:416
Method
deref_mut
(&mut self)
src/dim3.rs:15
Method
deref_mut
(&mut self)
src/mem.rs:422
Method
drop
(&mut self)
src/module.rs:215
Method
drop
(&mut self)
src/stream.rs:183
Method
drop
(&mut self)
src/future.rs:71
Method
drop
(&mut self)
src/mem.rs:400
Method
drop
(&mut self)
src/context.rs:62
Method
fmt
(&self, f: &mut fmt::Formatter<'_>)
src/version.rs:40
Method
fmt
(&self, f: &mut fmt::Formatter<'_>)
src/error.rs:303
Method
from
(inner: (u32, u32, u32))
src/dim3.rs:27
Method
from
(version: u32)
src/version.rs:16
Method
from_raw
Constructs a [`DeviceBox`] from a device pointer.
src/mem.rs:394
Method
from_raw_parts
(handle: Rc<Handle<'a>>, ptr: u64, len: u64)
src/mem.rs:22
Method
get_attribute
Returns information about a function.
src/func.rs:69
Method
get_global
Get a pointer to a global variable defined by a CUDA module.
src/module.rs:268
Method
get_limit
Get a CUDA context limit
src/context.rs:45
Method
get_texture_1d_linear_max_width
Calculates the linear max width of 1D textures for a given native array format
src/device.rs:69
Method
handle
Gets a reference to the owning handle
src/mem.rs:275
Function
host_callback
(arg: *mut std::ffi::c_void)
src/stream.rs:27
Method
init
Initialize the CUDA library. Can be called repeatedly at no cost.
src/init.rs:8
Method
is_synced
Returns `Ok(true)` if the stream has finished processing all queued tasks.
src/stream.rs:57
Method
leak
Leaks the DeviceBox, similar to [`Box::leak`].
src/mem.rs:389
Method
list_devices
List all CUDA-enabled devices on the host
src/device.rs:89
Method
load
Takes a raw CUDA kernel image and loads the corresponding module module into the current context. The pointer can be a cubin or PTX or fatbin file as
src/module.rs:231
Method
load_fatcubin
Same as [`Module::load`] but uses `fatCubin` format.
src/module.rs:243
Method
load_stream
Asynchronously loads the data from this slice into a local buffer. The contents of the buffer are undefined until `stream.sync` is called. The output
src/mem.rs:153
Function
main
()
build.rs:1
Function
main
()
examples/enumerate.rs:3
Function
main
()
examples/matrix_mul_jit/main.rs:20
Function
main
()
examples/matrix_mul/main.rs:20
Method
memory_size
Gets the total available memory size of the device, in bytes
src/device.rs:43
Method
memset_d16
Synchronously set the contents of `self` to `data` repeated to fill length. Panics if [`Self::len`] is not a multiple of 2.
src/mem.rs:236
Method
memset_d16_stream
Asynchronously set the contents of `self` to `data` repeated to fill length. Panics if [`Self::len`] is not a multiple of 2.
src/mem.rs:245
Method
memset_d32
Synchronously set the contents of `self` to `data` repeated to fill length. Panics if [`Self::len`] is not a multiple of 4.
src/mem.rs:256
Method
memset_d32_stream
Asynchronously set the contents of `self` to `data` repeated to fill length. Panics if [`Self::len`] is not a multiple of 4.
src/mem.rs:265
Method
memset_d8
Synchronously set the contents of `self` to `data` repeated to fill length
src/mem.rs:223
Method
memset_d8_stream
Asynchronously set the contents of `self` to `data` repeated to fill length
src/mem.rs:228
Method
module
Returns a module handle.
src/func.rs:64
Method
name
Fetches a human-readable name from the device
src/device.rs:26
Method
new
Creates a new [`Linker`] for the given context handle, compute capability, and linker options.
src/module.rs:53
Method
new
Creates a new stream for a handle
src/stream.rs:34
Method
new
(handle: Rc<Handle<'a>>, stream: Stream<'a>)
src/future.rs:61
Method
new
Allocate a new initialized buffer on the device matching the size and content of `input`.
src/mem.rs:300
Method
new
Creates a new [`Context`] for a given [`Device`]
src/context.rs:14
Method
new_ffi
Allocates a new initialized buffer on the device matching the size and content of `input`. Note that memory is directly copied, so [`T`] must be [`Siz
src/mem.rs:334
Method
new_ffi_stream
Allocates a new uninitialized buffer on the device, then synchronously fills it with `input`. Note that memory is directly copied, so [`T`] must be [`
src/mem.rs:350
Method
new_ffi_stream_buf
Allocates a new uninitialized buffer on the device, then synchronously fills it with `input`. Note that memory is directly copied, so [`T`] must be [`
src/mem.rs:370
Method
new_stream
Allocates a new uninitialized buffer on the device, then asynchronously fills it with `input`. `input` must not be dropped or mutated until `stream.sy
src/mem.rs:309
Method
new_stream_buf
Allocates a new uninitialized buffer on the device, then synchronously fills it with `input`. `input` will be dropped when the stream is synced or dro
src/mem.rs:322
Method
poll
(mut self: Pin<&mut Self>, cx: &mut Context<'_>)
src/future.rs:28
Method
set_attribute
Sets information about a function.
src/func.rs:78
Method
set_cache_config
Sets the preferred cache configuration for a device function.
src/func.rs:83
Method
set_limit
Set a CUDA context limit
src/context.rs:40
Method
set_shared_mem_config
Sets the shared memory configuration for a device function.
src/func.rs:88
Method
subslice
Gets a subslice of this slice from `[from:to]`
src/mem.rs:115
Method
uuid
Gets a UUID from the device
src/device.rs:36
Method
version
Gets the local driver version (not to be confused with device compute capability)
src/version.rs:47
Method
version
Gets the API version of the [`Context`]. This is not the compute capability of the device and probably not what you are looking for. See [`Device::com
src/context.rs:28
Method
wait_32
Wait for a 4-byte value in a specific location to compare to `value` by `mode`.
src/stream.rs:66
Method
wait_64
Wait for a 8-byte value in a specific location to compare to `value` by `mode`.
src/stream.rs:83
Method
write_32
Writes a 4-byte value to device memory asynchronously
src/stream.rs:100
Method
write_64
Writes a 8-byte value to device memory asynchronously
src/stream.rs:116
← previous
101–194 of 194, ranked by callers