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
↓ 1 callers
Function
default_platform_idx
Returns the default platform if set by an environment variable or config file.
ocl-core/src/functions.rs:4331
↓ 1 callers
Method
default_queue
(&self)
ocl/src/standard/buffer.rs:2540
↓ 1 callers
Method
device
Sets a device or devices to be used and returns a `ProQueBuilder` reference. Must specify only a single device.
ocl/src/standard/pro_que.rs:319
↓ 1 callers
Function
device_check
()
ocl/examples/device_check.rs:1228
↓ 1 callers
Function
device_supports_cl_gl_sharing
Checks to see if a device supports the `CL_GL_SHARING_EXT` extension.
ocl-core/src/functions.rs:4501
↓ 1 callers
Method
dim_count
Returns the number of dimensions defined by this `SpatialDims`.
ocl/src/standard/spatial_dims.rs:73
↓ 1 callers
Method
disable_arg_type_check
Disables argument type checking when setting arguments. Because the performance cost of argument type checking is negligible, disabling is not recomm
ocl/src/standard/kernel.rs:1612
↓ 1 callers
Method
enq
Enqueues this kernel command. # Safety All kernel code must be considered untrusted. Therefore the act of calling this function contains implied uns
ocl/src/standard/kernel.rs:222
↓ 1 callers
Function
enqueue_complex_task
Enqueues a unique complex task as defined above.
ocl/examples/async_menagerie.rs:633
↓ 1 callers
Function
enqueue_copy_image
Enqueues a command to copy image objects. [SDK Docs](https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clEnqueueCopyImage.html)
ocl-core/src/functions.rs:3665
↓ 1 callers
Function
enqueue_fill_buffer
( command_queue: &CommandQueue, buffer: M, pattern: T, offset: usize, len: usize, wait
ocl-core/src/functions.rs:3301
↓ 1 callers
Function
enqueue_marker_with_wait_list
Enqueues a marker command which waits for either a list of events to complete, or all previously enqueued commands to complete. [SDK Docs](https://ww
ocl-core/src/functions.rs:4172
↓ 1 callers
Function
enqueue_simple_task
Enqueues a unique simple task as defined above.
ocl/examples/async_menagerie.rs:385
↓ 1 callers
Function
event_callbacks
()
ocl/examples/event_callbacks.rs:103
↓ 1 callers
Function
event_is_complete
Returns true if an event is complete, false if not complete.
ocl-core/src/functions.rs:4436
↓ 1 callers
Method
ewait_lock
Sets an event wait list. See `::set_lock_wait_events`. [UNSTABLE]: This method may be renamed or otherwise changed at any time.
ocl/src/async/order_lock.rs:342
↓ 1 callers
Method
ewait_unmap
Set an event wait list for the unmap command. See `::set_unmap_wait_events`.
ocl/src/async/future_mem_map.rs:66
↓ 1 callers
Function
fill_junk
0. Fill-Junk ============ Fill buffer with -999's just to ensure the upcoming write misses nothing:
ocl/src/tests/async.rs:59
↓ 1 callers
Function
fill_junk
0. Fill-Junk ============ Fill buffer with -999's just to ensure the upcoming write misses nothing:
ocl/src/tests/buffer_sink_stream_cycles.rs:139
↓ 1 callers
Function
fill_junk
( src_buf: &Buffer<Int4>, common_queue: &Queue, kernel_event: Option<&Event>, fill_event: &mut
ocl/examples/device_check.rs:721
↓ 1 callers
Function
fill_junk
0. Fill-Junk ============ Fill buffer with -999's just to ensure the upcoming write misses nothing:
ocl/examples/async_cycles.rs:138
↓ 1 callers
Function
find_sdl_gl_driver
()
ocl-interop/tests/lib.rs:245
↓ 1 callers
Method
flood
Returns a command builder which, when enqueued, floods the mapped memory region with fresh data from the device.
ocl/src/async/buffer_stream.rs:381
↓ 1 callers
Function
flush
Flushes a command queue. Issues all previously queued OpenCL commands in a command-queue to the device associated with the command-queue.
ocl-core/src/functions.rs:3027
↓ 1 callers
Function
fmt_duration
Returns a duration formatted into a sec.millisec string.
ocl/src/tests/buffer_sink_stream_cycles.rs:93
↓ 1 callers
Function
fmt_duration
Returns a duration formatted into a sec.millisec string.
ocl/examples/async_cycles.rs:95
↓ 1 callers
Method
fmt_info
(&self, f: &mut std::fmt::Formatter)
ocl/src/standard/program.rs:109
↓ 1 callers
Method
fmt_info
(&self, f: &mut std::fmt::Formatter)
ocl/src/standard/device.rs:470
↓ 1 callers
Method
fmt_info
(&self, f: &mut std::fmt::Formatter)
ocl/src/standard/sampler.rs:76
↓ 1 callers
Method
fmt_info
(&self, f: &mut fmt::Formatter)
ocl/src/standard/event.rs:166
↓ 1 callers
Method
fmt_info
Format image info.
ocl/src/standard/image.rs:1278
↓ 1 callers
Method
fmt_info
(&self, f: &mut std::fmt::Formatter)
ocl/src/standard/queue.rs:97
↓ 1 callers
Method
fmt_info
(&self, f: &mut std::fmt::Formatter)
ocl/src/standard/kernel.rs:951
↓ 1 callers
Method
fmt_info
(&self, f: &mut std::fmt::Formatter)
ocl/src/standard/context.rs:164
↓ 1 callers
Method
fmt_info
(&self, f: &mut std::fmt::Formatter)
ocl/src/standard/platform.rs:155
↓ 1 callers
Method
fmt_mem_info
(&self, f: &mut std::fmt::Formatter)
ocl/src/standard/buffer.rs:2671
↓ 1 callers
Method
fmt_mem_info
Format image mem info.
ocl/src/standard/image.rs:1294
↓ 1 callers
Method
fmt_wg_info
(&self, f: &mut std::fmt::Formatter, devices: Vec<D>)
ocl/src/standard/kernel.rs:971
↓ 1 callers
Method
following_readers
Returns a list of commands which both follow a command and which read from a block of memory which is written to by that command.
ocl/ocl-extras/src/command_graph.rs:126
↓ 1 callers
Method
forget
(self)
ocl/src/async/order_lock.rs:54
↓ 1 callers
Function
generate_image
Generates a diagonal reddish stripe and a grey background.
ocl/examples/images/src/main.rs:46
↓ 1 callers
Function
get_available_contexts
Returns one context for each device on each platform available.
ocl-core/src/tests/mod.rs:31
↓ 1 callers
Function
get_command_queue_context_ptr
Returns the context for a command queue, bypassing extra processing.
ocl-core/src/functions.rs:4511
↓ 1 callers
Function
get_context
()
ocl-interop/src/lib.rs:54
↓ 1 callers
Function
get_context_platform
Returns the platform for a context. Errors upon the usual OpenCL errors. Returns `None` if the context properties do not specify a platform.
ocl-core/src/functions.rs:1069
↓ 1 callers
Function
get_event_profiling_info
Get event profiling info (for debugging / benchmarking).
ocl-core/src/functions.rs:2966
↓ 1 callers
Function
get_extension_function_address_for_platform
Extension function access Returns the extension function address for the given function name, or NULL if a valid function can not be found. The clien
ocl-core/src/functions.rs:4287
↓ 1 callers
Method
get_gwo
(&self)
ocl/src/standard/kernel.rs:851
↓ 1 callers
Method
get_includes
Parses `self.options` for options intended for inclusion at the beginning of the final program source and returns them as a list of strings. Generall
ocl/src/standard/program.rs:413
↓ 1 callers
Method
get_includes_eof
Parses `self.options` for options intended for inclusion at the end of the final program source and returns them as a list of strings.
ocl/src/standard/program.rs:437
↓ 1 callers
Function
get_kernel_arg_info
Get kernel arg info. [Version Controlled: OpenCL 1.2+] See module docs for more info.
ocl-core/src/functions.rs:2696
↓ 1 callers
Function
get_kernel_work_group_info
Get kernel work group info.
ocl-core/src/functions.rs:2753
↓ 1 callers
Method
get_lws
(&self)
ocl/src/standard/kernel.rs:863
↓ 1 callers
Function
get_program_info_binaries
Returns a `Vec` containing one `Vec<u8>` for each device associated with `program`.
ocl-core/src/functions.rs:2500
↓ 1 callers
Function
get_sampler_info
Returns information about the sampler object. [SDK Docs](https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clGetSamplerInfo.html)
ocl-core/src/functions.rs:2054
↓ 1 callers
Function
get_supported_image_formats
Returns a list of supported image formats. ## Example ```rust,ignore let context = Context::builder().build().unwrap(); let img_fmts = core::get_su
ocl-core/src/functions.rs:1871
↓ 1 callers
Method
gl_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/image.rs:274
↓ 1 callers
Method
gl_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/image.rs:292
↓ 1 callers
Function
glfw_works
()
ocl-interop/tests/lib.rs:385
↓ 1 callers
Function
glutin_works
()
ocl-interop/tests/lib.rs:314
↓ 1 callers
Method
gpu
(self)
ocl-core/src/lib.rs:647
↓ 1 callers
Method
gwo
(mut self, gwo: D)
ocl/src/standard/kernel.rs:101
↓ 1 callers
Method
host_no_access
(self)
ocl-core/src/lib.rs:823
↓ 1 callers
Method
il
(&'a mut self, il: &'b [u8])
ocl/src/standard/program.rs:344
↓ 1 callers
Function
img_formats
()
ocl/examples/img_formats.rs:7
↓ 1 callers
Method
index
(&self, index: usize)
ocl/src/standard/spatial_dims.rs:166
↓ 1 callers
Function
info
()
ocl/examples/info.rs:34
↓ 1 callers
Function
info_core
()
ocl/examples/info_core.rs:827
↓ 1 callers
Function
info_core
()
ocl-core/examples/info_core.rs:859
↓ 1 callers
Method
insert_region
(&mut self, region: PoolRegion, region_idx: usize)
ocl/ocl-extras/src/sub_buffer_pool.rs:54
↓ 1 callers
Function
into_bytes
[UNTESTED] Copies an arbitrary primitive or struct into core bytes. ### Depth This is not a deep copy, will only copy the surface of primitives, str
ocl-core/src/util.rs:236
↓ 1 callers
Method
into_raw
Consumes the `Event`, returning the wrapped `cl_event` pointer. To avoid a memory leak the pointer must be converted back to an `Event` using [`Event
ocl-core/src/types/abs.rs:1146
↓ 1 callers
Method
is_available
Returns whether or not the device is available for use.
ocl/src/standard/device.rs:441
↓ 1 callers
Method
is_mem_null
Returns `true` if this `ArgVal` represents a null `Mem` or `Sampler` object.
ocl-core/src/types/structs.rs:155
↓ 1 callers
Method
is_unknown
(&self)
ocl/src/standard/kernel.rs:1987
↓ 1 callers
Function
kernel
(context: &Context, src: &str, buffer: &Mem, addend: V)
ocl-core/src/tests/vector_types.rs:13
↓ 1 callers
Function
kernel_add
3. Kernel-Add ============= Enqueues a kernel which adds a value to each element in the input buffer. The `Kernel complete ...` message is sometimes
ocl/src/tests/async.rs:305
↓ 1 callers
Function
kernel_add
3. Kernel-Add ============= Enqueues a kernel which adds a value to each element in the input buffer. The `Kernel complete ...` message is sometimes
ocl/src/tests/buffer_sink_stream_cycles.rs:400
↓ 1 callers
Function
kernel_add
( kern: &Kernel, common_queue: &Queue, verify_add_event: Option<&Event>, write_init_event: Opt
ocl/examples/device_check.rs:848
↓ 1 callers
Function
kernel_add
3. Kernel-Add ============= Enqueues a kernel which adds a value to each element in the input buffer. The `Kernel complete ...` message is sometimes
ocl/examples/async_cycles.rs:336
↓ 1 callers
Function
link_program
( context: C, devices: Option<&[D]>, options: &CString, input_programs: &[&Program], pfn_n
ocl-core/src/functions.rs:2401
↓ 1 callers
Method
local_work_size
Specifies a local work size for this call only.
ocl/src/standard/kernel.rs:133
↓ 1 callers
Method
lws
(mut self, lws: D)
ocl/src/standard/kernel.rs:115
↓ 1 callers
Method
mem_base_addr_align
Returns the memory base address alignment offset or an error.
ocl/src/standard/device.rs:432
↓ 1 callers
Method
name
Returns the name of this kernel.
ocl/src/standard/kernel.rs:936
↓ 1 callers
Method
next_uid
(&mut self)
ocl/ocl-extras/src/sub_buffer_pool.rs:49
↓ 1 callers
Method
next_valid_align
(&self, unaligned_origin: u32)
ocl/ocl-extras/src/sub_buffer_pool.rs:45
↓ 1 callers
Method
order_lock
(&self)
ocl/src/async/order_lock.rs:163
↓ 1 callers
Function
padded_len
Pads `len` to make it evenly divisible by `incr`.
ocl-core/src/util.rs:251
↓ 1 callers
Method
park
(&self)
ocl/ocl-extras/src/work_pool.rs:52
↓ 1 callers
Method
pixel_count
Returns the total number of pixels in this image.
ocl/src/standard/image.rs:1238
↓ 1 callers
Method
platform
Returns the platform this context is associated with.
ocl/src/standard/context.rs:157
↓ 1 callers
Method
platform_version
(&self)
ocl-core/src/types/abs.rs:177
↓ 1 callers
Method
poll_pool
Make maximal progress on the entire pool of spawned task, returning `Ready` if the pool is empty and `Pending` if no further progress can be made.
ocl/ocl-extras/src/work_pool.rs:99
↓ 1 callers
Method
poll_wait_events
Polls the wait events until all requisite commands have completed then polls the lock queue.
ocl/src/async/order_lock.rs:534
↓ 1 callers
Method
pop
Removes the last event from the list and returns it.
ocl/src/standard/event.rs:429
↓ 1 callers
Method
preceding_writers
Returns a list of commands which both precede a command and which write to a block of memory which is read from by that command.
ocl/ocl-extras/src/command_graph.rs:116
↓ 1 callers
Function
print_buffer_info
(buffer: &Buffer<T>)
ocl/examples/info.rs:149
↓ 1 callers
Function
print_context_info
(context: &Context)
ocl/examples/info.rs:141
↓ 1 callers
Function
print_device_info
(device: &Device)
ocl/examples/info.rs:128
← previous
next →
401–500 of 1,097, ranked by callers