Skip to content

Commit 5cbc82c

Browse files
committed
runtime: use the right numer of bits for handle_id based on size bits
1 parent 216be50 commit 5cbc82c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

runtime/include/alaska/alaska.hpp

+4
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,11 @@ namespace alaska {
5252
extern long translation_hits;
5353
extern long translation_misses;
5454

55+
#if ALASKA_SIZE_BITS < 32
5556
using handle_id_t = uint64_t;
57+
#else
58+
using handle_id_t = uint32_t;
59+
#endif
5660

5761

5862
class Mapping {

0 commit comments

Comments
 (0)