|
1 | 1 | /* |
2 | | - * SPDX-FileCopyrightText: Copyright (c) 2025, NVIDIA CORPORATION. |
| 2 | + * SPDX-FileCopyrightText: Copyright (c) 2025-2026, NVIDIA CORPORATION. |
3 | 3 | * SPDX-License-Identifier: Apache-2.0 |
4 | 4 | */ |
5 | 5 | package com.nvidia.cuvs; |
@@ -75,13 +75,8 @@ public class CuVSAceParams { |
75 | 75 | */ |
76 | 76 | private final double maxGpuMemoryGb; |
77 | 77 |
|
78 | | - private CuVSAceParams( |
79 | | - long npartitions, |
80 | | - long efConstruction, |
81 | | - String buildDir, |
82 | | - boolean useDisk, |
83 | | - double maxHostMemoryGb, |
84 | | - double maxGpuMemoryGb) { |
| 78 | + private CuVSAceParams(long npartitions, long efConstruction, String buildDir, boolean useDisk, |
| 79 | + double maxHostMemoryGb, double maxGpuMemoryGb) { |
85 | 80 | this.npartitions = npartitions; |
86 | 81 | this.efConstruction = efConstruction; |
87 | 82 | this.buildDir = buildDir; |
@@ -264,8 +259,8 @@ public Builder withMaxGpuMemoryGb(double maxGpuMemoryGb) { |
264 | 259 | * @return an instance of {@link CuVSAceParams} |
265 | 260 | */ |
266 | 261 | public CuVSAceParams build() { |
267 | | - return new CuVSAceParams( |
268 | | - npartitions, efConstruction, buildDir, useDisk, maxHostMemoryGb, maxGpuMemoryGb); |
| 262 | + return new CuVSAceParams(npartitions, efConstruction, buildDir, useDisk, |
| 263 | + maxHostMemoryGb, maxGpuMemoryGb); |
269 | 264 | } |
270 | 265 | } |
271 | 266 | } |
0 commit comments