CUDA version of YT's PE