Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

cuda integer of 16 bits

Tags:

cuda

uint

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.

like image 935
Frederico Schardong Avatar asked Oct 27 '25 07:10

Frederico Schardong


1 Answers

May be you should try ordinary c unsigned short?

like image 143
otter Avatar answered Oct 30 '25 14:10

otter



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!