Created by: sneaxiy
Startup program should be run before pe constructs. It is because parameters would be broadcast from device 0 to other devices when pe constructs.