correcting tail loop to use wait then barrier and not the reverse
correcting tail loop to use wait then barrier and not the reverse

guacamoleo/Tensile,guacamoleo/Tensile,ROCmSoftwarePlatform/Tensile,guacamoleo/Tensile,guacamoleo/Tensile,ROCmSoftwarePlatform/Tensile,ROCmSoftwarePlatform/Tensile