stanford-ppl / spatial-lang

Spatial: "Specify Parameterized Accelerators Through Inordinately Abstract Language"
MIT License
99 stars 12 forks source link

Why Did Suppressing a LineBuffer .rotate in Scala Fix Convolutions? #227

Closed mattfel1 closed 6 years ago

mattfel1 commented 6 years ago

See line 30 of ScalaGenLineBuffer.scala and the Convolutions app. The linebuffer with a stride of 2 had two rotates, and by suppressing the second of the two I found that I was able to get the app to pass

dkoeplin commented 6 years ago

Caused by RotateEnqs in controllers which are fully unrolled. For now, fixed by change RotateEnqs without valid loop iterators to Enqs.

dkoeplin commented 6 years ago

Fixed on develop