Trait ocl_core::types::abs::ClVersions
[−]
[src]
pub trait ClVersions { fn device_versions(&self) -> OclResult<Vec<OpenclVersion>>; fn platform_version(&self) -> OclResult<OpenclVersion>; fn verify_device_versions(
&self,
required_version: [u16; 2]
) -> OclResult<()> { ... } fn verify_platform_version(
&self,
required_version: [u16; 2]
) -> OclResult<()> { ... } }
Types with a fixed set of associated devices and an associated platform.
Required Methods
fn device_versions(&self) -> OclResult<Vec<OpenclVersion>>
fn platform_version(&self) -> OclResult<OpenclVersion>
Provided Methods
fn verify_device_versions(&self, required_version: [u16; 2]) -> OclResult<()>
fn verify_platform_version(&self, required_version: [u16; 2]) -> OclResult<()>
Implementors
impl ClVersions for cl_context
impl ClVersions for PlatformId
impl ClVersions for DeviceId
impl ClVersions for Context
impl ClVersions for CommandQueue
impl ClVersions for Program
impl ClVersions for Kernel