Enum ocl::enums::KernelWorkGroupInfoResult
source · pub enum KernelWorkGroupInfoResult {
WorkGroupSize(usize),
CompileWorkGroupSize([usize; 3]),
LocalMemSize(u64),
PreferredWorkGroupSizeMultiple(usize),
PrivateMemSize(u64),
GlobalWorkSize([usize; 3]),
Empty(EmptyInfoResultError),
Unavailable(Status),
CustomBuiltinOnly,
}
Expand description
A kernel work group info result.
Variants§
WorkGroupSize(usize)
CompileWorkGroupSize([usize; 3])
LocalMemSize(u64)
PreferredWorkGroupSizeMultiple(usize)
PrivateMemSize(u64)
GlobalWorkSize([usize; 3])
Empty(EmptyInfoResultError)
CustomBuiltinOnly
Implementations§
source§impl KernelWorkGroupInfoResult
impl KernelWorkGroupInfoResult
pub fn from_bytes( request: KernelWorkGroupInfo, result: Vec<u8> ) -> Result<KernelWorkGroupInfoResult, Error>
Trait Implementations§
source§impl Debug for KernelWorkGroupInfoResult
impl Debug for KernelWorkGroupInfoResult
source§impl Display for KernelWorkGroupInfoResult
impl Display for KernelWorkGroupInfoResult
source§impl Error for KernelWorkGroupInfoResult
impl Error for KernelWorkGroupInfoResult
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for KernelWorkGroupInfoResult
impl RefUnwindSafe for KernelWorkGroupInfoResult
impl Send for KernelWorkGroupInfoResult
impl Sync for KernelWorkGroupInfoResult
impl Unpin for KernelWorkGroupInfoResult
impl UnwindSafe for KernelWorkGroupInfoResult
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