Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use new cusparseSpSV for SPTRSV when cuSPARSE enabled with CUDA >= 11.3 #1574

Merged
merged 7 commits into from
Nov 7, 2022

Conversation

vqd8a
Copy link
Contributor

@vqd8a vqd8a commented Oct 27, 2022

For CUDA < 11.2, still use the deprecated APIs: cusparseXcsrsv2_analysis + cusparseXcsrsv2_solve.
Note: for the new APIs, we have to call sptrsv_symbolic again before calling sptrsv_solve, even when matrix values are changed with the same sparsity pattern.

@kokkos-devops-admin
Copy link

Status Flag 'Pre-Test Inspection' - Auto Inspected - Inspection Is Not Necessary for this Pull Request.

@kokkos-devops-admin
Copy link

Status Flag 'Pull Request AutoTester' - Testing Jenkins Projects:

Pull Request Auto Testing STARTING (click to expand)

Build Information

Test Name: KokkosKernels_PullRequest_GCC930_Light_Tpls_GCC930

  • Build Num: 118
  • Status: STARTED

Jenkins Parameters

Parameter Name Value
KOKKOSKERNELS_SOURCE_BRANCH add-cusparse-11-trisolve-api
KOKKOSKERNELS_SOURCE_REPO https://github.com/vqd8a/kokkos-kernels
KOKKOSKERNELS_SOURCE_SHA 5454e15
KOKKOSKERNELS_TARGET_BRANCH develop
KOKKOSKERNELS_TARGET_REPO https://github.com/kokkos/kokkos-kernels
KOKKOSKERNELS_TARGET_SHA bd907c4
PR_LABELS
PULLREQUESTNUM 1574
TEST_REPO_ALIAS KOKKOSKERNELS

Build Information

Test Name: KokkosKernels_PullRequest_CUDA11_CUDA11_LayoutRight

  • Build Num: 126
  • Status: STARTED

Jenkins Parameters

Parameter Name Value
KOKKOSKERNELS_SOURCE_BRANCH add-cusparse-11-trisolve-api
KOKKOSKERNELS_SOURCE_REPO https://github.com/vqd8a/kokkos-kernels
KOKKOSKERNELS_SOURCE_SHA 5454e15
KOKKOSKERNELS_TARGET_BRANCH develop
KOKKOSKERNELS_TARGET_REPO https://github.com/kokkos/kokkos-kernels
KOKKOSKERNELS_TARGET_SHA bd907c4
PR_LABELS
PULLREQUESTNUM 1574
TEST_REPO_ALIAS KOKKOSKERNELS

Build Information

Test Name: KokkosKernels_PullRequest_GCC1020

  • Build Num: 79
  • Status: STARTED

Jenkins Parameters

Parameter Name Value
KOKKOSKERNELS_SOURCE_BRANCH add-cusparse-11-trisolve-api
KOKKOSKERNELS_SOURCE_REPO https://github.com/vqd8a/kokkos-kernels
KOKKOSKERNELS_SOURCE_SHA 5454e15
KOKKOSKERNELS_TARGET_BRANCH develop
KOKKOSKERNELS_TARGET_REPO https://github.com/kokkos/kokkos-kernels
KOKKOSKERNELS_TARGET_SHA bd907c4
PR_LABELS
PULLREQUESTNUM 1574
TEST_REPO_ALIAS KOKKOSKERNELS

Build Information

Test Name: KokkosKernels_PullRequest_GCC1020_Light_LayoutRight

  • Build Num: 78
  • Status: STARTED

Jenkins Parameters

Parameter Name Value
KOKKOSKERNELS_SOURCE_BRANCH add-cusparse-11-trisolve-api
KOKKOSKERNELS_SOURCE_REPO https://github.com/vqd8a/kokkos-kernels
KOKKOSKERNELS_SOURCE_SHA 5454e15
KOKKOSKERNELS_TARGET_BRANCH develop
KOKKOSKERNELS_TARGET_REPO https://github.com/kokkos/kokkos-kernels
KOKKOSKERNELS_TARGET_SHA bd907c4
PR_LABELS
PULLREQUESTNUM 1574
TEST_REPO_ALIAS KOKKOSKERNELS

Build Information

Test Name: KokkosKernels_PullRequest_Tpls_GCC1020

  • Build Num: 41
  • Status: STARTED

Jenkins Parameters

Parameter Name Value
KOKKOSKERNELS_SOURCE_BRANCH add-cusparse-11-trisolve-api
KOKKOSKERNELS_SOURCE_REPO https://github.com/vqd8a/kokkos-kernels
KOKKOSKERNELS_SOURCE_SHA 5454e15
KOKKOSKERNELS_TARGET_BRANCH develop
KOKKOSKERNELS_TARGET_REPO https://github.com/kokkos/kokkos-kernels
KOKKOSKERNELS_TARGET_SHA bd907c4
PR_LABELS
PULLREQUESTNUM 1574
TEST_REPO_ALIAS KOKKOSKERNELS

Build Information

Test Name: KokkosKernels_PullRequest_Tpls_INTEL19

  • Build Num: 128
  • Status: STARTED

Jenkins Parameters

Parameter Name Value
KOKKOSKERNELS_SOURCE_BRANCH add-cusparse-11-trisolve-api
KOKKOSKERNELS_SOURCE_REPO https://github.com/vqd8a/kokkos-kernels
KOKKOSKERNELS_SOURCE_SHA 5454e15
KOKKOSKERNELS_TARGET_BRANCH develop
KOKKOSKERNELS_TARGET_REPO https://github.com/kokkos/kokkos-kernels
KOKKOSKERNELS_TARGET_SHA bd907c4
PR_LABELS
PULLREQUESTNUM 1574
TEST_REPO_ALIAS KOKKOSKERNELS

Build Information

Test Name: KokkosKernels_PullRequest_CLANG1001

  • Build Num: 177
  • Status: STARTED

Jenkins Parameters

Parameter Name Value
KOKKOSKERNELS_SOURCE_BRANCH add-cusparse-11-trisolve-api
KOKKOSKERNELS_SOURCE_REPO https://github.com/vqd8a/kokkos-kernels
KOKKOSKERNELS_SOURCE_SHA 5454e15
KOKKOSKERNELS_TARGET_BRANCH develop
KOKKOSKERNELS_TARGET_REPO https://github.com/kokkos/kokkos-kernels
KOKKOSKERNELS_TARGET_SHA bd907c4
PR_LABELS
PULLREQUESTNUM 1574
TEST_REPO_ALIAS KOKKOSKERNELS

Build Information

Test Name: KokkosKernels_PullRequest_CLANG13CUDA10

  • Build Num: 67
  • Status: STARTED

Jenkins Parameters

Parameter Name Value
KOKKOSKERNELS_SOURCE_BRANCH add-cusparse-11-trisolve-api
KOKKOSKERNELS_SOURCE_REPO https://github.com/vqd8a/kokkos-kernels
KOKKOSKERNELS_SOURCE_SHA 5454e15
KOKKOSKERNELS_TARGET_BRANCH develop
KOKKOSKERNELS_TARGET_REPO https://github.com/kokkos/kokkos-kernels
KOKKOSKERNELS_TARGET_SHA bd907c4
PR_LABELS
PULLREQUESTNUM 1574
TEST_REPO_ALIAS KOKKOSKERNELS

Build Information

Test Name: KokkosKernels_PullRequest_Tpls_ARMPL2110_Tpls_ARMPL2030_GCC1020

  • Build Num: 71
  • Status: STARTED

Jenkins Parameters

Parameter Name Value
KOKKOSKERNELS_SOURCE_BRANCH add-cusparse-11-trisolve-api
KOKKOSKERNELS_SOURCE_REPO https://github.com/vqd8a/kokkos-kernels
KOKKOSKERNELS_SOURCE_SHA 5454e15
KOKKOSKERNELS_TARGET_BRANCH develop
KOKKOSKERNELS_TARGET_REPO https://github.com/kokkos/kokkos-kernels
KOKKOSKERNELS_TARGET_SHA bd907c4
PR_LABELS
PULLREQUESTNUM 1574
TEST_REPO_ALIAS KOKKOSKERNELS

Using Repos:

Repo: KOKKOSKERNELS (vqd8a/kokkos-kernels)
  • Branch: add-cusparse-11-trisolve-api
  • SHA: 5454e15
  • Mode: TEST_REPO

Pull Request Author: vqd8a

@kokkos-devops-admin
Copy link

Status Flag 'Pull Request AutoTester' - Jenkins Testing: all Jobs PASSED

Pull Request Auto Testing has PASSED (click to expand)

Build Information

Test Name: KokkosKernels_PullRequest_GCC930_Light_Tpls_GCC930

  • Build Num: 118
  • Status: PASSED

Jenkins Parameters

