Struct collenchyma::frameworks::cuda::context::Context [] [src]

pub struct Context { /* fields omitted */ }

Defines a Cuda Context.

Methods

impl Context
[src]

Initializes a new Cuda context.

Initializes a new Cuda platform from its C type.

Returns the id as isize.

Returns the id as its C type.

Synchronize this Context.

Trait Implementations

impl Debug for Context
[src]

Formats the value using the given formatter.

impl Clone for Context
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Drop for Context
[src]

A method called when the value goes out of scope. Read more

impl IDeviceSyncOut<FlatBox> for Context
[src]

The Memory representation for this Device.

Synchronizes memory from source_data to dest_data.

impl IDevice for Context
[src]

The Hardware representation for this Device.

The Memory representation for this Device.

Returns the unique identifier of the Device.

Returns the hardwares, which define the Device.

Allocate memory on the Device.

Synchronize memory from source_data to the memory at dest_data. Read more

impl PartialEq for Context
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for Context
[src]

impl Hash for Context
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more