MCPcopy Create free account

hub / github.com/calebwin/emu / functions

Functions251 in github.com/calebwin/emu

↓ 1 callersFunctionfoo
(x: i32)
emu_tests/src/macro_usage_11.rs:4
↓ 1 callersFunctiongetCurrentFilePath
()
docs/doc/source-script.js:1
↓ 1 callersFunctiongetFilterCrates
()
docs/doc/main.js:1
↓ 1 callersFunctiongetSettingValue
(settingName)
docs/doc/settings.js:1
↓ 1 callersFunctiongetSmallest
(arrays,positions,notDuplicates)
docs/doc/main.js:1
↓ 1 callersFunctiongetSystemValue
()
docs/doc/storage.js:1
↓ 1 callersFunctionget_global_work_size
( mut global_work_size: Vec<Dim>, i: ExprForLoop, )
emu_macro/src/identifier.rs:38
↓ 1 callersMethodget_work_space_dim
(&self)
emu_core/src/spawn.rs:71
↓ 1 callersFunctionhandleHashes
(ev)
docs/doc/main.js:1
↓ 1 callersMethodhash
(&self, state: &mut H)
emu_core/src/device.rs:822
↓ 1 callersFunctionimpl_call
()
docs/doc/main.js:1
↓ 1 callersFunctioninfo_all
Returns information about all devices in the pool
emu_core/src/pool.rs:174
↓ 1 callersFunctioninitSearch
(rawSearchIndex)
docs/doc/main.js:1
↓ 1 callersFunctioninitSearchNav
()
docs/doc/main.js:1
↓ 1 callersMethodinto_device_boxed_mut
(self)
emu_core/src/boxed.rs:131
↓ 1 callersFunctionitemAttributesFunc
()
docs/doc/main.js:1
↓ 1 callersFunctionitemTypeFromName
(typename)
docs/doc/main.js:1
↓ 1 callersMethodlaunch
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 callersFunctionlineNumbersFunc
()
docs/doc/main.js:1
↓ 1 callersFunctiononHashChange
(ev)
docs/doc/main.js:1
↓ 1 callersMethodset
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 callersFunctionsetEvents
()
docs/doc/settings.js:1
↓ 1 callersMethodset_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 callersMethodshare
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 callersFunctionshowModal
(content)
docs/doc/main.js:1
↓ 1 callersFunctionshowResults
(results)
docs/doc/main.js:1
↓ 1 callersFunctionshowSidebar
()
docs/doc/main.js:1
↓ 1 callersFunctionshowThemeButtonState
()
docs/doc/theme.js:1
↓ 1 callersFunctionspawn
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 callersMethodspawn
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 callersFunctionstartSearch
()
docs/doc/main.js:1
↓ 1 callersFunctiontest_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 callersFunctiontest_load_read
this tests that bad usage of load and read macro are detected
emu_tests/src/lib.rs:25
↓ 1 callersFunctiontest_macro_usage
this tests that we can detect when the #[gpu_use] macro is used incorrectly
emu_tests/src/lib.rs:9
↓ 1 callersFunctiontransformResults
(results,isType)
docs/doc/main.js:1
↓ 1 callersFunctionvalidateResult
(name,path,keys,parent)
docs/doc/main.js:1
↓ 1 callersMethodvisit_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 callersMethodwith_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 callersMethodwith_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 callersMethodwith_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
Methodadd_param
Declares an additional parameter - that is constant - to the compute kernel in this GLSL
emu_core/src/compile_impls.rs:105
Methodadd_param
Appends a new constant parameter to the kernel in this SPIR-V
emu_core/src/compile.rs:103
Methodadd_param_mut
Declares an additional parameter - that is mutable - to the compute kernel in this GLSL
emu_core/src/compile_impls.rs:111
Methodadd_param_mut
Appends a new mutable parameter to the kernel in this SPIR-V
emu_core/src/compile.rs:109
Methodall
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
Methodarg
Declare a new arguments by passing in a `DeviceBox`
emu_core/src/device.rs:1016
Functionbar
(gpu: Gpu)
emu_tests/src/macro_usage_9.rs:11
Methodbuild
Finish building
emu_core/src/compile.rs:121
FunctionbuildToggleWrapper
(e)
docs/doc/main.js:1
Functioncallback
()
docs/doc/main.js:1
Functionclick_func
(e)
docs/doc/main.js:1
Functioncompile
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
Methodcompile
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
Methodcompile_to_spirv
(src: Spirv<P>)
emu_core/src/compile_impls.rs:22
Functionconvert_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
Methodcreate_from_as
( &mut self, host_obj: B, mutability: Mutability, )
emu_core/src/device.rs:260
Methodcreate_with_size_as
(&mut self, size: usize, mutability: Mutability)
emu_core/src/device.rs:230
Methoddevice_id
The devie ID (e.g. - 22807)
emu_core/src/device.rs:61
Methoddevice_type
The device type (e.g. - Cpu)
emu_core/src/device.rs:66
Functiondo_something
()
emu_tests/src/macro_usage_6.rs:5
Methodfmt
(&self, f: &mut fmt::Formatter<'_>)
emu_core/src/device.rs:37
Methodfmt
(&self, f: &mut fmt::Formatter)
emu_core/src/error.rs:16
Methodfold_expr
(&mut self, ii: Expr)
emu_macro/src/accelerating.rs:94
Methodfold_expr
(&mut self, ii: Expr)
emu_macro/src/passing.rs:327
Methodfold_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
Methodfold_expr_return
(&mut self, i: ExprReturn)
emu_macro/src/passing.rs:200
Methodfold_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
Methodfold_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
Methodfold_local
(&mut self, mut l: Local)
emu_macro/src/accelerating.rs:371
Functionfoo
()
emu_tests/src/launch_5.rs:19
Methodfrom
(global_work_size_dims: Vec<Dim>)
emu_macro/src/generator.rs:98
Methodfrom
(wgpu_stuff: (wgpu::Buffer, wgpu::Buffer, u64, Option<Mutability>))
emu_core/src/device.rs:768
Methodfrom_iter
(iter: I)
emu_core/src/boxed.rs:153
Methodfrom_ref
Create a constant `DeviceBox<T>` from a reference to `T`
emu_core/src/boxed.rs:25
Methodfrom_ref_mut
Create a mutable `DeviceBox<T>` from a reference to `T`
emu_core/src/boxed.rs:44
FunctionfuncImpl
(e)
docs/doc/main.js:1
Methodget
(key: u64)
emu_core/src/cache.rs:53
Methodget_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
Functionget_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
Functionget_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
Methodget_name_mut
Mutate the entry point name
emu_core/src/compile.rs:279
Methodget_params_mut
Mutate the parameters
emu_core/src/compile.rs:287
Functionglsl_struct
(input: TokenStream)
emu_glsl/src/lib.rs:49
Functiongpu_use
(metadata: TokenStream, mut input: TokenStream)
emu_macro/src/lib.rs:167
FunctionhandleShortcut
(ev)
docs/doc/main.js:1
FunctionhandleThemeButtonsBlur
(e)
docs/doc/theme.js:1
Functioninfo
Returns information about the currently selected device
emu_core/src/pool.rs:191
Functionmain
()
emu_tests/src/load_read_4.rs:5
Functionmain
()
emu_tests/src/macro_usage_1.rs:5
Functionmain
()
emu_tests/src/load_read_3.rs:5
Functionmain
()
emu_tests/src/launch_1.rs:5
Functionmain
()
emu_tests/src/launch_5.rs:5
Functionmain
()
emu_tests/src/launch_3.rs:5
Functionmain
()
emu_tests/src/launch_2.rs:5
Functionmain
()
emu_tests/src/macro_usage_4.rs:6
Functionmain
()
emu_tests/src/load_read_0.rs:5
Functionmain
()
emu_tests/src/load_read_1.rs:5
Functionmain
()
emu_tests/src/macro_usage_10.rs:10
Functionmain
()
emu_tests/src/macro_usage_0.rs:5
Functionmain
()
emu_tests/src/macro_usage_9.rs:10
← previousnext →101–200 of 251, ranked by callers