move the case statement out of the architecture specific section. [ROCm/rocshmem commit: c133ea18a5]
c133ea18a5