Skip to content

Commit 236f9bc

Browse files
authored
Merge branch 'main' into air05_fix
2 parents 662efbc + ab7edbf commit 236f9bc

File tree

65 files changed

+1160
-899
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

65 files changed

+1160
-899
lines changed

benchmarks/linear_programming/cuopt/benchmark_helper.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@
1313
#include <cuopt/linear_programming/solve.hpp>
1414
#include <mps_parser/parser.hpp>
1515

16-
#include <raft/sparse/detail/cusparse_macros.h>
1716
#include <raft/sparse/detail/cusparse_wrappers.h>
18-
#include <raft/common/nvtx.hpp>
17+
#include <raft/core/cusparse_macros.hpp>
1918
#include <raft/core/handle.hpp>
19+
#include <raft/core/nvtx.hpp>
2020
#include <raft/sparse/linalg/transpose.cuh>
2121

2222
#include <rmm/device_scalar.hpp>

benchmarks/linear_programming/cuopt/run_pdlp.cu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
#include <cuopt/linear_programming/solver_settings.hpp>
1212
#include <mps_parser/parser.hpp>
1313

14-
#include <raft/sparse/detail/cusparse_macros.h>
1514
#include <raft/sparse/detail/cusparse_wrappers.h>
15+
#include <raft/core/cusparse_macros.hpp>
1616
#include <raft/core/handle.hpp>
1717

1818
#include <argparse/argparse.hpp>

cpp/src/barrier/barrier.cu

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
#include <numeric>
3737

3838
#include <raft/sparse/detail/cusparse_wrappers.h>
39-
#include <raft/common/nvtx.hpp>
39+
#include <raft/core/nvtx.hpp>
4040
#include <raft/linalg/dot.cuh>
4141

4242
#include <thrust/iterator/permutation_iterator.h>
@@ -1390,7 +1390,7 @@ class iteration_data_t {
13901390
// v = alpha * A * w + beta * v = alpha * A * Dinv * A^T * y + beta * v
13911391
matrix_vector_multiply(A, alpha, w, beta, v);
13921392
if (debug) {
1393-
printf("||A|| = %.16e\n", vector_norm2<i_t, f_t>(A.x.underlying()));
1393+
printf("||A|| = %.16e\n", vector_norm2<i_t, f_t>(A.x));
13941394
printf("||w|| = %.16e\n", vector_norm2<i_t, f_t>(w));
13951395
printf("||v|| = %.16e\n", vector_norm2<i_t, f_t>(v));
13961396
}

cpp/src/barrier/cusparse_info.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* clang-format off */
22
/*
3-
* SPDX-FileCopyrightText: Copyright (c) 2025, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
3+
* SPDX-FileCopyrightText: Copyright (c) 2025-2026, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
44
* SPDX-License-Identifier: Apache-2.0
55
*/
66
/* clang-format on */
@@ -9,8 +9,8 @@
99

1010
#include <utilities/macros.cuh>
1111

12-
#include <raft/sparse/detail/cusparse_macros.h>
1312
#include <raft/sparse/detail/cusparse_wrappers.h>
13+
#include <raft/core/cusparse_macros.hpp>
1414
#include <raft/core/handle.hpp>
1515

1616
#include <rmm/device_scalar.hpp>

cpp/src/barrier/cusparse_view.cu

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616

1717
#include <cuopt/error.hpp>
1818

19-
#include <raft/sparse/detail/cusparse_macros.h>
2019
#include <raft/sparse/detail/cusparse_wrappers.h>
20+
#include <raft/core/cusparse_macros.hpp>
2121
#include <raft/sparse/linalg/transpose.cuh>
2222

2323
#include <dlfcn.h>
@@ -159,9 +159,9 @@ cusparse_view_t<i_t, f_t>::cusparse_view_t(raft::handle_t const* handle_ptr,
159159
A_indices_ = device_copy(indices, handle_ptr->get_stream());
160160
A_data_ = device_copy(data, handle_ptr->get_stream());
161161

162-
A_T_offsets_ = device_copy(A.col_start.underlying(), handle_ptr->get_stream());
163-
A_T_indices_ = device_copy(A.i.underlying(), handle_ptr->get_stream());
164-
A_T_data_ = device_copy(A.x.underlying(), handle_ptr->get_stream());
162+
A_T_offsets_ = device_copy(A.col_start, handle_ptr->get_stream());
163+
A_T_indices_ = device_copy(A.i, handle_ptr->get_stream());
164+
A_T_data_ = device_copy(A.x, handle_ptr->get_stream());
165165

166166
cusparseCreateCsr(&A_,
167167
rows,

cpp/src/barrier/sparse_cholesky.cuh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
#include <cuda_runtime.h>
1717
#include <utilities/driver_helpers.cuh>
1818

19-
#include <raft/common/nvtx.hpp>
19+
#include <raft/core/nvtx.hpp>
2020

2121
#include "cudss.h"
2222

cpp/src/branch_and_bound/branch_and_bound.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
#include <dual_simplex/tic_toc.hpp>
2323
#include <dual_simplex/user_problem.hpp>
2424

25-
#include <raft/common/nvtx.hpp>
25+
#include <raft/core/nvtx.hpp>
2626
#include <utilities/hashing.hpp>
2727

2828
#include <omp.h>

cpp/src/branch_and_bound/pseudo_costs.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
#include <cuopt/linear_programming/solve.hpp>
1616

17-
#include <raft/common/nvtx.hpp>
17+
#include <raft/core/nvtx.hpp>
1818

1919
#include <omp.h>
2020

0 commit comments

Comments
 (0)