Open
Description
What is the most reasonable semantics for a(i) = b(i) + c
? Does it mean:
- that we add
c
to every non-zero component inb
, or - that we add
c
to every component inb
?
This is the same question as what is the most reasonable semantics for A(i,j) = B(i,j) + c(i)
.
If it is the latter, we need to stop handling scalars as a special case, to be ignored in the merge lattices and iteration schedules and simply multiplied in when computing. Rather we must merge with it, assuming it is a dense space.
Metadata
Metadata
Assignees
Labels
No labels