SYMBOL INDEX (306 symbols across 11 files) FILE: examples/demo/main.rs function main (line 6) | fn main() function string_from_slice (line 44) | fn string_from_slice(slice: &[T]) -> String { FILE: examples/platform/main.rs function main (line 5) | fn main() { FILE: src/OpenCL/error.rs method fmt (line 7) | fn fmt(&self, f: &mut Formatter) -> Result { function try_convert (line 22) | pub fn try_convert(status: cl_int) -> Option { function convert (line 76) | pub fn convert(status: cl_int) -> CLStatus { function error_str (line 83) | fn error_str(status: cl_int) -> ~str { function check (line 90) | pub fn check(status: cl_int, message: &str) { FILE: src/array.rs type Array3D (line 13) | pub struct Array3D { type Array3DCL (line 20) | pub struct Array3DCL { function new (line 29) | pub fn new(width: usize, height: usize, depth: usize, function set (line 51) | pub fn set(&mut self, x: usize, y: usize, z: usize, val: T) function get (line 56) | pub fn get(&self, x: usize, y: usize, z: usize) -> T method drop (line 63) | fn drop(&mut self) { function put (line 72) | fn put(&self, f: F) function get (line 93) | fn get(arr: &Array3DCL, f: F) method write (line 116) | fn write(&self, f: F) method read (line 126) | fn read(&mut self, f: F) function id_ptr (line 136) | unsafe fn id_ptr(&self) -> *const cl_mem { function len (line 140) | fn len(&self) -> usize { method get_value (line 146) | fn get_value(&self) -> (size_t, *const c_void) type Array2D (line 153) | pub struct Array2D { type Array2DCL (line 159) | pub struct Array2DCL { function new (line 167) | pub fn new(width: usize, height: usize, val: F) -> Array2D function set (line 183) | pub fn set(&mut self, x: usize, y: usize, val: T) { function get (line 187) | pub fn get(&self, x: usize, y: usize) -> T { method drop (line 193) | fn drop(&mut self) { function put (line 202) | fn put(&self, f: F) -> Array2DCL function get (line 221) | fn get(arr: &Array2DCL, f: F) method write (line 243) | fn write(&self, f: F) method read (line 253) | fn read(&mut self, f: F) function id_ptr (line 263) | unsafe fn id_ptr(&self) -> *const cl_mem { function len (line 267) | fn len(&self) -> usize { method get_value (line 273) | fn get_value(&self) -> (size_t, *const c_void) FILE: src/cl.rs type cl_platform_id (line 9) | pub type cl_platform_id = *mut libc::c_void; type cl_device_id (line 10) | pub type cl_device_id = *mut libc::c_void; type cl_context (line 11) | pub type cl_context = *mut libc::c_void; type cl_command_queue (line 12) | pub type cl_command_queue = *mut libc::c_void; type cl_mem (line 13) | pub type cl_mem = *mut libc::c_void; type cl_program (line 14) | pub type cl_program = *mut libc::c_void; type cl_kernel (line 15) | pub type cl_kernel = *mut libc::c_void; type cl_event (line 16) | pub type cl_event = *mut libc::c_void; type cl_sampler (line 17) | pub type cl_sampler = *mut libc::c_void; type cl_char (line 20) | pub type cl_char = i8; type cl_uchar (line 21) | pub type cl_uchar = u8; type cl_short (line 22) | pub type cl_short = i16; type cl_ushort (line 23) | pub type cl_ushort = u16; type cl_int (line 24) | pub type cl_int = i32; type cl_uint (line 25) | pub type cl_uint = u32; type cl_long (line 26) | pub type cl_long = i64; type cl_ulong (line 27) | pub type cl_ulong = u64; type cl_half (line 29) | pub type cl_half = u16; type cl_float (line 30) | pub type cl_float = f32; type cl_double (line 31) | pub type cl_double = f64; type cl_bool (line 33) | pub type cl_bool = cl_uint; type cl_bitfield (line 34) | pub type cl_bitfield = cl_ulong; type cl_device_type (line 35) | pub type cl_device_type = cl_bitfield; type cl_platform_info (line 36) | pub type cl_platform_info = cl_uint; type cl_device_info (line 37) | pub type cl_device_info = cl_uint; type cl_device_fp_config (line 38) | pub type cl_device_fp_config = cl_bitfield; type cl_device_mem_cache_type (line 39) | pub type cl_device_mem_cache_type = cl_uint; type cl_device_local_mem_type (line 40) | pub type cl_device_local_mem_type = cl_uint; type cl_device_exec_capabilities (line 41) | pub type cl_device_exec_capabilities = cl_bitfield; type cl_command_queue_properties (line 42) | pub type cl_command_queue_properties = cl_bitfield; type cl_context_properties (line 44) | pub type cl_context_properties = libc::intptr_t; type cl_context_info (line 45) | pub type cl_context_info = cl_uint; type cl_command_queue_info (line 46) | pub type cl_command_queue_info = cl_uint; type cl_channel_order (line 47) | pub type cl_channel_order = cl_uint; type cl_channel_type (line 48) | pub type cl_channel_type = cl_uint; type cl_mem_flags (line 49) | pub type cl_mem_flags = cl_bitfield; type cl_mem_object_type (line 50) | pub type cl_mem_object_type = cl_uint; type cl_mem_info (line 51) | pub type cl_mem_info = cl_uint; type cl_image_info (line 52) | pub type cl_image_info = cl_uint; type cl_buffer_create_type (line 53) | pub type cl_buffer_create_type = cl_uint; type cl_addressing_mode (line 54) | pub type cl_addressing_mode = cl_uint; type cl_filter_mode (line 55) | pub type cl_filter_mode = cl_uint; type cl_sampler_info (line 56) | pub type cl_sampler_info = cl_uint; type cl_map_flags (line 57) | pub type cl_map_flags = cl_bitfield; type cl_program_info (line 58) | pub type cl_program_info = cl_uint; type cl_program_build_info (line 59) | pub type cl_program_build_info = cl_uint; type cl_build_status (line 60) | pub type cl_build_status = cl_int; type cl_kernel_info (line 61) | pub type cl_kernel_info = cl_uint; type cl_kernel_work_group_info (line 62) | pub type cl_kernel_work_group_info = cl_uint; type cl_event_info (line 63) | pub type cl_event_info = cl_uint; type cl_command_type (line 64) | pub type cl_command_type = cl_uint; type cl_profiling_info (line 65) | pub type cl_profiling_info = cl_uint; type cl_image_format (line 67) | pub struct cl_image_format { type cl_buffer_region (line 72) | pub struct cl_buffer_region { type CLStatus (line 81) | pub enum CLStatus { method fmt (line 136) | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { function clGetPlatformIDs (line 443) | pub fn clGetPlatformIDs(num_entries: cl_uint, function clGetPlatformInfo (line 446) | pub fn clGetPlatformInfo(platform: cl_platform_id, function clGetDeviceIDs (line 453) | pub fn clGetDeviceIDs(platform: cl_platform_id, function clGetDeviceInfo (line 458) | pub fn clGetDeviceInfo(device: cl_device_id, function clCreateContext (line 465) | pub fn clCreateContext(properties: *const cl_context_properties, function clCreateContextFromType (line 471) | pub fn clCreateContextFromType(properties: *mut cl_context_properties, function clRetainContext (line 476) | pub fn clRetainContext(context: cl_context) -> cl_int; function clReleaseContext (line 477) | pub fn clReleaseContext(context: cl_context) -> cl_int; function clGetContextInfo (line 478) | pub fn clGetContextInfo(context: cl_context, function clCreateCommandQueue (line 485) | pub fn clCreateCommandQueue(context: cl_context, function clRetainCommandQueue (line 489) | pub fn clRetainCommandQueue(command_queue: cl_command_queue) -> cl_int; function clReleaseCommandQueue (line 490) | pub fn clReleaseCommandQueue(command_queue: cl_command_queue) -> cl_int; function clGetCommandQueueInfo (line 491) | pub fn clGetCommandQueueInfo(command_queue: cl_command_queue, function clCreateBuffer (line 498) | pub fn clCreateBuffer(context: cl_context, function clCreateSubBuffer (line 503) | pub fn clCreateSubBuffer(buffer: cl_mem, function clCreateImage2D (line 508) | pub fn clCreateImage2D(context: cl_context, function clCreateImage3D (line 516) | pub fn clCreateImage3D(context: cl_context, function clRetainMemObject (line 528) | pub fn clRetainMemObject(memobj: cl_mem) -> cl_int; function clReleaseMemObject (line 529) | pub fn clReleaseMemObject(memobj: cl_mem) -> cl_int; function clGetSupportedImageFormats (line 530) | pub fn clGetSupportedImageFormats(context: cl_context, function clGetMemObjectInfo (line 536) | pub fn clGetMemObjectInfo(memobj: cl_mem, function clGetImageInfo (line 541) | pub fn clGetImageInfo(image: cl_mem, function clSetMemObjectDestructorCallback (line 546) | pub fn clSetMemObjectDestructorCallback(memobj: cl_mem, function clCreateSampler (line 551) | pub fn clCreateSampler(context: cl_context, function clRetainSampler (line 556) | pub fn clRetainSampler(sampler: cl_sampler) -> cl_int; function clReleaseSampler (line 557) | pub fn clReleaseSampler(sampler: cl_sampler) ->cl_int; function clGetSamplerInfo (line 558) | pub fn clGetSamplerInfo(sampler: cl_sampler, function clCreateProgramWithSource (line 565) | pub fn clCreateProgramWithSource(context: cl_context, function clCreateProgramWithBinary (line 570) | pub fn clCreateProgramWithBinary(context: cl_context, function clRetainProgram (line 577) | pub fn clRetainProgram(program: cl_program) -> cl_int; function clReleaseProgram (line 578) | pub fn clReleaseProgram(program: cl_program) -> cl_int; function clBuildProgram (line 579) | pub fn clBuildProgram(program: cl_program, function clUnloadCompiler (line 585) | pub fn clUnloadCompiler() -> cl_int; function clGetProgramInfo (line 586) | pub fn clGetProgramInfo(program: cl_program, function clGetProgramBuildInfo (line 591) | pub fn clGetProgramBuildInfo(program: cl_program, function clCreateKernel (line 599) | pub fn clCreateKernel(program: cl_program, function clCreateKernelsInProgram (line 602) | pub fn clCreateKernelsInProgram(program: cl_program, function clRetainKernel (line 606) | pub fn clRetainKernel(kernel: cl_kernel) -> cl_int; function clReleaseKernel (line 607) | pub fn clReleaseKernel(kernel: cl_kernel) -> cl_int; function clSetKernelArg (line 608) | pub fn clSetKernelArg(kernel: cl_kernel, function clGetKernelInfo (line 612) | pub fn clGetKernelInfo(kernel: cl_kernel, function clGetKernelWorkGroupInfo (line 617) | pub fn clGetKernelWorkGroupInfo(kernel: cl_kernel, function clWaitForEvents (line 625) | pub fn clWaitForEvents(num_events: cl_uint, function clGetEventInfo (line 627) | pub fn clGetEventInfo(event: cl_event, function clCreateUserEvent (line 632) | pub fn clCreateUserEvent(context: cl_context, function clRetainEvent (line 634) | pub fn clRetainEvent(event: cl_event) -> cl_int; function clReleaseEvent (line 635) | pub fn clReleaseEvent(event: cl_event) -> cl_int; function clSetUserEventStatus (line 636) | pub fn clSetUserEventStatus(event: cl_event, function clSetEventCallback (line 638) | pub fn clSetEventCallback(event: cl_event, function clGetEventProfilingInfo (line 644) | pub fn clGetEventProfilingInfo(event: cl_event, function clFlush (line 651) | pub fn clFlush(command_queue: cl_command_queue) -> cl_int; function clFinish (line 652) | pub fn clFinish(command_queue: cl_command_queue) -> cl_int; function clEnqueueReadBuffer (line 655) | pub fn clEnqueueReadBuffer(command_queue: cl_command_queue, function clEnqueueReadBufferRect (line 664) | pub fn clEnqueueReadBufferRect(command_queue: cl_command_queue, function clEnqueueWriteBuffer (line 678) | pub fn clEnqueueWriteBuffer(command_queue: cl_command_queue, function clEnqueueWriteBufferRect (line 687) | pub fn clEnqueueWriteBufferRect(command_queue: cl_command_queue, function clEnqueueCopyBuffer (line 700) | pub fn clEnqueueCopyBuffer(command_queue: cl_command_queue, function clEnqueueCopyBufferRect (line 709) | pub fn clEnqueueCopyBufferRect(command_queue: cl_command_queue, function clEnqueueReadImage (line 722) | pub fn clEnqueueReadImage(command_queue: cl_command_queue, function clEnqueueWriteImage (line 733) | pub fn clEnqueueWriteImage(command_queue: cl_command_queue, function clEnqueueCopyImage (line 744) | pub fn clEnqueueCopyImage(command_queue: cl_command_queue, function clEnqueueCopyImageToBuffer (line 753) | pub fn clEnqueueCopyImageToBuffer(command_queue: cl_command_queue, function clEnqueueCopyBufferToImage (line 762) | pub fn clEnqueueCopyBufferToImage(command_queue: cl_command_queue, function clEnqueueMapBuffer (line 771) | pub fn clEnqueueMapBuffer(command_queue: cl_command_queue, function clEnqueueMapImage (line 781) | pub fn clEnqueueMapImage(command_queue: cl_command_queue, function clEnqueueUnmapMemObject (line 793) | pub fn clEnqueueUnmapMemObject(command_queue: cl_command_queue, function clEnqueueNDRangeKernel (line 799) | pub fn clEnqueueNDRangeKernel(command_queue: cl_command_queue, function clEnqueueTask (line 808) | pub fn clEnqueueTask(command_queue: cl_command_queue, function clEnqueueNativeKernel (line 813) | pub fn clEnqueueNativeKernel(command_queue: cl_command_queue, function clEnqueueMarker (line 823) | pub fn clEnqueueMarker(command_queue: cl_command_queue, function clEnqueueWaitForEvents (line 825) | pub fn clEnqueueWaitForEvents(command_queue: cl_command_queue, function clEnqueueBarrier (line 828) | pub fn clEnqueueBarrier(command_queue: cl_command_queue) -> cl_int; function clGetExtensionFunctionAddress (line 837) | pub fn clGetExtensionFunctionAddress(func_name: *const libc::c_char) -> ... FILE: src/error.rs function error_str (line 6) | fn error_str(status_code: cl_int) -> String { function check (line 63) | pub fn check(status: cl_int, message: &str) { FILE: src/ext.rs type cl_device_partition_property_ext (line 200) | pub type cl_device_partition_property_ext = cl_ulong; type cl_image_pitch_info_qcom (line 237) | pub type cl_image_pitch_info_qcom = cl_uint; type cl_mem_ext_host_ptr (line 238) | pub struct cl_mem_ext_host_ptr { type cl_mem_ion_host_ptr (line 269) | struct cl_mem_ion_host_ptr { FILE: src/hl.rs type DeviceType (line 20) | pub enum DeviceType { function convert_device_type (line 24) | fn convert_device_type(device: DeviceType) -> cl_device_type { type Platform (line 31) | pub struct Platform { method get_devices_internal (line 36) | fn get_devices_internal(&self, dtype: cl_device_type) -> Vec method get_devices (line 55) | pub fn get_devices(&self) -> Vec method get_devices_by_types (line 60) | pub fn get_devices_by_types(&self, types: &[DeviceType]) -> Vec method profile_info (line 70) | fn profile_info(&self, name: cl_platform_info) -> String method get_id (line 96) | pub fn get_id(&self) -> cl_platform_id { method name (line 100) | pub fn name(&self) -> String method version (line 105) | pub fn version(&self) -> String method profile (line 110) | pub fn profile(&self) -> String method vendor (line 115) | pub fn vendor(&self) -> String method extensions (line 120) | pub fn extensions(&self) -> String method from_platform_id (line 125) | pub unsafe fn from_platform_id(id: cl_platform_id) -> Platform { function get_platforms (line 135) | pub fn get_platforms() -> Vec function create_context_with_properties (line 162) | pub fn create_context_with_properties(dev: &[Device], prop: &[cl_context... type Device (line 185) | pub struct Device { method profile_info (line 193) | fn profile_info(&self, name: cl_device_info) -> String method name (line 220) | pub fn name(&self) -> String method vendor (line 224) | pub fn vendor(&self) -> String method profile (line 228) | pub fn profile(&self) -> String method device_type (line 232) | pub fn device_type(&self) -> String method compute_units (line 237) | pub fn compute_units(&self) -> usize { method create_context (line 252) | pub fn create_context(&self) -> Context type Context (line 274) | pub struct Context { method create_buffer (line 282) | pub fn create_buffer(&self, size: usize, flags: cl_mem_flags) -> CL... method create_buffer_from (line 300) | pub fn create_buffer_from>(&self, create: IN, flag... method create_command_queue (line 316) | pub fn create_command_queue(&self, device: &Device) -> CommandQueue method create_program_from_source (line 335) | pub fn create_program_from_source(&self, src: &str) -> Program method create_program_from_binary (line 354) | pub fn create_program_from_binary(&self, bin: &str, device: &Device) -... method drop (line 376) | fn drop(&mut self) { type CommandQueue (line 404) | pub struct CommandQueue { method enqueue_kernel (line 414) | pub fn enqueue_kernel(&self, k: &Kernel,... method enqueue_async_kernel (line 443) | pub fn enqueue_async_kernel(&self, k: &K... method get (line 469) | pub fn get, G: Get, E: EventList>(&self, buf:... method write (line 490) | pub fn write>(&self, mem: &B, ... method write_async (line 511) | pub fn write_async>(&self, mem... method read (line 535) | pub fn read>(&self, mem: &B, re... method drop (line 559) | fn drop(&mut self) { type Program (line 573) | pub struct Program method build (line 592) | pub fn build(&self, device: &Device) -> Result method create_kernel (line 630) | pub fn create_kernel(&self, name: &str) -> Kernel { method drop (line 580) | fn drop(&mut self) { type Kernel (line 635) | pub struct Kernel { method set_arg (line 649) | pub fn set_arg(&self, i: usize, x: &T) method drop (line 641) | fn drop(&mut self) { function create_kernel (line 655) | pub fn create_kernel(program: &Program, kernel: & str) -> Kernel type KernelArg (line 670) | pub trait KernelArg { method get_value (line 384) | fn get_value(&self) -> (libc::size_t, *const libc::c_void) method get_value (line 394) | fn get_value(&self) -> (libc::size_t, *const libc::c_void) method get_value (line 671) | fn get_value(&self) -> (libc::size_t, *const libc::c_void); method get_value (line 695) | fn get_value(&self) -> (libc::size_t, *const libc::c_void) { method get_value (line 702) | fn get_value(&self) -> (libc::size_t, *const libc::c_void) { function set_kernel_arg (line 708) | pub fn set_kernel_arg(kernel: & Kernel, type Event (line 724) | pub struct Event method get_time (line 730) | fn get_time(&self, param: cl_uint) -> u64 method queue_time (line 745) | pub fn queue_time(&self) -> u64 method submit_time (line 750) | pub fn submit_time(&self) -> u64 method start_time (line 755) | pub fn start_time(&self) -> u64 method end_time (line 760) | pub fn end_time(&self) -> u64 method drop (line 768) | fn drop(&mut self) { type EventList (line 775) | pub trait EventList { method as_event_list (line 776) | fn as_event_list T>(&self, F... method wait (line 778) | fn wait(&self) { method as_event_list (line 789) | fn as_event_list(&self, f: F) -> T method as_event_list (line 797) | fn as_event_list(&self, f: F) -> T method as_event_list (line 805) | fn as_event_list(&self, f: F) -> T2 method as_event_list (line 816) | fn as_event_list(&self, f: F) -> T method as_event_list (line 830) | fn as_event_list(&self, f: F) -> T type KernelIndex (line 838) | pub trait KernelIndex method num_dimensions (line 840) | fn num_dimensions(dummy_self: Option) -> cl_uint where Self: Sized; method get_ptr (line 841) | fn get_ptr(&self) -> *const libc::size_t; method num_dimensions (line 846) | fn num_dimensions(_: Option) -> cl_uint { 1 } method get_ptr (line 848) | fn get_ptr(&self) -> *const libc::size_t method num_dimensions (line 855) | fn num_dimensions(_: Option<(isize, isize)>) -> cl_uint { 2 } method get_ptr (line 857) | fn get_ptr(&self) -> *const libc::size_t { method num_dimensions (line 864) | fn num_dimensions(_: Option<(isize, isize, isize)>) -> cl_uint { 3 } method get_ptr (line 866) | fn get_ptr(&self) -> *const libc::size_t { method num_dimensions (line 873) | fn num_dimensions(_: Option) -> cl_uint { 1 } method get_ptr (line 875) | fn get_ptr(&self) -> *const libc::size_t { method num_dimensions (line 882) | fn num_dimensions(_: Option<(usize, usize)>) -> cl_uint { 2 } method get_ptr (line 884) | fn get_ptr(&self) -> *const libc::size_t { method num_dimensions (line 891) | fn num_dimensions(_: Option<(usize, usize, usize)>) -> cl_uint { 3 } method get_ptr (line 893) | fn get_ptr(&self) -> *const libc::size_t { FILE: src/mem.rs type Buffer (line 15) | pub trait Buffer { method id_ptr (line 16) | unsafe fn id_ptr(&self) -> *const cl_mem; method id (line 18) | fn id(&self) -> cl_mem { method byte_len (line 24) | fn byte_len(&self) -> size_t method len (line 39) | fn len(&self) -> usize { self.byte_len() as usize / mem::size_of::() } type CLBuffer (line 42) | pub struct CLBuffer { method drop (line 48) | fn drop(&mut self) { function id_ptr (line 56) | unsafe fn id_ptr(&self) -> *const cl_mem method get_value (line 63) | fn get_value(&self) -> (size_t, *const c_void) type Put (line 80) | pub trait Put { method put (line 81) | fn put(&self, F) -> B type Get (line 85) | pub trait Get { method get (line 86) | fn get(mem: &B, F) -> Self; type Write (line 89) | pub trait Write { method write (line 90) | fn write(&self, F); method write (line 150) | fn write(&self, f: F) type Read (line 93) | pub trait Read { method read (line 94) | fn read(&mut self, F); method read (line 159) | fn read(&mut self, f: F) function put (line 99) | fn put(&self, f: F) -> CLBuffer function put (line 112) | fn put(&self, f: F) -> CLBuffer function put (line 124) | fn put(&self, f: F) -> CLBuffer function get (line 136) | fn get(mem: &CLBuffer, f: F) -> Vec FILE: src/util.rs function create_compute_context (line 5) | pub fn create_compute_context() -> Result<(Device, Context, CommandQueue... type PreferedType (line 24) | pub enum PreferedType { function create_compute_context_prefer (line 34) | pub fn create_compute_context_prefer(cltype: PreferedType) -> Result<(De... FILE: tests/test.rs function test_all_platforms_devices (line 23) | pub fn test_all_platforms_devices(test: &mut F) function read_write (line 41) | fn read_write(src: &W, dst: &mut R) function read_write_slice (line 86) | fn read_write_slice() function read_write_int (line 95) | fn read_write_int() function read_write_uint (line 104) | fn read_write_uint() function read_write_f32 (line 113) | fn read_write_f32() function read_write_f64 (line 122) | fn read_write_f64() function program_build (line 139) | fn program_build() { function simple_kernel (line 150) | fn simple_kernel() { function add_k (line 172) | fn add_k() { function simple_kernel_index (line 197) | fn simple_kernel_index() { function chain_kernel_event (line 221) | fn chain_kernel_event() { function chain_kernel_event_list (line 248) | fn chain_kernel_event_list() { function kernel_2d (line 289) | fn kernel_2d() function memory_read_write (line 324) | fn memory_read_write() function memory_read_vec (line 340) | fn memory_read_vec() function memory_read_owned (line 352) | fn memory_read_owned() function memory_read_owned_clone (line 363) | fn memory_read_owned_clone() function event_get_times (line 374) | fn event_get_times() { function put_get_2d (line 407) | fn put_get_2d() function read_write_2d (line 424) | fn read_write_2d() function kernel_2d (line 447) | fn kernel_2d() function put_get_3d (line 484) | fn put_get_3d() function read_write_3d (line 503) | fn read_write_3d() function kernel_3d (line 528) | fn kernel_3d() function try_load_all_extensions (line 575) | fn try_load_all_extensions() { function clstatus_str (line 616) | fn clstatus_str() {