Parameter Name Value
KOKKOSKERNELS_SOURCE_BRANCH add-cusparse-11-trisolve-api
KOKKOSKERNELS_SOURCE_REPO https://github.com/vqd8a/kokkos-kernels
KOKKOSKERNELS_SOURCE_SHA 5454e15
KOKKOSKERNELS_TARGET_BRANCH develop
KOKKOSKERNELS_TARGET_REPO https://github.com/kokkos/kokkos-kernels
KOKKOSKERNELS_TARGET_SHA bd907c4
PR_LABELS
PULLREQUESTNUM 1574
TEST_REPO_ALIAS KOKKOSKERNELS

Build Information

Test Name: KokkosKernels_PullRequest_CUDA11_CUDA11_LayoutRight

  • Build Num: 126
  • Status: PASSED

Jenkins Parameters

Parameter Name Value
KOKKOSKERNELS_SOURCE_BRANCH add-cusparse-11-trisolve-api
KOKKOSKERNELS_SOURCE_REPO https://github.com/vqd8a/kokkos-kernels
KOKKOSKERNELS_SOURCE_SHA 5454e15
KOKKOSKERNELS_TARGET_BRANCH develop
KOKKOSKERNELS_TARGET_REPO https://github.com/kokkos/kokkos-kernels
KOKKOSKERNELS_TARGET_SHA bd907c4
PR_LABELS
PULLREQUESTNUM 1574
TEST_REPO_ALIAS KOKKOSKERNELS

Build Information

Test Name: KokkosKernels_PullRequest_GCC1020

  • Build Num: 79
  • Status: PASSED

Jenkins Parameters

Parameter Name Value
KOKKOSKERNELS_SOURCE_BRANCH add-cusparse-11-trisolve-api
KOKKOSKERNELS_SOURCE_REPO https://github.com/vqd8a/kokkos-kernels
KOKKOSKERNELS_SOURCE_SHA 5454e15
KOKKOSKERNELS_TARGET_BRANCH develop
KOKKOSKERNELS_TARGET_REPO https://github.com/kokkos/kokkos-kernels
KOKKOSKERNELS_TARGET_SHA bd907c4
PR_LABELS
PULLREQUESTNUM 1574
TEST_REPO_ALIAS KOKKOSKERNELS

Build Information

Test Name: KokkosKernels_PullRequest_GCC1020_Light_LayoutRight

  • Build Num: 78
  • Status: PASSED

Jenkins Parameters

Parameter Name Value
KOKKOSKERNELS_SOURCE_BRANCH add-cusparse-11-trisolve-api
KOKKOSKERNELS_SOURCE_REPO https://github.com/vqd8a/kokkos-kernels
KOKKOSKERNELS_SOURCE_SHA 5454e15
KOKKOSKERNELS_TARGET_BRANCH develop
KOKKOSKERNELS_TARGET_REPO https://github.com/kokkos/kokkos-kernels
KOKKOSKERNELS_TARGET_SHA bd907c4
PR_LABELS
PULLREQUESTNUM 1574
TEST_REPO_ALIAS KOKKOSKERNELS

Build Information

Test Name: KokkosKernels_PullRequest_Tpls_GCC1020

  • Build Num: 41
  • Status: PASSED

Jenkins Parameters

Parameter Name Value
KOKKOSKERNELS_SOURCE_BRANCH add-cusparse-11-trisolve-api
KOKKOSKERNELS_SOURCE_REPO https://github.com/vqd8a/kokkos-kernels
KOKKOSKERNELS_SOURCE_SHA 5454e15
KOKKOSKERNELS_TARGET_BRANCH develop
KOKKOSKERNELS_TARGET_REPO https://github.com/kokkos/kokkos-kernels
KOKKOSKERNELS_TARGET_SHA bd907c4
PR_LABELS
PULLREQUESTNUM 1574
TEST_REPO_ALIAS KOKKOSKERNELS

Build Information

Test Name: KokkosKernels_PullRequest_Tpls_INTEL19

  • Build Num: 128
  • Status: PASSED

Jenkins Parameters

Parameter Name Value
KOKKOSKERNELS_SOURCE_BRANCH add-cusparse-11-trisolve-api
KOKKOSKERNELS_SOURCE_REPO https://github.com/vqd8a/kokkos-kernels
KOKKOSKERNELS_SOURCE_SHA 5454e15
KOKKOSKERNELS_TARGET_BRANCH develop
KOKKOSKERNELS_TARGET_REPO https://github.com/kokkos/kokkos-kernels
KOKKOSKERNELS_TARGET_SHA bd907c4
PR_LABELS
PULLREQUESTNUM 1574
TEST_REPO_ALIAS KOKKOSKERNELS

Build Information

Test Name: KokkosKernels_PullRequest_CLANG1001

  • Build Num: 177
  • Status: PASSED

Jenkins Parameters

Parameter Name Value
KOKKOSKERNELS_SOURCE_BRANCH add-cusparse-11-trisolve-api
KOKKOSKERNELS_SOURCE_REPO https://github.com/vqd8a/kokkos-kernels
KOKKOSKERNELS_SOURCE_SHA 5454e15
KOKKOSKERNELS_TARGET_BRANCH develop
KOKKOSKERNELS_TARGET_REPO https://github.com/kokkos/kokkos-kernels
KOKKOSKERNELS_TARGET_SHA bd907c4
PR_LABELS
PULLREQUESTNUM 1574
TEST_REPO_ALIAS KOKKOSKERNELS

Build Information

Test Name: KokkosKernels_PullRequest_CLANG13CUDA10

  • Build Num: 67
  • Status: PASSED

Jenkins Parameters

Parameter Name Value
KOKKOSKERNELS_SOURCE_BRANCH add-cusparse-11-trisolve-api
KOKKOSKERNELS_SOURCE_REPO https://github.com/vqd8a/kokkos-kernels
KOKKOSKERNELS_SOURCE_SHA 5454e15
KOKKOSKERNELS_TARGET_BRANCH develop
KOKKOSKERNELS_TARGET_REPO https://github.com/kokkos/kokkos-kernels
KOKKOSKERNELS_TARGET_SHA bd907c4
PR_LABELS
PULLREQUESTNUM 1574
TEST_REPO_ALIAS KOKKOSKERNELS

Build Information

Test Name: KokkosKernels_PullRequest_Tpls_ARMPL2110_Tpls_ARMPL2030_GCC1020

  • Build Num: 71
  • Status: PASSED

Jenkins Parameters

Parameter Name Value
KOKKOSKERNELS_SOURCE_BRANCH add-cusparse-11-trisolve-api
KOKKOSKERNELS_SOURCE_REPO https://github.com/vqd8a/kokkos-kernels
KOKKOSKERNELS_SOURCE_SHA 5454e15
KOKKOSKERNELS_TARGET_BRANCH develop
KOKKOSKERNELS_TARGET_REPO https://github.com/kokkos/kokkos-kernels
KOKKOSKERNELS_TARGET_SHA bd907c4
PR_LABELS
PULLREQUESTNUM 1574
TEST_REPO_ALIAS KOKKOSKERNELS

@kokkos-devops-admin
Copy link

Status Flag 'Pre-Merge Inspection' - - This Pull Request Requires Inspection... The code must be inspected by a member of the Team before Testing/Merging
WARNING: NO REVIEWERS HAVE BEEN REQUESTED FOR THIS PULL REQUEST!

@kokkos-devops-admin
Copy link

All Jobs Finished; status = PASSED, However Inspection must be performed before merge can occur...

2 similar comments
@kokkos-devops-admin
Copy link

All Jobs Finished; status = PASSED, However Inspection must be performed before merge can occur...

@kokkos-devops-admin
Copy link

All Jobs Finished; status = PASSED, However Inspection must be performed before merge can occur...

@kokkos-devops-admin
Copy link

Status Flag 'Pre-Test Inspection' - Auto Inspected - Inspection Is Not Necessary for this Pull Request.

@kokkos-devops-admin
Copy link

Status Flag 'Pull Request AutoTester' - Failure: Timed out waiting for job KokkosKernels_PullRequest_CLANG13CUDA10 to start: Total Wait = 3603

@kokkos-devops-admin
Copy link

Status Flag 'Pre-Test Inspection' - Auto Inspected - Inspection Is Not Necessary for this Pull Request.

@kokkos-devops-admin
Copy link

Status Flag 'Pull Request AutoTester' - Failure: Timed out waiting for job KokkosKernels_PullRequest_CLANG13CUDA10 to start: Total Wait = 3603

@vqd8a vqd8a requested review from ndellingwood and lucbv October 30, 2022 22:26
@vqd8a vqd8a self-assigned this Oct 30, 2022
@vqd8a vqd8a added the AT: RETEST Have this PR retested. label Oct 30, 2022
@vqd8a vqd8a marked this pull request as ready for review October 30, 2022 22:27
@kokkos-devops-admin
Copy link

