MCPcopy Create free account
hub / github.com/Rust-GPU/rust-cuda / as_inner

Method as_inner

crates/cust/src/event.rs:299–301  ·  view source on GitHub ↗

Get the inner `CUevent` from the `Event`. Necessary for certain CUDA functions outside of this module that expect a bare `CUevent`.

(&self)

Source from the content-addressed store, hash-verified

297 // Necessary for certain CUDA functions outside of this
298 // module that expect a bare `CUevent`.
299 pub(crate) fn as_inner(&self) -> CUevent {
300 self.0
301 }
302
303 /// Destroy an `Event` returning an error.
304 ///

Callers 15

set_streamMethod · 0.45
recordMethod · 0.45
prefetch_to_hostMethod · 0.45
prefetch_to_deviceMethod · 0.45
cuda_malloc_asyncFunction · 0.45
cuda_free_asyncFunction · 0.45
zeroed_asyncMethod · 0.45
async_copy_fromMethod · 0.45
async_copy_toMethod · 0.45
set_8_asyncMethod · 0.45
set_16_asyncMethod · 0.45
set_32_asyncMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected