# ######################################################################## # Copyright (C) 2026 Advanced Micro Devices, Inc. All rights Reserved. # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell # copies of the Software, and to permit persons to whom the Software is # furnished to do so, subject to the following conditions: # # The above copyright notice and this permission notice shall be included in # all copies or substantial portions of the Software. # # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN # THE SOFTWARE. # # ######################################################################## --- include: rocsparse_common.yaml Definitions: - &M_N_range_quick - { M: 50, N: 50 } - { M: 124, N: 124 } - &M_N_range_checkin - { M: 0, N: 0 } - { M: 1, N: 1 } - { M: 2, N: 2 } - { M: 8, N: 8 } - &M_N_range_checkin_1 - { M: 79, N: 79 } - { M: 152, N: 152 } - &M_N_range_nightly - { M: 9381, N: 9381 } - { M: 37017, N: 37017 } - &alpha_range_quick - { alpha: 1.0, alphai: -0.2 } - { alpha: -0.5, alphai: 0.1 } - &alpha_range_checkin - { alpha: 2.0, alphai: 0.0 } - { alpha: 3.0, alphai: -1.0 } - &alpha_range_nightly - { alpha: 0.0, alphai: 0.05 } - { alpha: -0.02, alphai: -0.1 } - &alpha_range_nightly_one - { alpha: 1.0, alphai: 0.0 } - &alpha_range_stress - { alpha: 1.0, alphai: 0.0} Tests: # Quick - name: spsm_csc category: quick function: spsm_csc indextype: *i32_i64 precision: *single_double_precisions_complex_real M_N: *M_N_range_quick K: [0, 1, 64] ld_multiplier_B: [1] ld_multiplier_C: [1] alpha_alphai: - { alpha: 1.0, alphai: -0.2 } transA: [rocsparse_operation_transpose] transB: [rocsparse_operation_none] orderB: [rocsparse_order_row] orderC: [rocsparse_order_row] diag: [rocsparse_diag_type_non_unit] uplo: [rocsparse_fill_mode_lower] baseA: [rocsparse_index_base_zero] spsm_alg: [rocsparse_spsm_alg_default] matrix: [rocsparse_matrix_random] - name: spsm_csc_file category: quick function: spsm_csc indextype: *i64 precision: *single_double_precisions M: 1 N: 1 K: [2, 3, 4, 76] ld_multiplier_B: [2] ld_multiplier_C: [2] alpha_alphai: *alpha_range_quick transA: [rocsparse_operation_none] transB: [rocsparse_operation_transpose] orderB: [rocsparse_order_row] orderC: [rocsparse_order_column] diag: [rocsparse_diag_type_unit] uplo: [rocsparse_fill_mode_lower] baseA: [rocsparse_index_base_zero] spsm_alg: [rocsparse_spsm_alg_default] matrix: [rocsparse_matrix_file_rocalution] filename: [nos2] - name: spsm_csc_file category: quick function: spsm_csc indextype: *i64i32 precision: *single_double_precisions M: 1 N: 1 K: [5, 6, 7, 8] ld_multiplier_B: [2] ld_multiplier_C: [2] alpha_alphai: *alpha_range_quick transA: [rocsparse_operation_none] transB: [rocsparse_operation_transpose] orderB: [rocsparse_order_row] orderC: [rocsparse_order_row] diag: [rocsparse_diag_type_unit] uplo: [rocsparse_fill_mode_lower] baseA: [rocsparse_index_base_zero] spsm_alg: [rocsparse_spsm_alg_default] matrix: [rocsparse_matrix_file_rocalution] filename: [nos4] - name: spsm_csc_file category: quick function: spsm_csc indextype: *i64 precision: *double_only_precisions_complex M: 1 N: 1 K: [3, 8, 89] ld_multiplier_B: [1] ld_multiplier_C: [3] alpha_alphai: *alpha_range_quick transA: [rocsparse_operation_none, rocsparse_operation_conjugate_transpose] transB: [rocsparse_operation_none, rocsparse_operation_conjugate_transpose] orderB: [rocsparse_order_column] orderC: [rocsparse_order_row] diag: [rocsparse_diag_type_non_unit] uplo: [rocsparse_fill_mode_upper] baseA: [rocsparse_index_base_one] spsm_alg: [rocsparse_spsm_alg_default] matrix: [rocsparse_matrix_file_rocalution] filename: [mplate] # Pre-checkin - name: spsm_csc_bad_arg category: pre_checkin function: spsm_csc_bad_arg precision: *single_double_precisions_complex_real - name: spsm_csc category: pre_checkin function: spsm_csc indextype: *i64 precision: *single_only_precisions M_N: *M_N_range_checkin K: [16, 64] ld_multiplier_B: [1] ld_multiplier_C: [4] alpha_alphai: *alpha_range_checkin transA: [rocsparse_operation_none, rocsparse_operation_transpose] transB: [rocsparse_operation_none, rocsparse_operation_transpose] orderB: [rocsparse_order_row, rocsparse_order_column] orderC: [rocsparse_order_row, rocsparse_order_column] diag: [rocsparse_diag_type_unit] uplo: [rocsparse_fill_mode_upper, rocsparse_fill_mode_lower] baseA: [rocsparse_index_base_zero] spsm_alg: [rocsparse_spsm_alg_default] matrix: [rocsparse_matrix_random] - name: spsm_csc category: pre_checkin function: spsm_csc indextype: *i32 precision: *double_only_precisions M_N: *M_N_range_checkin K: [33, 129] ld_multiplier_B: [1] ld_multiplier_C: [4] alpha_alphai: *alpha_range_checkin transA: [rocsparse_operation_none, rocsparse_operation_transpose] transB: [rocsparse_operation_none, rocsparse_operation_transpose] orderB: [rocsparse_order_row, rocsparse_order_column] orderC: [rocsparse_order_row, rocsparse_order_column] diag: [rocsparse_diag_type_unit] uplo: [rocsparse_fill_mode_upper, rocsparse_fill_mode_lower] baseA: [rocsparse_index_base_zero] spsm_alg: [rocsparse_spsm_alg_default] matrix: [rocsparse_matrix_random] - name: spsm_csc category: pre_checkin function: spsm_csc indextype: *i64i32 precision: *single_double_precisions M_N: *M_N_range_checkin_1 K: [7, 17] ld_multiplier_B: [1] ld_multiplier_C: [1] alpha_alphai: *alpha_range_checkin transA: [rocsparse_operation_none] transB: [rocsparse_operation_transpose] orderB: [rocsparse_order_row] orderC: [rocsparse_order_row] diag: [rocsparse_diag_type_unit] uplo: [rocsparse_fill_mode_upper] baseA: [rocsparse_index_base_zero] spsm_alg: [rocsparse_spsm_alg_default] matrix: [rocsparse_matrix_random] - name: spsm_csc_file category: pre_checkin function: spsm_csc indextype: *i64 precision: *single_double_precisions K: [141] ld_multiplier_B: [3] ld_multiplier_C: [2] alpha_alphai: *alpha_range_checkin transA: [rocsparse_operation_transpose] transB: [rocsparse_operation_none] orderB: [rocsparse_order_column] orderC: [rocsparse_order_row] diag: [rocsparse_diag_type_non_unit] uplo: [rocsparse_fill_mode_upper] baseA: [rocsparse_index_base_one] spsm_alg: [rocsparse_spsm_alg_default] matrix: [rocsparse_matrix_file_rocalution] filename: [nos1, nos5, nos7] # Nightly - name: spsm_csc category: nightly function: spsm_csc indextype: *i32i32_i64i32_i64i64 precision: *single_double_precisions_complex_real M_N: *M_N_range_nightly K: [32, 135, 280] ld_multiplier_B: [3] ld_multiplier_C: [3] alpha_alphai: *alpha_range_nightly transA: [rocsparse_operation_none] transB: [rocsparse_operation_none] orderB: [rocsparse_order_row] orderC: [rocsparse_order_row] diag: [rocsparse_diag_type_non_unit] uplo: [rocsparse_fill_mode_lower] baseA: [rocsparse_index_base_zero] spsm_alg: [rocsparse_spsm_alg_default] matrix: [rocsparse_matrix_random] - name: spsm_csc category: quick function: spsm_csc_extra