wave and spectrum to gpu