How a CUDA kernel runs on the GPU

scale.cu