uwsampl / SparseTIR

SparseTIR: Sparse Tensor Compiler for Deep Learning
https://sampl.cs.washington.edu/SparseTIR/
Apache License 2.0
131 stars 14 forks source link

[Bug] Reverse Cache Read/Write do not consider itervars in outer blocks. #60

Open yzh119 opened 2 years ago

yzh119 commented 2 years ago

Our current implementation of Reverse Cache Read/Write hasn't considered itervars in outer blocks when there are nested blocks in the program. This is problematic when loops in outer blocks are bound to physical threads, workloads in different threads might re-use the same region in generated cache read/write buffer.