MCPcopy Create free account

hub / github.com/cogciprocate/ocl / functions

Functions1,097 in github.com/cogciprocate/ocl

↓ 1 callersFunctiondefault_platform_idx
Returns the default platform if set by an environment variable or config file.
ocl-core/src/functions.rs:4331
↓ 1 callersMethoddefault_queue
(&self)
ocl/src/standard/buffer.rs:2540
↓ 1 callersMethoddevice
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 callersFunctiondevice_check
()
ocl/examples/device_check.rs:1228
↓ 1 callersFunctiondevice_supports_cl_gl_sharing
Checks to see if a device supports the `CL_GL_SHARING_EXT` extension.
ocl-core/src/functions.rs:4501
↓ 1 callersMethoddim_count
Returns the number of dimensions defined by this `SpatialDims`.
ocl/src/standard/spatial_dims.rs:73
↓ 1 callersMethoddisable_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 callersMethodenq
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 callersFunctionenqueue_complex_task
Enqueues a unique complex task as defined above.
ocl/examples/async_menagerie.rs:633
↓ 1 callersFunctionenqueue_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 callersFunctionenqueue_fill_buffer
( command_queue: &CommandQueue, buffer: M, pattern: T, offset: usize, len: usize, wait
ocl-core/src/functions.rs:3301
↓ 1 callersFunctionenqueue_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 callersFunctionenqueue_simple_task
Enqueues a unique simple task as defined above.
ocl/examples/async_menagerie.rs:385
↓ 1 callersFunctionevent_callbacks
()
ocl/examples/event_callbacks.rs:103
↓ 1 callersFunctionevent_is_complete
Returns true if an event is complete, false if not complete.
ocl-core/src/functions.rs:4436
↓ 1 callersMethodewait_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 callersMethodewait_unmap
Set an event wait list for the unmap command. See `::set_unmap_wait_events`.
ocl/src/async/future_mem_map.rs:66
↓ 1 callersFunctionfill_junk
0. Fill-Junk ============ Fill buffer with -999's just to ensure the upcoming write misses nothing:
ocl/src/tests/async.rs:59
↓ 1 callersFunctionfill_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 callersFunctionfill_junk
( src_buf: &Buffer<Int4>, common_queue: &Queue, kernel_event: Option<&Event>, fill_event: &mut
ocl/examples/device_check.rs:721
↓ 1 callersFunctionfill_junk
0. Fill-Junk ============ Fill buffer with -999's just to ensure the upcoming write misses nothing:
ocl/examples/async_cycles.rs:138
↓ 1 callersFunctionfind_sdl_gl_driver
()
ocl-interop/tests/lib.rs:245
↓ 1 callersMethodflood
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 callersFunctionflush
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 callersFunctionfmt_duration
Returns a duration formatted into a sec.millisec string.
ocl/src/tests/buffer_sink_stream_cycles.rs:93
↓ 1 callersFunctionfmt_duration
Returns a duration formatted into a sec.millisec string.
ocl/examples/async_cycles.rs:95
↓ 1 callersMethodfmt_info
(&self, f: &mut std::fmt::Formatter)
ocl/src/standard/program.rs:109
↓ 1 callersMethodfmt_info
(&self, f: &mut std::fmt::Formatter)
ocl/src/standard/device.rs:470
↓ 1 callersMethodfmt_info
(&self, f: &mut std::fmt::Formatter)
ocl/src/standard/sampler.rs:76
↓ 1 callersMethodfmt_info
(&self, f: &mut fmt::Formatter)
ocl/src/standard/event.rs:166
↓ 1 callersMethodfmt_info
Format image info.
ocl/src/standard/image.rs:1278
↓ 1 callersMethodfmt_info
(&self, f: &mut std::fmt::Formatter)
ocl/src/standard/queue.rs:97
↓ 1 callersMethodfmt_info
(&self, f: &mut std::fmt::Formatter)
ocl/src/standard/kernel.rs:951
↓ 1 callersMethodfmt_info
(&self, f: &mut std::fmt::Formatter)
ocl/src/standard/context.rs:164
↓ 1 callersMethodfmt_info
(&self, f: &mut std::fmt::Formatter)
ocl/src/standard/platform.rs:155
↓ 1 callersMethodfmt_mem_info
(&self, f: &mut std::fmt::Formatter)
ocl/src/standard/buffer.rs:2671
↓ 1 callersMethodfmt_mem_info
Format image mem info.
ocl/src/standard/image.rs:1294
↓ 1 callersMethodfmt_wg_info
(&self, f: &mut std::fmt::Formatter, devices: Vec<D>)
ocl/src/standard/kernel.rs:971
↓ 1 callersMethodfollowing_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 callersMethodforget
(self)
ocl/src/async/order_lock.rs:54
↓ 1 callersFunctiongenerate_image
Generates a diagonal reddish stripe and a grey background.
ocl/examples/images/src/main.rs:46
↓ 1 callersFunctionget_available_contexts
Returns one context for each device on each platform available.
ocl-core/src/tests/mod.rs:31
↓ 1 callersFunctionget_command_queue_context_ptr
Returns the context for a command queue, bypassing extra processing.
ocl-core/src/functions.rs:4511
↓ 1 callersFunctionget_context
()
ocl-interop/src/lib.rs:54
↓ 1 callersFunctionget_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 callersFunctionget_event_profiling_info
Get event profiling info (for debugging / benchmarking).
ocl-core/src/functions.rs:2966
↓ 1 callersFunctionget_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 callersMethodget_gwo
(&self)
ocl/src/standard/kernel.rs:851
↓ 1 callersMethodget_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 callersMethodget_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 callersFunctionget_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 callersFunctionget_kernel_work_group_info
Get kernel work group info.
ocl-core/src/functions.rs:2753
↓ 1 callersMethodget_lws
(&self)
ocl/src/standard/kernel.rs:863
↓ 1 callersFunctionget_program_info_binaries
Returns a `Vec` containing one `Vec<u8>` for each device associated with `program`.
ocl-core/src/functions.rs:2500
↓ 1 callersFunctionget_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 callersFunctionget_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 callersMethodgl_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 callersMethodgl_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 callersFunctionglfw_works
()
ocl-interop/tests/lib.rs:385
↓ 1 callersFunctionglutin_works
()
ocl-interop/tests/lib.rs:314
↓ 1 callersMethodgpu
(self)
ocl-core/src/lib.rs:647
↓ 1 callersMethodgwo
(mut self, gwo: D)
ocl/src/standard/kernel.rs:101
↓ 1 callersMethodhost_no_access
(self)
ocl-core/src/lib.rs:823
↓ 1 callersMethodil
(&'a mut self, il: &'b [u8])
ocl/src/standard/program.rs:344
↓ 1 callersFunctionimg_formats
()
ocl/examples/img_formats.rs:7
↓ 1 callersMethodindex
(&self, index: usize)
ocl/src/standard/spatial_dims.rs:166
↓ 1 callersFunctioninfo
()
ocl/examples/info.rs:34
↓ 1 callersFunctioninfo_core
()
ocl/examples/info_core.rs:827
↓ 1 callersFunctioninfo_core
()
ocl-core/examples/info_core.rs:859
↓ 1 callersMethodinsert_region
(&mut self, region: PoolRegion, region_idx: usize)
ocl/ocl-extras/src/sub_buffer_pool.rs:54
↓ 1 callersFunctioninto_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 callersMethodinto_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 callersMethodis_available
Returns whether or not the device is available for use.
ocl/src/standard/device.rs:441
↓ 1 callersMethodis_mem_null
Returns `true` if this `ArgVal` represents a null `Mem` or `Sampler` object.
ocl-core/src/types/structs.rs:155
↓ 1 callersMethodis_unknown
(&self)
ocl/src/standard/kernel.rs:1987
↓ 1 callersFunctionkernel
(context: &Context, src: &str, buffer: &Mem, addend: V)
ocl-core/src/tests/vector_types.rs:13
↓ 1 callersFunctionkernel_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 callersFunctionkernel_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 callersFunctionkernel_add
( kern: &Kernel, common_queue: &Queue, verify_add_event: Option<&Event>, write_init_event: Opt
ocl/examples/device_check.rs:848
↓ 1 callersFunctionkernel_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 callersFunctionlink_program
( context: C, devices: Option<&[D]>, options: &CString, input_programs: &[&Program], pfn_n
ocl-core/src/functions.rs:2401
↓ 1 callersMethodlocal_work_size
Specifies a local work size for this call only.
ocl/src/standard/kernel.rs:133
↓ 1 callersMethodlws
(mut self, lws: D)
ocl/src/standard/kernel.rs:115
↓ 1 callersMethodmem_base_addr_align
Returns the memory base address alignment offset or an error.
ocl/src/standard/device.rs:432
↓ 1 callersMethodname
Returns the name of this kernel.
ocl/src/standard/kernel.rs:936
↓ 1 callersMethodnext_uid
(&mut self)
ocl/ocl-extras/src/sub_buffer_pool.rs:49
↓ 1 callersMethodnext_valid_align
(&self, unaligned_origin: u32)
ocl/ocl-extras/src/sub_buffer_pool.rs:45
↓ 1 callersMethodorder_lock
(&self)
ocl/src/async/order_lock.rs:163
↓ 1 callersFunctionpadded_len
Pads `len` to make it evenly divisible by `incr`.
ocl-core/src/util.rs:251
↓ 1 callersMethodpark
(&self)
ocl/ocl-extras/src/work_pool.rs:52
↓ 1 callersMethodpixel_count
Returns the total number of pixels in this image.
ocl/src/standard/image.rs:1238
↓ 1 callersMethodplatform
Returns the platform this context is associated with.
ocl/src/standard/context.rs:157
↓ 1 callersMethodplatform_version
(&self)
ocl-core/src/types/abs.rs:177
↓ 1 callersMethodpoll_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 callersMethodpoll_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 callersMethodpop
Removes the last event from the list and returns it.
ocl/src/standard/event.rs:429
↓ 1 callersMethodpreceding_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 callersFunctionprint_buffer_info
(buffer: &Buffer<T>)
ocl/examples/info.rs:149
↓ 1 callersFunctionprint_context_info
(context: &Context)
ocl/examples/info.rs:141
↓ 1 callersFunctionprint_device_info
(device: &Device)
ocl/examples/info.rs:128
← previousnext →401–500 of 1,097, ranked by callers