MCPcopy Create free account

hub / github.com/cogciprocate/ocl / functions

Functions1,097 in github.com/cogciprocate/ocl

Methodalloc_new
(&mut self)
ocl/src/standard/mod.rs:332
Methodalloc_new
(&mut self)
ocl/src/standard/event.rs:251
Methodarg_img_named
( &'s mut self, name: S, image_opt: Option<&'b M>, )
ocl/src/standard/kernel.rs:1496
Methodarg_info
Returns argument information for this kernel.
ocl/src/standard/kernel.rs:927
Methodarg_loc
(&'s mut self, length: usize)
ocl/src/standard/kernel.rs:1397
Methodarg_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
Methodarg_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
Methodarg_smp_named
( &'s mut self, name: S, sampler_opt: Option<&'b Sampler>, )
ocl/src/standard/kernel.rs:1518
Methodarg_vec_named
( &'s mut self, name: &'static str, vector: T, )
ocl/src/standard/kernel.rs:1560
Methodarray_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
Methodas_core
(&self)
ocl/src/standard/program.rs:89
Methodas_core
(&self)
ocl/src/standard/buffer.rs:2548
Methodas_core
Returns the underlying `DeviceIdCore`.
ocl/src/standard/device.rs:466
Methodas_core
(&self)
ocl/src/standard/queue.rs:73
Methodas_core
(&self)
ocl/src/standard/context.rs:137
Methodas_core
Returns a reference to the underlying `PlatformIdCore`.
ocl/src/standard/platform.rs:151
Methodas_mem
(&self)
ocl/src/async/buffer_map_sink.rs:103
Methodas_mem
(&self)
ocl/src/async/mem_map.rs:322
Methodas_mut_ptr
(&mut self)
ocl/src/async/buffer_map_sink.rs:50
Methodas_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
Methodas_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
Methodas_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
Methodas_ptr
(&self)
ocl/src/standard/device.rs:658
Methodas_ptr
(&self)
ocl/src/standard/context.rs:201
Methodas_ptr
(&self)
ocl/src/standard/platform.rs:167
Methodas_ptr
(&self)
ocl/src/async/buffer_map_sink.rs:47
Methodas_ptr_mut
(&mut self)
ocl-core/src/types/abs.rs:1135
Methodas_ptr_ptr
(&self)
ocl/src/standard/mod.rs:175
Methodas_raw
Returns the size (in bytes) and raw pointer to the contained kernel argument value.
ocl-core/src/types/structs.rs:149
Methodas_ref
(&self)
ocl/src/standard/device.rs:694
Methodas_ref
(&self)
ocl/src/standard/queue.rs:117
Functionbad_kernel_variable_names
()
ocl/src/tests/build_error.rs:6
Functionbad_kernel_variable_names
()
ocl-core/src/tests/build_error.rs:6
Functionbasics
()
ocl-core/src/tests/depricated/test_basics.rs:6
Methodbinaries
Adds a binary to be loaded. There must be one binary for each device listed in `::devices`.
ocl/src/standard/program.rs:322
Methodblock
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
Methodbo
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
Methodbuffer
Returns the internal buffer.
ocl/src/async/buffer_stream.rs:240
Methodbuffer
(&self)
ocl/src/async/buffer_map_sink.rs:470
Functionbuffer_copy_core
()
ocl/src/tests/buffer_copy.rs:6
Functionbuffer_copy_core
()
ocl-core/src/tests/buffer_copy.rs:8
Functionbuffer_copy_standard
()
ocl/src/tests/buffer_copy.rs:139
Functionbuffer_ops_rect
()
ocl/src/tests/buffer_ops_rect.rs:16
Functionbuffer_ops_rect
()
ocl-core/src/tests/buffer_ops_rect.rs:14
Functionbuffer_sink_stream_cycles
()
ocl/src/tests/buffer_sink_stream_cycles.rs:566
Methodbuffer_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
Methodbuild
(&self, context: &Context)
ocl/src/standard/program.rs:500
Methodbuild
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
Methodbuild
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
Methodbuild_info
Returns info about this program's build. TODO: Check that device is valid.
ocl/src/standard/program.rs:101
Methodbuilder
Returns a new `ProgramBuilder`.
ocl/src/standard/program.rs:34
Methodbuilder
Returns a new buffer builder. This is the preferred (and forward compatible) way to create a buffer.
ocl/src/standard/buffer.rs:2162
Methodbuilder
Returns an `ImageBuilder`. This is the recommended method to create a new `Image`.
ocl/src/standard/image.rs:816
Methodbuilder
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
Methodbuilder
Returns a new `KernelBuilder`.
ocl/src/standard/kernel.rs:595
Methodbuilder
Returns a [`ContextBuilder`](/ocl/ocl/struct.ContextBuilder.html). This is the preferred way to create a Context.
ocl/src/standard/context.rs:33
Methodby_idx_wrap
Returns a single device specified by a wrapped index.
ocl/src/standard/device.rs:259
Functionbytes_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
Functionbytes_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
Functionbytes_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
Functionbytes_to_vec
Copies a slice of bytes into a vector of arbitrary type. ### Safety Negative.
ocl-core/src/util.rs:186
Functionclear_completed
()
ocl/src/tests/clear_completed.rs:4
Functionclear_completed
()
ocl-core/src/tests/clear_completed.rs:2
Methodclone_from
(&mut self, ev: E)
ocl/src/standard/event.rs:256
Methodclone_from
(&mut self, _: E)
ocl-core/src/types/abs.rs:225
Methodcmplr_def
Returns a `BuildOpt::CmplrDefine`.
ocl/src/standard/program.rs:172
Methodcmplr_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
Functioncompile_program
( program: &Program, devices: Option<&[D]>, options: &CString, input_headers: &[&Program],
ocl-core/src/functions.rs:2327
Functioncompile_program
()
ocl-core/src/tests/compile_program.rs:4
Methodcomplete
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
Methodcomplete_release_event
Triggers the release event by setting it complete.
ocl/src/async/order_lock.rs:123
Methodcomplete_work
Submit a future which contains non-trivial CPU work (including memcpy).
ocl/ocl-extras/src/work_pool_old.rs:49
Functioncomplex_kernel
()
ocl/src/tests/complex_kernel.rs:88
Functioncomplex_kernel
()
ocl-core/src/tests/complex_kernel.rs:86
Functionconcurrent
()
ocl/src/tests/concurrent.rs:28
Functionconcurrent
()
ocl-core/src/tests/concurrent.rs:21
Methodcontext
Returns the contained context.
ocl/src/standard/pro_que.rs:188
Methodcontext
Returns a copy of the Context associated with this queue.
ocl/src/standard/queue.rs:78
Methodcopy
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
Methodcopy_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
Methodcopy_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
Methodcopy_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
Methodcount
(&self)
ocl/src/standard/mod.rs:192
Methodcpu
(self)
ocl-core/src/lib.rs:643
Functioncreate_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
Functioncreate_from_gl_texture_2d
( context: C, texture_target: cl_GLenum, miplevel: cl_GLint, texture: cl_GLuint, flags: Me
ocl-core/src/functions.rs:1457
Functioncreate_from_gl_texture_3d
( context: C, texture_target: cl_GLenum, miplevel: cl_GLint, texture: cl_GLuint, flags: Me
ocl-core/src/functions.rs:1489
Functioncreate_kernels_in_program
[UNIMPLEMENTED: Please implement me]
ocl-core/src/functions.rs:2604
Functioncreate_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
Functioncreate_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
Methodcreate_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
Functioncreate_sub_devices
[UNIMPLEMENTED: Please implement me] [Version Controlled: OpenCL 1.2+] See module docs for more info.
ocl-core/src/functions.rs:773
Methodcustom
(self)
ocl-core/src/lib.rs:655
Methodd3d11_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
Methodd3d11_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
Methodd3d11_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
Methodd3d11_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
Methoddefault
()
ocl/src/standard/device.rs:177
Methoddefault
()
ocl/src/standard/event.rs:212
Methoddefault
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
← previousnext →601–700 of 1,097, ranked by callers