Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cogciprocate/ocl
/ functions
Functions
1,097 in github.com/cogciprocate/ocl
⨍
Functions
1,097
◇
Types & classes
170
Method
primitive
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
Function
print_bytes_as_hex
Prints bytes as hex.
ocl-core/src/util.rs:360
Function
print_simple
(slice: &[T])
ocl-core/src/util.rs:532
Function
print_val_range
(slice: &[T], every: usize, val_range: Option<(T, T)>)
ocl-core/src/util.rs:536
Method
profile
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
Method
profiling_info
Returns info about the event.
ocl/src/standard/event.rs:123
Method
property_value
Pushes a `ContextPropertyValue` onto this list of properties (builder-style).
ocl-core/src/types/structs.rs:411
Method
queue
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
Method
queue
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
Method
queue
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
Method
queue_core
Returns this event's associated command queue.
ocl/src/standard/event.rs:128
Method
queue_properties
Sets the command queue properties. Optional.
ocl/src/standard/pro_que.rs:398
Method
read
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
Method
read
Returns a new `FutureGuard` which will resolve into a a `OrderGuard`.
ocl/src/async/order_lock.rs:916
Method
region
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
Method
release
Triggers the release event and releases the lock held by this `ReadGuard` before returning the original `OrderLock`.
ocl/src/async/order_lock.rs:111
Method
release_components
Releases the lock and completes the release event.
ocl/src/async/order_lock.rs:137
Function
release_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
Method
release_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
Function
remove_rebuild
()
ocl-core/src/util.rs:545
Method
resolve_all
(platform: PlatformId)
ocl-core/src/extension_functions.rs:26
Method
resolve_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
Method
resolve_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
Function
retain_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
Method
row_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
Function
rw_vec
()
ocl/src/tests/async.rs:483
Method
sampler
Returns a new `ArgVal` referring to a `Sampler` object.
ocl-core/src/types/structs.rs:62
Method
sampler_null
Returns a new `ArgVal` referring to a null `Sampler` object.
ocl-core/src/types/structs.rs:72
Method
scalar
Returns a new `ArgVal` referring to a scalar primitive.
ocl-core/src/types/structs.rs:99
Method
set_arg_img_named
( &'a self, name: &'static str, image_opt: Option<M>, )
ocl/src/standard/kernel.rs:725
Method
set_arg_sampler_named
Sets the value of a named sampler argument.
ocl/src/standard/kernel.rs:784
Method
set_arg_smp_named
( &'a self, name: &'static str, sampler_opt: Option<&Sampler>, )
ocl/src/standard/kernel.rs:749
Method
set_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
Method
set_default_global_work_offset
Sets the default global work offset.
ocl/src/standard/kernel.rs:868
Method
set_default_global_work_size
Sets the default global work size.
ocl/src/standard/kernel.rs:874
Method
set_default_local_work_size
Sets the default local work size.
ocl/src/standard/kernel.rs:880
Method
set_default_queue
(&'a mut self, queue: Queue)
ocl/src/standard/buffer.rs:2527
Method
set_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
Method
set_dims
Sets the default dimensions used when creating buffers and kernels.
ocl/src/standard/pro_que.rs:170
Function
set_local_arg
()
ocl/src/standard/kernel.rs:2011
Function
set_mem_object_destructor_callback
[UNIMPLEMENTED: Please implement me]
ocl-core/src/functions.rs:1993
Method
set_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
Function
shuffled_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
Method
single
Returns a `DeviceSpecifier::Single` variant which specifies a single device.
ocl/src/standard/device.rs:94
Method
slc_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
Method
specifier
Returns a `DeviceSpecifier` useful for precisely specifying a set of devices.
ocl/src/standard/device.rs:273
Method
src
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
Method
src_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
Method
supported_formats
Returns a list of supported image formats.
ocl/src/standard/image.rs:806
Method
swap_remove
Removes an event from the list and returns it, swapping the last element into its place.
ocl/src/standard/event.rs:439
Method
system_default
(self)
ocl-core/src/lib.rs:639
Function
test_context_props
()
ocl/src/tests/context_props.rs:13
Function
test_context_props
()
ocl-core/src/tests/context_props.rs:10
Function
test_vector_types
()
ocl/src/tests/vector_types.rs:11
Function
test_vector_types
()
ocl-core/src/tests/vector_types.rs:355
Method
time
(self)
ocl-core/src/types/enums.rs:1883
Function
timed
()
ocl-core/src/tests/depricated/test_timed.rs:28
Function
timestamp
Returns a timestamp with the number of microseconds since the `START_TIME` global time.
ocl/src/tests/buffer_sink_stream_cycles.rs:101
Function
timestamp
Returns a timestamp with the number of microseconds since the `START_TIME` global time.
ocl/examples/async_cycles.rs:103
Method
to_len
(&self)
ocl/src/standard/mod.rs:434
Method
to_len_padded
(&self, incr: usize)
ocl/src/standard/mod.rs:437
Method
to_len_padded
(&self, incr: usize)
ocl/src/standard/pro_que.rs:221
Method
to_len_padded
(&self, incr: usize)
ocl/src/standard/spatial_dims.rs:135
Method
to_lens
(&self)
ocl/src/standard/mod.rs:440
Method
to_lens
(&self)
ocl/src/standard/pro_que.rs:224
Method
to_list
Returns an `EventList` containing owned copies of each element in this `ClWaitListPtrEnum`.
ocl/src/standard/mod.rs:156
Method
to_work_offset
(&self)
ocl/src/standard/spatial_dims.rs:158
Method
to_work_size
(&self)
ocl/src/standard/spatial_dims.rs:154
Method
unknown
Returns an `ArgType` that will always return `true` when calling `::is_match`.
ocl/src/standard/kernel.rs:1809
Method
unmap_event
Returns a reference to the unmap target event if it has been set.
ocl/src/async/buffer_map_sink.rs:42
Method
unmap_event
Returns a reference to the unmap target event if it has been set.
ocl/src/async/mem_map.rs:249
Method
unmap_event
(&self)
ocl/src/async/future_mem_map.rs:126
Method
unmap_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
Method
unmap_wait_events
Returns a reference to the unmap wait event list if it has been set.
ocl/src/async/mem_map.rs:254
Method
use_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
Method
use_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
Method
user
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
Method
user
(context: C)
ocl-core/src/types/abs.rs:984
Method
vector
Returns a new `ArgVal` referring to a vector primitive.
ocl-core/src/types/structs.rs:107
Method
vendor
Returns the platform vendor as a string.
ocl/src/standard/platform.rs:133
Method
verify_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
Method
wait
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
Method
wait
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
Method
wait_for
(&self)
ocl-core/src/types/abs.rs:1034
Function
wait_for_events
Blocks until the first `num_events` events in `event_list` are complete.
ocl-core/src/functions.rs:2816
Method
wake
(arc_self: &Arc<Self>)
ocl/ocl-extras/src/work_pool.rs:58
Method
wgl_hdc
Specifies a Display pointer for the WGL HDC (builder-style).
ocl-core/src/types/structs.rs:391
Method
with_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
Method
with_capacity
(cap: usize)
ocl/src/standard/event.rs:753
Method
with_current
(f: F)
ocl/ocl-extras/src/work_pool.rs:45
Method
with_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
Method
with_il
( il: &[u8], devices: Option<&[Device]>, cmplr_opts: &CString, context: &Conte
ocl/src/standard/program.rs:73
Method
with_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
Method
write
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
Method
write
Returns a new `FutureGuard` which will resolve into a a `WriteGuard`.
ocl/src/async/buffer_sink.rs:361
Method
write
Returns a new `FutureGuard` which will resolve into a a `OrderGuard`.
ocl/src/async/order_lock.rs:927
Method
write
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
← previous
1,001–1,097 of 1,097, ranked by callers