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
list_from_core
Returns a list of `Device`s from a list of `DeviceIdCore`s
ocl/src/standard/device.rs:398
Method
list_from_core
Returns a list of `Platform`s from a list of `PlatformIdCore`s
ocl/src/standard/platform.rs:80
Method
list_from_raw
(list_raw: Vec<ffi::cl_image_format>)
ocl-core/src/types/structs.rs:945
Method
list_select
Returns a list of devices filtered by type then selected using a list of indices. ### Errors All indices in `idxs` must be valid. See [`::list`](s
ocl/src/standard/device.rs:368
Method
list_select_wrap
Returns a list of devices filtered by type then selected using a wrapping list of indices. Wraps indices around (`%`) so that every index is valid.
ocl/src/standard/device.rs:386
Method
local
Returns a new `ArgVal` corresponding to a `__local` argument. To specify a `__local` argument size in bytes, use `::raw` instead (with `value`: `std:
ocl-core/src/types/structs.rs:118
Function
main
()
cl-sys/build.rs:24
Function
main
()
ocl/examples/threads.rs:166
Function
main
()
ocl/examples/buffer_sink.rs:111
Function
main
()
ocl/examples/event_callbacks.rs:221
Function
main
()
ocl/examples/info_core.rs:835
Function
main
()
ocl/examples/async_process.rs:214
Function
main
()
ocl/examples/trivial.rs:238
Function
main
()
ocl/examples/async_menagerie.rs:851
Function
main
()
ocl/examples/device_check.rs:1306
Function
main
()
ocl/examples/basics.rs:98
Function
main
()
ocl/examples/info.rs:190
Function
main
()
ocl/examples/img_formats.rs:30
Function
main
()
ocl/examples/timed.rs:302
Function
main
()
ocl/examples/async_cycles.rs:651
Function
main
()
ocl/examples/proto/src/main.rs:1
Function
main
()
ocl/examples/proto/src/async_cycles_2stage.rs:84
Function
main
()
ocl/examples/proto/src/async_basics.rs:42
Function
main
()
ocl/examples/opencl_2_1/src/main.rs:10
Function
main
Generates and image then sends it through a kernel and optionally saves.
ocl/examples/images/src/main.rs:61
Function
main
()
ocl/examples/images_safe_clamp/src/main.rs:66
Function
main
()
ocl-core/build.rs:4
Function
main
()
ocl-core/examples/info_core.rs:867
Function
main
()
ocl-core/examples/trivial.rs:11
Function
main
()
ocl-core/examples/version.rs:11
Function
main
()
ocl-interop/build.rs:8
Function
main_cored
()
ocl-core/src/tests/depricated/test_trivial.rs:151
Function
main_explained
()
ocl-core/src/tests/depricated/test_trivial.rs:16
Function
main_exploded
()
ocl-core/src/tests/depricated/test_trivial.rs:72
Function
main_from_example
UNUSED
ocl/src/tests/concurrent.rs:60
Function
main_from_example
UNUSED
ocl-core/src/tests/concurrent.rs:49
Function
map_read_async
( dst_buf: &Buffer<Int4>, common_queue: &Queue, verify_add_unmap_queue: Queue, wait_event: Opt
ocl/examples/device_check.rs:901
Method
max
(&self)
ocl-core/src/types/structs.rs:176
Method
max_wg_size
Returns the maximum workgroup size or an error.
ocl/src/standard/device.rs:423
Method
max_wg_size
Returns the maximum workgroup size supported by the device associated with this `ProQue`. [UNSTABLE]: Evaluate usefulness.
ocl/src/standard/pro_que.rs:178
Method
mem
Returns a new `ArgVal` referring to a `Mem` object.
ocl-core/src/types/structs.rs:42
Method
mem_null
()
ocl/src/standard/kernel.rs:320
Method
mem_null
Returns a new `ArgVal` corresponding to a null `Mem` object.
ocl-core/src/types/structs.rs:52
Method
memory
Returns the internal memory mapping.
ocl/src/async/buffer_sink.rs:222
Method
memory
Returns the internal memory mapping.
ocl/src/async/buffer_stream.rs:245
Method
name
Returns the platform name as a string.
ocl/src/standard/platform.rs:126
Method
named_arg_idx
Returns the argument index of a named argument if it exists.
ocl/src/standard/kernel.rs:632
Method
new
Returns a new, empty, build configuration object.
ocl/src/standard/program.rs:213
Method
new
Returns a new buffer command builder associated with with the memory object `obj_core` along with a default `queue` and `mem_len` (the length of the d
ocl/src/standard/buffer.rs:207
Method
new
Creates and returns a new sampler. ## Enum Quick Reference `addressing_mode`: - AddressingMode::None - AddressingMode::ClampToEdge - AddressingMode
ocl/src/standard/sampler.rs:38
Method
new
Returns a new, empty, `EventArray`.
ocl/src/standard/event.rs:408
Method
new
Returns a new image command builder associated with with the memory object `obj_core` along with a default `queue` and `to_len` (the length of the dev
ocl/src/standard/image.rs:112
Method
new
Creates a new ProQue from individual parts. Use `::builder` instead unless you know what you're doing. Creating from components associated with diffe
ocl/src/standard/pro_que.rs:63
Method
new
Returns a new Queue on the device specified by `device`.
ocl/src/standard/queue.rs:29
Method
new
Returns a new kernel builder.
ocl/src/standard/kernel.rs:1091
Method
new
Returns a new `SpatialDims`. Dimensions must be specified in order from d0 -> d1 -> d2; i.e. `d1` cannot be `Some(x)` if `d0` is `None`. Explicitly
ocl/src/standard/spatial_dims.rs:49
Method
new
Returns a newly created context. Prefer `Context::builder()...` instead of this method unless you know what you're doing. Please also immediately con
ocl/src/standard/context.rs:60
Method
new
Creates a new `Platform` from a `PlatformIdCore`. ## Safety Not meant to be called unless you know what you're doing. Use list to get a list of pla
ocl/src/standard/platform.rs:75
Method
new
(future_guard: FutureGuard<Inner<T>, ReadGuard<Inner<T>>>)
ocl/src/async/buffer_sink.rs:17
Method
new
(future_guard: FutureGuard<Inner<T>, WriteGuard<Inner<T>>>)
ocl/src/async/buffer_stream.rs:17
Method
new
Returns a new `ReadGuard`.
ocl/src/async/order_lock.rs:91
Method
new
()
ocl/src/async/rw_vec.rs:40
Method
new
(mem_map: MemMapCore<T>, len: usize, unmap_event: Option<Event>, buffer: MemCore, queue: Queue)
ocl/src/async/buffer_map_sink.rs:30
Method
new
Returns a new unmap command builder.
ocl/src/async/mem_map.rs:30
Method
new
Returns a new `FutureMemMap`.
ocl/src/async/future_mem_map.rs:29
Method
new
Returns a new, empty task.
ocl/examples/async_menagerie.rs:56
Method
new
Returns a new `WorkPoolOld`.
ocl/ocl-extras/src/work_pool_old.rs:19
Method
new
()
ocl/ocl-extras/src/command_graph.rs:31
Method
new
Returns a new buffer pool.
ocl/ocl-extras/src/sub_buffer_pool.rs:25
Method
new
Create a new, empty work pool.
ocl/ocl-extras/src/work_pool.rs:87
Method
new
()
ocl-core/src/lib.rs:635
Method
new
( errcode: i32, fn_name: &'static str, fn_info: Option<S>, )
ocl-core/src/functions.rs:162
Method
new
(ptr: cl_event)
ocl-core/src/types/abs.rs:345
Method
new
(major: u16, minor: u16)
ocl-core/src/types/structs.rs:170
Method
new
()
ocl-interop/tests/lib.rs:35
Method
new_arg_buf
Non-builder-style version of `::arg_buf()`.
ocl/src/standard/kernel.rs:1223
Method
new_arg_img
Non-builder-style version of `::arg_img()`.
ocl/src/standard/kernel.rs:1239
Method
new_arg_loc
Non-builder-style version of `::arg_loc()`.
ocl/src/standard/kernel.rs:1293
Method
new_raw
()
ocl-core/src/types/structs.rs:956
Method
new_rgba
()
ocl-core/src/types/structs.rs:912
Method
null
()
ocl/src/standard/event.rs:1412
Method
null
Returns an invalid `PlatformId` used for initializing data structures meant to be filled with valid ones.
ocl-core/src/types/abs.rs:370
Method
num_args
Returns the number of arguments this kernel has.
ocl/src/standard/kernel.rs:943
Method
offset
Specifies the offset to use for this map only.
ocl/src/async/buffer_stream.rs:85
Method
offset
Specifies the offset to use for this map only.
ocl/src/async/buffer_map_sink.rs:300
Method
origin
Sets the three dimensional offset, the origin point, for an operation. Defaults to [0, 0, 0] if not set. ## Panics The 'shape' may not have already
ocl/src/standard/image.rs:397
Method
owned_mem
(buf: MemCore)
ocl/src/standard/kernel.rs:313
Method
owned_prm
(prm: T)
ocl/src/standard/kernel.rs:306
Method
pitch_bytes
Sets the row and slice pitch for a read or write operation in bytes. `row_pitch_bytes`: Must be greater than or equal to the region width in bytes (r
ocl/src/standard/image.rs:435
Method
pixel_bytes
Returns the size in bytes of a pixel using the format specified by this `ImageFormat`. TODO: Add a special case for Depth & DepthStencil (https://www
ocl-core/src/types/structs.rs:972
Method
platform
Specifies a platform (builder-style).
ocl-core/src/types/structs.rs:366
Method
platform
(&self)
ocl-core/src/types/enums.rs:853
Method
platform_info
Returns info about the platform associated with the context.
ocl/src/standard/context.rs:107
Method
platform_version
(&self)
ocl/src/standard/context.rs:210
Method
poll
(&mut self)
ocl/src/standard/event.rs:294
Method
poll
(&mut self)
ocl/src/async/buffer_sink.rs:32
Method
poll
(&mut self)
ocl/src/async/buffer_stream.rs:32
Method
poll
(&mut self)
ocl/src/async/buffer_map_sink.rs:223
Method
poll
(&mut self)
ocl/src/async/future_mem_map.rs:166
Method
poll
(&mut self, cx: &mut Context)
ocl/ocl-extras/src/work_pool.rs:73
← previous
next →
901–1,000 of 1,097, ranked by callers