You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Would be cool to have a NarrowIntegers.jl package, generalizing integers to sub-byte widths like how Microfloats.jl generalizes floats.
These narrow integers could be implemented with UInt8 with a mask that gets applied after each operation Then there could be a BitPacking.jl extension that implements efficient broadcasting methods that handles overflows. See https://julialang.org/blog/2018/05/extensible-broadcast-fusion/.
Could maybe use BitIntegers.jl to do bit-manipulaton on chunks.
Activity
AntonOresten commentedon Jun 27, 2026
cuTile should be able to support 4-bit integers.