Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/calebwin/emu
/ types & classes
Types & classes
46 in github.com/calebwin/emu
⨍
Functions
251
◇
Types & classes
46
↓ 1 callers
Class
DeviceInfo
emu_core/src/device.rs:34
Class
Accelerator
there is passing then there is accelerating accelerating is what looks through a function tagged with #[gpu_use] and finds invocation of gpu_do!() an
emu_macro/src/accelerating.rs:27
Class
ArgAndParamInfo
emu_core/src/device.rs:948
Class
ArgsBuilder
Helps with building a `DeviceFnMutArgs` `ArgsBuilder` helps you build a `DeviceFnMutArgs` by providing references to each `DeviceBox` argument. It's
emu_core/src/device.rs:1003
Interface
AsDeviceBoxed
A trait for creating a `DeviceBox<T>` from a reference to an object `T` It is implemented for all `T` (even unsized) where `T` can be safely serializ
emu_core/src/boxed.rs:227
Interface
Cache
A trait to implement to create your own cache The [`compile`](../compile/fn.compile.html) function is generic over a `Cache` implementation. So you c
emu_core/src/cache.rs:16
Class
CompileError
An error for compilation failures
emu_core/src/error.rs:51
Enum
CompileOrNoDeviceError
emu_core/src/error.rs:118
Interface
CompileToSpirv
The trait to implement when adding support for a new source language (e.g. - HLSL, XLA, Swift SIL, etc.). This trait is generic over the input langua
emu_core/src/compile.rs:29
Class
CompletionError
An error for failure to complete data movement or computation
emu_core/src/error.rs:68
Class
Device
Represents a single device Since its fields are public, you can easily construct and mutate a `Device`'s WebGPU internals. To get a `Device` from an
emu_core/src/device.rs:94
Class
DeviceBox
A type for [boxing](https://en.wikipedia.org/wiki/Object_type_(object-oriented_programming)#Boxing) stuff stored on a device It is generic over a typ
emu_core/src/device.rs:754
Class
DeviceFnMut
emu_core/src/device.rs:796
Class
DeviceFnMutArgs
emu_core/src/device.rs:963
Class
DeviceFnMutParams
emu_core/src/device.rs:817
Class
DevicePoolMember
emu_core/src/pool.rs:18
Class
DevicePoolMemberInfo
emu_core/src/pool.rs:166
Enum
DeviceType
emu_core/src/device.rs:79
Enum
Dim
emu_macro/src/identifier.rs:19
Class
FunctionInfo
this is used for storing info about the functions that #[gpu_use] is usually tagged with
emu_macro/src/inspector.rs:16
Class
Generator
this is what is used to generate OpenCL code it implements Syn's Visit traits so that it can visit nodes in Rust AST and generate code it holds code
emu_macro/src/generator.rs:48
Enum
GetError
emu_core/src/error.rs:109
Class
GlobalCache
A simple in-memory LRU cache for up to 32 JIT-ed kernels
emu_core/src/cache.rs:38
Class
Glsl
emu_core/src/compile_impls.rs:79
Class
GlslCompile
emu_core/src/compile_impls.rs:125
Class
GlslKernel
emu_core/src/compile_impls.rs:183
Class
GlslKernelCompile
emu_core/src/compile_impls.rs:438
Interface
GlslStruct
TODO in the future, generalize this to other types, not just struct A trait for structures that can exist in both Rust and GLSL
emu_core/src/compile.rs:17
Class
Gpu
A container that holds information needed for interacting with a GPU using OpenCL. You should really only use this if you intend to drop down to low-
em/src/lib.rs:80
Class
HelperFunctionInvocationModifier
looks through a function for all invocations of given helper functions it will then make sure that those functions have the GPU passed to them and the
emu_macro/src/passing.rs:322
Class
HelperFunctionReturnModifier
this is what we use to modify the return statements we want to modify the return statements so that they return the GPU
emu_macro/src/passing.rs:197
Interface
IntoDeviceBoxed
A trait for creating a `DeviceBox<T>` by consuming an object `T` It is implemented for all `T` that is sized as well as iterators over `T` (for itera
emu_core/src/boxed.rs:121
Enum
LaunchError
emu_core/src/error.rs:144
Enum
Mutability
emu_core/src/device.rs:863
Class
NoDeviceError
An error for when there is no device to complete a certain operation
emu_core/src/error.rs:11
Class
Parameter
represents a parameter of a kernel every time someone does gpu_do!(launch()), we try to launch a kernel by using the next for loop we find the parame
emu_macro/src/generator.rs:18
Class
ParamsBuilder
emu_core/src/device.rs:885
Class
PoolAlreadyInitializedError
An error that occurs when you attempt to initialize an already initialized pool of devices
emu_core/src/error.rs:91
Class
RuntimeError
A runtime error that occurs on the device
emu_core/src/error.rs:126
Class
Shape
emu_core/examples/basic.rs:7
Class
Spawner
A "builder" for a space of threads that are to be spawned See [`spawn`](fn.spawn.html) for more details.
emu_core/src/spawn.rs:60
Class
Spirv
emu_core/src/compile.rs:39
Class
SpirvBuilder
A builder for constructing a [`Spirv`](struct.Spirv.html) You can use it in the case where you are starting from either `u8` bytes or 4-byte `u32` wo
emu_core/src/compile.rs:78
Class
SpirvCompile
A SPIR-V-to-SPIR-V compiler! Yeah, this doesn't really do anything. But it _does_ implement `CompileToSpirv` so it _is_ what you should use as the ty
emu_core/src/compile_impls.rs:19
Enum
SpirvOrFinished
Either a finished `DeviceFnMut` or compiled SPIR-V You can either call `finish` on this to get your final compiled `DeviceFnMut` or you can inspect/m
emu_core/src/compile.rs:261
Class
UnavailableDeviceError
An error when a device is there but not available for use
emu_core/src/error.rs:28