Skip to content

Commit 8615532

Browse files
committed
Small documentation consistency updates.
1 parent 9c8e786 commit 8615532

17 files changed

Lines changed: 20 additions & 21 deletions

File tree

include/plssvm/backends/HIP/kernel/cg_explicit/kernel_matrix_assembly.hip.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ namespace plssvm::hip::detail {
3232
* @param[in] data the data points to calculate the kernel matrix from
3333
* @param[in] num_rows the total number of data points (= total number of rows)
3434
* @param[in] device_num_rows the number of rows the current device is responsible for
35-
* @param[in] device_row_offset the first row in @p data_d the current device is responsible for
35+
* @param[in] device_row_offset the first row in @p data the current device is responsible for
3636
* @param[in] num_features the number of features per data point
3737
* @param[in] q the vector used in the dimensional reduction
3838
* @param[in] QA_cost the scalar used in the dimensional reduction

include/plssvm/backends/HIP/kernel/cg_implicit/kernel_matrix_assembly_blas.hip.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* @license This file is part of the PLSSVM project which is released under the MIT license.
77
* See the LICENSE.md file in the project root for full license information.
88
*
9-
* @brief Functions for explicitly assembling the kernel matrix using the HIP backend.
9+
* @brief Functions for implicitly assembling the kernel matrix using the HIP backend.
1010
*/
1111

1212
#ifndef PLSSVM_BACKENDS_HIP_KERNEL_CG_IMPLICIT_KERNEL_MATRIX_ASSEMBLY_BLAS_HIP_HPP_

include/plssvm/backends/Kokkos/kernel/cg_explicit/blas.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,7 @@ class device_kernel_inplace_matrix_scale {
434434
/**
435435
* @brief Initialize the Kokkos kernel function object.
436436
* @param[in] num_cols the number of columns in the matrix
437-
* @param[in,out] lhs the first matrix (updated inplace)
437+
* @param[in,out] lhs the matrix (updated inplace)
438438
* @param[in] scale the value to scale
439439
* @param[in] grid_x_offset the offset in x-dimension into the data points if more than one execution grid has to be used
440440
* @param[in] grid_y_offset the offset in y-dimension into the data points if more than one execution grid has to be used

include/plssvm/backends/Kokkos/kernel/cg_explicit/kernel_matrix_assembly.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,9 @@ class device_kernel_assembly {
4747
* @brief Initialize the Kokkos kernel function object.
4848
* @param[out] kernel_matrix the calculated kernel matrix
4949
* @param[in] data the data points to calculate the kernel matrix from
50-
* @param[in] num_rows the number of data points
50+
* @param[in] num_rows the total number of data points (= total number of rows)
5151
* @param[in] device_num_rows the number of rows the current device is responsible for
52-
* @param[in] device_row_offset the first row in @p data_d the current device is responsible for
52+
* @param[in] device_row_offset the first row in @p data the current device is responsible for
5353
* @param[in] num_features the number of features per data point
5454
* @param[in] q the vector used in the dimensional reduction
5555
* @param[in] QA_cost the scalar used in the dimensional reduction

include/plssvm/backends/Kokkos/kernel/predict_kernel.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ class device_kernel_w_linear {
4343
public:
4444
/**
4545
* @brief Initialize the Kokkos kernel function object.
46-
* @param[in,out] w the vector to speedup the linear prediction
46+
* @param[out] w the vector to speedup the linear prediction
4747
* @param[in] alpha the previously learned weights
4848
* @param[in] support_vectors the support vectors
4949
* @param[in] num_classes the number of classes

include/plssvm/backends/OpenCL/kernel/cg_explicit/kernel_matrix_assembly.cl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
* @param[in] data the data points to calculate the kernel matrix from
1919
* @param[in] num_rows the total number of data points (= total number of rows)
2020
* @param[in] device_num_rows the number of rows the current device is responsible for
21-
* @param[in] device_row_offset the first row in @p data_d the current device is responsible for
21+
* @param[in] device_row_offset the first row in @p data the current device is responsible for
2222
* @param[in] num_features the number of features per data point
2323
* @param[in] q the vector used in the dimensional reduction
2424
* @param[in] QA_cost the scalar used in the dimensional reduction

include/plssvm/backends/OpenCL/kernel/cg_implicit/kernel_matrix_assembly_blas.cl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
* @param[in] alpha the scalar alpha value
2121
* @param[in] q the vector used in the dimensional reduction
2222
* @param[in] data the data points to calculate the implicit kernel matrix from
23-
* @param[in] num_rows the number of data points
23+
* @param[in] num_rows the total number of data points (= total number of rows)
2424
* @param[in] device_num_rows the number of rows the current device is responsible for
2525
* @param[in] device_row_offset the first row in @p data the current device is responsible for
2626
* @param[in] num_features the number of features per data point

include/plssvm/backends/OpenCL/kernel/predict_kernel_linear.cl

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

1616
/**
1717
* @brief Calculate the `w` vector used to speedup the prediction using the linear kernel function.
18-
* @param[in,out] w the vector to speedup the linear prediction
18+
* @param[out] w the vector to speedup the linear prediction
1919
* @param[in] alpha the previously learned weights
2020
* @param[in] support_vectors the support vectors
2121
* @param[in] num_classes the number of classes

include/plssvm/backends/SYCL/kernel/cg_explicit/basic/kernel_matrix_assembly.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@ class device_kernel_assembly {
4444
* @brief Initialize the SYCL kernel function object.
4545
* @param[out] kernel_matrix the calculated kernel matrix
4646
* @param[in] data the data points to calculate the kernel matrix from
47-
* @param[in] num_rows the number of data points
47+
* @param[in] num_rows the total number of data points (= total number of rows)
4848
* @param[in] device_num_rows the number of rows the current device is responsible for
49-
* @param[in] device_row_offset the first row in @p data_d the current device is responsible for
49+
* @param[in] device_row_offset the first row in @p data the current device is responsible for
5050
* @param[in] num_features the number of features per data point
5151
* @param[in] q the vector used in the dimensional reduction
5252
* @param[in] QA_cost the scalar used in the dimensional reduction

include/plssvm/backends/SYCL/kernel/cg_explicit/scoped/kernel_matrix_assembly.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@ class device_kernel_assembly {
4444
* @brief Initialize the SYCL kernel function object.
4545
* @param[out] kernel_matrix the calculated kernel matrix
4646
* @param[in] data the data points to calculate the kernel matrix from
47-
* @param[in] num_rows the number of data points
47+
* @param[in] num_rows the total number of data points (= total number of rows)
4848
* @param[in] device_num_rows the number of rows the current device is responsible for
49-
* @param[in] device_row_offset the first row in @p data_d the current device is responsible for
49+
* @param[in] device_row_offset the first row in @p data the current device is responsible for
5050
* @param[in] num_features the number of features per data point
5151
* @param[in] q the vector used in the dimensional reduction
5252
* @param[in] QA_cost the scalar used in the dimensional reduction

0 commit comments

Comments
 (0)