MCPcopy Create free account

hub / github.com/cogciprocate/ocl / functions

Functions1,097 in github.com/cogciprocate/ocl

Methodlist_from_core
Returns a list of `Device`s from a list of `DeviceIdCore`s
ocl/src/standard/device.rs:398
Methodlist_from_core
Returns a list of `Platform`s from a list of `PlatformIdCore`s
ocl/src/standard/platform.rs:80
Methodlist_from_raw
(list_raw: Vec<ffi::cl_image_format>)
ocl-core/src/types/structs.rs:945
Methodlist_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
Methodlist_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
Methodlocal
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
Functionmain
()
cl-sys/build.rs:24
Functionmain
()
ocl/examples/threads.rs:166
Functionmain
()
ocl/examples/buffer_sink.rs:111
Functionmain
()
ocl/examples/event_callbacks.rs:221
Functionmain
()
ocl/examples/info_core.rs:835
Functionmain
()
ocl/examples/async_process.rs:214
Functionmain
()
ocl/examples/trivial.rs:238
Functionmain
()
ocl/examples/async_menagerie.rs:851
Functionmain
()
ocl/examples/device_check.rs:1306
Functionmain
()
ocl/examples/basics.rs:98
Functionmain
()
ocl/examples/info.rs:190
Functionmain
()
ocl/examples/img_formats.rs:30
Functionmain
()
ocl/examples/timed.rs:302
Functionmain
()
ocl/examples/async_cycles.rs:651
Functionmain
()
ocl/examples/proto/src/main.rs:1
Functionmain
()
ocl/examples/proto/src/async_cycles_2stage.rs:84
Functionmain
()
ocl/examples/proto/src/async_basics.rs:42
Functionmain
()
ocl/examples/opencl_2_1/src/main.rs:10
Functionmain
Generates and image then sends it through a kernel and optionally saves.
ocl/examples/images/src/main.rs:61
Functionmain
()
ocl/examples/images_safe_clamp/src/main.rs:66
Functionmain
()
ocl-core/build.rs:4
Functionmain
()
ocl-core/examples/info_core.rs:867
Functionmain
()
ocl-core/examples/trivial.rs:11
Functionmain
()
ocl-core/examples/version.rs:11
Functionmain
()
ocl-interop/build.rs:8
Functionmain_cored
()
ocl-core/src/tests/depricated/test_trivial.rs:151
Functionmain_explained
()
ocl-core/src/tests/depricated/test_trivial.rs:16
Functionmain_exploded
()
ocl-core/src/tests/depricated/test_trivial.rs:72
Functionmain_from_example
UNUSED
ocl/src/tests/concurrent.rs:60
Functionmain_from_example
UNUSED
ocl-core/src/tests/concurrent.rs:49
Functionmap_read_async
( dst_buf: &Buffer<Int4>, common_queue: &Queue, verify_add_unmap_queue: Queue, wait_event: Opt
ocl/examples/device_check.rs:901
Methodmax
(&self)
ocl-core/src/types/structs.rs:176
Methodmax_wg_size
Returns the maximum workgroup size or an error.
ocl/src/standard/device.rs:423
Methodmax_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
Methodmem
Returns a new `ArgVal` referring to a `Mem` object.
ocl-core/src/types/structs.rs:42
Methodmem_null
()
ocl/src/standard/kernel.rs:320
Methodmem_null
Returns a new `ArgVal` corresponding to a null `Mem` object.
ocl-core/src/types/structs.rs:52
Methodmemory
Returns the internal memory mapping.
ocl/src/async/buffer_sink.rs:222
Methodmemory
Returns the internal memory mapping.
ocl/src/async/buffer_stream.rs:245
Methodname
Returns the platform name as a string.
ocl/src/standard/platform.rs:126
Methodnamed_arg_idx
Returns the argument index of a named argument if it exists.
ocl/src/standard/kernel.rs:632
Methodnew
Returns a new, empty, build configuration object.
ocl/src/standard/program.rs:213
Methodnew
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
Methodnew
Creates and returns a new sampler. ## Enum Quick Reference `addressing_mode`: - AddressingMode::None - AddressingMode::ClampToEdge - AddressingMode
ocl/src/standard/sampler.rs:38
Methodnew
Returns a new, empty, `EventArray`.
ocl/src/standard/event.rs:408
Methodnew
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
Methodnew
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
Methodnew
Returns a new Queue on the device specified by `device`.
ocl/src/standard/queue.rs:29
Methodnew
Returns a new kernel builder.
ocl/src/standard/kernel.rs:1091
Methodnew
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
Methodnew
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
Methodnew
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
Methodnew
(future_guard: FutureGuard<Inner<T>, ReadGuard<Inner<T>>>)
ocl/src/async/buffer_sink.rs:17
Methodnew
(future_guard: FutureGuard<Inner<T>, WriteGuard<Inner<T>>>)
ocl/src/async/buffer_stream.rs:17
Methodnew
Returns a new `ReadGuard`.
ocl/src/async/order_lock.rs:91
Methodnew
()
ocl/src/async/rw_vec.rs:40
Methodnew
(mem_map: MemMapCore<T>, len: usize, unmap_event: Option<Event>, buffer: MemCore, queue: Queue)
ocl/src/async/buffer_map_sink.rs:30
Methodnew
Returns a new unmap command builder.
ocl/src/async/mem_map.rs:30
Methodnew
Returns a new `FutureMemMap`.
ocl/src/async/future_mem_map.rs:29
Methodnew
Returns a new, empty task.
ocl/examples/async_menagerie.rs:56
Methodnew
Returns a new `WorkPoolOld`.
ocl/ocl-extras/src/work_pool_old.rs:19
Methodnew
()
ocl/ocl-extras/src/command_graph.rs:31
Methodnew
Returns a new buffer pool.
ocl/ocl-extras/src/sub_buffer_pool.rs:25
Methodnew
Create a new, empty work pool.
ocl/ocl-extras/src/work_pool.rs:87
Methodnew
()
ocl-core/src/lib.rs:635
Methodnew
( errcode: i32, fn_name: &'static str, fn_info: Option<S>, )
ocl-core/src/functions.rs:162
Methodnew
(ptr: cl_event)
ocl-core/src/types/abs.rs:345
Methodnew
(major: u16, minor: u16)
ocl-core/src/types/structs.rs:170
Methodnew
()
ocl-interop/tests/lib.rs:35
Methodnew_arg_buf
Non-builder-style version of `::arg_buf()`.
ocl/src/standard/kernel.rs:1223
Methodnew_arg_img
Non-builder-style version of `::arg_img()`.
ocl/src/standard/kernel.rs:1239
Methodnew_arg_loc
Non-builder-style version of `::arg_loc()`.
ocl/src/standard/kernel.rs:1293
Methodnew_raw
()
ocl-core/src/types/structs.rs:956
Methodnew_rgba
()
ocl-core/src/types/structs.rs:912
Methodnull
()
ocl/src/standard/event.rs:1412
Methodnull
Returns an invalid `PlatformId` used for initializing data structures meant to be filled with valid ones.
ocl-core/src/types/abs.rs:370
Methodnum_args
Returns the number of arguments this kernel has.
ocl/src/standard/kernel.rs:943
Methodoffset
Specifies the offset to use for this map only.
ocl/src/async/buffer_stream.rs:85
Methodoffset
Specifies the offset to use for this map only.
ocl/src/async/buffer_map_sink.rs:300
Methodorigin
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
Methodowned_mem
(buf: MemCore)
ocl/src/standard/kernel.rs:313
Methodowned_prm
(prm: T)
ocl/src/standard/kernel.rs:306
Methodpitch_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
Methodpixel_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
Methodplatform
Specifies a platform (builder-style).
ocl-core/src/types/structs.rs:366
Methodplatform
(&self)
ocl-core/src/types/enums.rs:853
Methodplatform_info
Returns info about the platform associated with the context.
ocl/src/standard/context.rs:107
Methodplatform_version
(&self)
ocl/src/standard/context.rs:210
Methodpoll
(&mut self)
ocl/src/standard/event.rs:294
Methodpoll
(&mut self)
ocl/src/async/buffer_sink.rs:32
Methodpoll
(&mut self)
ocl/src/async/buffer_stream.rs:32
Methodpoll
(&mut self)
ocl/src/async/buffer_map_sink.rs:223
Methodpoll
(&mut self)
ocl/src/async/future_mem_map.rs:166
Methodpoll
(&mut self, cx: &mut Context)
ocl/ocl-extras/src/work_pool.rs:73
← previousnext →901–1,000 of 1,097, ranked by callers