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

tpetra: return packed indices always in getNodePackedIndices #9885

Merged
merged 1 commit into from
Nov 1, 2021

Conversation

kddevin
Copy link
Contributor

@kddevin kddevin commented Oct 29, 2021

@trilinos/tpetra

Motivation

As we removed UVM dependence from Tpetra, we saw that CrsGraph::getNodePackedIndices returned k_lclInds1D_, which was packed iff fillComplete was called with storageOptimized. Thus, if not storageOptimized, this function might return unpacked indices. However, unpacked indices aren't useful without the number of entries in each row, so the function's intent (indicated by its name) was more appropriate.

In the first round of UVM removal, we kept the existing behavior by returning views of the unpacked indices.

Now, with this PR, we change the behavior of CrsGraph's getNodePackedIndices and getNodeRowPtrs, and CrsMatrix's getAllValues (which uses the CrsGraph functions) to truly return packed indices, row pointers, and values, respectively, in all use cases.

Stakeholder Feedback

Testing

Tested on ascicgpu030 with sems modules and Serial node, and with sierra nvidia modules and CUDA node, no UVM.

…dices

changing getNodeRowPtrs and getAllValues to do the packed analogues
@trilinos-autotester
Copy link
Contributor

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

@trilinos-autotester
Copy link
Contributor

Status Flag 'Pull Request AutoTester' - Failure: Timed out waiting for job Trilinos_pullrequest_intel_17.0.1 to start: Total Wait = 603

@trilinos-autotester
Copy link
Contributor

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

Pull Request Auto Testing STARTING (click to expand)

Build Information

Test Name: Trilinos_pullrequest_gcc_8.3.0

  • Build Num: 5917
  • Status: STARTED

Jenkins Parameters

Parameter Name Value
PR_LABELS pkg: Tpetra;UVM removal
PULLREQUESTNUM 9885
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH tpetra_9884
TRILINOS_SOURCE_REPO https:/trilinos/Trilinos
TRILINOS_SOURCE_SHA 58644e8
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https:/trilinos/Trilinos
TRILINOS_TARGET_SHA b414ad3

Build Information

Test Name: Trilinos_pullrequest_gcc_7.2.0_serial

  • Build Num: 3462
  • Status: STARTED

Jenkins Parameters

Parameter Name Value
PR_LABELS pkg: Tpetra;UVM removal
PULLREQUESTNUM 9885
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH tpetra_9884
TRILINOS_SOURCE_REPO https:/trilinos/Trilinos
TRILINOS_SOURCE_SHA 58644e8
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https:/trilinos/Trilinos
TRILINOS_TARGET_SHA b414ad3

Build Information

Test Name: Trilinos_pullrequest_gcc_7.2.0_debug

  • Build Num: 3980
  • Status: STARTED

Jenkins Parameters

Parameter Name Value
PR_LABELS pkg: Tpetra;UVM removal
PULLREQUESTNUM 9885
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH tpetra_9884
TRILINOS_SOURCE_REPO https:/trilinos/Trilinos
TRILINOS_SOURCE_SHA 58644e8
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https:/trilinos/Trilinos
TRILINOS_TARGET_SHA b414ad3

Build Information

Test Name: Trilinos_pullrequest_intel_17.0.1

  • Build Num: 11143
  • Status: STARTED

Jenkins Parameters

Parameter Name Value
PR_LABELS pkg: Tpetra;UVM removal
PULLREQUESTNUM 9885
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH tpetra_9884
TRILINOS_SOURCE_REPO https:/trilinos/Trilinos
TRILINOS_SOURCE_SHA 58644e8
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https:/trilinos/Trilinos
TRILINOS_TARGET_SHA b414ad3

Build Information

Test Name: Trilinos_pullrequest_cuda_10.1.105

  • Build Num: 2620
  • Status: STARTED

Jenkins Parameters

Parameter Name Value
PR_LABELS pkg: Tpetra;UVM removal
PULLREQUESTNUM 9885
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH tpetra_9884
TRILINOS_SOURCE_REPO https:/trilinos/Trilinos
TRILINOS_SOURCE_SHA 58644e8
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https:/trilinos/Trilinos
TRILINOS_TARGET_SHA b414ad3

