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!
Example | Description |
---|---|
GeLU | Implement the GeLU activation function using CubeCL. |
Sum Things | Sum some numbers using many different variations leveraging the CubeCL core features and trait support. |
Normalization | Show how to use normalization on vectorized elements. |
Device Sharing | Share a WGPU device with CubeCL and other service. |
Fusing | Use comptime to select operation |