pub struct SourceKernelBundle(/* private fields */);Expand description
A kernel bundle which stores loaded SYCL source code.
Implementations§
Source§impl SourceKernelBundle
impl SourceKernelBundle
pub fn build(&mut self) -> Result<ExecutableKernelBundle, Exception>
Trait Implementations§
Source§impl From<UniquePtr<SourceKernelBundle>> for SourceKernelBundle
impl From<UniquePtr<SourceKernelBundle>> for SourceKernelBundle
Source§fn from(value: UniquePtr<SourceKernelBundle>) -> SourceKernelBundle
fn from(value: UniquePtr<SourceKernelBundle>) -> SourceKernelBundle
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SourceKernelBundle
impl RefUnwindSafe for SourceKernelBundle
impl Send for SourceKernelBundle
impl Sync for SourceKernelBundle
impl Unpin for SourceKernelBundle
impl UnsafeUnpin for SourceKernelBundle
impl UnwindSafe for SourceKernelBundle
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