Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/calebwin/emu
/ functions
Functions
251 in github.com/calebwin/emu
⨍
Functions
251
◇
Types & classes
46
↓ 1 callers
Function
foo
(x: i32)
emu_tests/src/macro_usage_11.rs:4
↓ 1 callers
Function
getCurrentFilePath
()
docs/doc/source-script.js:1
↓ 1 callers
Function
getFilterCrates
()
docs/doc/main.js:1
↓ 1 callers
Function
getSettingValue
(settingName)
docs/doc/settings.js:1
↓ 1 callers
Function
getSmallest
(arrays,positions,notDuplicates)
docs/doc/main.js:1
↓ 1 callers
Function
getSystemValue
()
docs/doc/storage.js:1
↓ 1 callers
Function
get_global_work_size
( mut global_work_size: Vec<Dim>, i: ExprForLoop, )
emu_macro/src/identifier.rs:38
↓ 1 callers
Method
get_work_space_dim
(&self)
emu_core/src/spawn.rs:71
↓ 1 callers
Function
handleHashes
(ev)
docs/doc/main.js:1
↓ 1 callers
Method
hash
(&self, state: &mut H)
emu_core/src/device.rs:822
↓ 1 callers
Function
impl_call
()
docs/doc/main.js:1
↓ 1 callers
Function
info_all
Returns information about all devices in the pool
emu_core/src/pool.rs:174
↓ 1 callers
Function
initSearch
(rawSearchIndex)
docs/doc/main.js:1
↓ 1 callers
Function
initSearchNav
()
docs/doc/main.js:1
↓ 1 callers
Method
into_device_boxed_mut
(self)
emu_core/src/boxed.rs:131
↓ 1 callers
Function
itemAttributesFunc
()
docs/doc/main.js:1
↓ 1 callers
Function
itemTypeFromName
(typename)
docs/doc/main.js:1
↓ 1 callers
Method
launch
Launches given `DeviceFnMut` with given arguments on the space of threads built so far You can provide the arguments using [`ArgsBuilder`](../device/
emu_core/src/spawn.rs:88
↓ 1 callers
Function
lineNumbersFunc
()
docs/doc/main.js:1
↓ 1 callers
Function
onHashChange
(ev)
docs/doc/main.js:1
↓ 1 callers
Method
set
Uploads the given data `T` to self (a `DeviceBox<T>`) This function - as are most other functions in the Emu API - doesn't block. So the data transfe
emu_core/src/boxed.rs:265
↓ 1 callers
Function
setEvents
()
docs/doc/settings.js:1
↓ 1 callers
Method
set_from
TODO say what is blocking and what isn't in the comments Uploads data from the given borrow to `T` to the given `DeviceBox<T>` that lives on this (mea
emu_core/src/device.rs:317
↓ 1 callers
Method
share
Creates a shared variable using the given code ``` # use {emu_core::prelude::*, emu_glsl::*, zerocopy::*}; # fn main() -> Result<(), Box<dyn std::err
emu_core/src/compile_impls.rs:374
↓ 1 callers
Function
showModal
(content)
docs/doc/main.js:1
↓ 1 callers
Function
showResults
(results)
docs/doc/main.js:1
↓ 1 callers
Function
showSidebar
()
docs/doc/main.js:1
↓ 1 callers
Function
showThemeButtonState
()
docs/doc/theme.js:1
↓ 1 callers
Function
spawn
Constructs a [`Spawner`](struct.Spawner.html) with the given number of threads spawned Each `spawn(n)` will spawn a new dimension of threads of size
emu_core/src/spawn.rs:51
↓ 1 callers
Method
spawn
Adds a new dimension to the space of threads with size determined by the given number of threads
emu_core/src/spawn.rs:66
↓ 1 callers
Function
startSearch
()
docs/doc/main.js:1
↓ 1 callers
Function
test_launch
this tests that bad usage of launch (like launching things that can't be launched) is detected
emu_tests/src/lib.rs:35
↓ 1 callers
Function
test_load_read
this tests that bad usage of load and read macro are detected
emu_tests/src/lib.rs:25
↓ 1 callers
Function
test_macro_usage
this tests that we can detect when the #[gpu_use] macro is used incorrectly
emu_tests/src/lib.rs:9
↓ 1 callers
Function
transformResults
(results,isType)
docs/doc/main.js:1
↓ 1 callers
Function
validateResult
(name,path,keys,parent)
docs/doc/main.js:1
↓ 1 callers
Method
visit_block
this is currently only invoked once for each kernel to be launched so it basically just generates much of the kernel function signature and then goes
emu_macro/src/generator.rs:118
↓ 1 callers
Method
with_const
Appends a constant definition using the give left hand and right hand sides ``` # use {emu_core::prelude::*, emu_glsl::*, zerocopy::*}; # fn main() -
emu_core/src/compile_impls.rs:333
↓ 1 callers
Method
with_helper_code
Adds the given helper code This helper code may include additional type or function definitions. ``` # use {emu_core::prelude::*, emu_glsl::*, zeroco
emu_core/src/compile_impls.rs:422
↓ 1 callers
Method
with_kernel_code
Adds the body code for the kernel This body code is simply wrapped in a `void main` function.
emu_core/src/compile_impls.rs:430
Method
add_param
Declares an additional parameter - that is constant - to the compute kernel in this GLSL
emu_core/src/compile_impls.rs:105
Method
add_param
Appends a new constant parameter to the kernel in this SPIR-V
emu_core/src/compile.rs:103
Method
add_param_mut
Declares an additional parameter - that is mutable - to the compute kernel in this GLSL
emu_core/src/compile_impls.rs:111
Method
add_param_mut
Appends a new mutable parameter to the kernel in this SPIR-V
emu_core/src/compile.rs:109
Method
all
Gets all detected devices This is asynchronous because it may take a long time for all the devices that are detected to actually be available. Howeve
emu_core/src/device.rs:118
Method
arg
Declare a new arguments by passing in a `DeviceBox`
emu_core/src/device.rs:1016
Function
bar
(gpu: Gpu)
emu_tests/src/macro_usage_9.rs:11
Method
build
Finish building
emu_core/src/compile.rs:121
Function
buildToggleWrapper
(e)
docs/doc/main.js:1
Function
callback
()
docs/doc/main.js:1
Function
click_func
(e)
docs/doc/main.js:1
Function
compile
Compiles the given source to `SpirvOrFinished` There are 4 things this function is generic over. 1. The source language which must be `Hash`able for
emu_core/src/compile.rs:189
Method
compile
Compiles a `DeviceFnMut` using the given parameters, entry point name, and SPIR-V program The entry point is where in the SPIR-V program the compiled
emu_core/src/device.rs:577
Method
compile_to_spirv
(src: Spirv<P>)
emu_core/src/compile_impls.rs:22
Function
convert_to_spirv
Converts a slice of bytes to a slice of 4-byte words Just as a quick example... ``` # use {emu_core::prelude::*, emu_glsl::*, zerocopy::*}; # fn main
emu_core/src/device.rs:665
Method
create_from_as
( &mut self, host_obj: B, mutability: Mutability, )
emu_core/src/device.rs:260
Method
create_with_size_as
(&mut self, size: usize, mutability: Mutability)
emu_core/src/device.rs:230
Method
device_id
The devie ID (e.g. - 22807)
emu_core/src/device.rs:61
Method
device_type
The device type (e.g. - Cpu)
emu_core/src/device.rs:66
Function
do_something
()
emu_tests/src/macro_usage_6.rs:5
Method
fmt
(&self, f: &mut fmt::Formatter<'_>)
emu_core/src/device.rs:37
Method
fmt
(&self, f: &mut fmt::Formatter)
emu_core/src/error.rs:16
Method
fold_expr
(&mut self, ii: Expr)
emu_macro/src/accelerating.rs:94
Method
fold_expr
(&mut self, ii: Expr)
emu_macro/src/passing.rs:327
Method
fold_expr_closure
don't fold on substructures of items closures can't contain return statements that return from this function
emu_macro/src/passing.rs:225
Method
fold_expr_return
(&mut self, i: ExprReturn)
emu_macro/src/passing.rs:200
Method
fold_item
don't fold on substructures of items items can't use GPU argument to the function the item is in
emu_macro/src/accelerating.rs:359
Method
fold_item
don't fold on substructures of items items can't contain return statements that will return from this function
emu_macro/src/passing.rs:231
Method
fold_local
(&mut self, mut l: Local)
emu_macro/src/accelerating.rs:371
Function
foo
()
emu_tests/src/launch_5.rs:19
Method
from
(global_work_size_dims: Vec<Dim>)
emu_macro/src/generator.rs:98
Method
from
(wgpu_stuff: (wgpu::Buffer, wgpu::Buffer, u64, Option<Mutability>))
emu_core/src/device.rs:768
Method
from_iter
(iter: I)
emu_core/src/boxed.rs:153
Method
from_ref
Create a constant `DeviceBox<T>` from a reference to `T`
emu_core/src/boxed.rs:25
Method
from_ref_mut
Create a mutable `DeviceBox<T>` from a reference to `T`
emu_core/src/boxed.rs:44
Function
funcImpl
(e)
docs/doc/main.js:1
Method
get
(key: u64)
emu_core/src/cache.rs:53
Method
get_code_mut
Get a mutable reference to the code stored here This is useful when inspecting or linting the bytecode somehow before finishing compilation. If you d
emu_core/src/compile.rs:271
Function
get_declared_helper_functions
looks at AttributeArgs in an invocation of #[gpu_use] to see what helper functions are declared for example, #[gpu_use] should return at empty Vec bu
emu_macro/src/inspector.rs:32
Function
get_function_info
gets information about the function this is always called only for functions that are tagged with #[gpu_use] if there is anything about the signature
emu_macro/src/inspector.rs:86
Method
get_name_mut
Mutate the entry point name
emu_core/src/compile.rs:279
Method
get_params_mut
Mutate the parameters
emu_core/src/compile.rs:287
Function
glsl_struct
(input: TokenStream)
emu_glsl/src/lib.rs:49
Function
gpu_use
(metadata: TokenStream, mut input: TokenStream)
emu_macro/src/lib.rs:167
Function
handleShortcut
(ev)
docs/doc/main.js:1
Function
handleThemeButtonsBlur
(e)
docs/doc/theme.js:1
Function
info
Returns information about the currently selected device
emu_core/src/pool.rs:191
Function
main
()
emu_tests/src/load_read_4.rs:5
Function
main
()
emu_tests/src/macro_usage_1.rs:5
Function
main
()
emu_tests/src/load_read_3.rs:5
Function
main
()
emu_tests/src/launch_1.rs:5
Function
main
()
emu_tests/src/launch_5.rs:5
Function
main
()
emu_tests/src/launch_3.rs:5
Function
main
()
emu_tests/src/launch_2.rs:5
Function
main
()
emu_tests/src/macro_usage_4.rs:6
Function
main
()
emu_tests/src/load_read_0.rs:5
Function
main
()
emu_tests/src/load_read_1.rs:5
Function
main
()
emu_tests/src/macro_usage_10.rs:10
Function
main
()
emu_tests/src/macro_usage_0.rs:5
Function
main
()
emu_tests/src/macro_usage_9.rs:10
← previous
next →
101–200 of 251, ranked by callers