Status Flag 'Pull Request AutoTester' - User Requested Retest - Label AT: RETEST will be reset after testing.

@kokkos-devops-admin
Copy link

Status Flag 'Pull Request AutoTester' - Testing Jenkins Projects:

Pull Request Auto Testing STARTING (click to expand)

Build Information

Test Name: KokkosKernels_PullRequest_GCC930_Light_Tpls_GCC930

  • Build Num: 125
  • Status: STARTED

Jenkins Parameters

Parameter Name Value
KOKKOSKERNELS_SOURCE_BRANCH add-cusparse-11-trisolve-api
KOKKOSKERNELS_SOURCE_REPO https://github.com/vqd8a/kokkos-kernels
KOKKOSKERNELS_SOURCE_SHA f566a2f
KOKKOSKERNELS_TARGET_BRANCH develop
KOKKOSKERNELS_TARGET_REPO https://github.com/kokkos/kokkos-kernels
KOKKOSKERNELS_TARGET_SHA bd907c4
PR_LABELS AT: RETEST
PULLREQUESTNUM 1574
TEST_REPO_ALIAS KOKKOSKERNELS

Build Information

Test Name: KokkosKernels_PullRequest_CUDA11_CUDA11_LayoutRight

  • Build Num: 133
  • Status: STARTED

Jenkins Parameters

Parameter Name Value
KOKKOSKERNELS_SOURCE_BRANCH add-cusparse-11-trisolve-api
KOKKOSKERNELS_SOURCE_REPO https://github.com/vqd8a/kokkos-kernels
KOKKOSKERNELS_SOURCE_SHA f566a2f
KOKKOSKERNELS_TARGET_BRANCH develop
KOKKOSKERNELS_TARGET_REPO https://github.com/kokkos/kokkos-kernels
KOKKOSKERNELS_TARGET_SHA bd907c4
PR_LABELS AT: RETEST
PULLREQUESTNUM 1574
TEST_REPO_ALIAS KOKKOSKERNELS

Build Information

Test Name: KokkosKernels_PullRequest_GCC1020

  • Build Num: 86
  • Status: STARTED

Jenkins Parameters

Parameter Name Value
KOKKOSKERNELS_SOURCE_BRANCH add-cusparse-11-trisolve-api
KOKKOSKERNELS_SOURCE_REPO https://github.com/vqd8a/kokkos-kernels
KOKKOSKERNELS_SOURCE_SHA f566a2f
KOKKOSKERNELS_TARGET_BRANCH develop
KOKKOSKERNELS_TARGET_REPO https://github.com/kokkos/kokkos-kernels
KOKKOSKERNELS_TARGET_SHA bd907c4
PR_LABELS AT: RETEST
PULLREQUESTNUM 1574
TEST_REPO_ALIAS KOKKOSKERNELS

Build Information

Test Name: KokkosKernels_PullRequest_GCC1020_Light_LayoutRight

  • Build Num: 85
  • Status: STARTED

Jenkins Parameters

Parameter Name Value
KOKKOSKERNELS_SOURCE_BRANCH add-cusparse-11-trisolve-api
KOKKOSKERNELS_SOURCE_REPO https://github.com/vqd8a/kokkos-kernels
KOKKOSKERNELS_SOURCE_SHA f566a2f
KOKKOSKERNELS_TARGET_BRANCH develop
KOKKOSKERNELS_TARGET_REPO https://github.com/kokkos/kokkos-kernels
KOKKOSKERNELS_TARGET_SHA bd907c4
PR_LABELS AT: RETEST
PULLREQUESTNUM 1574
TEST_REPO_ALIAS KOKKOSKERNELS

Build Information

Test Name: KokkosKernels_PullRequest_Tpls_GCC1020

  • Build Num: 48
  • Status: STARTED

Jenkins Parameters

Parameter Name Value
KOKKOSKERNELS_SOURCE_BRANCH add-cusparse-11-trisolve-api
KOKKOSKERNELS_SOURCE_REPO https://github.com/vqd8a/kokkos-kernels
KOKKOSKERNELS_SOURCE_SHA f566a2f
KOKKOSKERNELS_TARGET_BRANCH develop
KOKKOSKERNELS_TARGET_REPO https://github.com/kokkos/kokkos-kernels
KOKKOSKERNELS_TARGET_SHA bd907c4
PR_LABELS AT: RETEST
PULLREQUESTNUM 1574
TEST_REPO_ALIAS KOKKOSKERNELS

Build Information

Test Name: KokkosKernels_PullRequest_Tpls_INTEL19

  • Build Num: 135
  • Status: STARTED

Jenkins Parameters

Parameter Name Value
KOKKOSKERNELS_SOURCE_BRANCH add-cusparse-11-trisolve-api
KOKKOSKERNELS_SOURCE_REPO https://github.com/vqd8a/kokkos-kernels
KOKKOSKERNELS_SOURCE_SHA f566a2f
KOKKOSKERNELS_TARGET_BRANCH develop
KOKKOSKERNELS_TARGET_REPO https://github.com/kokkos/kokkos-kernels
KOKKOSKERNELS_TARGET_SHA bd907c4
PR_LABELS AT: RETEST
PULLREQUESTNUM 1574
TEST_REPO_ALIAS KOKKOSKERNELS

Build Information

Test Name: KokkosKernels_PullRequest_CLANG1001

  • Build Num: 184
  • Status: STARTED

Jenkins Parameters

Parameter Name Value
KOKKOSKERNELS_SOURCE_BRANCH add-cusparse-11-trisolve-api
KOKKOSKERNELS_SOURCE_REPO https://github.com/vqd8a/kokkos-kernels
KOKKOSKERNELS_SOURCE_SHA f566a2f
KOKKOSKERNELS_TARGET_BRANCH develop
KOKKOSKERNELS_TARGET_REPO https://github.com/kokkos/kokkos-kernels
KOKKOSKERNELS_TARGET_SHA bd907c4
PR_LABELS AT: RETEST
PULLREQUESTNUM 1574
TEST_REPO_ALIAS KOKKOSKERNELS

Build Information

Test Name: KokkosKernels_PullRequest_CLANG13CUDA10

  • Build Num: 72
  • Status: STARTED

Jenkins Parameters

Parameter Name Value
KOKKOSKERNELS_SOURCE_BRANCH add-cusparse-11-trisolve-api
KOKKOSKERNELS_SOURCE_REPO https://github.com/vqd8a/kokkos-kernels
KOKKOSKERNELS_SOURCE_SHA f566a2f
KOKKOSKERNELS_TARGET_BRANCH develop
KOKKOSKERNELS_TARGET_REPO https://github.com/kokkos/kokkos-kernels
KOKKOSKERNELS_TARGET_SHA bd907c4
PR_LABELS AT: RETEST
PULLREQUESTNUM 1574
TEST_REPO_ALIAS KOKKOSKERNELS

Build Information

Test Name: KokkosKernels_PullRequest_Tpls_ARMPL2110_Tpls_ARMPL2030_GCC1020

  • Build Num: 76
  • Status: STARTED

Jenkins Parameters

Parameter Name Value
KOKKOSKERNELS_SOURCE_BRANCH add-cusparse-11-trisolve-api
KOKKOSKERNELS_SOURCE_REPO https://github.com/vqd8a/kokkos-kernels
KOKKOSKERNELS_SOURCE_SHA f566a2f
KOKKOSKERNELS_TARGET_BRANCH develop
KOKKOSKERNELS_TARGET_REPO https://github.com/kokkos/kokkos-kernels
KOKKOSKERNELS_TARGET_SHA bd907c4
PR_LABELS AT: RETEST
PULLREQUESTNUM 1574
TEST_REPO_ALIAS KOKKOSKERNELS

Using Repos:

Repo: KOKKOSKERNELS (vqd8a/kokkos-kernels)
  • Branch: add-cusparse-11-trisolve-api
  • SHA: f566a2f
  • Mode: TEST_REPO

Pull Request Author: vqd8a

@kokkos-devops-admin
Copy link

Status Flag 'Pull Request AutoTester' - Jenkins Testing: all Jobs PASSED

Pull Request Auto Testing has PASSED (click to expand)

Build Information

Test Name: KokkosKernels_PullRequest_GCC930_Light_Tpls_GCC930

  • Build Num: 125
  • Status: PASSED

Jenkins Parameters

Parameter Name Value
KOKKOSKERNELS_SOURCE_BRANCH add-cusparse-11-trisolve-api
KOKKOSKERNELS_SOURCE_REPO https://github.com/vqd8a/kokkos-kernels
KOKKOSKERNELS_SOURCE_SHA f566a2f
KOKKOSKERNELS_TARGET_BRANCH develop
KOKKOSKERNELS_TARGET_REPO https://github.com/kokkos/kokkos-kernels
KOKKOSKERNELS_TARGET_SHA bd907c4
PR_LABELS AT: RETEST
PULLREQUESTNUM 1574
TEST_REPO_ALIAS KOKKOSKERNELS

