MCPcopy Create free account

hub / github.com/cogciprocate/ocl / functions

Functions1,097 in github.com/cogciprocate/ocl

Methodprimitive
Returns a new `ArgVal` referring to a scalar or vector primitive. `::scalar` and `::vector` exist in case, at a future time, scalar and vector types
ocl-core/src/types/structs.rs:86
Functionprint_bytes_as_hex
Prints bytes as hex.
ocl-core/src/util.rs:360
Functionprint_simple
(slice: &[T])
ocl-core/src/util.rs:532
Functionprint_val_range
(slice: &[T], every: usize, val_range: Option<(T, T)>)
ocl-core/src/util.rs:536
Methodprofile
Returns the platform profile as a string. Returns the profile name supported by the implementation. The profile name returned can be one of the follo
ocl/src/standard/platform.rs:102
Methodprofiling_info
Returns info about the event.
ocl/src/standard/event.rs:123
Methodproperty_value
Pushes a `ContextPropertyValue` onto this list of properties (builder-style).
ocl-core/src/types/structs.rs:411
Methodqueue
Specifies a queue to use for this call only. Overrides the buffer's default queue if one is set. If no default queue is set, this method **must** be
ocl/src/standard/buffer.rs:502
Methodqueue
Specifies a queue to use for this call only. Overrides the image's default queue if one is set. If no default queue is set, this method **must** be c
ocl/src/standard/image.rs:360
Methodqueue
Specifies a queue to use for this call only. Overrides the kernel's default queue if one is set. If no default queue is set, this method **must** be
ocl/src/standard/kernel.rs:90
Methodqueue_core
Returns this event's associated command queue.
ocl/src/standard/event.rs:128
Methodqueue_properties
Sets the command queue properties. Optional.
ocl/src/standard/pro_que.rs:398
Methodread
Specifies that this command will be a blocking read operation. After calling this method, the blocking state of this command will be locked to true a
ocl/src/standard/image.rs:148
Methodread
Returns a new `FutureGuard` which will resolve into a a `OrderGuard`.
ocl/src/async/order_lock.rs:916
Methodregion
Sets the region size for an operation. Defaults to the full region size of the image(s) as defined when first created if not set. ## Panics [TENATIV
ocl/src/standard/image.rs:416
Methodrelease
Triggers the release event and releases the lock held by this `ReadGuard` before returning the original `OrderLock`.
ocl/src/async/order_lock.rs:111
Methodrelease_components
Releases the lock and completes the release event.
ocl/src/async/order_lock.rs:137
Functionrelease_device
Decrements the reference count of a device. [Version Controlled: OpenCL 1.2+] See module docs for more info.
ocl-core/src/functions.rs:803
Methodrelease_event
Returns a reference to the event previously set using `create_release_event` on the `FutureGuard` which preceded this `ReadGuard`. The event can be ma
ocl/src/async/order_lock.rs:105
Functionremove_rebuild
()
ocl-core/src/util.rs:545
Methodresolve_all
(platform: PlatformId)
ocl-core/src/extension_functions.rs:26
Methodresolve_idxs
Resolves a list of indices into a list of valid devices. `devices` is the set of all indexable devices. ### Errors All indices in `idxs` must be v
ocl/src/standard/device.rs:287
Methodresolve_idxs_wrap
Resolves a list of indices into a list of valid devices. `devices` is the set of all indexable devices. Wraps indices around using modulo (`%`) so t
ocl/src/standard/device.rs:315
Functionretain_device
Increments the reference count of a device. [Version Controlled: OpenCL 1.2+] See module docs for more info.
ocl-core/src/functions.rs:787
Methodrow_pitch_bytes
Image row pitch. The scan-line pitch in bytes. This must be 0 if host data is `None` and can be either 0 or ≥ image_width * size of element in bytes
ocl/src/standard/image.rs:1607
Functionrw_vec
()
ocl/src/tests/async.rs:483
Methodsampler
Returns a new `ArgVal` referring to a `Sampler` object.
ocl-core/src/types/structs.rs:62
Methodsampler_null
Returns a new `ArgVal` referring to a null `Sampler` object.
ocl-core/src/types/structs.rs:72
Methodscalar
Returns a new `ArgVal` referring to a scalar primitive.
ocl-core/src/types/structs.rs:99
Methodset_arg_img_named
( &'a self, name: &'static str, image_opt: Option<M>, )
ocl/src/standard/kernel.rs:725
Methodset_arg_sampler_named
Sets the value of a named sampler argument.
ocl/src/standard/kernel.rs:784
Methodset_arg_smp_named
( &'a self, name: &'static str, sampler_opt: Option<&Sampler>, )
ocl/src/standard/kernel.rs:749
Methodset_arg_unchecked
Sets an argument by index without checks of any kind. Setting buffer or image (`cl_mem`) arguments this way may cause segfaults or errors if the buff
ocl/src/standard/kernel.rs:644
Methodset_default_global_work_offset
Sets the default global work offset.
ocl/src/standard/kernel.rs:868
Methodset_default_global_work_size
Sets the default global work size.
ocl/src/standard/kernel.rs:874
Methodset_default_local_work_size
Sets the default local work size.
ocl/src/standard/kernel.rs:880
Methodset_default_queue
(&'a mut self, queue: Queue)
ocl/src/standard/buffer.rs:2527
Methodset_default_queue
Changes the default queue. Returns a ref for chaining i.e.: `kernel.set_default_queue(queue).enqueue(....);` Even when used as above, the queue is
ocl/src/standard/kernel.rs:844
Methodset_dims
Sets the default dimensions used when creating buffers and kernels.
ocl/src/standard/pro_que.rs:170
Functionset_local_arg
()
ocl/src/standard/kernel.rs:2011
Functionset_mem_object_destructor_callback
[UNIMPLEMENTED: Please implement me]
ocl-core/src/functions.rs:1993
Methodset_unmap_queue
Optionally specifies a queue to be used for the unmap command which will occur when the `SinkMapGuard` is dropped. If no unmap queue is specified, th
ocl/src/async/buffer_map_sink.rs:180
Functionshuffled_vec
Returns a vector with length `size` which is first filled with each integer value in the (inclusive) range `[vals.0, vals.1]`. If `size` is greater th
ocl/ocl-extras/src/lib.rs:48
Methodsingle
Returns a `DeviceSpecifier::Single` variant which specifies a single device.
ocl/src/standard/device.rs:94
Methodslc_pitch_bytes
Image slice pitch. The size in bytes of each 2D slice in the 3D image or the size in bytes of each image in a 1D or 2D image array. This must be 0 if
ocl/src/standard/image.rs:1624
Methodspecifier
Returns a `DeviceSpecifier` useful for precisely specifying a set of devices.
ocl/src/standard/device.rs:273
Methodsrc
Adds some source code to be compiled and returns the `ProQueBuilder`. Creates a `ProgramBuilder` if one has not already been added. Attempts to call
ocl/src/standard/pro_que.rs:336
Methodsrc_offset
Sets an offset into the source data. Equivalent to setting the start position of a slice into the source data (e.g. `src_data[src_offset..]`). Use `:
ocl/src/standard/buffer.rs:1460
Methodsupported_formats
Returns a list of supported image formats.
ocl/src/standard/image.rs:806
Methodswap_remove
Removes an event from the list and returns it, swapping the last element into its place.
ocl/src/standard/event.rs:439
Methodsystem_default
(self)
ocl-core/src/lib.rs:639
Functiontest_context_props
()
ocl/src/tests/context_props.rs:13
Functiontest_context_props
()
ocl-core/src/tests/context_props.rs:10
Functiontest_vector_types
()
ocl/src/tests/vector_types.rs:11
Functiontest_vector_types
()
ocl-core/src/tests/vector_types.rs:355
Methodtime
(self)
ocl-core/src/types/enums.rs:1883
Functiontimed
()
ocl-core/src/tests/depricated/test_timed.rs:28
Functiontimestamp
Returns a timestamp with the number of microseconds since the `START_TIME` global time.
ocl/src/tests/buffer_sink_stream_cycles.rs:101
Functiontimestamp
Returns a timestamp with the number of microseconds since the `START_TIME` global time.
ocl/examples/async_cycles.rs:103
Methodto_len
(&self)
ocl/src/standard/mod.rs:434
Methodto_len_padded
(&self, incr: usize)
ocl/src/standard/mod.rs:437
Methodto_len_padded
(&self, incr: usize)
ocl/src/standard/pro_que.rs:221
Methodto_len_padded
(&self, incr: usize)
ocl/src/standard/spatial_dims.rs:135
Methodto_lens
(&self)
ocl/src/standard/mod.rs:440
Methodto_lens
(&self)
ocl/src/standard/pro_que.rs:224
Methodto_list
Returns an `EventList` containing owned copies of each element in this `ClWaitListPtrEnum`.
ocl/src/standard/mod.rs:156
Methodto_work_offset
(&self)
ocl/src/standard/spatial_dims.rs:158
Methodto_work_size
(&self)
ocl/src/standard/spatial_dims.rs:154
Methodunknown
Returns an `ArgType` that will always return `true` when calling `::is_match`.
ocl/src/standard/kernel.rs:1809
Methodunmap_event
Returns a reference to the unmap target event if it has been set.
ocl/src/async/buffer_map_sink.rs:42
Methodunmap_event
Returns a reference to the unmap target event if it has been set.
ocl/src/async/mem_map.rs:249
Methodunmap_event
(&self)
ocl/src/async/future_mem_map.rs:126
Methodunmap_queue
Specifies a queue to use for the the unmap command which will be called when the resolved `SinkMapGuard` is eventually dropped.
ocl/src/async/buffer_map_sink.rs:294
Methodunmap_wait_events
Returns a reference to the unmap wait event list if it has been set.
ocl/src/async/mem_map.rs:254
Methoduse_host_slice
Specifies a region of host memory to use as storage for the buffer. OpenCL implementations are allowed to cache the buffer contents pointed to by `ho
ocl/src/standard/buffer.rs:2869
Methoduse_host_slice
Specifies a region of host memory to use as storage for the image. OpenCL implementations are allowed to cache the image contents pointed to by `host
ocl/src/standard/image.rs:1483
Methoduser
Creates a new, empty event which must be filled by a newly initiated command, associating the event with it.
ocl/src/standard/event.rs:59
Methoduser
(context: C)
ocl-core/src/types/abs.rs:984
Methodvector
Returns a new `ArgVal` referring to a vector primitive.
ocl-core/src/types/structs.rs:107
Methodvendor
Returns the platform vendor as a string.
ocl/src/standard/platform.rs:133
Methodverify_arg_type
Verifies that a type matches the kernel arg info: This function does nothing and always returns `Ok` if argument type checking is disabled by the use
ocl/src/standard/kernel.rs:607
Methodwait
Blocks the current thread until the OpenCL command is complete and an appropriate lock can be obtained on the underlying data.
ocl/src/async/buffer_map_sink.rs:192
Methodwait
Blocks the current thread until the OpenCL command is complete and an appropriate lock can be obtained on the underlying data.
ocl/src/async/future_mem_map.rs:132
Methodwait_for
(&self)
ocl-core/src/types/abs.rs:1034
Functionwait_for_events
Blocks until the first `num_events` events in `event_list` are complete.
ocl-core/src/functions.rs:2816
Methodwake
(arc_self: &Arc<Self>)
ocl/ocl-extras/src/work_pool.rs:58
Methodwgl_hdc
Specifies a Display pointer for the WGL HDC (builder-style).
ocl-core/src/types/structs.rs:391
Methodwith_binary
Returns a new program built from pre-created build components and device list. Prefer `::builder` to create a new `Program`.
ocl/src/standard/program.rs:59
Methodwith_capacity
(cap: usize)
ocl/src/standard/event.rs:753
Methodwith_current
(f: F)
ocl/ocl-extras/src/work_pool.rs:45
Methodwith_defaults
Creates and returns a new sampler with some default settings. ## Defaults - `normalize_coords`: false - `addressing_mode`: `AddressingMode::None` -
ocl/src/standard/sampler.rs:59
Methodwith_il
( il: &[u8], devices: Option<&[Device]>, cmplr_opts: &CString, context: &Conte
ocl/src/standard/program.rs:73
Methodwith_source
Returns a new program built from pre-created build components and device list. Prefer `::builder` to create a new `Program`.
ocl/src/standard/program.rs:43
Methodwrite
Specifies that this command will be a write operation. ## Panics The command operation kind must not have already been specified ### More Informati
ocl/src/standard/image.rs:173
Methodwrite
Returns a new `FutureGuard` which will resolve into a a `WriteGuard`.
ocl/src/async/buffer_sink.rs:361
Methodwrite
Returns a new `FutureGuard` which will resolve into a a `OrderGuard`.
ocl/src/async/order_lock.rs:927
Methodwrite
Returns a command builder which, when enqueued, will return a future resolving to an accessible mapped memory region.
ocl/src/async/buffer_map_sink.rs:464
← previous1,001–1,097 of 1,097, ranked by callers