It is unclear what I was thinking when authoring the original code... [ROCm/hip commit: 4948fa0cce]
4948fa0cce