MCPcopy Create free account

hub / github.com/cogciprocate/ocl / functions

Functions1,097 in github.com/cogciprocate/ocl

Methodfmt
(&self, f: &mut std::fmt::Formatter)
ocl/src/standard/device.rs:688
Methodfmt
(&self, f: &mut std::fmt::Formatter)
ocl/src/standard/sampler.rs:91
Methodfmt
(&self, f: &mut fmt::Formatter)
ocl/src/standard/event.rs:238
Methodfmt
(&self, f: &mut std::fmt::Formatter)
ocl/src/standard/image.rs:1313
Methodfmt
(&self, f: &mut std::fmt::Formatter)
ocl/src/standard/queue.rs:111
Methodfmt
(&self, f: &mut std::fmt::Formatter)
ocl/src/standard/kernel.rs:1008
Methodfmt
(&self, f: &mut std::fmt::Formatter)
ocl/src/standard/context.rs:181
Methodfmt
(&self, f: &mut std::fmt::Formatter)
ocl/src/standard/platform.rs:212
Methodfmt
(&self, fmtr: &mut std::fmt::Formatter)
ocl-core/src/lib.rs:1007
Methodfmt
(&self, f: &mut std::fmt::Formatter<'_>)
ocl-core/src/extension_functions.rs:90
Methodfmt
(&self, f: &mut fmt::Formatter)
ocl-core/src/functions.rs:191
Methodfmt
(&self, f: &mut std::fmt::Formatter)
ocl-core/src/types/structs.rs:268
Methodfmt
(&self, f: &mut fmt::Formatter)
ocl-core/src/types/enums.rs:66
Functionfmt_duration
(duration: chrono::Duration)
ocl/examples/async_process.rs:33
Functionfmt_duration
Returns a nicely formatted duration in seconds.
ocl/examples/async_menagerie.rs:702
Functionfmt_duration
(duration: Duration)
ocl/examples/proto/src/async_cycles_2stage.rs:78
Functionfmt_duration
(duration: chrono::Duration)
ocl/examples/proto/src/async_basics.rs:35
Methodfrom
(err: OclCoreError)
ocl/src/error.rs:52
Methodfrom
(core: ProgramCore)
ocl/src/standard/program.rs:125
Methodfrom
(q: Queue)
ocl/src/standard/buffer.rs:76
Methodfrom
(index: usize)
ocl/src/standard/device.rs:183
Methodfrom
(e: &'a RawEventArray)
ocl/src/standard/mod.rs:211
Methodfrom
(ev: EventCore)
ocl/src/standard/event.rs:191
Methodfrom
(idx: u32)
ocl/src/standard/kernel.rs:268
Methodfrom
(sd: &'a SpatialDims)
ocl/src/standard/spatial_dims.rs:205
Methodfrom
(c: ContextCore)
ocl/src/standard/context.rs:175
Methodfrom
(core: PlatformIdCore)
ocl/src/standard/platform.rs:188
Methodfrom
(order_lock: OrderLock<Inner<T>>)
ocl/src/async/buffer_sink.rs:417
Methodfrom
(order_lock: OrderLock<Inner<T>>)
ocl/src/async/buffer_stream.rs:431
Methodfrom
(q: QrwLock<V>)
ocl/src/async/order_lock.rs:959
Methodfrom
(q: QrwLock<Vec<T>>)
ocl/src/async/rw_vec.rs:94
Methodfrom
(err: ::std::io::Error)
ocl/ocl-extras/src/work_pool.rs:23
Methodfrom
(devices: Option<&[D]>)
ocl-core/src/functions.rs:422
Methodfrom
(desc: &'a str)
ocl-core/src/error.rs:66
Methodfrom
(ver: [u16; 2])
ocl-core/src/types/structs.rs:262
Methodfrom
(ir: PlatformInfoResult)
ocl-core/src/types/enums.rs:221
Methodfrom_buffer
Returns a new `BufferSink`. ## Safety `buffer` must not have the same region mapped more than once.
ocl/src/async/buffer_sink.rs:299
Methodfrom_buffer
Returns a new `BufferStream`. ## Safety `buffer` must not have the same region mapped more than once. ## Note The buffer will initially be mapped
ocl/src/async/buffer_stream.rs:304
Methodfrom_buffer
Returns a new `BufferMapSink`. ## Safety `buffer` must not have the same region mapped more than once.
ocl/src/async/buffer_map_sink.rs:430
Methodfrom_bytes
(ffi_struct: cl_buffer_region)
ocl-core/src/types/structs.rs:824
Methodfrom_bytes
(request: PlatformInfo, result: Vec<u8>)
ocl-core/src/types/enums.rs:168
Methodfrom_bytes_max_work_item_sizes
Returns a new `DeviceInfoResult::MaxWorkItemSizes` variant.
ocl-core/src/types/enums.rs:316
Methodfrom_d3d11_buffer
Creates a buffer linked to a previously created D3D11 buffer object. [UNTESTED] ### Errors Remember to specify the D3D11 device when creating the C
ocl/src/standard/buffer.rs:2292
Methodfrom_d3d11_texture2d
Returns a new `Image` from an existant ID3D11Texture2D. Remember to specify the D3D11 device when creating the CL context, using `.properties()` and
ocl/src/standard/image.rs:1003
Methodfrom_d3d11_texture3d
Returns a new `Image` from an existant ID3D11Texture2D. Remember to specify the D3D11 device when creating the CL context, using `.properties()` and
ocl/src/standard/image.rs:1073
Methodfrom_gl_buffer
( que_ctx: Q, flags_opt: Option<MemFlags>, gl_object: cl_GLuint, )
ocl/src/standard/buffer.rs:2242
Methodfrom_gl_renderbuffer
( que_ctx: Q, flags: MemFlags, image_desc: ImageDescriptor, renderbuffer: cl_G
ocl/src/standard/image.rs:957
Methodfrom_gl_texture
( que_ctx: Q, flags: MemFlags, image_desc: ImageDescriptor, texture_target: Gl
ocl/src/standard/image.rs:884
Methodfrom_info_str
Parse the string `ver` and return a dual-integer result as `OpenclVersion`. Looks for the sequence of chars, "OpenCL" (non-case-sensitive), then spli
ocl-core/src/types/structs.rs:192
Methodfrom_kern_and_idx
Returns a new argument type specifier. This function calls `core::get_kernel_arg_info`. Some platforms (Apple, NVIDIA) either do not implement `core:
ocl/src/standard/kernel.rs:1883
Methodfrom_raw
(ptr: cl_event)
ocl/src/standard/event.rs:162
Methodfrom_raw
Creates a new `PlatformId` wrapper from a raw pointer.
ocl-core/src/types/abs.rs:363
Methodfrom_raw
Returns a new `ArgVal` containing the size in bytes and a raw pointer to the argument value. ### Safety Caller must ensure that the value pointed to
ocl-core/src/types/structs.rs:138
Methodfrom_raw_copied_ptr
Only call this when passing a copied pointer such as from an `clGet*****Info` function.
ocl-core/src/types/abs.rs:490
Methodfrom_raw_create_ptr
Only call this when passing **the original** newly created pointer directly from `clCreate...`. Do not use this to clone or copy.
ocl-core/src/types/abs.rs:483
Methodfrom_str
Ascertains a `KernelArgType` from the contents of a `KernelArgInfoResult::TypeName`. TODO: Optimize or outsource this if possible. Is `::contains` th
ocl/src/standard/kernel.rs:1823
Methodfuture_guard
Returns a mutable reference to the contained `FutureGuard`.
ocl/src/async/buffer_sink.rs:22
Methodfuture_guard
Returns a mutable reference to the contained `FutureGuard`.
ocl/src/async/buffer_stream.rs:22
Methodget_device_by_wrapping_index
Returns a device by its ordinal count within this context. Round-robins (%) to the next valid device.
ocl/src/standard/context.rs:102
Methodget_device_spec
Returns the devices specified to be associated the program.
ocl/src/standard/program.rs:382
Methodget_finish_events
(&mut self)
ocl/examples/async_menagerie.rs:124
Methodget_finish_events
(&self, event_list: &mut EventList)
ocl/ocl-extras/src/command_graph.rs:320
Functionget_gl_context_info_khr
( properties: &ContextProperties, request: GlContextInfo, )
ocl-core/src/functions.rs:1093
Methodget_gws
(&self)
ocl/src/standard/kernel.rs:857
Methodgl_acquire
Specifies that this command will acquire a GL buffer. If `.block(..)` has been set it will be ignored. ## Panics The command operation kind must no
ocl/src/standard/buffer.rs:406
Methodgl_context
Specifies an OpenGL context to associate with. Overwrites any previously specified OpenGL context.
ocl/src/standard/context.rs:289
Methodgl_context
Specifies an OpenGL context handle (builder-style).
ocl-core/src/types/structs.rs:379
Methodgl_release
Specifies that this command will release a GL buffer. If `.block(..)` has been set it will be ignored. ## Panics The command operation kind must no
ocl/src/standard/buffer.rs:424
Methodglx_display
Specifies a Display pointer for the GLX context. Overwrites any previously specified GLX context.
ocl/src/standard/context.rs:298
Methodglx_display
Specifies a Display pointer for the GLX context (builder-style).
ocl-core/src/types/structs.rs:385
Methodid
Returns a pointer address to the internal memory region, usable as a unique identifier.
ocl/src/async/buffer_sink.rs:411
Methodid
Returns a pointer address to the internal memory region, usable as a unique identifier.
ocl/src/async/buffer_stream.rs:425
Methodid
Returns a pointer address to the internal array, usable as a unique identifier. Note that resizing the `Vec` will likely change the address. Also, th
ocl/src/async/rw_vec.rs:88
Methodimage_desc
Specifies the image descriptor containing a number of important settings. If unspecified (not recommended), defaults to: ```rust,ignore ImageDescrip
ocl/src/standard/image.rs:1693
Methodimage_format
Specifies the image pixel format. If unspecified, defaults to: ```rust,ignore ImageFormat { channel_order: ImageChannelOrder::Rgba, channel_data_typ
ocl/src/standard/image.rs:1655
Functionimage_ops
()
ocl/src/tests/image_ops.rs:21
Functionimage_ops
()
ocl-core/src/tests/image_ops.rs:15
Methodinclude_def
Returns a `BuildOpt::IncludeDefine`.
ocl/src/standard/program.rs:180
Methodindices
Returns a `DeviceSpecifier::Indices` variant which specifies a list of devices by index. ### Safety This variant is context-specific, not robust, a
ocl/src/standard/device.rs:123
Methodinfo_raw
Returns raw info about the device, as a vector of bytes. Intended for use with non-standard OpenCL extensions.
ocl/src/standard/device.rs:451
Methodinterop_user_sync
Specifies whether the user is responsible for synchronization between OpenCL and other APIs (builder-style).
ocl-core/src/types/structs.rs:373
Methodinto_marker
Converts this `ClWaitListPtrEnum` into a single marker event.
ocl/src/standard/mod.rs:150
Methodinto_marker
Enqueue a marker event representing the completion of each and every event in this list.
ocl/src/standard/event.rs:1455
Methodis_match
Returns true if the type of `T` matches the base type of this `ArgType`.
ocl/src/standard/kernel.rs:1978
Methodis_ptr
(&self)
ocl/src/standard/kernel.rs:1983
Methodis_sub_buffer
(&self)
ocl/src/standard/buffer.rs:2471
Methodis_unmapped
(&self)
ocl/src/async/mem_map.rs:261
Methodis_unspec
(&'c self)
ocl/src/standard/buffer.rs:132
Methodis_unspec
(&'c self)
ocl/src/standard/image.rs:59
Methodis_unspecified
Returns `true` if this `SpatialDims` is an `Unspecified` variant.
ocl/src/standard/spatial_dims.rs:125
Functionit_doesnt_crash
()
ocl-interop/src/lib.rs:81
Functionkernel_arg_float_size
()
ocl/src/tests/kernel_arg.rs:127
Functionkernel_arg_named_none
()
ocl/src/tests/kernel_arg.rs:105
Functionkernel_arg_owned_mem
()
ocl/src/tests/kernel_arg.rs:54
Functionkernel_arg_ptr_out_of_scope
()
ocl/src/tests/kernel_arg.rs:28
Functionkernel_arg_ptr_out_of_scope
()
ocl-core/src/tests/kernel_arg.rs:18
Methodlen
Specifies the offset to use for this map only.
ocl/src/async/buffer_map_sink.rs:307
Methodlist
Returns a `DeviceSpecifier::List` variant which specifies a list of devices.
ocl/src/standard/device.rs:101
Methodlist
Returns a list of all platforms avaliable on the host machine.
ocl/src/standard/platform.rs:47
Methodlist_all
Returns a list of all devices avaliable for a given `platform`. Equivalent to `::list(platform, None)`. See [`::list`](struct.Device.html#method.lis
ocl/src/standard/device.rs:353
← previousnext →801–900 of 1,097, ranked by callers