Build Information

Test Name: Trilinos_pullrequest_cuda_10.1.105_uvm_off

  • Build Num: 1611
  • Status: STARTED

Jenkins Parameters

Parameter Name Value
PR_LABELS pkg: Tpetra;UVM removal
PULLREQUESTNUM 9885
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH tpetra_9884
TRILINOS_SOURCE_REPO https:/trilinos/Trilinos
TRILINOS_SOURCE_SHA 58644e8
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https:/trilinos/Trilinos
TRILINOS_TARGET_SHA b414ad3

Build Information

Test Name: Trilinos_pullrequest_clang_10.0.0

  • Build Num: 3941
  • Status: STARTED

Jenkins Parameters

Parameter Name Value
PR_LABELS pkg: Tpetra;UVM removal
PULLREQUESTNUM 9885
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH tpetra_9884
TRILINOS_SOURCE_REPO https:/trilinos/Trilinos
TRILINOS_SOURCE_SHA 58644e8
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https:/trilinos/Trilinos
TRILINOS_TARGET_SHA b414ad3

Build Information

Test Name: python-3

  • Build Num: 577
  • Status: STARTED

Jenkins Parameters

Parameter Name Value
PR_LABELS pkg: Tpetra;UVM removal
PULLREQUESTNUM 9885
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH tpetra_9884
TRILINOS_SOURCE_REPO https:/trilinos/Trilinos
TRILINOS_SOURCE_SHA 58644e8
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https:/trilinos/Trilinos
TRILINOS_TARGET_SHA b414ad3

Using Repos:

Repo: TRILINOS (trilinos/Trilinos)
  • Branch: tpetra_9884
  • SHA: 58644e8
  • Mode: TEST_REPO

Pull Request Author: kddevin

@trilinos-autotester
Copy link
Contributor

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

Pull Request Auto Testing has PASSED (click to expand)

Build Information

Test Name: Trilinos_pullrequest_gcc_8.3.0

  • Build Num: 5917
  • Status: PASSED

Jenkins Parameters

Parameter Name Value
PR_LABELS pkg: Tpetra;UVM removal
PULLREQUESTNUM 9885
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH tpetra_9884
TRILINOS_SOURCE_REPO https:/trilinos/Trilinos
TRILINOS_SOURCE_SHA 58644e8
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https:/trilinos/Trilinos
TRILINOS_TARGET_SHA b414ad3

Build Information

Test Name: Trilinos_pullrequest_gcc_7.2.0_serial

  • Build Num: 3462
  • Status: PASSED

Jenkins Parameters

Parameter Name Value
PR_LABELS pkg: Tpetra;UVM removal
PULLREQUESTNUM 9885
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH tpetra_9884
TRILINOS_SOURCE_REPO https:/trilinos/Trilinos
TRILINOS_SOURCE_SHA 58644e8
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https:/trilinos/Trilinos
TRILINOS_TARGET_SHA b414ad3

Build Information

Test Name: Trilinos_pullrequest_gcc_7.2.0_debug

  • Build Num: 3980
  • Status: PASSED

Jenkins Parameters

Parameter Name Value
PR_LABELS pkg: Tpetra;UVM removal
PULLREQUESTNUM 9885
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH tpetra_9884
TRILINOS_SOURCE_REPO https:/trilinos/Trilinos
TRILINOS_SOURCE_SHA 58644e8
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https:/trilinos/Trilinos
TRILINOS_TARGET_SHA b414ad3

Build Information

Test Name: Trilinos_pullrequest_intel_17.0.1

  • Build Num: 11143
  • Status: PASSED

Jenkins Parameters

Parameter Name Value
PR_LABELS pkg: Tpetra;UVM removal
PULLREQUESTNUM 9885
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH tpetra_9884
TRILINOS_SOURCE_REPO https:/trilinos/Trilinos
TRILINOS_SOURCE_SHA 58644e8
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https:/trilinos/Trilinos
TRILINOS_TARGET_SHA b414ad3

