[−][src]Function fil_ocl_core::get_context_platform
pub fn get_context_platform<C>(context: C) -> OclCoreResult<Option<PlatformId>> where
C: ClContextPtr,
Returns the platform for a context.
Errors upon the usual OpenCL errors.
Returns None
if the context properties do not specify a platform.