Added a function to generate PPU Ids of threads for different LPSes