From 6653066e2f055e6b6f66286cb3cf094907c79b58 Mon Sep 17 00:00:00 2001 From: ustcfy <96854327+ustcfy@users.noreply.github.com> Date: Fri, 22 Nov 2024 10:28:08 +0800 Subject: [PATCH] Update src/main/cpp/src/hive_hash.cu Co-authored-by: Nghia Truong <7416935+ttnghia@users.noreply.github.com> --- src/main/cpp/src/hive_hash.cu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/cpp/src/hive_hash.cu b/src/main/cpp/src/hive_hash.cu index a76f441ae..1c3da352d 100644 --- a/src/main/cpp/src/hive_hash.cu +++ b/src/main/cpp/src/hive_hash.cu @@ -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(stack_wrapper); + auto col_stack = reinterpret_cast(stack_wrapper); int stack_size = 0; col_stack[stack_size++] = col_stack_frame(curr_col);