Enum ocl::enums::KernelWorkGroupInfoResult
[−]
[src]
pub enum KernelWorkGroupInfoResult { WorkGroupSize(usize), CompileWorkGroupSize([usize; 3]), LocalMemSize(u64), PreferredWorkGroupSizeMultiple(usize), PrivateMemSize(u64), GlobalWorkSize([usize; 3]), Empty(EmptyInfoResult), Unavailable(Status), CustomBuiltinOnly, Error(Box<Error>), }
A kernel work group info result.
Variants
WorkGroupSize(usize)
CompileWorkGroupSize([usize; 3])
LocalMemSize(u64)
PreferredWorkGroupSizeMultiple(usize)
PrivateMemSize(u64)
GlobalWorkSize([usize; 3])
Empty(EmptyInfoResult)
CustomBuiltinOnly
Error(Box<Error>)
Methods
impl KernelWorkGroupInfoResult
[src]
fn from_bytes(
request: KernelWorkGroupInfo,
result: Result<Vec<u8>, Error>
) -> KernelWorkGroupInfoResult
request: KernelWorkGroupInfo,
result: Result<Vec<u8>, Error>
) -> KernelWorkGroupInfoResult
Trait Implementations
impl Display for KernelWorkGroupInfoResult
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl Error for KernelWorkGroupInfoResult
[src]
fn description(&self) -> &str
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
1.0.0
The lower-level cause of this error, if any. Read more
impl Debug for KernelWorkGroupInfoResult
[src]
impl From<Error> for KernelWorkGroupInfoResult
[src]
fn from(err: Error) -> KernelWorkGroupInfoResult
Performs the conversion.