pub struct RocmCompiler;Expand description
ROCm kernel compiler
Implementations§
Source§impl RocmCompiler
impl RocmCompiler
Trait Implementations§
Source§impl Debug for RocmCompiler
impl Debug for RocmCompiler
Source§impl Default for RocmCompiler
impl Default for RocmCompiler
Source§impl KernelCompiler for RocmCompiler
impl KernelCompiler for RocmCompiler
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 RocmCompiler
impl RefUnwindSafe for RocmCompiler
impl Send for RocmCompiler
impl Sync for RocmCompiler
impl Unpin for RocmCompiler
impl UnwindSafe for RocmCompiler
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