massive speedups and cuda psd