Fix runtime synchronization bugs, add tests
Bug fix on C++ Ref type
Fix on GPU hash reduce
Merge remote-tracking branch 'origin/wip-develop' into wip-develop
Merge remote-tracking branch 'origin/wip-develop' into wip-develop