tilelang.analysis.parallel_local_index_checker¶
Functions¶
Reject indexing a thread-private local buffer with a T.Parallel loop variable. |
Module Contents¶
- tilelang.analysis.parallel_local_index_checker.ParallelLocalIndexChecker()¶
Reject indexing a thread-private local buffer with a T.Parallel loop variable.
Local buffers have no cross-thread ownership layout. A local access may appear inside a parallel loop when its index is independent of the parallel loop variables, for example a replicated scalar
scale_local[0]. For an indexed per-thread loop, useT.serial,T.vectorized, orT.unroll; for distributed ownership, allocate a fragment instead.