MCPcopy Create free account

hub / github.com/RustyBamboo/hash-shader / functions

Functions36 in github.com/RustyBamboo/hash-shader

↓ 12 callersMethodparam
(mut self, gpu_data: Option<&'a GPUData<[T]>>, read_only: bool)
src/runner.rs:334
↓ 12 callersMethodto_device
(&mut self, data: &[T])
src/runner.rs:97
↓ 10 callersFunctionrot_r
Rotation right: u32.rotate_right(n: u32)
kernel/src/lib.rs:7
↓ 5 callersMethodbuild
( self, set: Option<u32>, )
src/runner.rs:371
↓ 4 callersMethodcall
( &mut self, gpu_compute: GPUCompute, workspace: (u32, u32, u32), args: &HashM
src/runner.rs:256
↓ 4 callersMethodcompile
( &self, entry: &str, shader: wgpu::ShaderModuleDescriptor, params: &GPUSetGro
src/runner.rs:194
↓ 4 callersMethodget
(&mut self, gpu: &GPUData<[T]>)
src/runner.rs:163
↓ 4 callersFunctionprepare_for_gpu_u8
Prepare the text data for GPU by padding the bits to multiples of 512 - Append 1 as a delimiter - Append 0s - The last 64 bits denote the size of orig
src/helpers.rs:11
↓ 3 callersFunctionsigma1
(x: u32)
kernel/src/lib.rs:58
↓ 2 callersFunctionSigma0
(x: u32)
kernel/src/lib.rs:11
↓ 2 callersFunctionSigma1
(x: u32)
kernel/src/lib.rs:27
↓ 2 callersFunctionhash_fn
(text: &[u32], hash: &mut [u32], x: usize, offset: usize, iter: usize)
kernel/src/lib.rs:169
↓ 2 callersFunctionsha
(words: Vec<String>)
examples/blockchain_val.rs:12
↓ 2 callersFunctionsigma0
(x: u32)
kernel/src/lib.rs:42
↓ 1 callersFunctionch
Choice operation
kernel/src/lib.rs:84
↓ 1 callersFunctionlines_from_file
Read lines from a checksum file and extract hash value and file path
src/main.rs:44
↓ 1 callersFunctionmaj
Majority operation
kernel/src/lib.rs:106
↓ 1 callersFunctionprepare_for_gpu
(word: String)
src/helpers.rs:2
Functionhash
(name: &str, ty: bool)
src/lib.rs:15
Functionmain
()
build.rs:4
Functionmain
()
src/main.rs:65
Functionmain
()
examples/benckmark.rs:61
Functionmain
()
examples/blockchain_val.rs:50
Functionmain_cs
( #[spirv(global_invocation_id)] gid: UVec3, #[spirv(storage_buffer, descriptor_set = 0, binding = 0)]
kernel/src/lib.rs:313
Methodnew
()
src/runner.rs:33
Functionrand_hash
(count: usize)
examples/benckmark.rs:10
Functionrun
()
src/lib.rs:97
Functionrun_benchmark
(count:usize, f:&dyn Fn(usize)->Duration)
examples/benckmark.rs:55
Functiontest_K
()
kernel/src/lib.rs:139
Functiontest_Sigma0
()
kernel/src/lib.rs:16
Functiontest_Sigma1
()
kernel/src/lib.rs:32
Functiontest_ch
()
kernel/src/lib.rs:89
Functiontest_hash_fn
()
kernel/src/lib.rs:274
Functiontest_maj
()
kernel/src/lib.rs:111
Functiontest_sigma0
()
kernel/src/lib.rs:47
Functiontest_sigma1
()
kernel/src/lib.rs:63