eyalroz / cuda-kat

CUDA kernel author's tools
BSD 3-Clause "New" or "Revised" License
105 stars 8 forks source link

Consider using sized integer types for the builtins #33

Open eyalroz opened 4 years ago

eyalroz commented 4 years ago

While nVIDIA's own C headers for builtin wrappers use the fundamental types int, unsigned, unsigned long long etc. - the builtins are actually based on exact parameter sizes, not the wishy-washy C integer types. Should we then not make our builtins reflect that, by taking only intNN_t's and uintNN_ts as integer parameters?