change sendUpdate/recvUpdate to use symbol specific synchronizer (e.g., when two foreach loops are fused)
Fix for referential primitive types on GPU, add test cases.
Also includes bug fixes for the previous commit.