Build Information

Test Name: KokkosKernels_PullRequest_CUDA11_CUDA11_LayoutRight

  • Build Num: 133
  • Status: PASSED

Jenkins Parameters

Parameter Name Value
KOKKOSKERNELS_SOURCE_BRANCH add-cusparse-11-trisolve-api
KOKKOSKERNELS_SOURCE_REPO https://github.com/vqd8a/kokkos-kernels
KOKKOSKERNELS_SOURCE_SHA f566a2f
KOKKOSKERNELS_TARGET_BRANCH develop
KOKKOSKERNELS_TARGET_REPO https://github.com/kokkos/kokkos-kernels
KOKKOSKERNELS_TARGET_SHA bd907c4
PR_LABELS AT: RETEST
PULLREQUESTNUM 1574
TEST_REPO_ALIAS KOKKOSKERNELS

Build Information

Test Name: KokkosKernels_PullRequest_GCC1020

  • Build Num: 86
  • Status: PASSED

Jenkins Parameters

Parameter Name Value
KOKKOSKERNELS_SOURCE_BRANCH add-cusparse-11-trisolve-api
KOKKOSKERNELS_SOURCE_REPO https://github.com/vqd8a/kokkos-kernels
KOKKOSKERNELS_SOURCE_SHA f566a2f
KOKKOSKERNELS_TARGET_BRANCH develop
KOKKOSKERNELS_TARGET_REPO https://github.com/kokkos/kokkos-kernels
KOKKOSKERNELS_TARGET_SHA bd907c4
PR_LABELS AT: RETEST
PULLREQUESTNUM 1574
TEST_REPO_ALIAS KOKKOSKERNELS

Build Information

Test Name: KokkosKernels_PullRequest_GCC1020_Light_LayoutRight

  • Build Num: 85
  • Status: PASSED

Jenkins Parameters

Parameter Name Value
KOKKOSKERNELS_SOURCE_BRANCH add-cusparse-11-trisolve-api
KOKKOSKERNELS_SOURCE_REPO https://github.com/vqd8a/kokkos-kernels
KOKKOSKERNELS_SOURCE_SHA f566a2f
KOKKOSKERNELS_TARGET_BRANCH develop
KOKKOSKERNELS_TARGET_REPO https://github.com/kokkos/kokkos-kernels
KOKKOSKERNELS_TARGET_SHA bd907c4
PR_LABELS AT: RETEST
PULLREQUESTNUM 1574
TEST_REPO_ALIAS KOKKOSKERNELS

Build Information

Test Name: KokkosKernels_PullRequest_Tpls_GCC1020

  • Build Num: 48
  • Status: PASSED

Jenkins Parameters

Parameter Name Value
KOKKOSKERNELS_SOURCE_BRANCH add-cusparse-11-trisolve-api
KOKKOSKERNELS_SOURCE_REPO https://github.com/vqd8a/kokkos-kernels
KOKKOSKERNELS_SOURCE_SHA f566a2f
KOKKOSKERNELS_TARGET_BRANCH develop
KOKKOSKERNELS_TARGET_REPO https://github.com/kokkos/kokkos-kernels
KOKKOSKERNELS_TARGET_SHA bd907c4
PR_LABELS AT: RETEST
PULLREQUESTNUM 1574
TEST_REPO_ALIAS KOKKOSKERNELS

Build Information

Test Name: KokkosKernels_PullRequest_Tpls_INTEL19

  • Build Num: 135
  • Status: PASSED

Jenkins Parameters

Parameter Name Value
KOKKOSKERNELS_SOURCE_BRANCH add-cusparse-11-trisolve-api
KOKKOSKERNELS_SOURCE_REPO https://github.com/vqd8a/kokkos-kernels
KOKKOSKERNELS_SOURCE_SHA f566a2f
KOKKOSKERNELS_TARGET_BRANCH develop
KOKKOSKERNELS_TARGET_REPO https://github.com/kokkos/kokkos-kernels
KOKKOSKERNELS_TARGET_SHA bd907c4
PR_LABELS AT: RETEST
PULLREQUESTNUM 1574
TEST_REPO_ALIAS KOKKOSKERNELS

Build Information

Test Name: KokkosKernels_PullRequest_CLANG1001

  • Build Num: 184
  • Status: PASSED

Jenkins Parameters

Parameter Name Value
KOKKOSKERNELS_SOURCE_BRANCH add-cusparse-11-trisolve-api
KOKKOSKERNELS_SOURCE_REPO https://github.com/vqd8a/kokkos-kernels
KOKKOSKERNELS_SOURCE_SHA f566a2f
KOKKOSKERNELS_TARGET_BRANCH develop
KOKKOSKERNELS_TARGET_REPO https://github.com/kokkos/kokkos-kernels
KOKKOSKERNELS_TARGET_SHA bd907c4
PR_LABELS AT: RETEST
PULLREQUESTNUM 1574
TEST_REPO_ALIAS KOKKOSKERNELS

Build Information

Test Name: KokkosKernels_PullRequest_CLANG13CUDA10

  • Build Num: 72
  • Status: PASSED

Jenkins Parameters

Parameter Name Value
KOKKOSKERNELS_SOURCE_BRANCH add-cusparse-11-trisolve-api
KOKKOSKERNELS_SOURCE_REPO https://github.com/vqd8a/kokkos-kernels
KOKKOSKERNELS_SOURCE_SHA f566a2f
KOKKOSKERNELS_TARGET_BRANCH develop
KOKKOSKERNELS_TARGET_REPO https://github.com/kokkos/kokkos-kernels
KOKKOSKERNELS_TARGET_SHA bd907c4
PR_LABELS AT: RETEST
PULLREQUESTNUM 1574
TEST_REPO_ALIAS KOKKOSKERNELS

Build Information

Test Name: KokkosKernels_PullRequest_Tpls_ARMPL2110_Tpls_ARMPL2030_GCC1020

  • Build Num: 76
  • Status: PASSED

Jenkins Parameters

Parameter Name Value
KOKKOSKERNELS_SOURCE_BRANCH add-cusparse-11-trisolve-api
KOKKOSKERNELS_SOURCE_REPO https://github.com/vqd8a/kokkos-kernels
KOKKOSKERNELS_SOURCE_SHA f566a2f
KOKKOSKERNELS_TARGET_BRANCH develop
KOKKOSKERNELS_TARGET_REPO https://github.com/kokkos/kokkos-kernels
KOKKOSKERNELS_TARGET_SHA bd907c4
PR_LABELS AT: RETEST
PULLREQUESTNUM 1574
TEST_REPO_ALIAS KOKKOSKERNELS

@kokkos-devops-admin kokkos-devops-admin removed the AT: RETEST Have this PR retested. label Oct 31, 2022
@kokkos-devops-admin
Copy link

Status Flag 'Pre-Merge Inspection' - - This Pull Request Requires Inspection... The code must be inspected by a member of the Team before Testing/Merging
NO REVIEWS HAVE BEEN PERFORMED ON THIS PULL REQUEST!

@kokkos-devops-admin
Copy link

All Jobs Finished; status = PASSED, However Inspection must be performed before merge can occur...

@kokkos-devops-admin
Copy link

Status Flag 'Pre-Test Inspection' - Auto Inspected - Inspection Is Not Necessary for this Pull Request.

@kokkos-devops-admin
Copy link

Status Flag 'Pull Request AutoTester' - Testing Jenkins Projects:

Pull Request Auto Testing STARTING (click to expand)

Build Information

Test Name: KokkosKernels_PullRequest_GCC930_Light_Tpls_GCC930

  • Build Num: 126
  • Status: STARTED

Jenkins Parameters

Parameter Name Value
KOKKOSKERNELS_SOURCE_BRANCH add-cusparse-11-trisolve-api
KOKKOSKERNELS_SOURCE_REPO https://github.com/vqd8a/kokkos-kernels
KOKKOSKERNELS_SOURCE_SHA d66eb7a
KOKKOSKERNELS_TARGET_BRANCH develop
KOKKOSKERNELS_TARGET_REPO https://github.com/kokkos/kokkos-kernels
KOKKOSKERNELS_TARGET_SHA b97b631
PR_LABELS
PULLREQUESTNUM 1574
TEST_REPO_ALIAS KOKKOSKERNELS

Build Information

Test Name: KokkosKernels_PullRequest_CUDA11_CUDA11_LayoutRight

  • Build Num: 134
  • Status: STARTED

Jenkins Parameters

