Instructions to use kernels-community/gemm with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Kernels
How to use kernels-community/gemm with Kernels:
# !pip install kernels from kernels import get_kernel kernel = get_kernel("kernels-community/gemm") - Notebooks
- Google Colab
- Kaggle
| template <int x, int y> constexpr __device__ __host__ inline int exact_div() { | |
| static_assert(x % y == 0); | |
| static_assert(x >= y); | |
| return x / y; | |
| } | |
| constexpr __device__ __host__ inline int ceil_div(int x, int y) { return (x + y - 1) / y; } | |