CUDA kernel written. Totally works.