pub struct CppCompiler<D: Dialect> { /* private fields */ }Trait Implementations§
Source§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.
Source§type CompilationOptions = CompilationOptions
type CompilationOptions = CompilationOptions
The compilation options used to configure the compiler
Source§fn compile(
&mut self,
kernel: KernelDefinition,
compilation_options: &Self::CompilationOptions,
strategy: ExecutionMode,
addr_type: StorageType,
) -> Result<Self::Representation, CompilationError>
fn compile( &mut self, kernel: KernelDefinition, compilation_options: &Self::CompilationOptions, strategy: ExecutionMode, addr_type: StorageType, ) -> Result<Self::Representation, CompilationError>
Compiles the kernel definition into the compiler’s representation.
Auto Trait Implementations§
impl<D> Freeze for CppCompiler<D>
impl<D> RefUnwindSafe for CppCompiler<D>where
Vec<BarrierOps<D>>: RefUnwindSafe,
Vec<ConstArray<D>>: RefUnwindSafe,
Vec<<D as DialectIncludes<D>>::Extension>: RefUnwindSafe,
Flags<D>: RefUnwindSafe,
HashSet<Item<D>>: RefUnwindSafe,
Vec<LocalArray<D>>: RefUnwindSafe,
Vec<PipelineOps<D>>: RefUnwindSafe,
Item<D>: RefUnwindSafe,
impl<D> Send for CppCompiler<D>
impl<D> Sync for CppCompiler<D>
impl<D> Unpin for CppCompiler<D>
impl<D> UnsafeUnpin for CppCompiler<D>where
Vec<BarrierOps<D>>: UnsafeUnpin,
Vec<ConstArray<D>>: UnsafeUnpin,
Vec<<D as DialectIncludes<D>>::Extension>: UnsafeUnpin,
Flags<D>: UnsafeUnpin,
HashSet<Item<D>>: UnsafeUnpin,
Vec<LocalArray<D>>: UnsafeUnpin,
Vec<PipelineOps<D>>: UnsafeUnpin,
Item<D>: UnsafeUnpin,
impl<D> UnwindSafe for CppCompiler<D>where
Vec<BarrierOps<D>>: UnwindSafe,
Vec<ConstArray<D>>: UnwindSafe,
Vec<<D as DialectIncludes<D>>::Extension>: UnwindSafe,
Flags<D>: UnwindSafe,
HashSet<Item<D>>: UnwindSafe,
Vec<LocalArray<D>>: UnwindSafe,
Vec<PipelineOps<D>>: UnwindSafe,
Item<D>: UnwindSafe,
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<C> CloneExpand for Cwhere
C: Clone,
impl<C> CloneExpand for Cwhere
C: Clone,
fn __expand_clone_method(&self, _scope: &mut Scope) -> C
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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