Thank’s , your code and reply is perfect,
I don’t know about “kernel launch latency on the GPU” that is total latency to run kernels on GPU and
data transmission latency between CPU and GPU.
Thank you