Skip to content

Instantly share code, notes, and snippets.

View BenkangPeng's full-sized avatar
😭
Debugging my brain🧠

BenkangPeng

😭
Debugging my brain🧠
  • 12:06 (UTC +08:00)
View GitHub Profile
@BenkangPeng
BenkangPeng / Code3.1_test_warp_tiling.py
Last active September 30, 2025 09:17
Test the vthread binding and unroll shedule primitives of TVM.
import tvm
import tvm.script.tir as T
from collections import namedtuple
import numpy as np
from utils import dump
import os
dtype = "float32"
M = N = 4096
dim = namedtuple('dim', ['x', 'y', 'z'])