Fix some NVCC issues. Add hipStreamSync2, record_event tests. [ROCm/hip commit: 8ce6d17983]
8ce6d17983