Build Information

Test Name: Trilinos_pullrequest_cuda_10.1.105

  • Build Num: 2620
  • Status: PASSED

Jenkins Parameters

Parameter Name Value
PR_LABELS pkg: Tpetra;UVM removal
PULLREQUESTNUM 9885
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH tpetra_9884
TRILINOS_SOURCE_REPO https:/trilinos/Trilinos
TRILINOS_SOURCE_SHA 58644e8
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https:/trilinos/Trilinos
TRILINOS_TARGET_SHA b414ad3

Build Information

Test Name: Trilinos_pullrequest_cuda_10.1.105_uvm_off

  • Build Num: 1611
  • Status: PASSED

Jenkins Parameters

Parameter Name Value
PR_LABELS pkg: Tpetra;UVM removal
PULLREQUESTNUM 9885
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH tpetra_9884
TRILINOS_SOURCE_REPO https:/trilinos/Trilinos
TRILINOS_SOURCE_SHA 58644e8
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https:/trilinos/Trilinos
TRILINOS_TARGET_SHA b414ad3

Build Information

Test Name: Trilinos_pullrequest_clang_10.0.0

  • Build Num: 3941
  • Status: PASSED

Jenkins Parameters

Parameter Name Value
PR_LABELS pkg: Tpetra;UVM removal
PULLREQUESTNUM 9885
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH tpetra_9884
TRILINOS_SOURCE_REPO https:/trilinos/Trilinos
TRILINOS_SOURCE_SHA 58644e8
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https:/trilinos/Trilinos
TRILINOS_TARGET_SHA b414ad3

Build Information

Test Name: python-3

  • Build Num: 577
  • Status: PASSED

Jenkins Parameters

Parameter Name Value
PR_LABELS pkg: Tpetra;UVM removal
PULLREQUESTNUM 9885
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH tpetra_9884
TRILINOS_SOURCE_REPO https:/trilinos/Trilinos
TRILINOS_SOURCE_SHA 58644e8
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https:/trilinos/Trilinos
TRILINOS_TARGET_SHA b414ad3


CDash Test Results for PR# 9885.

@trilinos-autotester
Copy link
Contributor

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!

@trilinos-autotester
Copy link
Contributor

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

1 similar comment
@trilinos-autotester
Copy link
Contributor

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

@trilinos-autotester
Copy link
Contributor

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

@trilinos-autotester
Copy link
Contributor

Status Flag 'Pull Request AutoTester' - AutoMerge IS ENABLED, but the Label AT: AUTOMERGE is not set. Either set Label AT: AUTOMERGE or manually merge the PR...

@kddevin kddevin merged commit b9c308f into develop Nov 1, 2021
@kddevin kddevin deleted the tpetra_9884 branch November 1, 2021 16:24
jmgate pushed a commit to tcad-charon/Trilinos that referenced this pull request Nov 2, 2021
…s:develop' (5d85ab5).

* trilinos-develop:
  tpetra:  trilinos#9884  changing getNodePackedIndices to truly return packed indices (trilinos#9885)
jmgate pushed a commit to tcad-charon/Trilinos that referenced this pull request Nov 3, 2021
…s:develop' (5d85ab5).

* trilinos-develop:
  Fix bug with mkl spgemm
  tpetra:  trilinos#9884  changing getNodePackedIndices to truly return packed indices (trilinos#9885)
jmgate pushed a commit to tcad-charon/Trilinos that referenced this pull request Nov 4, 2021
…s:develop' (5d85ab5).

* trilinos-develop:
  Fix bug with mkl spgemm
  tpetra:  trilinos#9884  changing getNodePackedIndices to truly return packed indices (trilinos#9885)
jmgate pushed a commit to tcad-charon/Trilinos that referenced this pull request Nov 4, 2021
…s:develop' (5d85ab5).

* trilinos-develop:
  Fix bug with mkl spgemm
  tpetra:  trilinos#9884  changing getNodePackedIndices to truly return packed indices (trilinos#9885)
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.

3 participants