File tree 1 file changed +6
-4
lines changed
1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -30,8 +30,9 @@ inline __device__ bool AttemptInsert(
30
30
static_cast <unsigned int >(-1 ),
31
31
static_cast <unsigned int >(id));
32
32
if (key == -1 || key == id) {
33
- atomicMin (reinterpret_cast <unsigned int *>(&key_index[pos]), // NOLINT
34
- static_cast <unsigned int >(index )); // NOLINT
33
+ atomicMin (
34
+ reinterpret_cast <unsigned long long int *>(&key_index[pos]), // NOLINT
35
+ static_cast <unsigned long long int >(index )); // NOLINT
35
36
return true ;
36
37
} else {
37
38
return false ;
@@ -42,8 +43,9 @@ inline __device__ bool AttemptInsert(
42
43
static_cast <unsigned long long int >(-1 ), // NOLINT
43
44
static_cast <unsigned long long int >(id)); // NOLINT
44
45
if (key == -1 || key == id) {
45
- atomicMin (reinterpret_cast <unsigned int *>(&key_index[pos]), // NOLINT
46
- static_cast <unsigned int >(index )); // NOLINT
46
+ atomicMin (
47
+ reinterpret_cast <unsigned long long int *>(&key_index[pos]), // NOLINT
48
+ static_cast <unsigned long long int >(index )); // NOLINT
47
49
return true ;
48
50
} else {
49
51
return false ;
You can’t perform that action at this time.
0 commit comments