Parameter Name Value
KOKKOSKERNELS_SOURCE_BRANCH add-cusparse-11-trisolve-api
KOKKOSKERNELS_SOURCE_REPO https://github.com/vqd8a/kokkos-kernels
KOKKOSKERNELS_SOURCE_SHA d66eb7a
KOKKOSKERNELS_TARGET_BRANCH develop
KOKKOSKERNELS_TARGET_REPO https://github.com/kokkos/kokkos-kernels
KOKKOSKERNELS_TARGET_SHA b97b631
PR_LABELS
PULLREQUESTNUM 1574
TEST_REPO_ALIAS KOKKOSKERNELS

Build Information

Test Name: KokkosKernels_PullRequest_GCC1020

  • Build Num: 87
  • Status: STARTED

Jenkins Parameters

Parameter Name Value
KOKKOSKERNELS_SOURCE_BRANCH add-cusparse-11-trisolve-api
KOKKOSKERNELS_SOURCE_REPO https://github.com/vqd8a/kokkos-kernels
KOKKOSKERNELS_SOURCE_SHA d66eb7a
KOKKOSKERNELS_TARGET_BRANCH develop
KOKKOSKERNELS_TARGET_REPO https://github.com/kokkos/kokkos-kernels
KOKKOSKERNELS_TARGET_SHA b97b631
PR_LABELS
PULLREQUESTNUM 1574
TEST_REPO_ALIAS KOKKOSKERNELS

Build Information

Test Name: KokkosKernels_PullRequest_GCC1020_Light_LayoutRight

  • Build Num: 86
  • Status: STARTED

Jenkins Parameters

Parameter Name Value
KOKKOSKERNELS_SOURCE_BRANCH add-cusparse-11-trisolve-api
KOKKOSKERNELS_SOURCE_REPO https://github.com/vqd8a/kokkos-kernels
KOKKOSKERNELS_SOURCE_SHA d66eb7a
KOKKOSKERNELS_TARGET_BRANCH develop
KOKKOSKERNELS_TARGET_REPO https://github.com/kokkos/kokkos-kernels
KOKKOSKERNELS_TARGET_SHA b97b631
PR_LABELS
PULLREQUESTNUM 1574
TEST_REPO_ALIAS KOKKOSKERNELS

Build Information

Test Name: KokkosKernels_PullRequest_Tpls_GCC1020

  • Build Num: 49
  • Status: STARTED

Jenkins Parameters

Parameter Name Value
KOKKOSKERNELS_SOURCE_BRANCH add-cusparse-11-trisolve-api
KOKKOSKERNELS_SOURCE_REPO https://github.com/vqd8a/kokkos-kernels
KOKKOSKERNELS_SOURCE_SHA d66eb7a
KOKKOSKERNELS_TARGET_BRANCH develop
KOKKOSKERNELS_TARGET_REPO https://github.com/kokkos/kokkos-kernels
KOKKOSKERNELS_TARGET_SHA b97b631
PR_LABELS
PULLREQUESTNUM 1574
TEST_REPO_ALIAS KOKKOSKERNELS

Build Information

Test Name: KokkosKernels_PullRequest_Tpls_INTEL19

  • Build Num: 136
  • Status: STARTED

Jenkins Parameters

Parameter Name Value
KOKKOSKERNELS_SOURCE_BRANCH add-cusparse-11-trisolve-api
KOKKOSKERNELS_SOURCE_REPO https://github.com/vqd8a/kokkos-kernels
KOKKOSKERNELS_SOURCE_SHA d66eb7a
KOKKOSKERNELS_TARGET_BRANCH develop
KOKKOSKERNELS_TARGET_REPO https://github.com/kokkos/kokkos-kernels
KOKKOSKERNELS_TARGET_SHA b97b631
PR_LABELS
PULLREQUESTNUM 1574
TEST_REPO_ALIAS KOKKOSKERNELS

Build Information

Test Name: KokkosKernels_PullRequest_CLANG1001

  • Build Num: 185
  • Status: STARTED

Jenkins Parameters

Parameter Name Value
KOKKOSKERNELS_SOURCE_BRANCH add-cusparse-11-trisolve-api
KOKKOSKERNELS_SOURCE_REPO https://github.com/vqd8a/kokkos-kernels
KOKKOSKERNELS_SOURCE_SHA d66eb7a
KOKKOSKERNELS_TARGET_BRANCH develop
KOKKOSKERNELS_TARGET_REPO https://github.com/kokkos/kokkos-kernels
KOKKOSKERNELS_TARGET_SHA b97b631
PR_LABELS
PULLREQUESTNUM 1574
TEST_REPO_ALIAS KOKKOSKERNELS

Build Information

Test Name: KokkosKernels_PullRequest_CLANG13CUDA10

  • Build Num: 73
  • Status: STARTED

Jenkins Parameters

Parameter Name Value
KOKKOSKERNELS_SOURCE_BRANCH add-cusparse-11-trisolve-api
KOKKOSKERNELS_SOURCE_REPO https://github.com/vqd8a/kokkos-kernels
KOKKOSKERNELS_SOURCE_SHA d66eb7a
KOKKOSKERNELS_TARGET_BRANCH develop
KOKKOSKERNELS_TARGET_REPO https://github.com/kokkos/kokkos-kernels
KOKKOSKERNELS_TARGET_SHA b97b631
PR_LABELS
PULLREQUESTNUM 1574
TEST_REPO_ALIAS KOKKOSKERNELS

Build Information

Test Name: KokkosKernels_PullRequest_Tpls_ARMPL2110_Tpls_ARMPL2030_GCC1020

  • Build Num: 77
  • Status: STARTED

Jenkins Parameters

Parameter Name Value
KOKKOSKERNELS_SOURCE_BRANCH add-cusparse-11-trisolve-api
KOKKOSKERNELS_SOURCE_REPO https://github.com/vqd8a/kokkos-kernels
KOKKOSKERNELS_SOURCE_SHA d66eb7a
KOKKOSKERNELS_TARGET_BRANCH develop
KOKKOSKERNELS_TARGET_REPO https://github.com/kokkos/kokkos-kernels
KOKKOSKERNELS_TARGET_SHA b97b631
PR_LABELS
PULLREQUESTNUM 1574
TEST_REPO_ALIAS KOKKOSKERNELS

Using Repos:

Repo: KOKKOSKERNELS (vqd8a/kokkos-kernels)
  • Branch: add-cusparse-11-trisolve-api
  • SHA: d66eb7a
  • Mode: TEST_REPO

Pull Request Author: vqd8a

@kokkos-devops-admin
Copy link

Status Flag 'Pull Request AutoTester' - Jenkins Testing: all Jobs PASSED

Pull Request Auto Testing has PASSED (click to expand)

Build Information

Test Name: KokkosKernels_PullRequest_GCC930_Light_Tpls_GCC930

  • Build Num: 126
  • Status: PASSED

Jenkins Parameters

Parameter Name Value
KOKKOSKERNELS_SOURCE_BRANCH add-cusparse-11-trisolve-api
KOKKOSKERNELS_SOURCE_REPO https://github.com/vqd8a/kokkos-kernels
KOKKOSKERNELS_SOURCE_SHA d66eb7a
KOKKOSKERNELS_TARGET_BRANCH develop
KOKKOSKERNELS_TARGET_REPO https://github.com/kokkos/kokkos-kernels
KOKKOSKERNELS_TARGET_SHA b97b631
PR_LABELS
PULLREQUESTNUM 1574
TEST_REPO_ALIAS KOKKOSKERNELS

Build Information

Test Name: KokkosKernels_PullRequest_CUDA11_CUDA11_LayoutRight

  • Build Num: 134
  • Status: PASSED

Jenkins Parameters

Parameter Name Value
KOKKOSKERNELS_SOURCE_BRANCH add-cusparse-11-trisolve-api
KOKKOSKERNELS_SOURCE_REPO https://github.com/vqd8a/kokkos-kernels
KOKKOSKERNELS_SOURCE_SHA d66eb7a
KOKKOSKERNELS_TARGET_BRANCH develop
KOKKOSKERNELS_TARGET_REPO https://github.com/kokkos/kokkos-kernels
KOKKOSKERNELS_TARGET_SHA b97b631
PR_LABELS
PULLREQUESTNUM 1574
TEST_REPO_ALIAS KOKKOSKERNELS

Build Information

Test Name: KokkosKernels_PullRequest_GCC1020

  • Build Num: 87
  • Status: PASSED

Jenkins Parameters

Parameter Name Value
KOKKOSKERNELS_SOURCE_BRANCH add-cusparse-11-trisolve-api
KOKKOSKERNELS_SOURCE_REPO https://github.com/vqd8a/kokkos-kernels
KOKKOSKERNELS_SOURCE_SHA d66eb7a
KOKKOSKERNELS_TARGET_BRANCH develop
KOKKOSKERNELS_TARGET_REPO https://github.com/kokkos/kokkos-kernels
KOKKOSKERNELS_TARGET_SHA b97b631
PR_LABELS
PULLREQUESTNUM 1574
TEST_REPO_ALIAS KOKKOSKERNELS

Build Information

