# ######################################################################## # Copyright (C) 2022-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_N_range_checkin - { M: 0, N: 0 } - { M: 32, N: 32 } - &M_N_range_nightly - { M: 9381, N: 9381 } - { M: 37017, N: 37017 } - &alpha_range_quick - { alpha: 1.0, alphai: -0.2 } - &alpha_range_checkin - { alpha: 3.0, alphai: -1.0 } - { alpha: 0.0, alphai: 0.0 } - &alpha_range_nightly - { alpha: 0.0, alphai: -0.75 } - { alpha: 0.25, alphai: 0.0 } - { alpha: -0.75, alphai: 0.25 } Tests: - name: csritsv_bad_arg category: pre_checkin function: csritsv_bad_arg precision: *single_double_precisions - name: csritsv category: pre_checkin function: csritsv precision: *single_double_precisions_complex_real M_N: *M_N_range_checkin alpha_alphai: *alpha_range_checkin transA: [rocsparse_operation_none] diag: [rocsparse_diag_type_unit] uplo: [rocsparse_fill_mode_lower] apol: [rocsparse_analysis_policy_force] spol: [rocsparse_solve_policy_auto] baseA: [rocsparse_index_base_zero] matrix: [rocsparse_matrix_random] matrix_type: [rocsparse_matrix_type_general] - name: csritsv_file category: pre_checkin function: csritsv precision: *single_double_precisions M: 1 N: 1 alpha_alphai: *alpha_range_checkin transA: [rocsparse_operation_none] diag: [rocsparse_diag_type_non_unit] # TODO rocsparse_diag_type_unit uplo: [rocsparse_fill_mode_lower] apol: [rocsparse_analysis_policy_force] spol: [rocsparse_solve_policy_auto] baseA: [rocsparse_index_base_zero] matrix: [rocsparse_matrix_file_rocalution] filename: [nos3] matrix_type: [rocsparse_matrix_type_general] # # nos7 has a condition number equal to 1e+9 and is giving weird behavior # #- name: csritsv_file # category: pre_checkin # function: csritsv # precision: *single_double_precisions # M: 1 # N: 1 # alpha_alphai: *alpha_range_checkin # transA: [rocsparse_operation_none] # diag: [rocsparse_diag_type_non_unit] # TODO rocsparse_diag_type_unit # uplo: [rocsparse_fill_mode_lower] # apol: [rocsparse_analysis_policy_force] # spol: [rocsparse_solve_policy_auto] # baseA: [rocsparse_index_base_zero] # matrix: [rocsparse_matrix_file_rocalution] # filename: [nos7] # matrix_type: [rocsparse_matrix_type_general] - name: csritsv_file category: pre_checkin function: csritsv precision: *single_double_precisions_complex M: 1 N: 1 alpha_alphai: *alpha_range_checkin transA: [rocsparse_operation_transpose] diag: [rocsparse_diag_type_unit] uplo: [rocsparse_fill_mode_upper] apol: [ rocsparse_analysis_policy_force] spol: [rocsparse_solve_policy_auto] baseA: [rocsparse_index_base_zero] nmaxiter: [200] matrix: [rocsparse_matrix_file_rocalution] filename: [mc2depi] matrix_type: [rocsparse_matrix_type_triangular] - name: csritsv_file category: pre_checkin function: csritsv precision: *single_double_precisions_complex M: 1 N: 1 alpha_alphai: *alpha_range_checkin transA: [rocsparse_operation_none] diag: [rocsparse_diag_type_unit] uplo: [rocsparse_fill_mode_lower] apol: [rocsparse_analysis_policy_force] spol: [rocsparse_solve_policy_auto] baseA: [rocsparse_index_base_one] matrix: [rocsparse_matrix_file_rocalution] filename: [mplate] matrix_type: [rocsparse_matrix_type_general] - name: csritsv category: quick function: csritsv precision: *single_double_precisions_complex M_N: *M_N_range_quick alpha_alphai: *alpha_range_quick transA: [rocsparse_operation_conjugate_transpose] diag: [rocsparse_diag_type_non_unit] uplo: [rocsparse_fill_mode_lower] apol: [rocsparse_analysis_policy_reuse] spol: [rocsparse_solve_policy_auto] baseA: [rocsparse_index_base_zero] matrix: [rocsparse_matrix_random] matrix_type: [rocsparse_matrix_type_triangular] - name: csritsv category: quick function: csritsv precision: *single_double_precisions_complex_real M_N: *M_N_range_quick alpha_alphai: *alpha_range_quick transA: [rocsparse_operation_none] diag: [rocsparse_diag_type_unit] uplo: [rocsparse_fill_mode_upper] apol: [rocsparse_analysis_policy_force] spol: [rocsparse_solve_policy_auto] baseA: [rocsparse_index_base_one] matrix: [rocsparse_matrix_random] matrix_type: [rocsparse_matrix_type_triangular] - name: csritsv category: quick function: csritsv precision: *single_double_precisions_complex_real M_N: *M_N_range_quick alpha_alphai: *alpha_range_quick transA: [rocsparse_operation_none] diag: [rocsparse_diag_type_non_unit] uplo: [rocsparse_fill_mode_lower] apol: [rocsparse_analysis_policy_reuse] spol: [rocsparse_solve_policy_auto] baseA: [rocsparse_index_base_zero] matrix: [rocsparse_matrix_zero] matrix_type: [rocsparse_matrix_type_general] - name: csritsv_file category: quick function: csritsv precision: *single_double_precisions M: 1 N: 1 alpha_alphai: *alpha_range_quick transA: [rocsparse_operation_none] diag: [rocsparse_diag_type_non_unit] # TODO rocsparse_diag_type_unit uplo: [rocsparse_fill_mode_lower] apol: [rocsparse_analysis_policy_force] spol: [rocsparse_solve_policy_auto] baseA: [rocsparse_index_base_one] matrix: [rocsparse_matrix_file_rocalution] filename: [nos4] matrix_type: [rocsparse_matrix_type_general] - name: csritsv_file category: quick function: csritsv precision: *single_double_precisions_complex M: 1 N: 1 alpha_alphai: *alpha_range_quick transA: [rocsparse_operation_conjugate_transpose] diag: [rocsparse_diag_type_unit] uplo: [rocsparse_fill_mode_lower] apol: [rocsparse_analysis_policy_force] spol: [rocsparse_solve_policy_auto] baseA: [rocsparse_index_base_zero] matrix: [rocsparse_matrix_file_rocalution] filename: [Chevron2] matrix_type: [rocsparse_matrix_type_general] - name: csritsv category: pre_checkin function: csritsv precision: *single_double_precisions M_N: *M_N_range_checkin alpha_alphai: *alpha_range_checkin transA: [rocsparse_operation_none] diag: [rocsparse_diag_type_non_unit] uplo: [rocsparse_fill_mode_lower] apol: [rocsparse_analysis_policy_force] spol: [rocsparse_solve_policy_auto] baseA: [rocsparse_index_base_zero] matrix: [rocsparse_matrix_random] matrix_type: [rocsparse_matrix_type_general] - name: csritsv_file category: nightly function: csritsv precision: *single_double_precisions M: 1 N: 1 alpha_alphai: *alpha_range_nightly transA: [rocsparse_operation_transpose] diag: [rocsparse_diag_type_non_unit] # TODO rocsparse_diag_type_unit uplo: [rocsparse_fill_mode_upper] apol: [rocsparse_analysis_policy_force] spol: [rocsparse_solve_policy_auto] baseA: [rocsparse_index_base_zero] matrix: [rocsparse_matrix_file_rocalution] filename: [bmwcra_1, amazon0312, sme3Dc, shipsec1] matrix_type: [rocsparse_matrix_type_triangular] - name: csritsv_file category: nightly function: csritsv precision: *single_double_precisions_complex M: 1 N: 1 alpha_alphai: *alpha_range_nightly transA: [rocsparse_operation_none] diag: [rocsparse_diag_type_non_unit] uplo: [rocsparse_fill_mode_lower] apol: [rocsparse_analysis_policy_force] spol: [rocsparse_solve_policy_auto] baseA: [rocsparse_index_base_zero] matrix: [rocsparse_matrix_file_rocalution] filename: [Chevron4] matrix_type: [rocsparse_matrix_type_general]