pub struct CudaRuntime;
Trait Implementations§
Source§impl Debug for CudaRuntime
impl Debug for CudaRuntime
Source§impl Runtime for CudaRuntime
impl Runtime for CudaRuntime
Source§type Compiler = CppCompiler<CudaDialect>
type Compiler = CppCompiler<CudaDialect>
The compiler used to compile the inner representation into tokens.
Source§type Channel = MutexComputeChannel<CudaServer>
type Channel = MutexComputeChannel<CudaServer>
The channel used to communicate with the compute server.
Source§type Device = CudaDevice
type Device = CudaDevice
The device used to retrieve the compute client.
Source§fn client(device: &Self::Device) -> ComputeClient<Self::Server, Self::Channel>
fn client(device: &Self::Device) -> ComputeClient<Self::Server, Self::Channel>
Retrieve the compute client from the runtime device.
Source§fn name(_client: &ComputeClient<Self::Server, Self::Channel>) -> &'static str
fn name(_client: &ComputeClient<Self::Server, Self::Channel>) -> &'static str
The runtime name on the given device.
Source§fn require_array_lengths() -> bool
fn require_array_lengths() -> bool
Return true if global input array lengths should be added to kernel info.
Source§fn supported_line_sizes() -> &'static [u8] ⓘ
fn supported_line_sizes() -> &'static [u8] ⓘ
Returns the supported line sizes for the current runtime’s compiler.
Auto Trait Implementations§
impl Freeze for CudaRuntime
impl RefUnwindSafe for CudaRuntime
impl Send for CudaRuntime
impl Sync for CudaRuntime
impl Unpin for CudaRuntime
impl UnwindSafe for CudaRuntime
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more