Test Name: KokkosKernels_PullRequest_GCC1020_Light_LayoutRight

  • Build Num: 86
  • Status: PASSED

Jenkins Parameters

Parameter Name Value
KOKKOSKERNELS_SOURCE_BRANCH add-cusparse-11-trisolve-api
KOKKOSKERNELS_SOURCE_REPO https://github.com/vqd8a/kokkos-kernels
KOKKOSKERNELS_SOURCE_SHA d66eb7a
KOKKOSKERNELS_TARGET_BRANCH develop
KOKKOSKERNELS_TARGET_REPO https://github.com/kokkos/kokkos-kernels
KOKKOSKERNELS_TARGET_SHA b97b631
PR_LABELS
PULLREQUESTNUM 1574
TEST_REPO_ALIAS KOKKOSKERNELS

Build Information

Test Name: KokkosKernels_PullRequest_Tpls_GCC1020

  • Build Num: 49
  • Status: PASSED

Jenkins Parameters

Parameter Name Value
KOKKOSKERNELS_SOURCE_BRANCH add-cusparse-11-trisolve-api
KOKKOSKERNELS_SOURCE_REPO https://github.com/vqd8a/kokkos-kernels
KOKKOSKERNELS_SOURCE_SHA d66eb7a
KOKKOSKERNELS_TARGET_BRANCH develop
KOKKOSKERNELS_TARGET_REPO https://github.com/kokkos/kokkos-kernels
KOKKOSKERNELS_TARGET_SHA b97b631
PR_LABELS
PULLREQUESTNUM 1574
TEST_REPO_ALIAS KOKKOSKERNELS

Build Information

Test Name: KokkosKernels_PullRequest_Tpls_INTEL19

  • Build Num: 136
  • Status: PASSED

Jenkins Parameters

Parameter Name Value
KOKKOSKERNELS_SOURCE_BRANCH add-cusparse-11-trisolve-api
KOKKOSKERNELS_SOURCE_REPO https://github.com/vqd8a/kokkos-kernels
KOKKOSKERNELS_SOURCE_SHA d66eb7a
KOKKOSKERNELS_TARGET_BRANCH develop
KOKKOSKERNELS_TARGET_REPO https://github.com/kokkos/kokkos-kernels
KOKKOSKERNELS_TARGET_SHA b97b631
PR_LABELS
PULLREQUESTNUM 1574
TEST_REPO_ALIAS KOKKOSKERNELS

Build Information

Test Name: KokkosKernels_PullRequest_CLANG1001

  • Build Num: 185
  • Status: PASSED

Jenkins Parameters

Parameter Name Value
KOKKOSKERNELS_SOURCE_BRANCH add-cusparse-11-trisolve-api
KOKKOSKERNELS_SOURCE_REPO https://github.com/vqd8a/kokkos-kernels
KOKKOSKERNELS_SOURCE_SHA d66eb7a
KOKKOSKERNELS_TARGET_BRANCH develop
KOKKOSKERNELS_TARGET_REPO https://github.com/kokkos/kokkos-kernels
KOKKOSKERNELS_TARGET_SHA b97b631
PR_LABELS
PULLREQUESTNUM 1574
TEST_REPO_ALIAS KOKKOSKERNELS

Build Information

Test Name: KokkosKernels_PullRequest_CLANG13CUDA10

  • Build Num: 73
  • Status: PASSED

Jenkins Parameters

Parameter Name Value
KOKKOSKERNELS_SOURCE_BRANCH add-cusparse-11-trisolve-api
KOKKOSKERNELS_SOURCE_REPO https://github.com/vqd8a/kokkos-kernels
KOKKOSKERNELS_SOURCE_SHA d66eb7a
KOKKOSKERNELS_TARGET_BRANCH develop
KOKKOSKERNELS_TARGET_REPO https://github.com/kokkos/kokkos-kernels
KOKKOSKERNELS_TARGET_SHA b97b631
PR_LABELS
PULLREQUESTNUM 1574
TEST_REPO_ALIAS KOKKOSKERNELS

Build Information

Test Name: KokkosKernels_PullRequest_Tpls_ARMPL2110_Tpls_ARMPL2030_GCC1020

  • Build Num: 77
  • Status: PASSED

Jenkins Parameters

Parameter Name Value
KOKKOSKERNELS_SOURCE_BRANCH add-cusparse-11-trisolve-api
KOKKOSKERNELS_SOURCE_REPO https://github.com/vqd8a/kokkos-kernels
KOKKOSKERNELS_SOURCE_SHA d66eb7a
KOKKOSKERNELS_TARGET_BRANCH develop
KOKKOSKERNELS_TARGET_REPO https://github.com/kokkos/kokkos-kernels
KOKKOSKERNELS_TARGET_SHA b97b631
PR_LABELS
PULLREQUESTNUM 1574
TEST_REPO_ALIAS KOKKOSKERNELS

@kokkos-devops-admin
Copy link

Status Flag 'Pre-Merge Inspection' - - This Pull Request Requires Inspection... The code must be inspected by a member of the Team before Testing/Merging
NO REVIEWS HAVE BEEN PERFORMED ON THIS PULL REQUEST!

@kokkos-devops-admin
Copy link

All Jobs Finished; status = PASSED, However Inspection must be performed before merge can occur...

@vqd8a
Copy link
Contributor Author

vqd8a commented Nov 1, 2022

@ndellingwood @lucbv Could you please review this?

@lucbv
Copy link
Contributor

lucbv commented Nov 1, 2022

I'll have a look

@kokkos-devops-admin
Copy link

All Jobs Finished; status = PASSED, However Inspection must be performed before merge can occur...

Copy link
Contributor

@lucbv lucbv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mostly good but using the functions that we define in KokkosSparse_Utils_cusparse will reduce the code size, making it clearer and less prone to error


if (CUSPARSE_STATUS_SUCCESS != status)
std::cout << "analysis status error name " << (status) << std::endl;
} else {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Small nit-pick, verifying all the required conditions at the top (or bottom) of the if-statement would make it easier to maintain in my opinion

if(!is_cuda) { throw ... }
else if(!is_valid_ordinal) { throw... }
else if(!is_another_condition) { throw...}
else {

// the actual implementation

}

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@lucbv Changes were made.

} else { // idx_type has 64 bits
if (!std::is_same<size_type, int64_t>::value)
sptrsv_handle->allocate_tmp_int64_rowmap(row_map.extent(0));
rm = !std::is_same<size_type, int64_t>::value
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as above, double checking the same condition twice seems a bit error prone.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change was made.

cusparseIndexType_t cudaCsrColIndType, cudaCsrRowMapType;
cudaDataType cudaValueType;

if (std::is_same<idx_type, int>::value) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is implemented in cusparse_index_type_t_from

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@lucbv This was fixed.

cudaCsrRowMapType = CUSPARSE_INDEX_64I;
}

if (std::is_same<scalar_type, double>::value) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is implemented in cuda_data_type_from()

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@lucbv Changed.

}

// Create sparse matrix in CSR format
status = cusparseCreateCsr(&(h->matDescr), static_cast<int64_t>(nrows),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would be nice to wrap this with KOKKOS_CUSPARSE_SAFE_CALL

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

(void*)rhs.data(), cudaValueType);

// Create dense vector X (LHS)
cusparseCreateDnVec(&(h->vecXDescr), static_cast<int64_t>(nrows),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wrap with KOKKOS_CUSPARSE_SAFE_CALL

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

(void*)lhs.data(), cudaValueType);

