Skip to content

Commit f07b9ca

Browse files
committed
Do not pretend to default initialize a device lambda
Found in CCCL CI
1 parent d8d929d commit f07b9ca

File tree

3 files changed

+16
-16
lines changed

3 files changed

+16
-16
lines changed

cpp/src/prims/count_if_v.cuh

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2020-2024, NVIDIA CORPORATION.
2+
* Copyright (c) 2020-2025, NVIDIA CORPORATION.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -35,9 +35,9 @@ namespace detail {
3535

3636
template <typename vertex_t, typename VertexValueInputIterator, typename VertexOp>
3737
struct count_if_call_v_op_t {
38-
vertex_t local_vertex_partition_range_first{};
39-
VertexValueInputIterator vertex_value_input_first{};
40-
VertexOp v_op{};
38+
vertex_t local_vertex_partition_range_first;
39+
VertexValueInputIterator vertex_value_input_first;
40+
VertexOp v_op;
4141

4242
__device__ bool operator()(vertex_t i)
4343
{

cpp/src/prims/transform_reduce_v.cuh

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2020-2024, NVIDIA CORPORATION.
2+
* Copyright (c) 2020-2025, NVIDIA CORPORATION.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -36,9 +36,9 @@ namespace detail {
3636

3737
template <typename vertex_t, typename VertexValueInputIterator, typename VertexOp, typename T>
3838
struct transform_reduce_call_v_op_t {
39-
vertex_t local_vertex_partition_range_first{};
40-
VertexValueInputIterator vertex_value_input_first{};
41-
VertexOp v_op{};
39+
vertex_t local_vertex_partition_range_first;
40+
VertexValueInputIterator vertex_value_input_first;
41+
VertexOp v_op;
4242

4343
__device__ T operator()(vertex_t i)
4444
{

cpp/src/prims/update_v_frontier.cuh

+8-8
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,10 @@ template <typename vertex_t,
5151
typename key_t,
5252
typename payload_t>
5353
struct update_v_frontier_call_v_op_t {
54-
VertexValueInputIterator vertex_value_input_first{};
55-
VertexValueOutputIterator vertex_value_output_first{};
56-
VertexOp v_op{};
57-
vertex_t local_vertex_partition_range_first{};
54+
VertexValueInputIterator vertex_value_input_first;
55+
VertexValueOutputIterator vertex_value_output_first;
56+
VertexOp v_op;
57+
vertex_t local_vertex_partition_range_first;
5858

5959
__device__ uint8_t operator()(thrust::tuple<key_t, payload_t> pair) const
6060
{
@@ -87,10 +87,10 @@ struct update_v_frontier_call_v_op_t<vertex_t,
8787
VertexOp,
8888
key_t,
8989
void> {
90-
VertexValueInputIterator vertex_value_input_first{};
91-
VertexValueOutputIterator vertex_value_output_first{};
92-
VertexOp v_op{};
93-
vertex_t local_vertex_partition_range_first{};
90+
VertexValueInputIterator vertex_value_input_first;
91+
VertexValueOutputIterator vertex_value_output_first;
92+
VertexOp v_op;
93+
vertex_t local_vertex_partition_range_first;
9494

9595
__device__ uint8_t operator()(key_t key) const
9696
{

0 commit comments

Comments
 (0)