draft of MaxSpeedOfSound CUDA kernel