MCPcopy Create free account

hub / github.com/cogciprocate/ocl / functions

Functions1,097 in github.com/cogciprocate/ocl

↓ 4 callersMethodwrite
Specifies that this command will be a write operation. ### Panics The command operation kind must not have already been specified ### More Informat
ocl/src/standard/buffer.rs:270
↓ 3 callersMethodalloc
Allocates space for and creates a new sub-buffer then returns the buffer id which can be used to `::get` or `::free` it.
ocl/ocl-extras/src/sub_buffer_pool.rs:86
↓ 3 callersMethodapi_status
Returns the error status code for `OclCore` variants.
ocl/src/error.rs:43
↓ 3 callersMethodarg_buf_named
( &'s mut self, name: S, buffer_opt: Option<&'b M>, )
ocl/src/standard/kernel.rs:1474
↓ 3 callersMethodarg_img
(&'s mut self, image: &'b M)
ocl/src/standard/kernel.rs:1347
↓ 3 callersFunctionarg_info
Returns argument information for a kernel.
ocl/src/standard/kernel.rs:1711
↓ 3 callersMethodarg_sampler
Adds a new argument to the kernel specifying the sampler object represented by 'sampler'. Argument is added to the bottom of the argument order.
ocl/src/standard/kernel.rs:1408
↓ 3 callersFunctionarg_type_name
Returns the type name for a kernel argument at the specified index.
ocl/src/standard/kernel.rs:1726
↓ 3 callersMethodas_opencl_version
Parse the `Version` string and get a numeric result as `OpenclVersion`.
ocl-core/src/types/enums.rs:187
↓ 3 callersMethodas_ptr
Returns a mutable pointer to the data contained within the internal value, bypassing all locks and protections. ## Panics This future must not have
ocl/src/async/order_lock.rs:499
↓ 3 callersMethodas_ptr_ptr
(&self)
ocl/src/standard/event.rs:263
↓ 3 callersMethodas_raw
Returns a pointer.
ocl-core/src/types/abs.rs:429
↓ 3 callersMethodas_ref
(&self)
ocl/src/standard/buffer.rs:2704
↓ 3 callersMethodas_slice_mut
(&mut self, len: usize)
ocl-core/src/types/abs.rs:785
↓ 3 callersMethodclean_up
(&mut self)
ocl-interop/tests/lib.rs:222
↓ 3 callersMethodcontext
Returns the `Context` associated with this command queue.
ocl-core/src/types/abs.rs:623
↓ 3 callersMethodconvert
Converts the contained list from a stack allocated to a heap allocated array [or vice-versa]. FIXME: Implement conversion from Vec -> array.
ocl/src/standard/event.rs:769
↓ 3 callersMethodcount
(&self)
ocl/src/standard/event.rs:267
↓ 3 callersFunctioncreate_build_program
Creates, builds, and returns a new program pointer from `src_strings`. TODO: Break out create and build parts into requisite functions then call from
ocl-core/src/functions.rs:4387
↓ 3 callersFunctioncreate_sampler
Creates and returns a new sampler object. [SDK Docs](https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clCreateSampler.html)
ocl-core/src/functions.rs:2007
↓ 3 callersMethodcreate_sub_buffer
( &mut self, region_idx: usize, flags: Option<MemFlags>, origin: u32,
ocl/ocl-extras/src/sub_buffer_pool.rs:60
↓ 3 callersMethoddevice
Returns the `OpenCL` device associated with this queue.
ocl/src/standard/queue.rs:83
↓ 3 callersMethoddevices
Returns the list of devices associated with this context. Panics upon any OpenCL error.
ocl/src/standard/context.rs:144
↓ 3 callersFunctionempty_event_array
Returns an empty, initialized (zeroed) event array.
ocl/src/standard/event.rs:317
↓ 3 callersFunctionenqueue_write_buffer
Enqueues a write from host memory, `data`, to device memory referred to by `buffer`. ## Safety Caller must ensure that `data` lives until the read i
ocl-core/src/functions.rs:3194
↓ 3 callersFunctionenqueue_write_image
Enqueues a command to write to an image or image array object from host memory. ## Safety Caller must ensure that `data` lives until the read is com
ocl-core/src/functions.rs:3567
↓ 3 callersFunctionfinish
Waits for a queue to finish. Blocks until all previously queued OpenCL commands in a command-queue are issued to the associated device and have compl
ocl-core/src/functions.rs:3042
↓ 3 callersMethodflush
Issues all previously queued OpenCL commands to the device.
ocl/src/standard/queue.rs:44
↓ 3 callersFunctiongen_region_origin
(dims: &[usize; 3])
ocl/src/tests/mod.rs:33
↓ 3 callersFunctiongen_region_origin
(dims: &[usize; 3])
ocl-core/src/tests/mod.rs:57
↓ 3 callersMethodget_mut
(&mut self, buffer_id: usize)
ocl/ocl-extras/src/sub_buffer_pool.rs:143
↓ 3 callersMethodinit
(&mut self)
ocl-interop/tests/lib.rs:45
↓ 3 callersMethodis_none
(&self)
ocl/src/standard/mod.rs:54
↓ 3 callersMethodis_valid
(&self)
ocl-core/src/types/abs.rs:1052
↓ 3 callersMethodnum
Returns the number of devices in the pointer list.
ocl-core/src/functions.rs:413
↓ 3 callersMethodoffset
Sets the linear offset for an operation. ## Panics The 'shape' may not have already been set to rectangular by the `::rect` function.
ocl/src/standard/buffer.rs:541
↓ 3 callersMethodpixel_element_len
Returns the length of each pixel element.
ocl/src/standard/image.rs:1243
↓ 3 callersMethodpoll_command
Polls the command event until it is complete then returns an `OrderGuard` which can be safely accessed immediately.
ocl/src/async/order_lock.rs:638
↓ 3 callersMethodprogram
Returns the program associated with this kernel.
ocl-core/src/types/abs.rs:922
↓ 3 callersMethodqueue
Returns a reference to the queue associated with this ProQue.
ocl/src/standard/pro_que.rs:183
↓ 3 callersMethodrender
(&mut self)
ocl-interop/tests/lib.rs:213
↓ 3 callersMethodrun
(&mut self)
ocl/ocl-extras/src/work_pool.rs:129
↓ 3 callersMethodset_glx_display
Specifies a Display pointer for the GLX context.
ocl-core/src/types/structs.rs:443
↓ 3 callersMethodset_platform
Specifies a platform.
ocl-core/src/types/structs.rs:417
↓ 3 callersMethodset_unmap_wait_events
Set an event wait list for the unmap command. Setting a wait list here will disallow any wait list from being set later if/when calling unmap manuall
ocl/src/async/future_mem_map.rs:56
↓ 3 callersMethodsrc_file
Adds the contents of a file to the program. TODO: Deprecate #[deprecated(since = "0.19.2", note = "Use `::source_file` instead.")]
ocl/src/standard/program.rs:262
↓ 3 callersMethodunmap
Returns an unmap command builder. Call `::enq` on it to enqueue the unmap command.
ocl/src/async/mem_map.rs:183
↓ 3 callersMethodunwrapped
(&self)
ocl-core/src/functions.rs:2267
↓ 3 callersMethodversion
Returns the platform driver version as a string. Returns the OpenCL version supported by the implementation. This version string has the following fo
ocl/src/standard/platform.rs:119
↓ 3 callersMethodwrite
(self)
ocl-core/src/lib.rs:877
↓ 2 callersMethod_as_ptr_ptr
Returns a pointer pointer expected when used as a wait list.
ocl-core/src/types/abs.rs:1175
↓ 2 callersMethod_count
Returns a count expected when used as a wait list.
ocl-core/src/types/abs.rs:1184
↓ 2 callersMethodapi_status
Returns the error status code for `Status` variants.
ocl-core/src/error.rs:56
↓ 2 callersFunctionarg_name
Returns the type name for a kernel argument at the specified index.
ocl/src/standard/kernel.rs:1735
↓ 2 callersMethodarg_smp
(&'s mut self, sampler: &'b Sampler)
ocl/src/standard/kernel.rs:1360
↓ 2 callersMethodas_ptr_ptr
(&self)
ocl-core/src/types/abs.rs:246
↓ 2 callersMethodbuffer
Returns the internal buffer.
ocl/src/async/buffer_sink.rs:217
↓ 2 callersMethodbuild
Builds and returns a new `Kernel`
ocl/src/standard/kernel.rs:1618
↓ 2 callersFunctionbytes_to_u32
Copies a byte slice to a new `u32`. ### Stability May depricate in favor of `bytes_to`
ocl-core/src/util.rs:102
↓ 2 callersMethodcopy
Copy contents of one buffer to another.
ocl/examples/async_menagerie.rs:194
↓ 2 callersMethodcopy_host_ptr
(self)
ocl-core/src/lib.rs:811
↓ 2 callersMethodcount
(&self)
ocl-core/src/types/abs.rs:250
↓ 2 callersMethodcreate_buffer
Returns a new buffer. The default dimensions and queue from this `ProQue` will be used. The buffer will be filled with zeros upon creation, blocking
ocl/src/standard/pro_que.rs:136
↓ 2 callersFunctioncreate_from_d3d11_buffer
Return a buffer pointer from a `D3D11` buffer object. [Version Controlled: OpenCL 1.2+] See module docs for more info. ## Safety The caller must en
ocl-core/src/functions.rs:1526
↓ 2 callersFunctioncreate_from_gl_buffer
( context: C, gl_object: cl_GLuint, flags: MemFlags, )
ocl-core/src/functions.rs:1324
↓ 2 callersMethodcreate_unmap_event
Create an event which will be triggered (set complete) after this future resolves into a `SinkMapGuard` **and** after that `SinkMapGuard` is dropped.
ocl/src/async/buffer_map_sink.rs:150
↓ 2 callersMethoddevice
Returns the `DeviceId` associated with this command queue.
ocl-core/src/types/abs.rs:614
↓ 2 callersMethoddevice_version
Returns the cached device version.
ocl/src/standard/queue.rs:88
↓ 2 callersMethoddevice_versions
(&self)
ocl-core/src/types/abs.rs:162
↓ 2 callersMethoddims
Returns the current `dims` or panics. [UNSTABLE]: Evaluate which 'dims' method to keep. Leaning towards this version at the moment.
ocl/src/standard/pro_que.rs:201
↓ 2 callersMethodenew_release
Creates an event which will be triggered after this future resolves and** the ensuing `OrderGuard` is dropped or manually released. `enew` must be an
ocl/src/async/order_lock.rs:456
↓ 2 callersMethodenew_unmap
Specifies an event which will be triggered (set complete) after this future resolves into a `MemMap` **and** after that `MemMap` is dropped or manuall
ocl/src/async/future_mem_map.rs:98
↓ 2 callersMethodenq_details
( &mut self, )
ocl/src/standard/buffer.rs:2020
↓ 2 callersFunctionenqueue_acquire_d3d11_objects
Acquire D3D11 memory objects (buffers and images) that have been created from D3D11 objects. To create a slice from a single `Mem` reference without
ocl-core/src/functions.rs:1681
↓ 2 callersFunctionenqueue_acquire_gl_objects
( command_queue: &CommandQueue, buffers: &[Mem], wait_list: Option<Ewl>, new_event: Option<En>
ocl-core/src/functions.rs:3451
↓ 2 callersMethodenqueue_marker
Enqueue a marker event representing the completion of each and every event in this list.
ocl/src/standard/event.rs:509
↓ 2 callersFunctionenqueue_release_d3d11_objects
Release D3D11 memory objects (buffers and images) that have been created from D3D11 objects. To create a slice from a single `Mem` reference without
ocl-core/src/functions.rs:1720
↓ 2 callersFunctionenqueue_release_gl_objects
( command_queue: &CommandQueue, buffers: &[Mem], wait_list: Option<Ewl>, new_event: Option<En>
ocl-core/src/functions.rs:3483
↓ 2 callersMethodenqueue_unmap
Enqueues an unmap command for this memory object immediately. Prefer `::unmap` for a more stable interface as this function may change at any time.
ocl/src/async/mem_map.rs:191
↓ 2 callersFunctionenqueue_unmap_mem_object
Enqueues a command to unmap a previously mapped region of a memory object. [SDK Docs](https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clEn
ocl-core/src/functions.rs:3940
↓ 2 callersFunctionextract_order_lock
Extracts an `OrderLock` from a guard of either type. This saves us two unnecessary atomic stores (the reference count of lock going up then down when
ocl/src/async/order_lock.rs:40
↓ 2 callersMethodfill
Specifies that this command will be a fill operation. If `.block(..)` has been set it will be ignored. `pattern` is the vector or scalar value to re
ocl/src/standard/buffer.rs:487
↓ 2 callersMethodfree
Deallocates the buffer identified by `buffer_id` or returns it back in the event of a failure.
ocl/ocl-extras/src/sub_buffer_pool.rs:118
↓ 2 callersFunctiongen_kern_src
(kernel_name: &str, type_str: &str, simple: bool, add: bool)
ocl/examples/device_check.rs:281
↓ 2 callersFunctionget_command_queue_info
Returns information about a command queue
ocl-core/src/functions.rs:1226
↓ 2 callersFunctionget_context_info_unparsed
(context: C, request: ContextInfo)
ocl-core/src/functions.rs:992
↓ 2 callersFunctionget_device_info_raw
Returns raw information about a device, as a vector of bytes.
ocl-core/src/functions.rs:695
↓ 2 callersFunctionget_event_info
Get event info.
ocl-core/src/functions.rs:2825
↓ 2 callersFunctionget_kernel_name
Returns the name of a kernel.
ocl-core/src/functions.rs:4378
↓ 2 callersFunctionget_program_build_info
Get program build info.
ocl-core/src/functions.rs:2541
↓ 2 callersFunctionget_program_info
Get program info.
ocl-core/src/functions.rs:2525
↓ 2 callersFunctionget_program_info_raw
(program: &Program, request: ProgramInfo)
ocl-core/src/functions.rs:2463
↓ 2 callersFunctionget_properties_list
()
ocl-interop/src/lib.rs:23
↓ 2 callersMethodget_src_strings
Returns the final program source code as a list of strings. ### Order of Inclusion 1. Macro definitions and code strings specified by a `BuildOpt::I
ocl/src/standard/program.rs:461
↓ 2 callersMethodlen_stale
Returns the length of the internal `Vec`. ### Concurrency Considerations The returned length is to be considered immediately stale (out of date) due
ocl/src/async/rw_vec.rs:78
↓ 2 callersMethodmap
Specifies that this command will be a map operation. Enqueuing a map command will map a region of a buffer into the host address space and return a [
ocl/src/standard/buffer.rs:311
↓ 2 callersMethodmatches
Returns true if `type_id` matches the base type of this `ArgType`.
ocl/src/standard/kernel.rs:1911
↓ 2 callersMethodnew_arg_scl
Non-builder-style version of `::arg_scl()`.
ocl/src/standard/kernel.rs:1269
↓ 2 callersMethodnew_arg_vec
Non-builder-style version of `::arg_vec()`.
ocl/src/standard/kernel.rs:1281
↓ 2 callersFunctionpoll_events
Polls events for `EventArray` and `EventList`
ocl/src/standard/event.rs:329
← previousnext →201–300 of 1,097, ranked by callers