Important: Output the complete Python code directly in your reply:
- Code must be wrapped in a
python ...code block - Code must be runnable as-is, without modification
- Do not include test code or benchmark code
- Do not add extra explanations, output only the code block
- Do not write code to a file, output it directly in your reply
Example output format:
import torch
import triton
import triton.language as tl
# Your implementation...