pub struct CppCompiler<D: Dialect> { /* private fields */ }
Trait Implementations§
Source§impl<D: Clone + Dialect> Clone for CppCompiler<D>
impl<D: Clone + Dialect> Clone for CppCompiler<D>
Source§fn clone(&self) -> CppCompiler<D>
fn clone(&self) -> CppCompiler<D>
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<D: Dialect> Compiler for CppCompiler<D>
impl<D: Dialect> Compiler for CppCompiler<D>
Source§type Representation = ComputeKernel<D>
type Representation = ComputeKernel<D>
The representation for the compiled code.
type CompilationOptions = CompilationOptions
Source§fn compile(
&mut self,
kernel: KernelDefinition,
compilation_options: &Self::CompilationOptions,
strategy: ExecutionMode,
) -> Self::Representation
fn compile( &mut self, kernel: KernelDefinition, compilation_options: &Self::CompilationOptions, strategy: ExecutionMode, ) -> Self::Representation
Compiles the kernel definition into the compiler’s representation.
Auto Trait Implementations§
impl<D> Freeze for CppCompiler<D>
impl<D> RefUnwindSafe for CppCompiler<D>
impl<D> Send for CppCompiler<D>
impl<D> Sync for CppCompiler<D>
impl<D> Unpin for CppCompiler<D>
impl<D> UnwindSafe for CppCompiler<D>
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