// Solve
status = cusparseSpSV_solve(h->handle, h->transpose, &alpha, h->matDescr,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wrap with KOKKOS_CUSPARSE_SAFE_CALL

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done


cuSparseHandleType(bool transpose_, bool is_lower) {
cusparseStatus_t status;
status = cusparseCreate(&handle);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wrap with KOKKOS_CUSPARSE_SAFE_CALL

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

if (status != CUSPARSE_STATUS_SUCCESS) {
throw std::runtime_error("cusparseCreate ERROR\n");
}
cusparseSetPointerMode(handle, CUSPARSE_POINTER_MODE_HOST);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wrap with KOKKOS_CUSPARSE_SAFE_CALL

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

transpose = CUSPARSE_OPERATION_NON_TRANSPOSE;
}

status = cusparseSpSV_createDescr(&spsvDescr);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wrap with KOKKOS_CUSPARSE_SAFE_CALL

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@kokkos-devops-admin
Copy link

Status Flag 'Pre-Merge Inspection' - - This Pull Request Requires Inspection... The code must be inspected by a member of the Team before Testing/Merging
THE LAST COMMIT TO THIS PULL REQUEST HAS BEEN REVIEWED, BUT NOT ACCEPTED OR REQUIRES CHANGES

@kokkos-devops-admin
Copy link

All Jobs Finished; status = PASSED, However Inspection must be performed before merge can occur...

1 similar comment
@kokkos-devops-admin
Copy link

All Jobs Finished; status = PASSED, However Inspection must be performed before merge can occur...

@kokkos-devops-admin
Copy link

Status Flag 'Pre-Test Inspection' - Auto Inspected - Inspection Is Not Necessary for this Pull Request.

@vqd8a
Copy link
Contributor Author

vqd8a commented Nov 4, 2022

Thanks @lucbv for your comments. I have made all changes as you suggested.

@kokkos-devops-admin
Copy link

Status Flag 'Pull Request AutoTester' - Testing Jenkins Projects:

Pull Request Auto Testing STARTING (click to expand)

Build Information

Test Name: KokkosKernels_PullRequest_GCC930_Light_Tpls_GCC930

  • Build Num: 138
  • Status: STARTED

Jenkins Parameters

Parameter Name Value
KOKKOSKERNELS_SOURCE_BRANCH add-cusparse-11-trisolve-api
KOKKOSKERNELS_SOURCE_REPO https://github.com/vqd8a/kokkos-kernels
KOKKOSKERNELS_SOURCE_SHA 020ad7d
KOKKOSKERNELS_TARGET_BRANCH develop
KOKKOSKERNELS_TARGET_REPO https://github.com/kokkos/kokkos-kernels
KOKKOSKERNELS_TARGET_SHA b97b631
PR_LABELS
PULLREQUESTNUM 1574
TEST_REPO_ALIAS KOKKOSKERNELS

Build Information

Test Name: KokkosKernels_PullRequest_CUDA11_CUDA11_LayoutRight

  • Build Num: 146
  • Status: STARTED

Jenkins Parameters

Parameter Name Value
KOKKOSKERNELS_SOURCE_BRANCH add-cusparse-11-trisolve-api
KOKKOSKERNELS_SOURCE_REPO https://github.com/vqd8a/kokkos-kernels
KOKKOSKERNELS_SOURCE_SHA 020ad7d
KOKKOSKERNELS_TARGET_BRANCH develop
KOKKOSKERNELS_TARGET_REPO https://github.com/kokkos/kokkos-kernels
KOKKOSKERNELS_TARGET_SHA b97b631
PR_LABELS
PULLREQUESTNUM 1574
TEST_REPO_ALIAS KOKKOSKERNELS

Build Information

Test Name: KokkosKernels_PullRequest_GCC1020

  • Build Num: 99
  • Status: STARTED

Jenkins Parameters

Parameter Name Value
KOKKOSKERNELS_SOURCE_BRANCH add-cusparse-11-trisolve-api
KOKKOSKERNELS_SOURCE_REPO https://github.com/vqd8a/kokkos-kernels
KOKKOSKERNELS_SOURCE_SHA 020ad7d
KOKKOSKERNELS_TARGET_BRANCH develop
KOKKOSKERNELS_TARGET_REPO https://github.com/kokkos/kokkos-kernels
KOKKOSKERNELS_TARGET_SHA b97b631
PR_LABELS
PULLREQUESTNUM 1574
TEST_REPO_ALIAS KOKKOSKERNELS

Build Information

Test Name: KokkosKernels_PullRequest_GCC1020_Light_LayoutRight

  • Build Num: 98
  • Status: STARTED

Jenkins Parameters

Parameter Name Value
KOKKOSKERNELS_SOURCE_BRANCH add-cusparse-11-trisolve-api
KOKKOSKERNELS_SOURCE_REPO https://github.com/vqd8a/kokkos-kernels
KOKKOSKERNELS_SOURCE_SHA 020ad7d
KOKKOSKERNELS_TARGET_BRANCH develop
KOKKOSKERNELS_TARGET_REPO https://github.com/kokkos/kokkos-kernels
KOKKOSKERNELS_TARGET_SHA b97b631
PR_LABELS
PULLREQUESTNUM 1574
TEST_REPO_ALIAS KOKKOSKERNELS

Build Information

Test Name: KokkosKernels_PullRequest_Tpls_GCC1020

  • Build Num: 61
  • Status: STARTED

Jenkins Parameters

Parameter Name Value
KOKKOSKERNELS_SOURCE_BRANCH add-cusparse-11-trisolve-api
KOKKOSKERNELS_SOURCE_REPO https://github.com/vqd8a/kokkos-kernels
KOKKOSKERNELS_SOURCE_SHA 020ad7d
KOKKOSKERNELS_TARGET_BRANCH develop
KOKKOSKERNELS_TARGET_REPO https://github.com/kokkos/kokkos-kernels
KOKKOSKERNELS_TARGET_SHA b97b631
PR_LABELS
PULLREQUESTNUM 1574
TEST_REPO_ALIAS KOKKOSKERNELS

Build Information

Test Name: KokkosKernels_PullRequest_Tpls_INTEL19

  • Build Num: 148
  • Status: STARTED

Jenkins Parameters

Parameter Name Value
KOKKOSKERNELS_SOURCE_BRANCH add-cusparse-11-trisolve-api
KOKKOSKERNELS_SOURCE_REPO https://github.com/vqd8a/kokkos-kernels
KOKKOSKERNELS_SOURCE_SHA 020ad7d
KOKKOSKERNELS_TARGET_BRANCH develop
KOKKOSKERNELS_TARGET_REPO https://github.com/kokkos/kokkos-kernels
KOKKOSKERNELS_TARGET_SHA b97b631
PR_LABELS
PULLREQUESTNUM 1574
TEST_REPO_ALIAS KOKKOSKERNELS

Build Information

Test Name: KokkosKernels_PullRequest_CLANG1001

  • Build Num: 197
  • Status: STARTED

Jenkins Parameters

Parameter Name Value
KOKKOSKERNELS_SOURCE_BRANCH add-cusparse-11-trisolve-api
KOKKOSKERNELS_SOURCE_REPO https://github.com/vqd8a/kokkos-kernels
KOKKOSKERNELS_SOURCE_SHA 020ad7d
KOKKOSKERNELS_TARGET_BRANCH develop
KOKKOSKERNELS_TARGET_REPO https://github.com/kokkos/kokkos-kernels
KOKKOSKERNELS_TARGET_SHA b97b631
PR_LABELS
PULLREQUESTNUM 1574
TEST_REPO_ALIAS KOKKOSKERNELS

Build Information

Test Name: KokkosKernels_PullRequest_CLANG13CUDA10

  • Build Num: 84
  • Status: STARTED

Jenkins Parameters

Parameter Name Value
KOKKOSKERNELS_SOURCE_BRANCH add-cusparse-11-trisolve-api
KOKKOSKERNELS_SOURCE_REPO https://github.com/vqd8a/kokkos-kernels
KOKKOSKERNELS_SOURCE_SHA 020ad7d
KOKKOSKERNELS_TARGET_BRANCH develop
KOKKOSKERNELS_TARGET_REPO https://github.com/kokkos/kokkos-kernels
KOKKOSKERNELS_TARGET_SHA b97b631
PR_LABELS
PULLREQUESTNUM 1574
TEST_REPO_ALIAS KOKKOSKERNELS

Build Information

Test Name: KokkosKernels_PullRequest_Tpls_ARMPL2110_Tpls_ARMPL2030_GCC1020

  • Build Num: 88
  • Status: STARTED

Jenkins Parameters

Parameter Name Value
KOKKOSKERNELS_SOURCE_BRANCH add-cusparse-11-trisolve-api
KOKKOSKERNELS_SOURCE_REPO https://github.com/vqd8a/kokkos-kernels
KOKKOSKERNELS_SOURCE_SHA 020ad7d
KOKKOSKERNELS_TARGET_BRANCH develop
KOKKOSKERNELS_TARGET_REPO https://github.com/kokkos/kokkos-kernels
KOKKOSKERNELS_TARGET_SHA b97b631
PR_LABELS
PULLREQUESTNUM 1574
TEST_REPO_ALIAS KOKKOSKERNELS

Using Repos:

Repo: KOKKOSKERNELS (vqd8a/kokkos-kernels)
  • Branch: add-cusparse-11-trisolve-api
  • SHA: 020ad7d
  • Mode: TEST_REPO

Pull Request Author: vqd8a

@kokkos-devops-admin
Copy link

Status Flag 'Pull Request AutoTester' - Jenkins Testing: all Jobs PASSED

Pull Request Auto Testing has PASSED (click to expand)

Build Information

Test Name: KokkosKernels_PullRequest_GCC930_Light_Tpls_GCC930

  • Build Num: 138
  • Status: PASSED

Jenkins Parameters

Parameter Name Value
KOKKOSKERNELS_SOURCE_BRANCH add-cusparse-11-trisolve-api
KOKKOSKERNELS_SOURCE_REPO https://github.com/vqd8a/kokkos-kernels
KOKKOSKERNELS_SOURCE_SHA 020ad7d
KOKKOSKERNELS_TARGET_BRANCH develop
KOKKOSKERNELS_TARGET_REPO https://github.com/kokkos/kokkos-kernels
KOKKOSKERNELS_TARGET_SHA b97b631
PR_LABELS
PULLREQUESTNUM 1574
TEST_REPO_ALIAS KOKKOSKERNELS

Build Information

Test Name: KokkosKernels_PullRequest_CUDA11_CUDA11_LayoutRight

  • Build Num: 146
  • Status: PASSED

Jenkins Parameters

Parameter Name Value
KOKKOSKERNELS_SOURCE_BRANCH add-cusparse-11-trisolve-api
KOKKOSKERNELS_SOURCE_REPO https://github.com/vqd8a/kokkos-kernels
KOKKOSKERNELS_SOURCE_SHA 020ad7d
KOKKOSKERNELS_TARGET_BRANCH develop
KOKKOSKERNELS_TARGET_REPO https://github.com/kokkos/kokkos-kernels
KOKKOSKERNELS_TARGET_SHA b97b631
PR_LABELS
PULLREQUESTNUM 1574
TEST_REPO_ALIAS KOKKOSKERNELS

Build Information

Test Name: KokkosKernels_PullRequest_GCC1020

  • Build Num: 99
  • Status: PASSED

Jenkins Parameters

Parameter Name Value
KOKKOSKERNELS_SOURCE_BRANCH add-cusparse-11-trisolve-api
KOKKOSKERNELS_SOURCE_REPO https://github.com/vqd8a/kokkos-kernels
KOKKOSKERNELS_SOURCE_SHA 020ad7d
KOKKOSKERNELS_TARGET_BRANCH develop
KOKKOSKERNELS_TARGET_REPO https://github.com/kokkos/kokkos-kernels
KOKKOSKERNELS_TARGET_SHA b97b631
PR_LABELS
PULLREQUESTNUM 1574
TEST_REPO_ALIAS KOKKOSKERNELS

Build Information

Test Name: KokkosKernels_PullRequest_GCC1020_Light_LayoutRight

  • Build Num: 98
  • Status: PASSED

Jenkins Parameters

Parameter Name Value
KOKKOSKERNELS_SOURCE_BRANCH add-cusparse-11-trisolve-api
KOKKOSKERNELS_SOURCE_REPO https://github.com/vqd8a/kokkos-kernels
KOKKOSKERNELS_SOURCE_SHA 020ad7d
KOKKOSKERNELS_TARGET_BRANCH develop
KOKKOSKERNELS_TARGET_REPO https://github.com/kokkos/kokkos-kernels
KOKKOSKERNELS_TARGET_SHA b97b631
PR_LABELS
PULLREQUESTNUM 1574
TEST_REPO_ALIAS KOKKOSKERNELS

Build Information

Test Name: KokkosKernels_PullRequest_Tpls_GCC1020

  • Build Num: 61
  • Status: PASSED

Jenkins Parameters

Parameter Name Value
KOKKOSKERNELS_SOURCE_BRANCH add-cusparse-11-trisolve-api
KOKKOSKERNELS_SOURCE_REPO https://github.com/vqd8a/kokkos-kernels
KOKKOSKERNELS_SOURCE_SHA 020ad7d
KOKKOSKERNELS_TARGET_BRANCH develop
KOKKOSKERNELS_TARGET_REPO https://github.com/kokkos/kokkos-kernels
KOKKOSKERNELS_TARGET_SHA b97b631
PR_LABELS
PULLREQUESTNUM 1574
TEST_REPO_ALIAS KOKKOSKERNELS

Build Information

Test Name: KokkosKernels_PullRequest_Tpls_INTEL19

  • Build Num: 148
  • Status: PASSED

Jenkins Parameters

Parameter Name Value
KOKKOSKERNELS_SOURCE_BRANCH add-cusparse-11-trisolve-api
KOKKOSKERNELS_SOURCE_REPO https://github.com/vqd8a/kokkos-kernels
KOKKOSKERNELS_SOURCE_SHA 020ad7d
KOKKOSKERNELS_TARGET_BRANCH develop
KOKKOSKERNELS_TARGET_REPO https://github.com/kokkos/kokkos-kernels
KOKKOSKERNELS_TARGET_SHA b97b631
PR_LABELS
PULLREQUESTNUM 1574
TEST_REPO_ALIAS KOKKOSKERNELS

Build Information

Test Name: KokkosKernels_PullRequest_CLANG1001

  • Build Num: 197
  • Status: PASSED

Jenkins Parameters

Parameter Name Value
KOKKOSKERNELS_SOURCE_BRANCH add-cusparse-11-trisolve-api
KOKKOSKERNELS_SOURCE_REPO https://github.com/vqd8a/kokkos-kernels
KOKKOSKERNELS_SOURCE_SHA 020ad7d
KOKKOSKERNELS_TARGET_BRANCH develop
KOKKOSKERNELS_TARGET_REPO https://github.com/kokkos/kokkos-kernels
KOKKOSKERNELS_TARGET_SHA b97b631
PR_LABELS
PULLREQUESTNUM 1574
TEST_REPO_ALIAS KOKKOSKERNELS

Build Information

Test Name: KokkosKernels_PullRequest_CLANG13CUDA10

  • Build Num: 84
  • Status: PASSED

Jenkins Parameters

Parameter Name Value
KOKKOSKERNELS_SOURCE_BRANCH add-cusparse-11-trisolve-api
KOKKOSKERNELS_SOURCE_REPO https://github.com/vqd8a/kokkos-kernels
KOKKOSKERNELS_SOURCE_SHA 020ad7d
KOKKOSKERNELS_TARGET_BRANCH develop
KOKKOSKERNELS_TARGET_REPO https://github.com/kokkos/kokkos-kernels
KOKKOSKERNELS_TARGET_SHA b97b631
PR_LABELS
PULLREQUESTNUM 1574
TEST_REPO_ALIAS KOKKOSKERNELS

Build Information

Test Name: KokkosKernels_PullRequest_Tpls_ARMPL2110_Tpls_ARMPL2030_GCC1020

  • Build Num: 88
  • Status: PASSED

Jenkins Parameters

Parameter Name Value
KOKKOSKERNELS_SOURCE_BRANCH add-cusparse-11-trisolve-api
KOKKOSKERNELS_SOURCE_REPO https://github.com/vqd8a/kokkos-kernels
KOKKOSKERNELS_SOURCE_SHA 020ad7d
KOKKOSKERNELS_TARGET_BRANCH develop
KOKKOSKERNELS_TARGET_REPO https://github.com/kokkos/kokkos-kernels
KOKKOSKERNELS_TARGET_SHA b97b631
PR_LABELS
PULLREQUESTNUM 1574
TEST_REPO_ALIAS KOKKOSKERNELS

@kokkos-devops-admin
Copy link

Status Flag 'Pre-Merge Inspection' - - This Pull Request Requires Inspection... The code must be inspected by a member of the Team before Testing/Merging
THE LAST COMMIT TO THIS PULL REQUEST HAS NOT BEEN REVIEWED YET!

@kokkos-devops-admin
Copy link

All Jobs Finished; status = PASSED, However Inspection must be performed before merge can occur...

Copy link
Contributor

@lucbv lucbv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for updating the code with cusparse utility functions, it looks good!

@kokkos-devops-admin
Copy link

Status Flag 'Pre-Merge Inspection' - SUCCESS: The last commit to this Pull Request has been INSPECTED AND APPROVED by [ lucbv ]!

@kokkos-devops-admin
Copy link

Status Flag 'Pull Request AutoTester' - Pull Request MUST BE MERGED MANUALLY BY Project Team - This Repo does not support Automerge

3 similar comments
@kokkos-devops-admin
Copy link

Status Flag 'Pull Request AutoTester' - Pull Request MUST BE MERGED MANUALLY BY Project Team - This Repo does not support Automerge

@kokkos-devops-admin
Copy link

Status Flag 'Pull Request AutoTester' - Pull Request MUST BE MERGED MANUALLY BY Project Team - This Repo does not support Automerge

@kokkos-devops-admin
Copy link

Status Flag 'Pull Request AutoTester' - Pull Request MUST BE MERGED MANUALLY BY Project Team - This Repo does not support Automerge

@vqd8a
Copy link
Contributor Author

vqd8a commented Nov 7, 2022

@lucbv @ndellingwood If you do not have any further comment, could you please merge this? Thanks.

@lucbv lucbv merged commit b2acb36 into kokkos:develop Nov 7, 2022
ndellingwood pushed a commit that referenced this pull request Nov 29, 2022
Use new cusparseSpSV for SPTRSV when cuSPARSE enabled with CUDA >= 11.3

(cherry picked from commit b2acb36)
@ndellingwood
Copy link
Contributor

Cherry-picked to release-candidate-3.7.01 SHA 7a7b587

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants