Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/KarelPeeters/Kyanite
/ functions
Functions
1,306 in github.com/KarelPeeters/Kyanite
⨍
Functions
1,306
◇
Types & classes
523
↓ 308 callers
Method
unwrap
(&self)
kn-cuda-sys/src/wrapper/status.rs:19
↓ 128 callers
Function
NV_IF_ELSE_TARGET
kn-cuda-sys/doc_headers/cuda_include/cuda_bf16.hpp:1312
↓ 127 callers
Method
map
(self, x: DScalar)
kn-graph/src/graph.rs:1649
↓ 115 callers
Function
NV_IF_ELSE_TARGET
kn-cuda-sys/doc_headers/cuda_include/cuda_fp16.hpp:2202
↓ 81 callers
Function
__bfloat162float
kn-cuda-sys/doc_headers/cuda_include/cuda_bf16.hpp:1175
↓ 63 callers
Method
len
(&self)
kn-graph/src/dtype.rs:541
↓ 61 callers
Function
__half2float
kn-cuda-sys/doc_headers/cuda_include/cuda_fp16.hpp:1300
↓ 59 callers
Method
to_owned
(self)
kn-graph/src/onnx/result.rs:93
↓ 57 callers
Method
input
(&mut self, shape: Shape, dtype: DType)
kn-graph/src/graph.rs:585
↓ 56 callers
Function
test_all
(graph: &Graph, batch_size: usize, inputs: &[DTensor], expected_outputs: Option<&[DTensor]>)
kn-cuda-eval/tests/root/runner.rs:10
↓ 55 callers
Method
inner
(&self)
kn-cuda-sys/src/wrapper/graph.rs:41
↓ 55 callers
Method
push
(&mut self, step: PlanStep, debug_value: Value)
kn-cuda-eval/src/planner.rs:666
↓ 52 callers
Function
__hisnan
kn-cuda-sys/doc_headers/cuda_include/cuda_fp16.hpp:3802
↓ 49 callers
Method
output
Register an existing value as an output
kn-graph/src/graph.rs:1354
↓ 47 callers
Method
required
(&mut self, index: usize)
kn-graph/src/onnx/inputs.rs:45
↓ 46 callers
Method
push
(&mut self, shape: Shape, dtype: DType, operation: Operation)
kn-graph/src/graph.rs:535
↓ 44 callers
Method
ptr
(&self)
kn-cuda-eval/src/offset_tensor.rs:31
↓ 44 callers
Method
strided_shape
(&self)
kn-cuda-eval/src/offset_tensor.rs:35
↓ 44 callers
Method
unwrap_value
(&self)
kn-graph/src/onnx/typed_value.rs:53
↓ 41 callers
Method
ptr
(&self)
kn-cuda-sys/src/wrapper/mem/device.rs:92
↓ 33 callers
Method
size
(&self)
kn-cuda-eval/src/shape.rs:77
↓ 32 callers
Method
view
(&mut self, input: Value, new_shape: Shape)
kn-graph/src/graph.rs:618
↓ 29 callers
Method
shape
(&self)
kn-cuda-eval/src/shape.rs:53
↓ 28 callers
Method
conv
( &mut self, input: Value, filter: Value, stride_y: usize, stride_x: u
kn-graph/src/graph.rs:977
↓ 27 callers
Method
binary
(&mut self, op: BinaryOp, left: Value, right: Value)
kn-graph/src/graph.rs:1282
↓ 25 callers
Method
rank
(&self)
kn-graph/src/dtype.rs:537
↓ 24 callers
Method
take
(&mut self, index: usize)
kn-graph/src/onnx/inputs.rs:84
↓ 24 callers
Method
unary
(&mut self, op: UnaryOp, mut input: Value)
kn-graph/src/graph.rs:1248
↓ 23 callers
Method
alloc
(self, len_bytes: usize)
kn-cuda-sys/src/wrapper/handle.rs:65
↓ 23 callers
Method
as_ref
(&self)
kn-cuda-eval/src/step.rs:298
↓ 23 callers
Function
linspace_vec
(len: usize)
kn-cuda-eval/tests/root/tensor_utils.rs:31
↓ 23 callers
Method
strides
(&self)
kn-cuda-eval/src/shape.rs:57
↓ 22 callers
Method
add
(&mut self, left: Value, right: Value)
kn-graph/src/graph.rs:1227
↓ 21 callers
Method
shape_dtype
(&self, value: Value)
kn-graph/src/graph.rs:384
↓ 20 callers
Method
unwrap_in_drop
(&self)
kn-cuda-sys/src/wrapper/status.rs:28
↓ 19 callers
Function
__float2half
kn-cuda-sys/doc_headers/cuda_include/cuda_fp16.hpp:1141
↓ 19 callers
Function
__nv_bfloat162
* Move constructor, available for \p C++11 and later dialects */
kn-cuda-sys/doc_headers/cuda_include/cuda_bf16.hpp:758
↓ 19 callers
Function
cuCimag
kn-cuda-sys/doc_headers/cuda_include/cuComplex.h:193
↓ 19 callers
Function
cuCimagf
kn-cuda-sys/doc_headers/cuda_include/cuComplex.h:84
↓ 19 callers
Function
cuCreal
kn-cuda-sys/doc_headers/cuda_include/cuComplex.h:188
↓ 19 callers
Function
cuCrealf
kn-cuda-sys/doc_headers/cuda_include/cuComplex.h:79
↓ 19 callers
Method
unwrap_f32
(self)
kn-graph/src/dtype.rs:260
↓ 19 callers
Method
visit
(&mut self, value: Value)
kn-cuda-eval/src/planner.rs:299
↓ 18 callers
Method
get
(&'a self, key: &str)
kn-graph/src/onnx/store.rs:19
↓ 18 callers
Method
inputs
(&self)
kn-graph/src/graph.rs:220
↓ 18 callers
Method
shape
(&self, graph: &Graph)
kn-graph/src/onnx/typed_value.rs:107
↓ 17 callers
Function
__half2
* Move constructor, available for \p C++11 and later dialects */
kn-cuda-sys/doc_headers/cuda_include/cuda_fp16.hpp:772
↓ 17 callers
Method
dtype
(&self)
kn-cuda-eval/src/offset_tensor.rs:39
↓ 17 callers
Method
reshape
(&self, shape: E)
kn-graph/src/dtype.rs:549
↓ 16 callers
Method
as_slice
(&self)
kn-cuda-sys/src/wrapper/mem/pinned.rs:48
↓ 16 callers
Method
broadcast
(&mut self, input: Value, new_shape: Shape)
kn-graph/src/graph.rs:645
↓ 16 callers
Method
copy_linear_from_host
(&self, buffer: &[u8])
kn-cuda-sys/src/wrapper/mem/device.rs:101
↓ 16 callers
Function
linspace_tensor
(shape: I)
kn-cuda-eval/tests/root/tensor_utils.rs:17
↓ 16 callers
Method
map_ptr
(self, f: impl FnOnce(P) -> K)
kn-cuda-eval/src/offset_tensor.rs:47
↓ 16 callers
Method
slice
(&self, axis: usize, range: SliceRange)
kn-cuda-eval/src/shape.rs:81
↓ 16 callers
Method
unwrap_fixed
(self)
kn-graph/src/onnx/typed_value.rs:168
↓ 15 callers
Method
concat
( &mut self, inputs: Vec<Value>, axis: usize, base_shape: Option<Shape>,
kn-graph/src/graph.rs:901
↓ 14 callers
Method
insert
(&self, axis: usize, size: Size)
kn-graph/src/shape.rs:193
↓ 14 callers
Method
optional
(&mut self, index: usize)
kn-graph/src/onnx/inputs.rs:52
↓ 14 callers
Method
output_all
Register multiple values as output at once, in order.
kn-graph/src/graph.rs:1359
↓ 14 callers
Method
shape
(&self)
kn-graph/src/dtype.rs:533
↓ 14 callers
Method
switch_to
Set the current cuda device to this device. TODO is this enough when there are multiple threads running?
kn-cuda-sys/src/wrapper/handle.rs:61
↓ 13 callers
Function
__float2half_rn
kn-cuda-sys/doc_headers/cuda_include/cuda_fp16.hpp:1158
↓ 13 callers
Method
constant_tensor
(&mut self, tensor: DTensor)
kn-graph/src/graph.rs:593
↓ 13 callers
Method
contains
(&self, key: &str)
kn-graph/src/onnx/store.rs:10
↓ 13 callers
Method
replace
Build a new shape with the shape at `axis` replaced by `replacement`, the rest are kept as-is.
kn-graph/src/shape.rs:139
↓ 13 callers
Function
rng_tensor_f32
(shape: I, rng: &mut impl Rng)
kn-cuda-eval/tests/root/tensor_utils.rs:7
↓ 13 callers
Method
slice
(&mut self, input: Value, axis: usize, range: SliceRange)
kn-graph/src/graph.rs:773
↓ 13 callers
Method
view
(&self, new_shape: Vec<usize>)
kn-cuda-eval/src/shape.rs:133
↓ 12 callers
Function
abs_axis
(axis: i64, rank: usize)
kn-graph/src/onnx/load.rs:1391
↓ 12 callers
Method
alloc_tensor_shared
(&mut self, shape: ConcreteShape, dtype: DType, debug_value: Option<Value>)
kn-cuda-eval/src/planner.rs:993
↓ 12 callers
Method
as_const
Try to evaluate `value` as a constant.
kn-graph/src/graph.rs:435
↓ 12 callers
Method
deref
(&self)
kn-graph/src/dtype.rs:650
↓ 12 callers
Method
inner
(&self)
kn-cuda-sys/src/wrapper/descriptor.rs:92
↓ 12 callers
Method
mul
(&mut self, left: Value, right: Value)
kn-graph/src/graph.rs:1237
↓ 12 callers
Method
unwrap_fixed
(&self, what: &str)
kn-graph/src/shape.rs:89
↓ 12 callers
Method
value
(&mut self, x: X, y: Y)
kn-cuda-eval/tests/root/elementwise.rs:124
↓ 11 callers
Method
assert_has_axis
(&self, axis: usize)
kn-graph/src/shape.rs:76
↓ 11 callers
Method
inner
(self)
kn-cuda-sys/src/wrapper/handle.rs:55
↓ 11 callers
Method
outputs
(&self)
kn-graph/src/graph.rs:404
↓ 11 callers
Method
stream
(&self)
kn-cuda-eval/src/step.rs:325
↓ 10 callers
Function
__hmin
kn-cuda-sys/doc_headers/cuda_include/cuda_fp16.hpp:2282
↓ 10 callers
Function
__low2half
kn-cuda-sys/doc_headers/cuda_include/cuda_fp16.hpp:2084
↓ 10 callers
Method
abs
(tensor: Tensor<f32>)
kn-graph/src/visualize.rs:278
↓ 10 callers
Method
all
()
kn-cuda-sys/src/wrapper/handle.rs:45
↓ 10 callers
Method
bytes
(self)
kn-graph/src/dtype.rs:200
↓ 10 callers
Method
gather
(&mut self, input: Value, axis: usize, indices: Value)
kn-graph/src/graph.rs:854
↓ 10 callers
Method
permute
(&self, permutation: &[usize])
kn-cuda-eval/src/shape.rs:217
↓ 10 callers
Method
signed_index
(&self, index: isize)
kn-runtime/examples/stable_diffusion.rs:447
↓ 10 callers
Method
specials
TODO move specials to type itself, while keeping this one too?
kn-graph/src/dtype.rs:134
↓ 9 callers
Function
__halves2half2
kn-cuda-sys/doc_headers/cuda_include/cuda_fp16.hpp:2147
↓ 9 callers
Function
__high2float
kn-cuda-sys/doc_headers/cuda_include/cuda_bf16.hpp:1184
↓ 9 callers
Function
__internal_device_fast_bf16log2
kn-cuda-sys/doc_headers/cuda_include/cuda_bf16.hpp:3837
↓ 9 callers
Function
__low2float
kn-cuda-sys/doc_headers/cuda_include/cuda_bf16.hpp:1179
↓ 9 callers
Method
maybe_take_int
(&mut self, key: &str)
kn-graph/src/onnx/inputs.rs:146
↓ 9 callers
Function
optimize_graph
Optimize the given graph according to the given settings. Returns a new, fully independent graph.
kn-graph/src/optimizer/mod.rs:25
↓ 9 callers
Method
push
(&mut self, value: T)
kn-cuda-sys/src/wrapper/rtc/args.rs:30
↓ 9 callers
Method
remove
(&self, axis: usize)
kn-cuda-eval/src/shape.rs:272
↓ 9 callers
Method
size
(self)
kn-graph/src/dtype.rs:113
↓ 9 callers
Method
stream
(&self)
kn-cuda-eval/src/executor.rs:112
next →
1–100 of 1,306, ranked by callers