pub struct Platform(/* private fields */);Expand description
Abstraction for SYCL platform.
The Platform struct encapsulates a single SYCL platform on which SYCL kernel functions may be executed.
A SYCL platform must be associated with a single SYCL backend.
A Platform is also associated with one or more SYCL devices associated with the same SYCL backend.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Platform
impl RefUnwindSafe for Platform
impl Send for Platform
impl Sync for Platform
impl Unpin for Platform
impl UnwindSafe for Platform
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