Open
Description
I think there is a bug with the check here:
taco/src/lower/lowerer_impl_imperative.cpp
Line 2215 in ee8c22a
It should be if (temporaryHoisted && util::contains(needCompute, temporary) && !isScalar(temporary.getType()) && !accelerateDenseWorkSpace)
since the code initialization is handled in codeToInitializeTemporary()
for the if (!temporaryHoisted)
case here
@stephenchouca can you confirm this for me since you made some of these changes too?
Placeholder for @weiya711 (myself) to fix later