# ######################################################################## # 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 Tests: # Quick - name: check_spmat category: quick function: check_spmat indextype: *i32i32_i64i32_i64i64 precision: *single_double_precisions_complex_real M: [1, 8] N: [1, 8] block_dim: 1 baseA: [rocsparse_index_base_one] matrix_type: [rocsparse_matrix_type_general] uplo: [rocsparse_fill_mode_lower, rocsparse_fill_mode_upper] storage: [rocsparse_storage_mode_sorted, rocsparse_storage_mode_unsorted] matrix: [rocsparse_matrix_random] formatA: [rocsparse_format_coo,rocsparse_format_csr,rocsparse_format_csc,rocsparse_format_ell] - name: check_spmat category: quick function: check_spmat indextype: *i32i32_i64i32_i64i64 precision: *single_double_precisions_complex_real M: [1, 8] N: [1, 8] block_dim: [7] baseA: [rocsparse_index_base_one] matrix_type: [rocsparse_matrix_type_general] uplo: [rocsparse_fill_mode_lower, rocsparse_fill_mode_upper] storage: [rocsparse_storage_mode_sorted, rocsparse_storage_mode_unsorted] matrix: [rocsparse_matrix_random] formatA: [rocsparse_format_bsr] # Pre-checkin - name: check_spmat_bad_arg category: pre_checkin function: check_spmat_bad_arg indextype: *i32i32_i64i32_i64i64 precision: *single_double_precisions_complex_real formatA: [rocsparse_format_coo, rocsparse_format_csr, rocsparse_format_csc, rocsparse_format_ell, rocsparse_format_bsr] - name: check_spmat category: pre_checkin function: check_spmat indextype: *i32i32_i64i32_i64i64 precision: *single_double_precisions_complex_real M: [2000] N: [2000] block_dim: 1 baseA: [rocsparse_index_base_one] matrix_type: [rocsparse_matrix_type_general] uplo: [rocsparse_fill_mode_lower, rocsparse_fill_mode_upper] storage: [rocsparse_storage_mode_sorted, rocsparse_storage_mode_unsorted] matrix: [rocsparse_matrix_random] formatA: [rocsparse_format_coo, rocsparse_format_csr, rocsparse_format_csc, rocsparse_format_ell] - name: check_spmat category: pre_checkin function: check_spmat indextype: *i32i32_i64i32_i64i64 precision: *single_double_precisions_complex_real M: [2000] N: [2000] block_dim: [7] baseA: [rocsparse_index_base_one] matrix_type: [rocsparse_matrix_type_general] uplo: [rocsparse_fill_mode_lower, rocsparse_fill_mode_upper] storage: [rocsparse_storage_mode_sorted, rocsparse_storage_mode_unsorted] matrix: [rocsparse_matrix_random] formatA: [rocsparse_format_bsr] - name: check_spmat_file category: pre_checkin function: check_spmat indextype: *i32i32_i64i32_i64i64 precision: *single_double_precisions M: 1 N: 1 block_dim: 1 baseA: [rocsparse_index_base_zero] matrix_type: [rocsparse_matrix_type_general, rocsparse_matrix_type_hermitian] uplo: [rocsparse_fill_mode_lower, rocsparse_fill_mode_upper] storage: [rocsparse_storage_mode_sorted, rocsparse_storage_mode_unsorted] matrix: [rocsparse_matrix_file_rocalution] filename: [nos1, nos2, nos3, nos4, nos5, nos6, nos7] formatA: [rocsparse_format_coo, rocsparse_format_csr, rocsparse_format_csc] - name: check_spmat_file category: pre_checkin function: check_spmat indextype: *i32i32_i64i32_i64i64 precision: *single_double_precisions_complex M: 1 N: 1 block_dim: [7] baseA: [rocsparse_index_base_zero] matrix_type: [rocsparse_matrix_type_general] uplo: [rocsparse_fill_mode_lower, rocsparse_fill_mode_upper] storage: [rocsparse_storage_mode_sorted, rocsparse_storage_mode_unsorted] matrix: [rocsparse_matrix_file_rocalution] filename: [mplate] formatA: [rocsparse_format_bsr] - name: check_spmat_file category: pre_checkin function: check_spmat indextype: *i32i32_i64i32_i64i64 precision: *single_double_precisions_complex M: 1 N: 1 block_dim: 1 baseA: [rocsparse_index_base_zero] matrix_type: [rocsparse_matrix_type_general] uplo: [rocsparse_fill_mode_lower, rocsparse_fill_mode_upper] storage: [rocsparse_storage_mode_sorted, rocsparse_storage_mode_unsorted] matrix: [rocsparse_matrix_file_rocalution] filename: [mplate] formatA: [rocsparse_format_ell] # Nightly - name: check_spmat_file category: nightly function: check_spmat indextype: *i64i32 precision: *single_double_precisions M: 1 N: 1 block_dim: 1 baseA: [rocsparse_index_base_one] matrix_type: [rocsparse_matrix_type_general, rocsparse_matrix_type_triangular] uplo: [rocsparse_fill_mode_lower, rocsparse_fill_mode_upper] storage: [rocsparse_storage_mode_sorted, rocsparse_storage_mode_unsorted] matrix: [rocsparse_matrix_file_rocalution] filename: [scircuit, amazon0312, sme3Dc, bmwcra_1, shipsec1, Chevron4, qc2534, rma10] formatA: [rocsparse_format_coo, rocsparse_format_csr, rocsparse_format_csc] - name: check_spmat_file category: nightly function: check_spmat indextype: *i32 precision: *single_double_precisions_complex M: 1 N: 1 block_dim: 1 baseA: [rocsparse_index_base_one] matrix_type: [rocsparse_matrix_type_general] uplo: [rocsparse_fill_mode_lower, rocsparse_fill_mode_upper] storage: [rocsparse_storage_mode_sorted, rocsparse_storage_mode_unsorted] matrix: [rocsparse_matrix_file_rocalution] filename: [Chevron2, Chevron3, Chevron4, qc2534] formatA: [rocsparse_format_ell]