# ########################################################################
# Copyright (c) 2021 Advanced Micro Devices, Inc.
#
# 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
include: known_bugs.yaml

Tests:
- name: gtsv_no_pivot_strided_batch_bad_arg
  category: pre_checkin
  function: gtsv_no_pivot_strided_batch_bad_arg
  precision: *single_double_precisions_complex_real

- name: gtsv_no_pivot_strided_batch
  category: quick
  function: gtsv_no_pivot_strided_batch
  precision: *single_double_precisions_complex_real
  M: [0, 1, 2, 3, 7, 11, 17, 32, 77, 142, 231]
  N: [0, 1, 2, 3, 10, 45, 111, 213]
  denseld: [64, 512, 1024]
  matrix: [rocsparse_matrix_random]

- name: gtsv_no_pivot_strided_batch
  category: pre_checkin
  function: gtsv_no_pivot_strided_batch
  precision: *single_double_precisions_complex_real
  M: [256, 456, 1107, 1804, 3380]
  N: [1, 27, 299]
  denseld: [200, 800, 1600]
  matrix: [rocsparse_matrix_random]

- name: gtsv_no_pivot_strided_batch
  category: nightly
  function: gtsv_no_pivot_strided_batch
  precision: *single_double_precisions_complex_real
  M: [12057, 17283, 34905, 77043]
  N: [12, 15, 21]
  denseld: [20000, 40000, 80000]
  matrix: [rocsparse_matrix_random]

- name: gtsv_no_pivot_strided_batch
  category: quick
  function: gtsv_no_pivot_strided_batch
  precision: *single_double_precisions_complex_real
  M: [2, 4, 8, 16, 32, 64]
  N: [2, 4, 8, 16, 32, 64]
  denseld: [2, 4, 8, 16, 32, 64]
  matrix: [rocsparse_matrix_random]

- name: gtsv_no_pivot_strided_batch
  category: pre_checkin
  function: gtsv_no_pivot_strided_batch
  precision: *single_double_precisions
  M: [128, 256, 512, 1024]
  N: [32, 45, 128]
  denseld: [128, 256, 512, 1024]
  matrix: [rocsparse_matrix_random]

- name: gtsv_no_pivot_strided_batch
  category: nightly
  function: gtsv_no_pivot_strided_batch
  precision: *single_double_precisions
  M: [2048, 4096, 8192, 16384]
  N: [256, 512]
  denseld: [2048, 4096, 8192, 16384]
  matrix: [rocsparse_matrix_random]

- name: gtsv_no_pivot_strided_batch
  category: quick
  function: gtsv_no_pivot_strided_batch
  precision: *single_double_precisions_complex_real
  M: [476, 1725, 2301]
  N: [33, 117, 318, 475]
  denseld: [1000, 1500, 3000]
  matrix: [rocsparse_matrix_random]

- name: gtsv_no_pivot_strided_batch
  category: pre_checkin
  function: gtsv_no_pivot_strided_batch
  precision: *single_double_precisions_complex_real
  M: [2560, 45634, 110773]
  N: [25, 34]
  denseld: [200000]
  matrix: [rocsparse_matrix_random]

- name: gtsv_no_pivot_strided_batch
  category: nightly
  function: gtsv_no_pivot_strided_batch
  precision: *single_double_precisions_complex_real
  M: [120574, 172835, 349056, 770437, 1750300]
  N: [1, 3]
  denseld: [200000, 400000, 800000, 2000000]
  matrix: [rocsparse_matrix_random]
