pub struct AdvancedJitCompiler { /* private fields */ }
Expand description
Central JIT compilation coordinator for advanced mode
Implementations§
Source§impl AdvancedJitCompiler
impl AdvancedJitCompiler
Sourcepub fn new() -> CoreResult<Self>
pub fn new() -> CoreResult<Self>
Create a new JIT compiler with default configuration
Sourcepub fn with_config(config: JitCompilerConfig) -> CoreResult<Self>
pub fn with_config(config: JitCompilerConfig) -> CoreResult<Self>
Create a new JIT compiler with custom configuration
Sourcepub fn compile_kernel(
&self,
name: &str,
sourcecode: &str,
hints: &[String],
) -> CoreResult<CompiledKernel>
pub fn compile_kernel( &self, name: &str, sourcecode: &str, hints: &[String], ) -> CoreResult<CompiledKernel>
Compile a kernel with JIT optimization
Sourcepub fn execute_kernel<T, R>(
&self,
kernel: &CompiledKernel,
input: T,
) -> CoreResult<R>
pub fn execute_kernel<T, R>( &self, kernel: &CompiledKernel, input: T, ) -> CoreResult<R>
Execute a compiled kernel with performance monitoring
Sourcepub fn get_analytics(&self) -> CoreResult<JitAnalytics>
pub fn get_analytics(&self) -> CoreResult<JitAnalytics>
Get comprehensive JIT compilation analytics
Sourcepub fn optimize_kernels(&self) -> CoreResult<OptimizationResults>
pub fn optimize_kernels(&self) -> CoreResult<OptimizationResults>
Optimize existing kernels based on runtime feedback
Trait Implementations§
Source§impl Debug for AdvancedJitCompiler
impl Debug for AdvancedJitCompiler
Auto Trait Implementations§
impl Freeze for AdvancedJitCompiler
impl RefUnwindSafe for AdvancedJitCompiler
impl Send for AdvancedJitCompiler
impl Sync for AdvancedJitCompiler
impl Unpin for AdvancedJitCompiler
impl UnwindSafe for AdvancedJitCompiler
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