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
print_event_info
(event: &Event)
ocl/examples/info.rs:186
↓ 1 callers
Function
print_event_list_info
(event_list: &EventList)
ocl/examples/info.rs:182
↓ 1 callers
Function
print_image_info
(image: &Image<S>)
ocl/examples/info.rs:153
↓ 1 callers
Function
print_kernel_info
(kernel: &Kernel)
ocl/examples/info.rs:178
↓ 1 callers
Function
print_platform
(plat_idx: usize, platform: Platform)
ocl/examples/info_core.rs:820
↓ 1 callers
Function
print_platform
(plat_idx: usize, platform: PlatformId)
ocl-core/examples/info_core.rs:851
↓ 1 callers
Function
print_platform_device
( plat_idx: usize, platform: Platform, device_idx: usize, device: Device, )
ocl/examples/info_core.rs:39
↓ 1 callers
Function
print_platform_device
( plat_idx: usize, platform: PlatformId, device_idx: usize, device: DeviceId, )
ocl-core/examples/info_core.rs:38
↓ 1 callers
Function
print_platform_info
(platform: &Platform)
ocl/examples/info.rs:120
↓ 1 callers
Function
print_program_info
(program: &Program)
ocl/examples/info.rs:161
↓ 1 callers
Function
print_queue_info
(queue: &Queue)
ocl/examples/info.rs:145
↓ 1 callers
Function
print_sampler_info
(sampler: &Sampler)
ocl/examples/info.rs:157
↓ 1 callers
Method
profiling
(self)
ocl-core/src/lib.rs:730
↓ 1 callers
Method
program
Returns the current program build.
ocl/src/standard/pro_que.rs:193
↓ 1 callers
Method
properties
Specifies all context properties directly. Overwrites all previously specified properties.
ocl/src/standard/context.rs:260
↓ 1 callers
Method
queue
Specifies a queue to use for this call only.
ocl/src/async/buffer_sink.rs:68
↓ 1 callers
Method
queue
Specifies a queue to use for this call only.
ocl/src/async/buffer_stream.rs:75
↓ 1 callers
Method
queue
(&self)
ocl/src/async/buffer_map_sink.rs:53
↓ 1 callers
Method
read
Returns a new `FutureGuard` which will resolve into a a `ReadGuard`.
ocl/src/async/buffer_sink.rs:356
↓ 1 callers
Function
read_source_image
(loco: &str)
ocl/examples/images_safe_clamp/src/main.rs:60
↓ 1 callers
Method
readers_and_writers_by_buffer
Returns a sub-buffer map which contains every command that reads from or writes to each sub-buffer.
ocl/ocl-extras/src/command_graph.rs:189
↓ 1 callers
Function
release_command_queue
Decrements the reference count of a command queue. [FIXME]: Return result
ocl-core/src/functions.rs:1216
↓ 1 callers
Function
release_context
Decrements reference count of a context.
ocl-core/src/functions.rs:980
↓ 1 callers
Function
release_event
Decrements an event's reference counter.
ocl-core/src/functions.rs:2887
↓ 1 callers
Function
release_kernel
Decrements a kernel reference counter.
ocl-core/src/functions.rs:2623
↓ 1 callers
Function
release_mem_object
Decrements the reference counter of a mem object.
ocl-core/src/functions.rs:1852
↓ 1 callers
Function
release_program
Decrements a program reference counter.
ocl-core/src/functions.rs:2254
↓ 1 callers
Function
release_sampler
Decrements a sampler reference counter.
ocl-core/src/functions.rs:2042
↓ 1 callers
Method
resize
(&mut self, len: u32)
ocl/ocl-extras/src/sub_buffer_pool.rs:167
↓ 1 callers
Method
resolve_wrapping_device_idxs
Resolves a list of zero-based device indices into a list of Devices. If any index is out of bounds it will wrap around zero (%) to the next valid dev
ocl/src/standard/context.rs:94
↓ 1 callers
Function
retain_sampler
Increments a sampler reference counter.
ocl-core/src/functions.rs:2032
↓ 1 callers
Function
sdl2_works
()
ocl-interop/tests/lib.rs:242
↓ 1 callers
Function
set_arg
(kernel: &mut Kernel, pro_que: &ProQue)
ocl/src/tests/kernel_arg.rs:11
↓ 1 callers
Function
set_arg
(kernel: &mut Kernel, pro_que: &ProQue)
ocl-core/src/tests/kernel_arg.rs:39
↓ 1 callers
Method
set_cgl_sharegroup
Specifies an OpenGL context CGL share group to associate the OpenCL context with.
ocl-core/src/types/structs.rs:462
↓ 1 callers
Function
set_event_callback
Sets a callback function which is called as soon as the `callback_trigger` status is reached. ## Safety
ocl-core/src/functions.rs:2942
↓ 1 callers
Method
set_expected_result
Set the expected final value.
ocl/examples/async_menagerie.rs:118
↓ 1 callers
Method
set_interop_user_sync
Specifies whether the user is responsible for synchronization between OpenCL and other APIs.
ocl-core/src/types/structs.rs:426
↓ 1 callers
Method
set_unmap_queue
Specifies the queue to be used for the unmap command.
ocl/src/async/future_mem_map.rs:112
↓ 1 callers
Function
shuffle
Shuffles the values in a vector using a single pass of Fisher-Yates with a weak (not cryptographically secure) random number generator.
ocl/ocl-extras/src/lib.rs:75
↓ 1 callers
Method
source
Adds raw text to the program source. [TODO]: Possibly accept Into<CString>
ocl/src/standard/program.rs:304
↓ 1 callers
Method
source_file
Opens a file and adds its contents to the program source.
ocl/src/standard/program.rs:270
↓ 1 callers
Function
threads
()
ocl/examples/threads.rs:31
↓ 1 callers
Function
timed
()
ocl/examples/timed.rs:32
↓ 1 callers
Method
to_bytes
(&self)
ocl-core/src/types/structs.rs:817
↓ 1 callers
Method
to_work_offset
(&self)
ocl/src/standard/pro_que.rs:243
↓ 1 callers
Function
trivial
()
ocl/examples/trivial.rs:4
↓ 1 callers
Function
trivial_cored
()
ocl/examples/trivial.rs:165
↓ 1 callers
Function
trivial_explained
()
ocl/examples/trivial.rs:40
↓ 1 callers
Function
trivial_exploded
()
ocl/examples/trivial.rs:89
↓ 1 callers
Method
try_to_padded_len
Takes the length and rounds it up to the nearest `incr` or an error.
ocl/src/standard/spatial_dims.rs:120
↓ 1 callers
Method
type_flags
Returns a `DeviceSpecifier::TypeFlags` variant which specifies a list of devices using a conventional bitfield.
ocl/src/standard/device.rs:138
↓ 1 callers
Method
unmap
Enqueues an unmap command for the memory mapping immediately.
ocl/src/async/buffer_map_sink.rs:56
↓ 1 callers
Method
upgrade_after_command
(self)
ocl/src/async/order_lock.rs:862
↓ 1 callers
Function
vec_read_async
( dst_buf: &Buffer<Int4>, rw_vec: &RwVec<Int4>, common_queue: &Queue, verify_add_release_queue
ocl/examples/device_check.rs:960
↓ 1 callers
Function
vec_remove_rebuild
Batch removes elements from a vector using a list of indices to remove. Will create a new vector and do a streamlined rebuild if `remove_list.len()`
ocl-core/src/util.rs:283
↓ 1 callers
Function
vec_write_async
( src_buf: &Buffer<Int4>, rw_vec: &RwVec<Int4>, common_queue: &Queue, write_release_queue: &Qu
ocl/examples/device_check.rs:780
↓ 1 callers
Method
vendor
Returns the device vendor as a string.
ocl/src/standard/device.rs:416
↓ 1 callers
Function
verify_add
4. Verify-Add ================= Read results and verify that the write and kernel have both completed successfully. The `map` will use the common que
ocl/src/tests/async.rs:381
↓ 1 callers
Function
verify_add
4. Map-Verify-Add ================= Read results and verify that the write and kernel have both completed successfully. The `map` will use the common
ocl/src/tests/buffer_sink_stream_cycles.rs:481
↓ 1 callers
Function
verify_add
4. Map-Verify-Add ================= Read results and verify that the write and kernel have both completed successfully. The `map` will use the common
ocl/examples/async_cycles.rs:405
↓ 1 callers
Function
verify_init
2. Verify-Init =================== Read results and verify that the initial mapped write has completed successfully. This will use the common queue f
ocl/src/tests/async.rs:223
↓ 1 callers
Function
verify_init
2. Read-Verify-Init =================== Read results and verify that the initial mapped write has completed successfully. This will use the common qu
ocl/src/tests/buffer_sink_stream_cycles.rs:308
↓ 1 callers
Function
verify_init
2. Read-Verify-Init =================== Read results and verify that the initial mapped write has completed successfully. This will use the common qu
ocl/examples/async_cycles.rs:263
↓ 1 callers
Function
verify_platform_version
Verifies that a platform version (`provided_version`) is above a threshold (`required_version`).
ocl-core/src/functions.rs:487
↓ 1 callers
Method
verify_platform_version
(&self, required_version: [u16; 2])
ocl-core/src/types/abs.rs:150
↓ 1 callers
Function
wait_for_event
Blocks until an event is complete.
ocl-core/src/functions.rs:4404
↓ 1 callers
Function
wrap_vals
Wraps (`%`) each value in the list `vals` if it equals or exceeds `val_n`.
ocl-core/src/util.rs:334
↓ 1 callers
Method
wrapping_indices
Returns a `DeviceSpecifier::WrappingIndices` variant, specifying a list of devices by indices which are wrapped around (simply using the modulo operat
ocl/src/standard/device.rs:131
↓ 1 callers
Function
write_init
1. Write-Init ================= Map the buffer and write 50's to the entire buffer, then unmap to actually move data to the device. The `map` will us
ocl/src/tests/async.rs:127
↓ 1 callers
Function
write_init
1. Map-Write-Init ================= Map the buffer and write 50's to the entire buffer, then unmap to actually move data to the device. The `map` wil
ocl/src/tests/buffer_sink_stream_cycles.rs:212
↓ 1 callers
Function
write_init
1. Map-Write-Init ================= Map the buffer and write 50's to the entire buffer, then unmap to actually move data to the device. The `map` wil
ocl/examples/async_cycles.rs:198
↓ 1 callers
Method
write_invalidate
Specifies that the memory object is being mapped for writing and that the local (host) memory region may contain stale data that must be completely ov
ocl/src/standard/buffer.rs:1902
Function
_complete_user_event
If `event_status` is `CommandExecutionStatus::Complete`, the `cl_event` pointed to by `user_data` will be set to the same. `user_data` must be a `cl_
ocl-core/src/functions.rs:93
Function
_dummy_event_callback
Don't be a dummy. Buckle your `_dummy_callback`.
ocl-core/src/functions.rs:82
Function
_print_complete
(_: cl_event, _: i32, task_iter: *mut c_void)
ocl/src/tests/async.rs:76
Function
_print_complete
(_: cl_event, _: i32, task_iter: *mut c_void)
ocl/src/tests/buffer_sink_stream_cycles.rs:157
Function
_print_complete
(_: cl_event, _: i32, task_iter: *mut c_void)
ocl/examples/device_check.rs:737
Function
_print_complete
(_: cl_event, _: i32, task_iter: *mut c_void)
ocl/examples/async_cycles.rs:151
Method
_set_arg
Sets an argument by index.
ocl/src/standard/kernel.rs:649
Function
_test_events_verify_result
Callback for `test_events()`. Yeah it's ugly.
ocl/examples/event_callbacks.rs:35
Function
_test_events_verify_result
Callback for `test_events()`.
ocl-core/src/tests/depricated/test_events.rs:17
Function
_unpark_task
(event_ptr: cl_event, event_status: i32, user_data: *mut c_void)
ocl/src/standard/mod.rs:85
Function
_verify_starting
(_: cl_event, _: i32, task_iter: *mut c_void)
ocl/src/tests/async.rs:233
Function
_verify_starting
(_: cl_event, _: i32, task_iter: *mut c_void)
ocl/src/tests/buffer_sink_stream_cycles.rs:318
Function
_verify_starting
(_: cl_event, _: i32, task_iter: *mut c_void)
ocl/examples/device_check.rs:910
Function
_verify_starting
(_: cl_event, _: i32, task_iter: *mut c_void)
ocl/examples/async_cycles.rs:273
Function
_write_complete
(_: cl_event, _: i32, task_iter: *mut c_void)
ocl/src/tests/async.rs:139
Function
_write_complete
(_: cl_event, _: i32, task_iter: *mut c_void)
ocl/examples/device_check.rs:790
Function
_write_complete
(_: cl_event, _: i32, task_iter: *mut c_void)
ocl/examples/async_cycles.rs:208
Function
_write_flush_complete
(_: cl_event, _: i32, task_iter: *mut c_void)
ocl/src/tests/buffer_sink_stream_cycles.rs:230
Function
_write_write_complete
(_: cl_event, _: i32, task_iter: *mut c_void)
ocl/src/tests/buffer_sink_stream_cycles.rs:220
Method
accelerator
(self)
ocl-core/src/lib.rs:651
Method
add_copy_command
Adds a new copy command.
ocl/examples/async_menagerie.rs:106
Method
add_fill_command
Adds a new write command.
ocl/examples/async_menagerie.rs:69
Method
add_kernel
Adds a new kernel.
ocl/examples/async_menagerie.rs:90
Method
add_read_command
Adds a new read command.
ocl/examples/async_menagerie.rs:83
Method
add_write_command
Adds a new write command.
ocl/examples/async_menagerie.rs:76
Method
all
Returns a `DeviceSpecifier::All` variant which specifies all devices on a platform.
ocl/src/standard/device.rs:80
Function
all_works
()
ocl-interop/tests/lib.rs:233
← previous
next →
501–600 of 1,097, ranked by callers