Skip to content

Commit

Permalink
adjust tests for single complex precision rounding errors found on na…
Browse files Browse the repository at this point in the history
…vi21 windows machine (#472) (#301)

Co-authored-by: James Sandham <33790278+jsandham@users.noreply.github.com>
Co-authored-by: jsandham <james.sandham@amd.com>
  • Loading branch information
3 people authored May 15, 2023
1 parent e116467 commit bc63aaa
Show file tree
Hide file tree
Showing 3 changed files with 48 additions and 9 deletions.
19 changes: 16 additions & 3 deletions clients/tests/test_csrmv.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# ########################################################################
# Copyright (C) 2019-2022 Advanced Micro Devices, Inc. All rights Reserved.
# Copyright (C) 2019-2023 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
Expand Down Expand Up @@ -235,8 +235,21 @@ Tests:
matrix: [rocsparse_matrix_file_rocalution]
matrix_type: [rocsparse_matrix_type_general]
spmv_alg: [rocsparse_spmv_alg_csr_adaptive, rocsparse_spmv_alg_csr_stream]
filename: [rma10,
qc2534]
filename: [qc2534]

- name: csrmv_file
category: quick
function: csrmv
precision: *double_only_precisions_complex
M: 1
N: 1
alpha_beta: *alpha_beta_range_quick
transA: [rocsparse_operation_none, rocsparse_operation_transpose]
baseA: [rocsparse_index_base_zero]
matrix: [rocsparse_matrix_file_rocalution]
matrix_type: [rocsparse_matrix_type_general]
spmv_alg: [rocsparse_spmv_alg_csr_adaptive, rocsparse_spmv_alg_csr_stream]
filename: [rma10]

- name: csrmv_file
category: pre_checkin
Expand Down
20 changes: 17 additions & 3 deletions clients/tests/test_spmv_coo.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# ########################################################################
# Copyright (C) 2020-2022 Advanced Micro Devices, Inc. All rights Reserved.
# Copyright (C) 2020-2023 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
Expand Down Expand Up @@ -194,8 +194,22 @@ Tests:
matrix: [rocsparse_matrix_file_rocalution]
storage: [rocsparse_storage_mode_sorted]
spmv_alg: [rocsparse_spmv_alg_coo, rocsparse_spmv_alg_coo_atomic]
filename: [mplate,
Chevron3]
filename: [Chevron3]

- name: spmv_coo_file
category: pre_checkin
function: spmv_coo
indextype: *i32_i64
precision: *double_only_precisions_complex
M: 1
N: 1
alpha_beta: *alpha_beta_range_checkin
transA: [rocsparse_operation_none, rocsparse_operation_conjugate_transpose]
baseA: [rocsparse_index_base_one]
matrix: [rocsparse_matrix_file_rocalution]
storage: [rocsparse_storage_mode_sorted]
spmv_alg: [rocsparse_spmv_alg_coo, rocsparse_spmv_alg_coo_atomic]
filename: [mplate]

- name: spmv_coo_file
category: nightly
Expand Down
18 changes: 15 additions & 3 deletions clients/tests/test_spmv_ell.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# ########################################################################
# Copyright (C) 2021-2022 Advanced Micro Devices, Inc. All rights Reserved.
# Copyright (C) 2021-2023 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
Expand Down Expand Up @@ -170,8 +170,20 @@ Tests:
transA: [rocsparse_operation_none, rocsparse_operation_transpose]
baseA: [rocsparse_index_base_one]
matrix: [rocsparse_matrix_file_rocalution]
filename: [mplate,
Chevron3]
filename: [Chevron3]

- name: spmv_ell_file
category: pre_checkin
function: spmv_ell
indextype: *i32_i64
precision: *double_only_precisions_complex
M: 1
N: 1
alpha_beta: *alpha_beta_range_checkin
transA: [rocsparse_operation_none, rocsparse_operation_transpose]
baseA: [rocsparse_index_base_one]
matrix: [rocsparse_matrix_file_rocalution]
filename: [mplate]

- name: spmv_ell_file
category: nightly
Expand Down

0 comments on commit bc63aaa

Please sign in to comment.