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
alloc_new
(&mut self)
ocl/src/standard/mod.rs:332
Method
alloc_new
(&mut self)
ocl/src/standard/event.rs:251
Method
arg_img_named
( &'s mut self, name: S, image_opt: Option<&'b M>, )
ocl/src/standard/kernel.rs:1496
Method
arg_info
Returns argument information for this kernel.
ocl/src/standard/kernel.rs:927
Method
arg_loc
(&'s mut self, length: usize)
ocl/src/standard/kernel.rs:1397
Method
arg_local
Adds a new argument specifying the allocation of a local variable of size `length * sizeof(T)` bytes (builder_style). The argument is added to the bo
ocl/src/standard/kernel.rs:1420
Method
arg_sampler_named
Adds a new *named* argument specifying the sampler object represented by 'sampler'. The argument is added to the bottom of the argument order. Named
ocl/src/standard/kernel.rs:1579
Method
arg_smp_named
( &'s mut self, name: S, sampler_opt: Option<&'b Sampler>, )
ocl/src/standard/kernel.rs:1518
Method
arg_vec_named
( &'s mut self, name: &'static str, vector: T, )
ocl/src/standard/kernel.rs:1560
Method
array_size
Image array size. The number of images in the image array. This is only used if the image is a 1D or 2D image array. The values for image_array_size,
ocl/src/standard/image.rs:1593
Method
as_core
(&self)
ocl/src/standard/program.rs:89
Method
as_core
(&self)
ocl/src/standard/buffer.rs:2548
Method
as_core
Returns the underlying `DeviceIdCore`.
ocl/src/standard/device.rs:466
Method
as_core
(&self)
ocl/src/standard/queue.rs:73
Method
as_core
(&self)
ocl/src/standard/context.rs:137
Method
as_core
Returns a reference to the underlying `PlatformIdCore`.
ocl/src/standard/platform.rs:151
Method
as_mem
(&self)
ocl/src/async/buffer_map_sink.rs:103
Method
as_mem
(&self)
ocl/src/async/mem_map.rs:322
Method
as_mut_ptr
(&mut self)
ocl/src/async/buffer_map_sink.rs:50
Method
as_mut_slice
Returns a mutable slice into the contained memory region. Used by buffer command builders when preparing future read and write commands. Do not use
ocl/src/async/buffer_sink.rs:403
Method
as_mut_slice
Returns a mutable slice into the contained memory region. Used by buffer command builders when preparing future read and write commands. Do not use
ocl/src/async/buffer_stream.rs:417
Method
as_mut_slice
Returns a mutable slice into the contained `Vec`. Used by buffer command builders when preparing future read and write commands. Do not use unless y
ocl/src/async/rw_vec.rs:64
Method
as_ptr
(&self)
ocl/src/standard/device.rs:658
Method
as_ptr
(&self)
ocl/src/standard/context.rs:201
Method
as_ptr
(&self)
ocl/src/standard/platform.rs:167
Method
as_ptr
(&self)
ocl/src/async/buffer_map_sink.rs:47
Method
as_ptr_mut
(&mut self)
ocl-core/src/types/abs.rs:1135
Method
as_ptr_ptr
(&self)
ocl/src/standard/mod.rs:175
Method
as_raw
Returns the size (in bytes) and raw pointer to the contained kernel argument value.
ocl-core/src/types/structs.rs:149
Method
as_ref
(&self)
ocl/src/standard/device.rs:694
Method
as_ref
(&self)
ocl/src/standard/queue.rs:117
Function
bad_kernel_variable_names
()
ocl/src/tests/build_error.rs:6
Function
bad_kernel_variable_names
()
ocl-core/src/tests/build_error.rs:6
Function
basics
()
ocl-core/src/tests/depricated/test_basics.rs:6
Method
binaries
Adds a binary to be loaded. There must be one binary for each device listed in `::devices`.
ocl/src/standard/program.rs:322
Method
block
Specifies whether or not to block the current thread until completion. Ignored if this is not a read or write operation. Default is `block = true`.
ocl/src/standard/buffer.rs:530
Method
bo
Pushes pre-created build option to the list of options. If either `::il` or `::binaries` are used and raw source is added, it will be ignored.
ocl/src/standard/program.rs:253
Method
buffer
Returns the internal buffer.
ocl/src/async/buffer_stream.rs:240
Method
buffer
(&self)
ocl/src/async/buffer_map_sink.rs:470
Function
buffer_copy_core
()
ocl/src/tests/buffer_copy.rs:6
Function
buffer_copy_core
()
ocl-core/src/tests/buffer_copy.rs:8
Function
buffer_copy_standard
()
ocl/src/tests/buffer_copy.rs:139
Function
buffer_ops_rect
()
ocl/src/tests/buffer_ops_rect.rs:16
Function
buffer_ops_rect
()
ocl-core/src/tests/buffer_ops_rect.rs:14
Function
buffer_sink_stream_cycles
()
ocl/src/tests/buffer_sink_stream_cycles.rs:566
Method
buffer_sync
Buffer synchronization. Refers to a valid buffer memory object if image_type is `MemObjectType::Image1dBuffer`. Otherwise it must be `None` (default)
ocl/src/standard/image.rs:1640
Method
build
(&self, context: &Context)
ocl/src/standard/program.rs:500
Method
build
Creates a buffer and returns it. Dimensions and either a context or default queue must be specified before calling `::build`.
ocl/src/standard/buffer.rs:2978
Method
build
Returns a new `Context` with the parameters hitherinforthto specified (say what?). Returns a newly created context with the specified platform and se
ocl/src/standard/context.rs:333
Method
build_info
Returns info about this program's build. TODO: Check that device is valid.
ocl/src/standard/program.rs:101
Method
builder
Returns a new `ProgramBuilder`.
ocl/src/standard/program.rs:34
Method
builder
Returns a new buffer builder. This is the preferred (and forward compatible) way to create a buffer.
ocl/src/standard/buffer.rs:2162
Method
builder
Returns an `ImageBuilder`. This is the recommended method to create a new `Image`.
ocl/src/standard/image.rs:816
Method
builder
Returns a new `ProQueBuilder`. This is the recommended way to create a new `ProQue`. Calling `ProQueBuilder::build()` will return a new `ProQue`.
ocl/src/standard/pro_que.rs:53
Method
builder
Returns a new `KernelBuilder`.
ocl/src/standard/kernel.rs:595
Method
builder
Returns a [`ContextBuilder`](/ocl/ocl/struct.ContextBuilder.html). This is the preferred way to create a Context.
ocl/src/standard/context.rs:33
Method
by_idx_wrap
Returns a single device specified by a wrapped index.
ocl/src/standard/device.rs:259
Function
bytes_into
Converts a vector of bytes into a value of arbitrary type. ### Safety Roughly equivalent to a weekend in Tijuana. [NOTE]: Not sure this is the best
ocl-core/src/util.rs:141
Function
bytes_into_vec
Converts a vector of bytes into a vector of arbitrary type. ### Safety Ummm... Say what? TODO: Consider using `alloc::heap::reallocate_inplace` equ
ocl-core/src/util.rs:162
Function
bytes_to
Copies a slice of bytes to a new value of arbitrary type. ### Safety You may want to wear a helmet.
ocl-core/src/util.rs:117
Function
bytes_to_vec
Copies a slice of bytes into a vector of arbitrary type. ### Safety Negative.
ocl-core/src/util.rs:186
Function
clear_completed
()
ocl/src/tests/clear_completed.rs:4
Function
clear_completed
()
ocl-core/src/tests/clear_completed.rs:2
Method
clone_from
(&mut self, ev: E)
ocl/src/standard/event.rs:256
Method
clone_from
(&mut self, _: E)
ocl-core/src/types/abs.rs:225
Method
cmplr_def
Returns a `BuildOpt::CmplrDefine`.
ocl/src/standard/program.rs:172
Method
cmplr_opt
Adds a build option containing a raw compiler command line parameter. Formatted as `{}` (exact text). ## Example `...cmplr_opt("-g")...`
ocl/src/standard/program.rs:244
Function
compile_program
( program: &Program, devices: Option<&[D]>, options: &CString, input_headers: &[&Program],
ocl-core/src/functions.rs:2327
Function
compile_program
()
ocl-core/src/tests/compile_program.rs:4
Method
complete
Submits a future which need only be polled to completion and that contains no intensive CPU work (including memcpy).
ocl/ocl-extras/src/work_pool.rs:195
Method
complete_release_event
Triggers the release event by setting it complete.
ocl/src/async/order_lock.rs:123
Method
complete_work
Submit a future which contains non-trivial CPU work (including memcpy).
ocl/ocl-extras/src/work_pool_old.rs:49
Function
complex_kernel
()
ocl/src/tests/complex_kernel.rs:88
Function
complex_kernel
()
ocl-core/src/tests/complex_kernel.rs:86
Function
concurrent
()
ocl/src/tests/concurrent.rs:28
Function
concurrent
()
ocl-core/src/tests/concurrent.rs:21
Method
context
Returns the contained context.
ocl/src/standard/pro_que.rs:188
Method
context
Returns a copy of the Context associated with this queue.
ocl/src/standard/queue.rs:78
Method
copy
Specifies that this command will be a copy operation. If `.block(..)` has been set it will be ignored. `dst_offset` defaults to `0`, `len` defaults
ocl/src/standard/buffer.rs:345
Method
copy_host_slice
Specifies a region of memory to copy into the buffer upon creation. Automatically sets the `flags::MEM_COPY_HOST_PTR` aka. `MemFlags::new().copy_host
ocl/src/standard/buffer.rs:2892
Method
copy_to_buffer
Specifies that this command will be a copy to image. If `.block(..)` has been set it will be ignored. ## Panics The command operation kind must not
ocl/src/standard/image.rs:253
Method
copy_to_image
Specifies that this command will be a copy to image operation. If `.block(..)` has been set it will be ignored. ## Panics The command operation kin
ocl/src/standard/buffer.rs:376
Method
count
(&self)
ocl/src/standard/mod.rs:192
Method
cpu
(self)
ocl-core/src/lib.rs:643
Function
create_context_from_type
Creates a new context pointer for all devices of a specific type. Platform is specified in `properties`. If `properties` is `None`, the platform may
ocl-core/src/functions.rs:914
Function
create_from_gl_texture_2d
( context: C, texture_target: cl_GLenum, miplevel: cl_GLint, texture: cl_GLuint, flags: Me
ocl-core/src/functions.rs:1457
Function
create_from_gl_texture_3d
( context: C, texture_target: cl_GLenum, miplevel: cl_GLint, texture: cl_GLuint, flags: Me
ocl-core/src/functions.rs:1489
Function
create_kernels_in_program
[UNIMPLEMENTED: Please implement me]
ocl-core/src/functions.rs:2604
Function
create_program_with_built_in_kernels
[UNIMPLEMENTED: Please implement me] [Version Controlled: OpenCL 1.2+] See module docs for more info.
ocl-core/src/functions.rs:2192
Function
create_sub_buffer
Creates a new buffer object (referred to as a sub-buffer object) from an existing buffer object. The returned sub-buffer has a number of caveats whic
ocl-core/src/functions.rs:1761
Method
create_sub_buffer
Creates a new sub-buffer from a region of this buffer. ### Flags (adapted from [SDK]) [NOTE]: Flags described below can be found in the [`ocl::flags
ocl/src/standard/buffer.rs:2608
Function
create_sub_devices
[UNIMPLEMENTED: Please implement me] [Version Controlled: OpenCL 1.2+] See module docs for more info.
ocl-core/src/functions.rs:773
Method
custom
(self)
ocl-core/src/lib.rs:655
Method
d3d11_acquire
Specifies that this command will acquire a D3D11 buffer. If `.block(..)` has been set it will be ignored. ## Panics The command operation kind must
ocl/src/standard/buffer.rs:442
Method
d3d11_acquire
Specifies that this command will acquire a D3D11 buffer. If `.block(..)` has been set it will be ignored. ## Panics The command operation kind must
ocl/src/standard/image.rs:310
Method
d3d11_release
Specifies that this command will release a D3D11 buffer. If `.block(..)` has been set it will be ignored. ## Panics The command operation kind must
ocl/src/standard/buffer.rs:460
Method
d3d11_release
Specifies that this command will release a D3D11 buffer. If `.block(..)` has been set it will be ignored. ## Panics The command operation kind must
ocl/src/standard/image.rs:328
Method
default
()
ocl/src/standard/device.rs:177
Method
default
()
ocl/src/standard/event.rs:212
Method
default
Returns the first (0th) platform available, or the platform specified by the `OCL_DEFAULT_PLATFORM_IDX` environment variable if it is set. ### Panics
ocl/src/standard/platform.rs:181
← previous
next →
601–700 of 1,097, ranked by callers