(1) correct local -> global error  (2) add test for beta = 1
(1) correct local -> global error  (2) add test for beta = 1

ROCmSoftwarePlatform/MIOpen,ROCmSoftwarePlatform/MIOpen,ROCmSoftwarePlatform/MIOpen,ROCmSoftwarePlatform/MIOpen,ROCmSoftwarePlatform/MIOpen