Search code examples
cudauint

cuda integer of 16 bits


is there any 16 bits long variable in CUDA? I need an unsigned integer of 16 bits. I've tried:

uint16
uint16_t

But no one is recognized by nvcc.


Solution

  • May be you should try ordinary c unsigned short?