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
fmt
(&self, f: &mut std::fmt::Formatter)
ocl/src/standard/device.rs:688
Method
fmt
(&self, f: &mut std::fmt::Formatter)
ocl/src/standard/sampler.rs:91
Method
fmt
(&self, f: &mut fmt::Formatter)
ocl/src/standard/event.rs:238
Method
fmt
(&self, f: &mut std::fmt::Formatter)
ocl/src/standard/image.rs:1313
Method
fmt
(&self, f: &mut std::fmt::Formatter)
ocl/src/standard/queue.rs:111
Method
fmt
(&self, f: &mut std::fmt::Formatter)
ocl/src/standard/kernel.rs:1008
Method
fmt
(&self, f: &mut std::fmt::Formatter)
ocl/src/standard/context.rs:181
Method
fmt
(&self, f: &mut std::fmt::Formatter)
ocl/src/standard/platform.rs:212
Method
fmt
(&self, fmtr: &mut std::fmt::Formatter)
ocl-core/src/lib.rs:1007
Method
fmt
(&self, f: &mut std::fmt::Formatter<'_>)
ocl-core/src/extension_functions.rs:90
Method
fmt
(&self, f: &mut fmt::Formatter)
ocl-core/src/functions.rs:191
Method
fmt
(&self, f: &mut std::fmt::Formatter)
ocl-core/src/types/structs.rs:268
Method
fmt
(&self, f: &mut fmt::Formatter)
ocl-core/src/types/enums.rs:66
Function
fmt_duration
(duration: chrono::Duration)
ocl/examples/async_process.rs:33
Function
fmt_duration
Returns a nicely formatted duration in seconds.
ocl/examples/async_menagerie.rs:702
Function
fmt_duration
(duration: Duration)
ocl/examples/proto/src/async_cycles_2stage.rs:78
Function
fmt_duration
(duration: chrono::Duration)
ocl/examples/proto/src/async_basics.rs:35
Method
from
(err: OclCoreError)
ocl/src/error.rs:52
Method
from
(core: ProgramCore)
ocl/src/standard/program.rs:125
Method
from
(q: Queue)
ocl/src/standard/buffer.rs:76
Method
from
(index: usize)
ocl/src/standard/device.rs:183
Method
from
(e: &'a RawEventArray)
ocl/src/standard/mod.rs:211
Method
from
(ev: EventCore)
ocl/src/standard/event.rs:191
Method
from
(idx: u32)
ocl/src/standard/kernel.rs:268
Method
from
(sd: &'a SpatialDims)
ocl/src/standard/spatial_dims.rs:205
Method
from
(c: ContextCore)
ocl/src/standard/context.rs:175
Method
from
(core: PlatformIdCore)
ocl/src/standard/platform.rs:188
Method
from
(order_lock: OrderLock<Inner<T>>)
ocl/src/async/buffer_sink.rs:417
Method
from
(order_lock: OrderLock<Inner<T>>)
ocl/src/async/buffer_stream.rs:431
Method
from
(q: QrwLock<V>)
ocl/src/async/order_lock.rs:959
Method
from
(q: QrwLock<Vec<T>>)
ocl/src/async/rw_vec.rs:94
Method
from
(err: ::std::io::Error)
ocl/ocl-extras/src/work_pool.rs:23
Method
from
(devices: Option<&[D]>)
ocl-core/src/functions.rs:422
Method
from
(desc: &'a str)
ocl-core/src/error.rs:66
Method
from
(ver: [u16; 2])
ocl-core/src/types/structs.rs:262
Method
from
(ir: PlatformInfoResult)
ocl-core/src/types/enums.rs:221
Method
from_buffer
Returns a new `BufferSink`. ## Safety `buffer` must not have the same region mapped more than once.
ocl/src/async/buffer_sink.rs:299
Method
from_buffer
Returns a new `BufferStream`. ## Safety `buffer` must not have the same region mapped more than once. ## Note The buffer will initially be mapped
ocl/src/async/buffer_stream.rs:304
Method
from_buffer
Returns a new `BufferMapSink`. ## Safety `buffer` must not have the same region mapped more than once.
ocl/src/async/buffer_map_sink.rs:430
Method
from_bytes
(ffi_struct: cl_buffer_region)
ocl-core/src/types/structs.rs:824
Method
from_bytes
(request: PlatformInfo, result: Vec<u8>)
ocl-core/src/types/enums.rs:168
Method
from_bytes_max_work_item_sizes
Returns a new `DeviceInfoResult::MaxWorkItemSizes` variant.
ocl-core/src/types/enums.rs:316
Method
from_d3d11_buffer
Creates a buffer linked to a previously created D3D11 buffer object. [UNTESTED] ### Errors Remember to specify the D3D11 device when creating the C
ocl/src/standard/buffer.rs:2292
Method
from_d3d11_texture2d
Returns a new `Image` from an existant ID3D11Texture2D. Remember to specify the D3D11 device when creating the CL context, using `.properties()` and
ocl/src/standard/image.rs:1003
Method
from_d3d11_texture3d
Returns a new `Image` from an existant ID3D11Texture2D. Remember to specify the D3D11 device when creating the CL context, using `.properties()` and
ocl/src/standard/image.rs:1073
Method
from_gl_buffer
( que_ctx: Q, flags_opt: Option<MemFlags>, gl_object: cl_GLuint, )
ocl/src/standard/buffer.rs:2242
Method
from_gl_renderbuffer
( que_ctx: Q, flags: MemFlags, image_desc: ImageDescriptor, renderbuffer: cl_G
ocl/src/standard/image.rs:957
Method
from_gl_texture
( que_ctx: Q, flags: MemFlags, image_desc: ImageDescriptor, texture_target: Gl
ocl/src/standard/image.rs:884
Method
from_info_str
Parse the string `ver` and return a dual-integer result as `OpenclVersion`. Looks for the sequence of chars, "OpenCL" (non-case-sensitive), then spli
ocl-core/src/types/structs.rs:192
Method
from_kern_and_idx
Returns a new argument type specifier. This function calls `core::get_kernel_arg_info`. Some platforms (Apple, NVIDIA) either do not implement `core:
ocl/src/standard/kernel.rs:1883
Method
from_raw
(ptr: cl_event)
ocl/src/standard/event.rs:162
Method
from_raw
Creates a new `PlatformId` wrapper from a raw pointer.
ocl-core/src/types/abs.rs:363
Method
from_raw
Returns a new `ArgVal` containing the size in bytes and a raw pointer to the argument value. ### Safety Caller must ensure that the value pointed to
ocl-core/src/types/structs.rs:138
Method
from_raw_copied_ptr
Only call this when passing a copied pointer such as from an `clGet*****Info` function.
ocl-core/src/types/abs.rs:490
Method
from_raw_create_ptr
Only call this when passing **the original** newly created pointer directly from `clCreate...`. Do not use this to clone or copy.
ocl-core/src/types/abs.rs:483
Method
from_str
Ascertains a `KernelArgType` from the contents of a `KernelArgInfoResult::TypeName`. TODO: Optimize or outsource this if possible. Is `::contains` th
ocl/src/standard/kernel.rs:1823
Method
future_guard
Returns a mutable reference to the contained `FutureGuard`.
ocl/src/async/buffer_sink.rs:22
Method
future_guard
Returns a mutable reference to the contained `FutureGuard`.
ocl/src/async/buffer_stream.rs:22
Method
get_device_by_wrapping_index
Returns a device by its ordinal count within this context. Round-robins (%) to the next valid device.
ocl/src/standard/context.rs:102
Method
get_device_spec
Returns the devices specified to be associated the program.
ocl/src/standard/program.rs:382
Method
get_finish_events
(&mut self)
ocl/examples/async_menagerie.rs:124
Method
get_finish_events
(&self, event_list: &mut EventList)
ocl/ocl-extras/src/command_graph.rs:320
Function
get_gl_context_info_khr
( properties: &ContextProperties, request: GlContextInfo, )
ocl-core/src/functions.rs:1093
Method
get_gws
(&self)
ocl/src/standard/kernel.rs:857
Method
gl_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/buffer.rs:406
Method
gl_context
Specifies an OpenGL context to associate with. Overwrites any previously specified OpenGL context.
ocl/src/standard/context.rs:289
Method
gl_context
Specifies an OpenGL context handle (builder-style).
ocl-core/src/types/structs.rs:379
Method
gl_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/buffer.rs:424
Method
glx_display
Specifies a Display pointer for the GLX context. Overwrites any previously specified GLX context.
ocl/src/standard/context.rs:298
Method
glx_display
Specifies a Display pointer for the GLX context (builder-style).
ocl-core/src/types/structs.rs:385
Method
id
Returns a pointer address to the internal memory region, usable as a unique identifier.
ocl/src/async/buffer_sink.rs:411
Method
id
Returns a pointer address to the internal memory region, usable as a unique identifier.
ocl/src/async/buffer_stream.rs:425
Method
id
Returns a pointer address to the internal array, usable as a unique identifier. Note that resizing the `Vec` will likely change the address. Also, th
ocl/src/async/rw_vec.rs:88
Method
image_desc
Specifies the image descriptor containing a number of important settings. If unspecified (not recommended), defaults to: ```rust,ignore ImageDescrip
ocl/src/standard/image.rs:1693
Method
image_format
Specifies the image pixel format. If unspecified, defaults to: ```rust,ignore ImageFormat { channel_order: ImageChannelOrder::Rgba, channel_data_typ
ocl/src/standard/image.rs:1655
Function
image_ops
()
ocl/src/tests/image_ops.rs:21
Function
image_ops
()
ocl-core/src/tests/image_ops.rs:15
Method
include_def
Returns a `BuildOpt::IncludeDefine`.
ocl/src/standard/program.rs:180
Method
indices
Returns a `DeviceSpecifier::Indices` variant which specifies a list of devices by index. ### Safety This variant is context-specific, not robust, a
ocl/src/standard/device.rs:123
Method
info_raw
Returns raw info about the device, as a vector of bytes. Intended for use with non-standard OpenCL extensions.
ocl/src/standard/device.rs:451
Method
interop_user_sync
Specifies whether the user is responsible for synchronization between OpenCL and other APIs (builder-style).
ocl-core/src/types/structs.rs:373
Method
into_marker
Converts this `ClWaitListPtrEnum` into a single marker event.
ocl/src/standard/mod.rs:150
Method
into_marker
Enqueue a marker event representing the completion of each and every event in this list.
ocl/src/standard/event.rs:1455
Method
is_match
Returns true if the type of `T` matches the base type of this `ArgType`.
ocl/src/standard/kernel.rs:1978
Method
is_ptr
(&self)
ocl/src/standard/kernel.rs:1983
Method
is_sub_buffer
(&self)
ocl/src/standard/buffer.rs:2471
Method
is_unmapped
(&self)
ocl/src/async/mem_map.rs:261
Method
is_unspec
(&'c self)
ocl/src/standard/buffer.rs:132
Method
is_unspec
(&'c self)
ocl/src/standard/image.rs:59
Method
is_unspecified
Returns `true` if this `SpatialDims` is an `Unspecified` variant.
ocl/src/standard/spatial_dims.rs:125
Function
it_doesnt_crash
()
ocl-interop/src/lib.rs:81
Function
kernel_arg_float_size
()
ocl/src/tests/kernel_arg.rs:127
Function
kernel_arg_named_none
()
ocl/src/tests/kernel_arg.rs:105
Function
kernel_arg_owned_mem
()
ocl/src/tests/kernel_arg.rs:54
Function
kernel_arg_ptr_out_of_scope
()
ocl/src/tests/kernel_arg.rs:28
Function
kernel_arg_ptr_out_of_scope
()
ocl-core/src/tests/kernel_arg.rs:18
Method
len
Specifies the offset to use for this map only.
ocl/src/async/buffer_map_sink.rs:307
Method
list
Returns a `DeviceSpecifier::List` variant which specifies a list of devices.
ocl/src/standard/device.rs:101
Method
list
Returns a list of all platforms avaliable on the host machine.
ocl/src/standard/platform.rs:47
Method
list_all
Returns a list of all devices avaliable for a given `platform`. Equivalent to `::list(platform, None)`. See [`::list`](struct.Device.html#method.lis
ocl/src/standard/device.rs:353
← previous
next →
801–900 of 1,097, ranked by callers