ThreadIdx.x Question

Hello,
What is the starting Id for the int x = threadIdx.x ? Is it 1 or 0?

Thanks,
Grady

CUDA is C-based, so it starts at 0.

thanks a lot