Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Examples

For now we only have a limited amount of examples listed in the table below. Note that you can also look at how the matmul is implemented. Don't hesitate to contribute more examples to the CubeCL repository!

ExampleDescription
GeLUImplement the GeLU activation function using CubeCL.
Sum ThingsSum some numbers using many different variations leveraging the CubeCL core features and trait support.
NormalizationShow how to use normalization on vectorized elements.
Device SharingShare a WGPU device with CubeCL and other service.
FusingUse comptime to select operation