diff --git a/cpp/src/join/mixed_join_kernel.cuh b/cpp/src/join/mixed_join_kernel.cuh index 22bbbff967a..779c2d3ccde 100644 --- a/cpp/src/join/mixed_join_kernel.cuh +++ b/cpp/src/join/mixed_join_kernel.cuh @@ -39,7 +39,7 @@ namespace cg = cooperative_groups; #pragma GCC diagnostic ignored "-Wattributes" template -__attribute__((visibility("hidden"))) __launch_bounds__(block_size) __global__ +__launch_bounds__(block_size) CUDF_KERNEL void mixed_join(table_device_view left_table, table_device_view right_table, table_device_view probe, diff --git a/cpp/src/join/mixed_join_kernels_semi.cu b/cpp/src/join/mixed_join_kernels_semi.cu index bde75395371..3b026c1ce83 100644 --- a/cpp/src/join/mixed_join_kernels_semi.cu +++ b/cpp/src/join/mixed_join_kernels_semi.cu @@ -34,7 +34,7 @@ namespace cg = cooperative_groups; #pragma GCC diagnostic ignored "-Wattributes" template -__attribute__((visibility("hidden"))) __launch_bounds__(block_size) __global__ +__launch_bounds__(block_size) CUDF_KERNEL void mixed_join_semi(table_device_view left_table, table_device_view right_table, table_device_view probe, diff --git a/cpp/src/join/mixed_join_size_kernels_semi.cu b/cpp/src/join/mixed_join_size_kernels_semi.cu index 31da6677aef..3c1cbc83207 100644 --- a/cpp/src/join/mixed_join_size_kernels_semi.cu +++ b/cpp/src/join/mixed_join_size_kernels_semi.cu @@ -34,7 +34,7 @@ namespace cg = cooperative_groups; #pragma GCC diagnostic ignored "-Wattributes" template -__attribute__((visibility("hidden"))) __launch_bounds__(block_size) __global__ +__launch_bounds__(block_size) CUDF_KERNEL void compute_mixed_join_output_size_semi( table_device_view left_table, table_device_view right_table, diff --git a/cpp/tests/error/error_handling_test.cu b/cpp/tests/error/error_handling_test.cu index 63b33b6bcab..796a8bb9412 100644 --- a/cpp/tests/error/error_handling_test.cu +++ b/cpp/tests/error/error_handling_test.cu @@ -39,7 +39,7 @@ TEST(StreamCheck, success) { EXPECT_NO_THROW(CUDF_CHECK_CUDA(0)); } namespace { // Some silly kernel that will cause an error -static void __global__ test_kernel(int* data) { data[threadIdx.x] = threadIdx.x; } +CUDF_KERNEL void test_kernel(int* data) { data[threadIdx.x] = threadIdx.x; } } // namespace // In a release build and without explicit synchronization, CUDF_CHECK_CUDA may