# Enum ocl_core::types::enums::KernelWorkGroupInfoResult [−] [src]

    pub enum KernelWorkGroupInfoResult {
        WorkGroupSize(usize),
        CompileWorkGroupSize([usize; 3]),
        LocalMemSize(u64),
        PreferredWorkGroupSizeMultiple(usize),
        PrivateMemSize(u64),
        GlobalWorkSize([usize; 3]),
        Empty(EmptyInfoResultError),
        Unavailable(Status),
        CustomBuiltinOnly,
    }

A kernel work group info result.

## Variants

`WorkGroupSize(usize)` `CompileWorkGroupSize([usize; 3])` `LocalMemSize(u64)` `PreferredWorkGroupSizeMultiple(usize)` `PrivateMemSize(u64)` `GlobalWorkSize([usize; 3])` `Empty(EmptyInfoResultError)` `Unavailable(Status)` `CustomBuiltinOnly`

## Methods

### `impl KernelWorkGroupInfoResult`
[src]

#### `pub fn from_bytes(
request: KernelWorkGroupInfo,
result: Vec<u8>
) -> OclCoreResult<KernelWorkGroupInfoResult>`
[src]

## Trait Implementations

### `impl Debug for KernelWorkGroupInfoResult`
[src]

#### `fn fmt(&self, f: &mut Formatter) -> Result`
[src]

Formats the value using the given formatter. Read more

### `impl Display for KernelWorkGroupInfoResult`
[src]

#### `fn fmt(&self, f: &mut Formatter) -> Result`
[src]

Formats the value using the given formatter. Read more

### `impl From<KernelWorkGroupInfoResult> for String`
[src]

#### `fn from(ir: KernelWorkGroupInfoResult) -> String`
[src]

Performs the conversion.

# Help

## Keyboard Shortcuts

`?`
  Show this help dialog
`S`
  Focus the search field
`↑`
  Move up in search results
`↓`
  Move down in search results
`↹`
  Switch tab
`⏎`
  Go to active search result
`+`
  Expand all sections
`-`
  Collapse all sections

## Search Tricks

Prefix searches with a type followed by a colon (e.g. `fn:`) to restrict the search to a given type.

Accepted types are: `fn`, `mod`, `struct`, `enum`, `trait`, `type`, `macro`, and `const`.

Search functions by type signature (e.g. `vec -> usize` or `* -> vec`)