Spaces:
Running
Running
Download kernels/dot4_native.wgsl from EncryptidSystems/EdgeAI: direct link, hf CLI and curl.
- Browser
- Download file 306 Bytes
-
https://huggingface.co/spaces/EncryptidSystems/EdgeAI/resolve/main/kernels/dot4_native.wgsl
- Command line
-
hf download hf://spaces/EncryptidSystems/EdgeAI/kernels/dot4_native.wgsl
-
curl -L -o dot4_native.wgsl https://huggingface.co/spaces/EncryptidSystems/EdgeAI/resolve/main/kernels/dot4_native.wgsl
306 Bytes
| // dot4: the dot product of two packed 4 x int8 vectors, on the hardware | |
| // instruction (WGSL packed_4x8_integer_dot_product). Prepended to the | |
| // kernels that use it when the device has the feature. | |
| requires packed_4x8_integer_dot_product; | |
| fn dot4(a: u32, b: u32) -> i32 { | |
| return dot4I8Packed(a, b); | |
| } | |