mirror of
https://github.com/tile-ai/tilelang.git
synced 2026-10-24 07:04:00 +08:00
* [Cleanup] Replace root vec_type reproducer with CPU regression test (#2875) Remove the root-level reproducer scripts and add a proper pytest under testing/python/cpu covering vectorized vec_type arithmetic (+ - * /) on the CPU C target: the generated source must reach a float4 expression, compile as C++, and execute with numerically correct results. * [Test] Pin CPU vec_type test tensors to float32/cpu CodeRabbit review finding: torch.randn/rand/empty respected PyTorch's process-wide default dtype/device, so another test changing set_default_dtype/set_default_device could create float64 or non-CPU tensors and break the float32 CPU kernel contract. Pin all six tensors explicitly without changing process-wide defaults.