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
Function
main
()
emu_tests/src/launch_4.rs:5
Function
main
()
emu_tests/src/load_read_2.rs:5
Function
main
()
emu_tests/src/macro_usage_3.rs:5
Function
main
()
emu_tests/src/macro_usage_5.rs:5
Function
main
()
emu_tests/src/macro_usage_2.rs:5
Function
main
()
emu_tests/src/macro_usage_7.rs:9
Function
main
()
emu_tests/src/macro_usage_8.rs:5
Function
main
()
emu_tests/src/macro_usage_6.rs:10
Function
main
()
emu_tests/src/macro_usage_11.rs:26
Function
main
()
emu_tests/src/launch_0.rs:5
Function
main
()
emu_tests/src/launch_6.rs:5
Function
main
()
emu_examples/arithmetic/src/main.rs:4
Function
main
()
emu_core/examples/basic.rs:16
Function
main
()
emu_core/examples/simple.rs:1
Function
modify_for_not_a_helper_function
modifies body of a not-a-helper function when is something a not-a-helper? it's not a helper when it's #[gpu_use(...)] doesn't list itself as a helpe
emu_macro/src/passing.rs:271
Function
modify_invocations
this just uses the HelperFunctionInvocationModifier defined above
emu_macro/src/passing.rs:384
Function
modify_return_for_helper_function
modifies return expression note this doesn't fix up all the return statements only the implicit "last expression is returned" stuff we'll deal with th
emu_macro/src/passing.rs:149
Function
modify_returns_for_helper_function
modifies return statements this mainly just creates an instance of the above "folder" that we defined we then just invoke it's "fold_item_fn" method t
emu_macro/src/passing.rs:239
Function
modify_signature_for_helper_function
what does it mean to be a function that is declared to be a helper function? well, it means that you need to accept the GPU as an argument and return
emu_macro/src/passing.rs:74
Function
mouseover_func
(e)
docs/doc/main.js:1
Method
name
The name of the device (e.g. - "Intel(R) UHD Graphics 620 (Kabylake GT2)"")
emu_core/src/device.rs:51
Method
new
()
emu_macro/src/accelerating.rs:33
Method
new
Constructs a set of parameters where each parameter is mutable
emu_core/src/device.rs:833
Method
new
Creates a new GLSL builder
emu_core/src/compile_impls.rs:88
Method
new
Create a constant `DeviceBox<T>` while consuming the given `T`
emu_core/src/boxed.rs:20
Method
new
Creates a new builder
emu_core/src/compile.rs:86
Method
new_mut
Create a mutable `DeviceBox<T>` while consuming the given `T`
emu_core/src/boxed.rs:39
Method
param
Adds on a parameter with given mutability
emu_core/src/device.rs:906
Method
param
Generates code for a buffer through which constant data can be passed into the kernel
emu_core/src/compile_impls.rs:380
Method
param_mut
Generates code for a buffer through which mutable data can be passed into the kernel
emu_core/src/compile_impls.rs:388
Function
pool
Sets the device pool to the given `Vec` of devices You can use `pool` to set up a custom pool of devices. It can only be successfully called just onc
emu_core/src/pool.rs:82
Method
reserve
Reserves space for the given number of additional kernels
emu_core/src/cache.rs:42
Function
select
Selects a device from the pool using the given selector function Emu uses thread-local storage to keep track of the selected device for each thread.
emu_core/src/pool.rs:233
Method
set_code_with_glsl
Use the given string as the GLSL source code
emu_core/src/compile_impls.rs:117
Method
set_code_with_u32
Set the actual code itself using an owned or borrowed slice of `u32`
emu_core/src/compile.rs:115
Method
set_code_with_u8
Set the actual code itself using an owned `Vec<u32>``
emu_core/src/compile.rs:134
Method
set_entry_point_name
Sets the name of the point in this chunk of GLSL where it should be entered For example, your code's entry point name might be "main" if you have a "
emu_core/src/compile_impls.rs:99
Method
set_entry_point_name
Sets the name of the point in this chunk of SPIR-V where it should be entered If you are compiling from GLSL, for example, your entry point name migh
emu_core/src/compile.rs:97
Method
spawn
Spawns threads within each thread block This essentially adds on a new dimension with the given size to the space of threads for each thread block. T
emu_core/src/compile_impls.rs:245
Function
switchThemeButtonState
()
docs/doc/theme.js:1
Function
test_all
()
emu_tests/src/lib.rs:48
Function
test_all_panics
()
emu_tests/src/lib.rs:60
Function
test_panic_what_0
()
emu_tests/src/lib.rs:82
Function
test_panic_what_1
()
emu_tests/src/lib.rs:94
Function
toggleClicked
()
docs/doc/main.js:1
Function
toggleSidebar
()
docs/doc/source-script.js:1
Function
trimmer
(s)
docs/doc/main.js:1
Method
vendor_id
The vendor ID (e.g. - 32902)
emu_core/src/device.rs:56
Method
with_size
Create a constant `DeviceBox<T>` where `T` has the given number of bytes
emu_core/src/boxed.rs:30
Method
with_size_mut
Create a mutable `DeviceBox<T>` where `T` has the given number of bytes
emu_core/src/boxed.rs:49
Method
with_struct
Appends a GLSL structure definition for the type which this function is generic over This can be used for any type that implements [`GlslStruct`](../
emu_core/src/compile_impls.rs:305
← previous
201–251 of 251, ranked by callers