# ######################################################################## # Copyright (C) 2020-2025 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: - name: sparse_to_sparse_bad_arg category: pre_checkin function: sparse_to_sparse_bad_arg indextype: *i32i32_i64i32_i64i64 precision: *single_double_precisions_complex_real - name: sparse_to_sparse_extra category: pre_checkin function: sparse_to_sparse_extra - name: sparse_to_sparse category: quick function: sparse_to_sparse index_type_I: i64 index_type_J: i32 B_row_indextype: i64 B_col_indextype: i32 precision: f32_r M: [17, 49] N: [7, 17] baseA: [rocsparse_index_base_zero] formatA: [rocsparse_format_csr, rocsparse_format_csc, rocsparse_format_bsr ] formatB: [rocsparse_format_csc, rocsparse_format_csr, rocsparse_format_bsr, rocsparse_format_coo, rocsparse_format_ell ] - name: sparse_to_sparse category: quick function: sparse_to_sparse index_type_I: i32 index_type_J: i32 B_row_indextype: i64 B_col_indextype: i32 precision: f32_r M: [17, 49] N: [7, 17] baseA: [rocsparse_index_base_zero] formatA: [rocsparse_format_coo, rocsparse_format_ell ] formatB: [rocsparse_format_csc, rocsparse_format_csr, rocsparse_format_bsr ] - name: sparse_to_sparse category: quick function: sparse_to_sparse index_type_I: i32 index_type_J: i32 B_row_indextype: i32 B_col_indextype: i32 precision: f32_r M: [17, 49] N: [7, 17] baseA: [rocsparse_index_base_zero] formatA: [rocsparse_format_csr, rocsparse_format_csc, rocsparse_format_coo, rocsparse_format_coo_aos, rocsparse_format_ell, rocsparse_format_bsr ] formatB: [rocsparse_format_coo, rocsparse_format_coo_aos, rocsparse_format_csc, rocsparse_format_csr, rocsparse_format_ell, rocsparse_format_bsr ] - name: sparse_to_sparse category: quick function: sparse_to_sparse index_type_I: i64 index_type_J: i64 B_row_indextype: i64 B_col_indextype: i64 precision: f64_c M: [17, 49] N: [7, 17] baseA: [rocsparse_index_base_zero] formatA: [rocsparse_format_csr, rocsparse_format_csc, rocsparse_format_coo, rocsparse_format_coo_aos, rocsparse_format_ell, rocsparse_format_bsr ] formatB: [rocsparse_format_coo, rocsparse_format_coo_aos, rocsparse_format_csc, rocsparse_format_csr, rocsparse_format_ell, rocsparse_format_bsr ] - name: sparse_to_sparse category: pre_checkin function: sparse_to_sparse index_type_I: i64 index_type_J: i64 B_row_indextype: i64 B_col_indextype: i64 precision: f32_c M: [49, 203] N: [419, 2000] baseA: [rocsparse_index_base_zero] formatA: [rocsparse_format_csr, rocsparse_format_csc, rocsparse_format_coo, rocsparse_format_coo_aos, rocsparse_format_ell, rocsparse_format_bsr ] formatB: [rocsparse_format_coo, rocsparse_format_coo_aos, rocsparse_format_csc, rocsparse_format_csr, rocsparse_format_ell, rocsparse_format_bsr ] - name: sparse_to_sparse category: pre_checkin function: sparse_to_sparse index_type_I: i64 index_type_J: i32 B_row_indextype: i64 B_col_indextype: i32 precision: f64_c M: [1, 2] N: [1, 2] baseA: [rocsparse_index_base_zero] formatA: [rocsparse_format_csr, rocsparse_format_csc, rocsparse_format_bsr ] formatB: [rocsparse_format_csc, rocsparse_format_csr, rocsparse_format_bsr, rocsparse_format_coo, rocsparse_format_ell ] - name: sparse_to_sparse category: pre_checkin function: sparse_to_sparse index_type_I: i32 index_type_J: i32 B_row_indextype: i32 B_col_indextype: i32 precision: f32_r M: [2000] N: [2000, 1337] baseA: [rocsparse_index_base_zero] formatA: [rocsparse_format_csr, rocsparse_format_csc, rocsparse_format_coo, rocsparse_format_coo_aos, rocsparse_format_ell, rocsparse_format_bsr ] formatB: [rocsparse_format_coo, rocsparse_format_coo_aos, rocsparse_format_csc, rocsparse_format_csr, rocsparse_format_ell, rocsparse_format_bsr ] - name: sparse_to_sparse category: nightly function: sparse_to_sparse index_type_I: i32 index_type_J: i32 B_row_indextype: i32 B_col_indextype: i32 precision: f32_r M: [5000] N: [5000] baseA: [rocsparse_index_base_zero] formatA: [rocsparse_format_csr, rocsparse_format_coo, rocsparse_format_coo_aos, rocsparse_format_ell, rocsparse_format_bsr ] formatB: [rocsparse_format_coo, rocsparse_format_coo_aos, rocsparse_format_csc, rocsparse_format_csr, rocsparse_format_ell, rocsparse_format_bsr ] - name: sparse_to_sparse category: nightly function: sparse_to_sparse index_type_I: i64 index_type_J: i64 B_row_indextype: i64 B_col_indextype: i64 precision: *double_only_precisions_complex baseA: [rocsparse_index_base_zero] formatA: [rocsparse_format_coo, rocsparse_format_coo_aos, rocsparse_format_csc, rocsparse_format_csr ] formatB: [rocsparse_format_coo, rocsparse_format_coo_aos, rocsparse_format_csc, rocsparse_format_csr ] matrix: [rocsparse_matrix_file_rocalution] filename: [Chebyshev4, Chevron2, Chevron3] - name: sparse_to_sparse category: nightly function: sparse_to_sparse index_type_I: i64 index_type_J: i64 B_row_indextype: i64 B_col_indextype: i64 precision: *double_only_precisions baseA: [rocsparse_index_base_zero] formatA: [rocsparse_format_coo, rocsparse_format_coo_aos, rocsparse_format_csc, rocsparse_format_csr ] formatB: [rocsparse_format_coo, rocsparse_format_coo_aos, rocsparse_format_csc, rocsparse_format_csr ] matrix: [rocsparse_matrix_file_rocalution] filename: [bmwcra_1, nos2, nos3]