add GPU constant setting