next power of 2 Algorithm

GCN graphics chips are fabricated with CMOS at 28 nm, and with FinFET at 14 nm (by Samsung electronics and GlobalFoundries) and 7 nm (by TSMC), available on choose models in the Radeon HD 7000, HD 8000, 200, 300, 400, 500 and Vega series of AMD Radeon graphics cards, including the separately released Radeon VII.GCN was developed by AMD for their GPUs as the successor to TeraScale microarchitecture / education set.

next power of 2 source code, pseudocode and analysis