Skip to content

Commit

Permalink
Update src/main/cpp/src/hive_hash.cu
Browse files Browse the repository at this point in the history
Co-authored-by: Nghia Truong <[email protected]>
  • Loading branch information
ustcfy and ttnghia authored Nov 22, 2024
1 parent 3b210a2 commit 6653066
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/cpp/src/hive_hash.cu
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ class hive_device_row_hasher {
// of `col_stack_frame` directly.
// Instead leverage the byte array to create the col_stack_frame array.
alignas(col_stack_frame) char stack_wrapper[sizeof(col_stack_frame) * MAX_NESTED_DEPTH];
col_stack_frame_ptr col_stack = reinterpret_cast<col_stack_frame_ptr>(stack_wrapper);
auto col_stack = reinterpret_cast<col_stack_frame*>(stack_wrapper);
int stack_size = 0;

col_stack[stack_size++] = col_stack_frame(curr_col);
Expand Down

0 comments on commit 6653066

Please sign in to comment.