open-cl-sys 0.1.0

OpenCL C-FFI bindings
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#![allow(non_upper_case_globals)]
#![allow(non_camel_case_types)]
#![allow(non_snake_case)]
#![allow(clippy::all)]
// NOTE: warn(improper_ctypes) can be removed if 128-bit integers get a stable ABI
#![allow(improper_ctypes)]

#[link(name = "OpenCL")]
#[cfg(target_os = "linux")]
extern "C" {}

#[link(name = "OpenCL", kind = "framework")]
#[cfg(target_os = "macos")]
extern "C" {}

include!("../bindgen/opencl_bindings.rs");