pub struct CudaCompiler { /* private fields */ }Expand description
CUDA kernel compiler
Implementations§
Source§impl CudaCompiler
impl CudaCompiler
Trait Implementations§
Source§impl Debug for CudaCompiler
impl Debug for CudaCompiler
Source§impl Default for CudaCompiler
impl Default for CudaCompiler
Source§impl KernelCompiler for CudaCompiler
impl KernelCompiler for CudaCompiler
Source§fn compile_kernel(
&self,
source: &str,
options: &CompilationOptions,
) -> Result<CompiledKernel, KernelError>
fn compile_kernel( &self, source: &str, options: &CompilationOptions, ) -> Result<CompiledKernel, KernelError>
Compile kernel source code for the target backend
Source§fn backend_type(&self) -> GpuBackend
fn backend_type(&self) -> GpuBackend
Get backend type
Source§fn supports_feature(&self, feature: KernelFeature) -> bool
fn supports_feature(&self, feature: KernelFeature) -> bool
Check if a feature is supported
Source§fn get_capabilities(&self) -> CompilerCapabilities
fn get_capabilities(&self) -> CompilerCapabilities
Get compilation capabilities
Auto Trait Implementations§
impl Freeze for CudaCompiler
impl RefUnwindSafe for CudaCompiler
impl Send for CudaCompiler
impl Sync for CudaCompiler
impl Unpin for CudaCompiler
impl UnwindSafe for CudaCompiler
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more