Refactor Field Modelling
All threads resolved!
All threads resolved!
Files
50+ 8
− 7
@@ -2,29 +2,30 @@
This MR introduces a significant refactoring of the backend handling of fields. This comprises several parts:
KernelParameter
subclassesPsLinearizedArray
to PsBuffer
PsBuffer
and PsSymbol
to module backend.memory
PsBuffer
constructor to take all its pointer, shape and stride as PsSymbol
or PsConstant
PsArrayAccess
by PsBufferAcc
; PsBufferAcc
takes an nd index tuple instead of a linearized indexLowerToC
transformation pass which lowers buffer accesses to raw memory accessesEraseAnonymousStructs
into LowerToC
LowerToC
pass and late canonicalization and constant folding passes to the create_kernel
pipelineA number of bugs revealed during development are being fixed:
clone()
on expression nodes used to forget the nodes' data type; now keeps itCloses #101 (closed)
Continues work from !408 (merged)