LogoClawIndex
CasesSkillsAbout
LogoClawIndex

ClawIndex

OpenClaw Skills & Use Case Index

ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

Index

Skills·
Cases

Meta

About·
Disclaimer·
Email·
GitHub
© 2026 ClawIndex All Rights Reserved.

add-jit-kernel - Add a lightweight JIT CUDA kernel to SGLang

Provides a step-by-step tutorial for adding an element-wise scale JIT CUDA kernel to SGLang's jit_kernel module.

Tags

Updated: 2026-12-05

Capabilities

Typical Inputs

Typical Outputs

What this skill does

  • Guide JIT kernel development
  • Implement element-wise scaling
  • Validate tensor arguments
  • Allocate output tensors
  • Configure CUDA kernel launches

Inputs

  • CUDA tensor
  • Runtime scalar factor
  • SGLang codebase
  • Kernel source files

Outputs

  • JIT CUDA kernel
  • Element-wise scaled tensor
  • Kernel source changes

Requirements

  • CUDA environment
  • SGLang jit_kernel module
  • Supported tensor dtypes

Source

  • Spec: SKILL.md
CUDA
JIT compilation
SGLang
GPU kernels
Tensor operations
Guide JIT kernel development
Implement element-wise scaling
Validate tensor arguments
Allocate output tensors
CUDA tensor
Runtime scalar factor
SGLang codebase
JIT CUDA kernel
Element-wise scaled tensor
Kernel source changes