Struct cuda_oxide::context::Context[][src]

pub struct Context { /* fields omitted */ }
Expand description

A CUDA application context. To start interacting with a device, you want to Context::enter

Implementations

Creates a new Context for a given Device

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::compute_capability

Synchronize a Context, running all active handles to completion

Set a CUDA context limit

Get a CUDA context limit

Enter a Context, consuming a mutable reference to the context, and allowing thread-local operations to happen.

Trait Implementations

Formats the value using the given formatter. Read more

Executes the destructor for this type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.