Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LaurentMazare/ug
/ functions
Functions
526 in github.com/LaurentMazare/ug
⨍
Functions
526
◇
Types & classes
143
Method
is_fortran_contiguous
Returns true if the strides are Fortran contiguous (aka column major).
ug-core/src/layout.rs:177
Method
is_int
(&self)
ug-core/src/dtype.rs:61
Function
lb_copy
()
ug-core/tests/lb_tests.rs:67
Function
lb_cuda_add
()
ug-cuda/tests/lb_tests.rs:4
Function
lb_cuda_cat
()
ug-cuda/tests/lb_tests.rs:16
Function
lb_cuda_mm
()
ug-cuda/tests/lb_tests.rs:10
Function
lb_custom
()
ug-core/tests/lb_tests.rs:112
Function
lb_custom_in_place
()
ug-core/tests/lb_tests.rs:174
Function
lb_layout
()
ug-core/tests/lb_tests.rs:153
Function
lb_metal_add
()
ug-metal/tests/lb_tests.rs:4
Function
lb_metal_cat
()
ug-metal/tests/lb_tests.rs:16
Function
lb_metal_mm
()
ug-metal/tests/lb_tests.rs:10
Function
lb_set
()
ug-core/tests/lb_tests.rs:207
Method
load
(&self, name: &str, device: &D)
ug-core/src/safetensors.rs:68
Method
load
(src: usize, offset: usize, dtype: DType)
ug-pyo3/src/lib.rs:319
Function
lower_add
()
ug-core/tests/basic_tests.rs:28
Function
main
()
ug-metal/examples/metal_bench.rs:120
Function
main
()
ug-core/examples/dot_prod.rs:49
Function
main
()
ug-core/examples/basics.rs:5
Function
main
()
ug-llama/src/main.rs:65
Function
main
()
ug-cuda/examples/benchmark.rs:105
Function
main
()
ug-cuda/examples/cuda_gen.rs:79
Method
matmul
( &self, dst: &mut Self::Slice, lhs: &Self::Slice, rhs: &Self::Slice,
ug-metal/src/runtime.rs:128
Method
matmul
( &self, dst: &mut Self::Slice, lhs: &Self::Slice, rhs: &Self::Slice,
ug-core/src/cpu_runtime.rs:336
Method
matmul
( &self, dst: &mut Self::Slice, lhs: &Self::Slice, rhs: &Self::Slice,
ug-cuda/src/runtime.rs:334
Method
max_value
(dtype: DType)
ug-core/src/const.rs:165
Function
member_sort
(member)
stub.py:58
Method
mergeable_adjacent_dims
(&self)
ug-core/src/lower_op.rs:666
Method
min
(&self, axis: usize)
ug-pyo3/src/lib.rs:189
Method
min_value
(dtype: DType)
ug-core/src/const.rs:155
Function
mod_
(py: Python, m: &Bound<PyModule>)
ug-pyo3/src/lib.rs:602
Method
msg
(err: impl std::error::Error)
ug-core/src/error.rs:61
Method
mul
(&mut self, src_id: Id, v: i32)
ug-core/src/block.rs:86
Function
mul_cst
(lb: &LB<D>, v: f32)
ug-core/tests/display_tests.rs:3
Method
multi
Creates a wrapper around multiple memory mapped file and deserialize the safetensors headers. If a tensor name appears in multiple files, the last en
ug-core/src/safetensors.rs:44
Method
name
(&self)
ug-core/src/lower_op.rs:561
Method
name
(&self)
ug-core/src/cpu_runtime.rs:437
Method
new
()
ug-metal/src/runtime.rs:24
Method
new
(f: F)
ug-core/src/lazy_buffer.rs:28
Method
new
()
ug-core/src/display.rs:136
Method
new
Creates a wrapper around a memory mapped file and deserialize the safetensors header. # Safety The unsafe is inherited from [`memmap2::MmapOptions`]
ug-core/src/safetensors.rs:21
Method
new
()
ug-core/src/lang.rs:88
Method
new
()
ug-core/src/cpu_runtime.rs:419
Method
new
(id_cnts: HashMap<crate::lazy_buffer::Id, usize>)
ug-core/src/schedule.rs:316
Method
new
(k: &op::Kernel)
ug-core/src/cache.rs:15
Method
new
(v: usize)
ug-core/src/interpreter.rs:11
Method
new
()
ug-core/src/block.rs:11
Method
new
(dim: usize, eps: f64, name: &str, st: &ST, device: &D)
ug-llama/src/model.rs:117
Method
new
()
ug-cuda/src/runtime.rs:37
Method
new
(dst: Arg, shape: Vec<usize>, value: Ast)
ug-pyo3/src/lib.rs:233
Method
null
A placeholder value, never to be used for anything else.
ug-core/src/lang.rs:631
Method
partial_cmp
(&self, other: &Self)
ug-core/src/lang.rs:145
Function
print_options
()
ug-core/src/display.rs:79
Method
program_id
()
ug-pyo3/src/lib.rs:533
Method
ptr_bf16
()
ug-pyo3/src/lib.rs:109
Method
ptr_f16
()
ug-pyo3/src/lib.rs:114
Method
ptr_i32
()
ug-pyo3/src/lib.rs:124
Method
range
(lo: usize, up: usize, end_idx: usize)
ug-pyo3/src/lib.rs:313
Method
rope
(src: &LB<Self>, cos: &LB<Self>, sin: &LB<Self>, pos: &LB<Self>)
ug-llama/src/cpu_ops.rs:91
Method
rope
(src: &LB<Self>, cos: &LB<Self>, sin: &LB<Self>, pos: &LB<Self>)
ug-llama/src/metal_ops.rs:54
Method
rope
(src: &LB<Self>, cos: &LB<Self>, sin: &LB<Self>, pos: &LB<Self>)
ug-llama/src/cuda_ops.rs:58
Method
rope_i
(src: &LB<Self>, cos: &LB<Self>, sin: &LB<Self>, pos: &LB<Self>)
ug-llama/src/cpu_ops.rs:58
Method
rope_i
(src: &LB<Self>, cos: &LB<Self>, sin: &LB<Self>, pos: &LB<Self>)
ug-llama/src/metal_ops.rs:12
Method
rope_i
(src: &LB<Self>, cos: &LB<Self>, sin: &LB<Self>, pos: &LB<Self>)
ug-llama/src/cuda_ops.rs:18
Method
run
(&self, f: &Self::Func, args: &mut [&mut Self::Slice])
ug-metal/src/runtime.rs:108
Method
run
(&self, f: &Self::Func, args: &mut [&mut Self::Slice])
ug-core/src/cpu_runtime.rs:288
Method
run0
(&self)
ug-core/src/cpu_runtime.rs:442
Function
run_add
()
ug-core/tests/cpu_tests.rs:4
Function
schedule_broadcast
()
ug-core/tests/lb_tests.rs:100
Function
schedule_cat
()
ug-core/tests/lb_tests.rs:62
Function
schedule_cpu
()
ug-core/tests/lb_tests.rs:30
Function
schedule_cpu_compile
()
ug-core/tests/lb_tests.rs:52
Function
schedule_interpret
()
ug-core/tests/lb_tests.rs:5
Function
schedule_mm
()
ug-core/tests/lb_tests.rs:57
Function
set_edge_items
(edge_items: usize)
ug-core/src/display.rs:119
Function
set_gemm_reduced_precision_bf16
This bool controls whether reduced precision reductions (e.g., with fp16 accumulation type) are allowed with bf16 GEMMs.
ug-cuda/src/gemm.rs:126
Function
set_gemm_reduced_precision_f16
This bool controls whether reduced precision reductions (e.g., with fp16 accumulation type) are allowed with f16 GEMMs.
ug-cuda/src/gemm.rs:114
Function
set_gemm_reduced_precision_f32
This bool controls whether reduced precision reductions (e.g., with tf32 accumulation type) are allowed with f32 GEMMs.
ug-cuda/src/gemm.rs:102
Function
set_line_width
(line_width: usize)
ug-core/src/display.rs:111
Method
set_param
(encoder: &ComputeCommandEncoderRef, position: u64, data: Self)
ug-metal/src/utils.rs:36
Function
set_precision
(precision: usize)
ug-core/src/display.rs:115
Function
set_print_options
(options: PrinterOptions)
ug-core/src/display.rs:83
Function
set_print_options_default
()
ug-core/src/display.rs:87
Function
set_print_options_full
()
ug-core/src/display.rs:101
Function
set_print_options_short
()
ug-core/src/display.rs:91
Function
set_sci_mode
(sci_mode: Option<bool>)
ug-core/src/display.rs:127
Function
set_threshold
(threshold: usize)
ug-core/src/display.rs:123
Method
shape
(&self)
ug-core/src/layout.rs:640
Method
shape
(&self, py: Python)
ug-pyo3/src/lib.rs:199
Method
size_in_bytes
The size used by each element in bytes, i.e. 4 for `F32`.
ug-core/src/dtype.rs:51
Method
slice
(&self, vs: Vec<f32>)
ug-pyo3/src/lib.rs:464
Method
special_bi
()
ug-pyo3/src/lib.rs:344
Method
special_ti
()
ug-pyo3/src/lib.rs:339
Method
splat
(v: T)
ug-core/src/interpreter.rs:93
Method
ssa
( ssa: crate::lang::ssa::Kernel, args: Vec<Self>, s: S, dtype: DType,
ug-core/src/lazy_buffer.rs:387
Function
ssa_softmax
()
ug-core/tests/basic_tests.rs:65
Function
ssa_softmax_reduce
()
ug-core/tests/basic_tests.rs:92
Method
store
(dst: usize, offset: usize, value: usize, dtype: DType)
ug-pyo3/src/lib.rs:324
Function
stride
()
ug-core/src/layout.rs:564
Method
synchronize
(&self)
ug-metal/src/runtime.rs:170
← previous
next →
401–500 of 526, ranked by callers