CodeQL / Analyze (actions) (push) Canceled after 0s
CodeQL / Analyze (python) (push) Canceled after 0s
pre-commit / pre-commit (push) Canceled after 0s
Multi-Arch CI / setup (push) Canceled after 0s
Publish build_manylinux_x86_64 images / publish_build_manylinux_x86_64 (push) Canceled after 0s
Setup (Multi-Arch) / setup (push) Canceled after 0s
Multi-Arch CI / Linux::${{ fromJSON(needs.setup.outputs.linux_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubi10 image / publish_no_rocm_image_ubi10 (push) Canceled after 0s
Multi-Arch CI / Windows::${{ fromJSON(needs.setup.outputs.windows_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Multi-Arch CI / Manifest Diff (push) Canceled after 0s
TheRock Manifest Diff Report / Generate Manifest Diff Report (push) Canceled after 0s
Multi-Arch CI / CI Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_ocl_rt images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_rocgdb images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Unit Tests / Unit Tests :: ubuntu-24.04 (push) Canceled after 0s
Unit Tests / Unit Tests :: windows-2022 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_media (push) Canceled after 0s
Unit Tests / Unit Tests Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_openmpi (push) Canceled after 0s
775 lines
24 KiB
YAML
775 lines
24 KiB
YAML
# ########################################################################
|
|
# Copyright (C) 2019-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.
|
|
#
|
|
# ########################################################################
|
|
|
|
# Data types are defined as either aliases to Python-recognized ctypes,
|
|
# or enums defined with c_int base clases and attributes.
|
|
Datatypes:
|
|
- rocsparse_int: c_int
|
|
- rocsparse_indextype:
|
|
bases: [ c_int ]
|
|
attr:
|
|
u16: 1
|
|
i32: 2
|
|
i64: 3
|
|
- rocsparse_datatype:
|
|
bases: [ c_int ]
|
|
attr:
|
|
f16_r: 150
|
|
f32_r: 151
|
|
f64_r: 152
|
|
f32_c: 154
|
|
f64_c: 155
|
|
i8_r: 160
|
|
u8_r: 161
|
|
i32_r: 162
|
|
u32_r: 163
|
|
bf16_r: 168
|
|
- { single: f32_r, double: f64_r }
|
|
- { single complex: f32_c, double complex: f64_c }
|
|
- rocsparse_matrix_init:
|
|
bases: [ c_int ]
|
|
attr:
|
|
rocsparse_matrix_random: 0
|
|
rocsparse_matrix_laplace_2d: 1
|
|
rocsparse_matrix_laplace_3d: 2
|
|
rocsparse_matrix_file_mtx: 3
|
|
rocsparse_matrix_file_smtx: 4
|
|
rocsparse_matrix_file_bsmtx: 5
|
|
rocsparse_matrix_file_rocalution: 6
|
|
rocsparse_matrix_zero: 7
|
|
rocsparse_matrix_file_rocsparseio: 8
|
|
rocsparse_matrix_tridiagonal: 9
|
|
rocsparse_matrix_pentadiagonal: 10
|
|
- rocsparse_matrix_init_kind:
|
|
bases: [ c_int ]
|
|
attr:
|
|
rocsparse_matrix_init_kind_default: 0
|
|
rocsparse_matrix_init_kind_tunedavg: 1
|
|
- rocsparse_operation:
|
|
bases: [ c_int ]
|
|
attr:
|
|
rocsparse_operation_none: 111
|
|
rocsparse_operation_transpose: 112
|
|
rocsparse_operation_conjugate_transpose: 113
|
|
- rocsparse_index_base:
|
|
bases: [ c_int ]
|
|
attr:
|
|
rocsparse_index_base_zero: 0
|
|
rocsparse_index_base_one: 1
|
|
- rocsparse_matrix_type:
|
|
bases: [ c_int ]
|
|
attr:
|
|
rocsparse_matrix_type_general: 0
|
|
rocsparse_matrix_type_symmetric: 1
|
|
rocsparse_matrix_type_hermitian: 2
|
|
rocsparse_matrix_type_triangular: 3
|
|
- rocsparse_diag_type:
|
|
bases: [ c_int ]
|
|
attr:
|
|
rocsparse_diag_type_non_unit: 0
|
|
rocsparse_diag_type_unit: 1
|
|
- rocsparse_fill_mode:
|
|
bases: [ c_int ]
|
|
attr:
|
|
rocsparse_fill_mode_lower: 0
|
|
rocsparse_fill_mode_upper: 1
|
|
- rocsparse_storage_mode:
|
|
bases: [ c_int ]
|
|
attr:
|
|
rocsparse_storage_mode_sorted: 0
|
|
rocsparse_storage_mode_unsorted: 1
|
|
- rocsparse_action:
|
|
bases: [ c_int ]
|
|
attr:
|
|
rocsparse_action_symbolic: 0
|
|
rocsparse_action_numeric: 1
|
|
- rocsparse_hyb_partition:
|
|
bases: [ c_int ]
|
|
attr:
|
|
rocsparse_hyb_partition_auto: 0
|
|
rocsparse_hyb_partition_user: 1
|
|
rocsparse_hyb_partition_max: 2
|
|
- rocsparse_analysis_policy:
|
|
bases: [ c_int ]
|
|
attr:
|
|
rocsparse_analysis_policy_reuse: 0
|
|
rocsparse_analysis_policy_force: 1
|
|
- rocsparse_solve_policy:
|
|
bases: [ c_int ]
|
|
attr:
|
|
rocsparse_solve_policy_auto: 0
|
|
- rocsparse_direction:
|
|
bases: [ c_int ]
|
|
attr:
|
|
rocsparse_direction_row: 0
|
|
rocsparse_direction_column: 1
|
|
- rocsparse_order:
|
|
bases: [c_int ]
|
|
attr:
|
|
rocsparse_order_row: 0
|
|
rocsparse_order_column: 1
|
|
- rocsparse_format:
|
|
bases: [c_int ]
|
|
attr:
|
|
rocsparse_format_coo: 0
|
|
rocsparse_format_coo_aos: 1
|
|
rocsparse_format_csr: 2
|
|
rocsparse_format_csc: 3
|
|
rocsparse_format_ell: 4
|
|
rocsparse_format_bell: 5
|
|
rocsparse_format_bsr: 6
|
|
rocsparse_format_sell: 7
|
|
- rocsparse_itilu0_alg:
|
|
bases: [c_int ]
|
|
attr:
|
|
rocsparse_itilu0_alg_default: 0
|
|
rocsparse_itilu0_alg_async_inplace: 1
|
|
rocsparse_itilu0_alg_async_split: 2
|
|
rocsparse_itilu0_alg_sync_split: 3
|
|
- rocsparse_sddmm_alg:
|
|
bases: [c_int ]
|
|
attr:
|
|
rocsparse_sddmm_alg_default: 0
|
|
rocsparse_sddmm_alg_dense: 1
|
|
- rocsparse_spmv_alg:
|
|
bases: [c_int ]
|
|
attr:
|
|
rocsparse_spmv_alg_default: 0
|
|
rocsparse_spmv_alg_coo: 1
|
|
rocsparse_spmv_alg_csr_adaptive: 2
|
|
rocsparse_spmv_alg_csr_rowsplit: 3
|
|
rocsparse_spmv_alg_ell: 4
|
|
rocsparse_spmv_alg_coo_atomic: 5
|
|
rocsparse_spmv_alg_bsr: 6
|
|
rocsparse_spmv_alg_csr_lrb: 7
|
|
rocsparse_spmv_alg_csr_nnzsplit: 8
|
|
rocsparse_spmv_alg_sell: 9
|
|
- rocsparse_spsv_alg:
|
|
bases: [c_int ]
|
|
attr:
|
|
rocsparse_spsv_alg_default: 0
|
|
- rocsparse_sptrsv_alg:
|
|
bases: [c_int ]
|
|
attr:
|
|
rocsparse_sptrsv_alg_default: 0
|
|
- rocsparse_spitsv_alg:
|
|
bases: [c_int ]
|
|
attr:
|
|
rocsparse_spitsv_alg_default: 0
|
|
- rocsparse_spsm_alg:
|
|
bases: [c_int ]
|
|
attr:
|
|
rocsparse_spsm_alg_default: 0
|
|
- rocsparse_sptrsm_alg:
|
|
bases: [c_int ]
|
|
attr:
|
|
rocsparse_sptrsm_alg_default: 0
|
|
- rocsparse_spmm_alg:
|
|
bases: [c_int ]
|
|
attr:
|
|
rocsparse_spmm_alg_default: 0
|
|
rocsparse_spmm_alg_csr: 1
|
|
rocsparse_spmm_alg_coo_segmented: 2
|
|
rocsparse_spmm_alg_coo_atomic: 3
|
|
rocsparse_spmm_alg_csr_row_split: 4
|
|
rocsparse_spmm_alg_csr_merge: 5
|
|
rocsparse_spmm_alg_coo_segmented_atomic: 6
|
|
rocsparse_spmm_alg_bell: 7
|
|
rocsparse_spmm_alg_bsr: 8
|
|
rocsparse_spmm_alg_csr_merge_path: 9
|
|
rocsparse_spmm_alg_csr_nnz_split: 5 # Same as rocsparse_spmm_alg_csr_merge
|
|
|
|
- rocsparse_spgemm_alg:
|
|
bases: [c_int ]
|
|
attr:
|
|
rocsparse_spgemm_alg_default: 0
|
|
- rocsparse_spgeam_alg:
|
|
bases: [c_int ]
|
|
attr:
|
|
rocsparse_spgeam_alg_default: 0
|
|
- rocsparse_sparse_to_dense_alg:
|
|
bases: [c_int ]
|
|
attr:
|
|
rocsparse_sparse_to_dense_alg_default: 0
|
|
- rocsparse_dense_to_sparse_alg:
|
|
bases: [c_int ]
|
|
attr:
|
|
rocsparse_dense_to_sparse_alg_default: 0
|
|
- rocsparse_gtsv_interleaved_alg:
|
|
bases: [c_int ]
|
|
attr:
|
|
rocsparse_gtsv_interleaved_alg_default: 0
|
|
rocsparse_gtsv_interleaved_alg_thomas: 1
|
|
rocsparse_gtsv_interleaved_alg_lu: 2
|
|
rocsparse_gtsv_interleaved_alg_qr: 3
|
|
- rocsparse_gpsv_interleaved_alg:
|
|
bases: [c_int ]
|
|
attr:
|
|
rocsparse_gpsv_interleaved_alg_default: 0
|
|
rocsparse_gpsv_interleaved_alg_qr: 1
|
|
|
|
indextype i32: &i32
|
|
- index_type_I: i32
|
|
index_type_J: i32
|
|
|
|
indextype i64i32 mixture: &i64i32
|
|
- index_type_I: i64
|
|
index_type_J: i32
|
|
|
|
indextype i64: &i64
|
|
- index_type_I: i64
|
|
index_type_J: i64
|
|
|
|
indextype i32 and i64: &i32_i64
|
|
- index_type_I: i32
|
|
index_type_J: i32
|
|
- index_type_I: i64
|
|
index_type_J: i64
|
|
|
|
indextype i32 i64i32 mixture and i64: &i32i32_i64i32_i64i64
|
|
- index_type_I: i32
|
|
index_type_J: i32
|
|
- index_type_I: i64
|
|
index_type_J: i32
|
|
- index_type_I: i64
|
|
index_type_J: i64
|
|
|
|
Real precisions: &real_precisions
|
|
- &int8_int8_int32_xyt_precision
|
|
{ x_type: i8_r, y_type: i8_r, compute_type: i32_r }
|
|
- &int8_int8_float32_xyt_precision
|
|
{ x_type: i8_r, y_type: i8_r, compute_type: f32_r }
|
|
- &float16_float16_float32_xyt_precision
|
|
{ x_type: f16_r, y_type: f16_r, compute_type: f32_r }
|
|
- &bfloat16_bfloat16_float32_xyt_precision
|
|
{ x_type: bf16_r, y_type: bf16_r, compute_type: f32_r }
|
|
- &int8_int8_int32_int32_axyt_precision
|
|
{ a_type: i8_r, x_type: i8_r, y_type: i32_r, compute_type: i32_r }
|
|
- &int8_int8_float32_float32_axyt_precision
|
|
{ a_type: i8_r, x_type: i8_r, y_type: f32_r, compute_type: f32_r }
|
|
- &float16_float16_float32_float32_axyt_precision
|
|
{ a_type: f16_r, x_type: f16_r, y_type: f32_r, compute_type: f32_r }
|
|
- &float16_float16_float16_float32_axyt_precision
|
|
{ a_type: f16_r, x_type: f16_r, y_type: f16_r, compute_type: f32_r }
|
|
- &bfloat16_bfloat16_float32_float32_axyt_precision
|
|
{ a_type: bf16_r, x_type: bf16_r, y_type: f32_r, compute_type: f32_r }
|
|
- &bfloat16_bfloat16_bfloat16_float32_axyt_precision
|
|
{ a_type: bf16_r, x_type: bf16_r, y_type: bf16_r, compute_type: f32_r }
|
|
- &int8_int8_int32_int32_abct_precision
|
|
{ a_type: i8_r, b_type: i8_r, c_type: i32_r, compute_type: i32_r }
|
|
- &int8_int8_float32_float32_abct_precision
|
|
{ a_type: i8_r, b_type: i8_r, c_type: f32_r, compute_type: f32_r }
|
|
- &float16_float16_float32_float32_abct_precision
|
|
{ a_type: f16_r, b_type: f16_r, c_type: f32_r, compute_type: f32_r }
|
|
- &float16_float16_float16_float32_abct_precision
|
|
{ a_type: f16_r, b_type: f16_r, c_type: f16_r, compute_type: f32_r }
|
|
- &float16_float16_float16_float16_abct_precision
|
|
{ a_type: f16_r, b_type: f16_r, c_type: f16_r, compute_type: f16_r }
|
|
- &bfloat16_bfloat16_float32_float32_abct_precision
|
|
{ a_type: bf16_r, b_type: bf16_r, c_type: f32_r, compute_type: f32_r }
|
|
- &bfloat16_bfloat16_bfloat16_float32_abct_precision
|
|
{ a_type: bf16_r, b_type: bf16_r, c_type: bf16_r, compute_type: f32_r }
|
|
- &int8_precision
|
|
{ a_type: i8_r, b_type: i8_r, c_type: i8_r, x_type: i8_r, y_type: i8_r, compute_type: i8_r }
|
|
- &half_precision
|
|
{ a_type: f16_r, b_type: f16_r, c_type: f16_r, x_type: f16_r, y_type: f16_r, compute_type: f16_r }
|
|
- &brain_half_precision
|
|
{ a_type: bf16_r, b_type: bf16_r, c_type: bf16_r, x_type: bf16_r, y_type: bf16_r, compute_type: bf16_r }
|
|
- &single_precision
|
|
{ a_type: f32_r, b_type: f32_r, c_type: f32_r, x_type: f32_r, y_type: f32_r, compute_type: f32_r }
|
|
- &double_precision
|
|
{ a_type: f64_r, b_type: f64_r, c_type: f64_r, x_type: f64_r, y_type: f64_r, compute_type: f64_r }
|
|
- &float32_float64_float64_float64
|
|
{ a_type: f32_r, x_type: f64_r, y_type: f64_r, compute_type: f64_r }
|
|
|
|
Complex precisions: &complex_precisions
|
|
- &float32_cmplx32_cmplx32_cmplx32_axyt_precision
|
|
{ a_type: f32_r, x_type: f32_c, y_type: f32_c, compute_type: f32_c }
|
|
- &float64_cmplx64_cmplx64_cmplx64_axyt_precision
|
|
{ a_type: f64_r, x_type: f64_c, y_type: f64_c, compute_type: f64_c }
|
|
- &single_precision_complex
|
|
{ a_type: f32_c, b_type: f32_c, c_type: f32_c, x_type: f32_c, y_type: f32_c, compute_type: f32_c }
|
|
- &double_precision_complex
|
|
{ a_type: f64_c, b_type: f64_c, c_type: f64_c, x_type: f64_c, y_type: f64_c, compute_type: f64_c }
|
|
- &cmplx32_cmplx64_cmplx64_cmplx64
|
|
{ a_type: f32_c, x_type: f64_c, y_type: f64_c, compute_type: f64_c }
|
|
|
|
C precisions real: &single_only_precisions
|
|
- *single_precision
|
|
|
|
C precisions real: &double_only_precisions
|
|
- *double_precision
|
|
|
|
C precisions real: &single_double_precisions
|
|
- *single_precision
|
|
- *double_precision
|
|
|
|
C precisions complex: &single_only_precisions_complex
|
|
- *single_precision_complex
|
|
|
|
C precisions complex: &double_only_precisions_complex
|
|
- *double_precision_complex
|
|
|
|
C precisions complex: &single_double_precisions_complex
|
|
- *single_precision_complex
|
|
- *double_precision_complex
|
|
|
|
C precisions complex and real: &single_double_precisions_complex_real
|
|
- *single_precision
|
|
- *double_precision
|
|
- *single_precision_complex
|
|
- *double_precision_complex
|
|
|
|
C precisions complex and real: &single_only_precisions_complex_real
|
|
- *single_precision
|
|
- *single_precision_complex
|
|
|
|
C precisions complex and real: &double_only_precisions_complex_real
|
|
- *double_precision
|
|
- *double_precision_complex
|
|
|
|
All rocsparse_index_base: &all_rocsparse_index_base
|
|
[ rocsparse_index_base_zero, rocsparse_index_base_one ]
|
|
|
|
All rocsparse_indextype: &all_rocsparse_indextype
|
|
[i32,
|
|
i64]
|
|
|
|
All rocsparse_datatype: &all_rocsparse_datatype
|
|
[f16_r,
|
|
f32_r,
|
|
f64_r
|
|
f32_c,
|
|
f64_c,
|
|
i8_r,
|
|
u8_r,
|
|
i32_r,
|
|
u32_r]
|
|
|
|
All rocsparse_operation: &all_rocsparse_operation
|
|
[rocsparse_operation_none,
|
|
rocsparse_operation_transpose,
|
|
rocsparse_operation_conjugate_transpose]
|
|
|
|
All rocsparse_matrix_type: &all_rocsparse_matrix_type
|
|
[rocsparse_matrix_type_general,
|
|
rocsparse_matrix_type_symmetric,
|
|
rocsparse_matrix_type_hermitian,
|
|
rocsparse_matrix_type_triangular]
|
|
|
|
All rocsparse_diag_type: &all_rocsparse_diag_type
|
|
[rocsparse_diag_type_non_unit,
|
|
rocsparse_diag_type_unit]
|
|
|
|
All rocsparse_fill_mode: &all_rocsparse_fill_mode
|
|
[rocsparse_fill_mode_lower,
|
|
rocsparse_fill_mode_upper]
|
|
|
|
All rocsparse_storage_mode: &all_rocsparse_storage_mode
|
|
[rocsparse_storage_mode_sorted,
|
|
rocsparse_storage_mode_unsorted]
|
|
|
|
All rocsparse_action: &all_rocsparse_action
|
|
[rocsparse_action_symbolic,
|
|
rocsparse_action_numeric]
|
|
|
|
All rocsparse_hyb_partition: &all_rocsparse_hyb_partition
|
|
[rocsparse_hyb_partition_auto,
|
|
rocsparse_hyb_partition_user,
|
|
rocsparse_hyb_partition_max]
|
|
|
|
All rocsparse_analysis_policy: &all_rocsparse_analysis_policy
|
|
[rocsparse_analysis_policy_reuse,
|
|
rocsparse_analysis_policy_force]
|
|
|
|
All rocsparse_solve_policy: &all_rocsparse_solve_policy
|
|
rocsparse_solve_policy_auto
|
|
|
|
All rocsparse_direction: &all_rocsparse_direction
|
|
[rocsparse_direction_row,
|
|
rocsparse_direction_column]
|
|
|
|
All rocsparse_order: &all_rocsparse_order
|
|
[rocsparse_order_row,
|
|
rocsparse_order_column]
|
|
|
|
All rocsparse_format: &all_rocsparse_format
|
|
[rocsparse_format_coo,
|
|
rocsparse_format_coo_aos,
|
|
rocsparse_format_csr,
|
|
rocsparse_format_csc,
|
|
rocsparse_format_ell,
|
|
rocsparse_format_bell,
|
|
rocsparse_format_bsr,
|
|
rocsparse_format_sell]
|
|
|
|
All rocsparse_itilu0_alg: &all_rocsparse_itilu0_alg
|
|
[rocsparse_itilu0_alg_default,
|
|
rocsparse_itilu0_alg_async_inplace,
|
|
rocsparse_itilu0_alg_async_split,
|
|
rocsparse_itilu0_alg_sync_split]
|
|
|
|
All rocsparse_sddmm_alg: &all_rocsparse_sddmm_alg
|
|
[rocsparse_sddmm_alg_default,
|
|
rocsparse_sddmm_alg_dense]
|
|
|
|
All rocsparse_spmv_alg: &all_rocsparse_spmv_alg
|
|
[rocsparse_spmv_alg_default,
|
|
rocsparse_spmv_alg_coo,
|
|
rocsparse_spmv_alg_csr_adaptive,
|
|
rocsparse_spmv_alg_csr_rowsplit,
|
|
rocsparse_spmv_alg_ell,
|
|
rocsparse_spmv_alg_coo_atomic,
|
|
rocsparse_spmv_alg_bsr,
|
|
rocsparse_spmv_alg_csr_lrb,
|
|
rocsparse_spmv_alg_csr_nnzsplit,
|
|
rocsparse_spmv_alg_sell]
|
|
|
|
All rocsparse_spmv_alg_csr: &all_rocsparse_spmv_alg_csr
|
|
[rocsparse_spmv_alg_csr_adaptive,
|
|
rocsparse_spmv_alg_csr_rowsplit,
|
|
rocsparse_spmv_alg_csr_lrb,
|
|
rocsparse_spmv_alg_csr_nnzsplit]
|
|
|
|
All rocsparse_spsv_alg: &all_rocsparse_spsv_alg
|
|
[rocsparse_spsv_alg_default]
|
|
|
|
All rocsparse_sptrsv_alg: &all_rocsparse_sptrsv_alg
|
|
[rocsparse_sptrsv_alg_default]
|
|
|
|
All rocsparse_spitsv_alg: &all_rocsparse_spitsv_alg
|
|
[rocsparse_spitsv_alg_default]
|
|
|
|
All rocsparse_spsm_alg: &all_rocsparse_spsm_alg
|
|
[rocsparse_spsm_alg_default]
|
|
|
|
All rocsparse_sptrsm_alg: &all_rocsparse_sptrsm_alg
|
|
[rocsparse_sptrsm_alg_default]
|
|
|
|
All rocsparse_spmm_alg: &all_rocsparse_spmm_alg
|
|
[rocsparse_spmm_alg_default,
|
|
rocsparse_spmm_alg_csr,
|
|
rocsparse_spmm_alg_coo_segmented,
|
|
rocsparse_spmm_alg_coo_atomic,
|
|
rocsparse_spmm_alg_csr_row_split,
|
|
rocsparse_spmm_alg_csr_merge,
|
|
rocsparse_spmm_alg_coo_segmented_atomic,
|
|
rocsparse_spmm_alg_bell,
|
|
rocsparse_spmm_alg_bsr,
|
|
rocsparse_spmm_alg_csr_merge_path,
|
|
rocsparse_spmm_alg_csr_nnz_split]
|
|
|
|
All rocsparse_spgemm_alg: &all_rocsparse_spgemm_alg
|
|
[rocsparse_spgemm_alg_default]
|
|
|
|
All rocsparse_spgeam_alg: &all_rocsparse_spgeam_alg
|
|
[rocsparse_spgeam_alg_default]
|
|
|
|
All rocsparse_sparse_to_dense_alg: &all_rocsparse_sparse_to_dense_alg
|
|
[rocsparse_sparse_to_dense_alg_default]
|
|
|
|
All rocsparse_dense_to_sparse_alg: &all_rocsparse_dense_to_sparse_alg
|
|
[rocsparse_dense_to_sparse_alg_default]
|
|
|
|
All rocsparse_gtsv_interleaved_alg: &all_rocsparse_gtsv_interleaved_alg
|
|
[rocsparse_gtsv_interleaved_alg_default,
|
|
rocsparse_gtsv_interleaved_alg_thomas,
|
|
rocsparse_gtsv_interleaved_alg_lu,
|
|
rocsparse_gtsv_interleaved_alg_qr]
|
|
|
|
All rocsparse_gpsv_interleaved_alg: &all_rocsparse_gpsv_interleaved_alg
|
|
[rocsparse_gpsv_interleaved_alg_default,
|
|
rocsparse_gpsv_interleaved_alg_qr]
|
|
|
|
# The Arguments struct passed directly to C++. See rocsparse_arguments.hpp.
|
|
# The order of the entries is significant, so it can't simply be a dictionary.
|
|
# The types on the RHS are eval'd for Python-recognized types including ctypes
|
|
# and datatypes defined in Datatypes above. T*n represents array of length n.
|
|
Arguments:
|
|
- M: rocsparse_int
|
|
- N: rocsparse_int
|
|
- K: rocsparse_int
|
|
- nnz: rocsparse_int
|
|
- block_dim: rocsparse_int
|
|
- row_block_dimA: rocsparse_int
|
|
- col_block_dimA: rocsparse_int
|
|
- row_block_dimB: rocsparse_int
|
|
- col_block_dimB: rocsparse_int
|
|
- sell_slice_size: rocsparse_int
|
|
- dimx: rocsparse_int
|
|
- dimy: rocsparse_int
|
|
- dimz: rocsparse_int
|
|
- ll: rocsparse_int
|
|
- l: rocsparse_int
|
|
- u: rocsparse_int
|
|
- uu: rocsparse_int
|
|
- index_type_I: rocsparse_indextype
|
|
- index_type_J: rocsparse_indextype
|
|
- a_type: rocsparse_datatype
|
|
- b_type: rocsparse_datatype
|
|
- c_type: rocsparse_datatype
|
|
- x_type: rocsparse_datatype
|
|
- y_type: rocsparse_datatype
|
|
- compute_type: rocsparse_datatype
|
|
- A_row_indextype: rocsparse_indextype
|
|
- A_col_indextype: rocsparse_indextype
|
|
- B_row_indextype: rocsparse_indextype
|
|
- B_col_indextype: rocsparse_indextype
|
|
- C_row_indextype: rocsparse_indextype
|
|
- C_col_indextype: rocsparse_indextype
|
|
- alpha: c_double
|
|
- alphai: c_double
|
|
- beta: c_double
|
|
- betai: c_double
|
|
- threshold: c_double
|
|
- percentage: c_double
|
|
- transA: rocsparse_operation
|
|
- transB: rocsparse_operation
|
|
- baseA: rocsparse_index_base
|
|
- baseB: rocsparse_index_base
|
|
- baseC: rocsparse_index_base
|
|
- baseD: rocsparse_index_base
|
|
- action: rocsparse_action
|
|
- part: rocsparse_hyb_partition
|
|
- matrix_type: rocsparse_matrix_type
|
|
- diag: rocsparse_diag_type
|
|
- uplo: rocsparse_fill_mode
|
|
- storage: rocsparse_storage_mode
|
|
- apol: rocsparse_analysis_policy
|
|
- spol: rocsparse_solve_policy
|
|
- direction: rocsparse_direction
|
|
- order: rocsparse_order
|
|
- orderB: rocsparse_order
|
|
- orderC: rocsparse_order
|
|
- formatA: rocsparse_format
|
|
- formatB: rocsparse_format
|
|
- formatC: rocsparse_format
|
|
- itilu0_alg: rocsparse_itilu0_alg
|
|
- sddmm_alg: rocsparse_sddmm_alg
|
|
- spmv_alg: rocsparse_spmv_alg
|
|
- spsv_alg: rocsparse_spsv_alg
|
|
- sptrsv_alg: rocsparse_sptrsv_alg
|
|
- spitsv_alg: rocsparse_spitsv_alg
|
|
- spsm_alg: rocsparse_spsm_alg
|
|
- sptrsm_alg: rocsparse_sptrsm_alg
|
|
- spmm_alg: rocsparse_spmm_alg
|
|
- spgemm_alg: rocsparse_spgemm_alg
|
|
- spgeam_alg: rocsparse_spgeam_alg
|
|
- sparse_to_dense_alg: rocsparse_sparse_to_dense_alg
|
|
- dense_to_sparse_alg: rocsparse_dense_to_sparse_alg
|
|
- gtsv_interleaved_alg: rocsparse_gtsv_interleaved_alg
|
|
- gpsv_interleaved_alg: rocsparse_gpsv_interleaved_alg
|
|
- matrix: rocsparse_matrix_init
|
|
- matrix_init_kind: rocsparse_matrix_init_kind
|
|
- unit_check: rocsparse_int
|
|
- timing: rocsparse_int
|
|
- iters: rocsparse_int
|
|
- iters_inner: rocsparse_int
|
|
- nfreeiter: rocsparse_int
|
|
- nmaxiter: rocsparse_int
|
|
- denseld: c_int64
|
|
- batch_count: rocsparse_int
|
|
- batch_count_A: rocsparse_int
|
|
- batch_count_B: rocsparse_int
|
|
- batch_count_C: rocsparse_int
|
|
- batch_stride: rocsparse_int
|
|
- ld_multiplier_B: rocsparse_int
|
|
- ld_multiplier_C: rocsparse_int
|
|
- algo: c_uint
|
|
- numericboost: c_int
|
|
- boosttol: c_double
|
|
- boostval: c_double
|
|
- boostvali: c_double
|
|
- tolm: c_double
|
|
- rand_gen_min: c_double
|
|
- rand_gen_max: c_double
|
|
- graph_test: c_bool
|
|
- skip_reproducibility: c_bool
|
|
- sparsity_pattern_statistics: c_bool
|
|
- call_stage_analysis: c_bool
|
|
- convert_to_int: c_bool
|
|
- integer_based_manufactured_solution: c_bool
|
|
- filename: c_char*128
|
|
- function: c_char*64
|
|
- name: c_char*64
|
|
- category: c_char*32
|
|
- hardware: c_char*32
|
|
- skip_hardware: c_char*32
|
|
- host_memory_gb: c_uint
|
|
- device_memory_gb: c_uint
|
|
|
|
# These named dictionary lists [ {dict1}, {dict2}, etc. ] supply subsets of
|
|
# test arguments in a structured way. The dictionaries are applied to the test
|
|
# one at a time, to generate combinations. If one of this table's entries is
|
|
# a dictionary of size one, it means that the argument named by its key takes
|
|
# on values paired with argument named by its value. For example:
|
|
#
|
|
# - function: precision
|
|
#
|
|
# when used with the code:
|
|
#
|
|
# function:
|
|
# func1: prec1
|
|
# func2: prec2
|
|
# func3: prec3
|
|
#
|
|
# causes (function, precision) to take on the values (func1, prec1),
|
|
# (func2, prec2), (func3, prec3), etc.
|
|
|
|
Dictionary lists to expand:
|
|
- arguments
|
|
- M_N
|
|
- M_N_K
|
|
- dimx_dimy_dimz
|
|
- transA_transB
|
|
- alpha_beta
|
|
- alpha_alphai
|
|
- beta_betai
|
|
- alphai_betai
|
|
- boostval_boostvali
|
|
- matrix_size
|
|
- indextype
|
|
- precision
|
|
- function: precision
|
|
|
|
# In case an array argument needs to be passed directly to C as an array,
|
|
# it needs to be listed here to avoid being expanded into multiple test
|
|
# cases with each of its elements.
|
|
Lists to not expand:
|
|
- e.g., an array argument not to be expanded
|
|
|
|
# Defaults
|
|
Defaults:
|
|
M: -1
|
|
N: -1
|
|
K: -1
|
|
nnz: -1
|
|
block_dim: 2
|
|
row_block_dimA: 2
|
|
col_block_dimA: 2
|
|
row_block_dimB: 2
|
|
col_block_dimB: 2
|
|
sell_slice_size: 2
|
|
dimx: 1
|
|
dimy: 1
|
|
dimz: 1
|
|
ll: -2
|
|
l: -1
|
|
u: 1
|
|
uu: 2
|
|
index_type_I: i32
|
|
index_type_J: i32
|
|
a_type: f32_r
|
|
b_type: f32_r
|
|
c_type: f32_r
|
|
x_type: f32_r
|
|
y_type: f32_r
|
|
compute_type: f32_r
|
|
A_row_indextype: i32
|
|
A_col_indextype: i32
|
|
B_row_indextype: i32
|
|
B_col_indextype: i32
|
|
C_row_indextype: i32
|
|
C_col_indextype: i32
|
|
alpha: 1.0
|
|
alphai: 0.0
|
|
beta: 0.0
|
|
betai: 0.0
|
|
threshold: 1.0
|
|
percentage: 0.0
|
|
tol: 0.0
|
|
transA: rocsparse_operation_none
|
|
transB: rocsparse_operation_none
|
|
baseA: rocsparse_index_base_zero
|
|
baseB: rocsparse_index_base_zero
|
|
baseC: rocsparse_index_base_zero
|
|
baseD: rocsparse_index_base_zero
|
|
action: rocsparse_action_numeric
|
|
part: rocsparse_hyb_partition_auto
|
|
matrix_type: rocsparse_matrix_type_general
|
|
diag: rocsparse_diag_type_non_unit
|
|
uplo: rocsparse_fill_mode_lower
|
|
storage: rocsparse_storage_mode_sorted
|
|
apol: rocsparse_analysis_policy_reuse
|
|
spol: rocsparse_solve_policy_auto
|
|
direction: rocsparse_direction_row
|
|
order: rocsparse_order_column
|
|
orderB: rocsparse_order_column
|
|
orderC: rocsparse_order_column
|
|
formatA: rocsparse_format_coo
|
|
formatB: rocsparse_format_coo
|
|
formatC: rocsparse_format_coo
|
|
itilu0_alg: rocsparse_itilu0_alg_default
|
|
sddmm_alg: rocsparse_sddmm_alg_default
|
|
spmv_alg: rocsparse_spmv_alg_default
|
|
spsv_alg: rocsparse_spsv_alg_default
|
|
sptrsv_alg: rocsparse_sptrsv_alg_default
|
|
spitsv_alg: rocsparse_spitsv_alg_default
|
|
spsm_alg: rocsparse_spsm_alg_default
|
|
sptrsm_alg: rocsparse_sptrsm_alg_default
|
|
spmm_alg: rocsparse_spmm_alg_default
|
|
spgemm_alg: rocsparse_spgemm_alg_default
|
|
spgeam_alg: rocsparse_spgeam_alg_default
|
|
sparse_to_dense_alg: rocsparse_sparse_to_dense_alg_default
|
|
dense_to_sparse_alg: rocsparse_dense_to_sparse_alg_default
|
|
gtsv_interleaved_alg: rocsparse_gtsv_interleaved_alg_default
|
|
gpsv_interleaved_alg: rocsparse_gpsv_interleaved_alg_default
|
|
matrix: rocsparse_matrix_random
|
|
matrix_init_kind: rocsparse_matrix_init_kind_default
|
|
unit_check: 1
|
|
timing: 0
|
|
iters: 10
|
|
iters_inner: 50
|
|
nfreeiter: 20
|
|
nmaxiter: 1000
|
|
denseld: -1
|
|
batch_count: -1
|
|
batch_count_A: -1
|
|
batch_count_B: -1
|
|
batch_count_C: -1
|
|
batch_stride: -1
|
|
ld_multiplier_B: 2
|
|
ld_multiplier_C: 2
|
|
algo: 0
|
|
numericboost: 0
|
|
boosttol: 0.0
|
|
boostval: 1.0
|
|
boostvali: 0.0
|
|
tolm: 1.0
|
|
rand_gen_min: 0.0
|
|
rand_gen_max: 1.0
|
|
graph_test: false
|
|
skip_reproducibility: false
|
|
sparsity_pattern_statistics: false
|
|
call_stage_analysis: true
|
|
convert_to_int: false
|
|
integer_based_manufactured_solution: false
|
|
workspace_size: 0
|
|
category: nightly
|
|
hardware: all
|
|
skip_hardware: none
|
|
host_memory_gb: 4
|
|
device_memory_gb: 4
|
|
filename: '*'
|
|
name: '*'
|