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 PlatformIdimpl ClVersions for DeviceIdimpl ClVersions for Contextimpl ClVersions for CommandQueueimpl ClVersions for Programimpl ClVersions for Kernel