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

Added code to allow KokkosKernels coloring to accept partial colorings #938

Merged
merged 1 commit into from
Apr 30, 2021

Conversation

ibogle
Copy link

@ibogle ibogle commented Apr 19, 2021

These code changes allow KokkosKernels' coloring routines to accept partial colorings and prevent any previously-colored vertex from being recolored. These changes do not significantly impact the existing interface or performance of the coloring code, to my knowledge. Zoltan2's distributed coloring depends on these changes.

~/fork.kokkos-kernels-coloring/scripts/cm_test_all_sandia --kokkoskernels-path=/ascldap/users/ibogle/fork.kokkos-kernels-coloring/ --kokkos-path=/ascldap/users/ibogle/kokkos --arch=Power8,Kepler80 cuda/10.1.105 --spot-check
Running on machine: white
WARNING!! THE FOLLOWING CHANGES ARE UNCOMMITTED!! :
M src/graph/KokkosGraph_Distance1Color.hpp
M src/graph/KokkosGraph_Distance1ColorHandle.hpp
M src/graph/KokkosGraph_Distance2ColorHandle.hpp
M src/graph/impl/KokkosGraph_Distance1Color_impl.hpp
M src/graph/impl/KokkosGraph_Distance2Color_impl.hpp
?? testing/

KokkosKernels Repository Status: 5016b18 Merge pull request #936 from ndellingwood/fix-cplx-arithtraits

Kokkos Repository Status: f654c0c5da3dc40f568394f50f9a87893d333691 Merge pull request #3928 from masterleinad/sycl_fix_profiling_deallocate_data

Going to test compilers: cuda/10.1.105
Testing compiler cuda/10.1.105
Unrecognized compiler cuda/10.1.105 when looking for Spack variants
Unrecognized compiler cuda/10.1.105 when looking for Spack variants
Unrecognized compiler cuda/10.1.105 when looking for Spack variants
Starting job cuda-10.1.105-Cuda_OpenMP-release
kokkos devices: Cuda,OpenMP
kokkos arch: Power8,Kepler80
kokkos options:
kokkos cuda options:
kokkos cxxflags: -O3 -Wall -Wshadow -pedantic -Werror -Wsign-compare -Wtype-limits -Wuninitialized
extra_args:
kokkoskernels scalars: 'double,complex_double'
kokkoskernels ordinals: int
kokkoskernels offsets: int,size_t
kokkoskernels layouts: LayoutLeft
PASSED cuda-10.1.105-Cuda_OpenMP-release
Unrecognized compiler cuda/10.1.105 when looking for Spack variants
Unrecognized compiler cuda/10.1.105 when looking for Spack variants
Unrecognized compiler cuda/10.1.105 when looking for Spack variants
Starting job cuda-10.1.105-Cuda_Serial-release
kokkos devices: Cuda,Serial
kokkos arch: Power8,Kepler80
kokkos options:
kokkos cuda options:
kokkos cxxflags: -O3 -Wall -Wshadow -pedantic -Werror -Wsign-compare -Wtype-limits -Wuninitialized
extra_args:
kokkoskernels scalars: 'double,complex_double'
kokkoskernels ordinals: int
kokkoskernels offsets: int,size_t
kokkoskernels layouts: LayoutLeft
PASSED cuda-10.1.105-Cuda_Serial-release
#######################################################
PASSED TESTS
#######################################################
cuda-10.1.105-Cuda_OpenMP-release build_time=723 run_time=166
cuda-10.1.105-Cuda_Serial-release build_time=688 run_time=216

@kokkos-devops-admin
Copy link

Status Flag 'Pre-Test 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!

@brian-kelley brian-kelley self-requested a review April 22, 2021 16:04
@kokkos-devops-admin
Copy link

Status Flag 'Pre-Test 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!

Copy link
Contributor

@brian-kelley brian-kelley left a comment

Choose a reason for hiding this comment

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

@ibogle The code looks good. Would you have time to add tests for d1/d2 recoloring? I'm thinking:

  • just copy an existing coloring test
  • color
  • uncolor some vertices at random
  • recolor
  • test for valid coloring

If you don't have time, it's ok to just merge I think.

@kokkos-devops-admin
Copy link

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

@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_GCC720

  • Build Num: 195
  • Status: STARTED

Jenkins Parameters

Parameter Name Value
KOKKOSKERNELS_SOURCE_BRANCH recoloring-changes
KOKKOSKERNELS_SOURCE_REPO https://github.com/ibogle/kokkos-kernels
KOKKOSKERNELS_SOURCE_SHA a89832c
KOKKOSKERNELS_TARGET_BRANCH develop
KOKKOSKERNELS_TARGET_REPO https://github.com/kokkos/kokkos-kernels
KOKKOSKERNELS_TARGET_SHA 5016b18
PULLREQUESTNUM 938
TEST_REPO_ALIAS KOKKOSKERNELS

Build Information

Test Name: KokkosKernels_PullRequest_Tpls_GCC720

  • Build Num: 188
  • Status: STARTED

Jenkins Parameters

Parameter Name Value
KOKKOSKERNELS_SOURCE_BRANCH recoloring-changes
KOKKOSKERNELS_SOURCE_REPO https://github.com/ibogle/kokkos-kernels
KOKKOSKERNELS_SOURCE_SHA a89832c
KOKKOSKERNELS_TARGET_BRANCH develop
KOKKOSKERNELS_TARGET_REPO https://github.com/kokkos/kokkos-kernels
KOKKOSKERNELS_TARGET_SHA 5016b18
PULLREQUESTNUM 938
TEST_REPO_ALIAS KOKKOSKERNELS

Build Information

Test Name: KokkosKernels_PullRequest_Tpls_INTEL18

  • Build Num: 174
  • Status: STARTED

Jenkins Parameters

Parameter Name Value
KOKKOSKERNELS_SOURCE_BRANCH recoloring-changes
KOKKOSKERNELS_SOURCE_REPO https://github.com/ibogle/kokkos-kernels
KOKKOSKERNELS_SOURCE_SHA a89832c
KOKKOSKERNELS_TARGET_BRANCH develop
KOKKOSKERNELS_TARGET_REPO https://github.com/kokkos/kokkos-kernels
KOKKOSKERNELS_TARGET_SHA 5016b18
PULLREQUESTNUM 938
TEST_REPO_ALIAS KOKKOSKERNELS

Build Information

Test Name: KokkosKernels_PullRequest_GCC720_Light

  • Build Num: 208
  • Status: STARTED

Jenkins Parameters

Parameter Name Value
KOKKOSKERNELS_SOURCE_BRANCH recoloring-changes
KOKKOSKERNELS_SOURCE_REPO https://github.com/ibogle/kokkos-kernels
KOKKOSKERNELS_SOURCE_SHA a89832c
KOKKOSKERNELS_TARGET_BRANCH develop
KOKKOSKERNELS_TARGET_REPO https://github.com/kokkos/kokkos-kernels
KOKKOSKERNELS_TARGET_SHA 5016b18
PULLREQUESTNUM 938
TEST_REPO_ALIAS KOKKOSKERNELS

Build Information

Test Name: KokkosKernels_PullRequest_Tpls_CUDA10

  • Build Num: 172
  • Status: STARTED

Jenkins Parameters

Parameter Name Value
KOKKOSKERNELS_SOURCE_BRANCH recoloring-changes
KOKKOSKERNELS_SOURCE_REPO https://github.com/ibogle/kokkos-kernels
KOKKOSKERNELS_SOURCE_SHA a89832c
KOKKOSKERNELS_TARGET_BRANCH develop
KOKKOSKERNELS_TARGET_REPO https://github.com/kokkos/kokkos-kernels
KOKKOSKERNELS_TARGET_SHA 5016b18
PULLREQUESTNUM 938
TEST_REPO_ALIAS KOKKOSKERNELS

Build Information

Test Name: KokkosKernels_PullRequest_Tpls_CUDA9

  • Build Num: 169
  • Status: STARTED

Jenkins Parameters

Parameter Name Value
KOKKOSKERNELS_SOURCE_BRANCH recoloring-changes
KOKKOSKERNELS_SOURCE_REPO https://github.com/ibogle/kokkos-kernels
KOKKOSKERNELS_SOURCE_SHA a89832c
KOKKOSKERNELS_TARGET_BRANCH develop
KOKKOSKERNELS_TARGET_REPO https://github.com/kokkos/kokkos-kernels
KOKKOSKERNELS_TARGET_SHA 5016b18
PULLREQUESTNUM 938
TEST_REPO_ALIAS KOKKOSKERNELS

Build Information

Test Name: KokkosKernels_PullRequest_Tpls_GCC720_GCC740

  • Build Num: 167
  • Status: STARTED

Jenkins Parameters

Parameter Name Value
KOKKOSKERNELS_SOURCE_BRANCH recoloring-changes
KOKKOSKERNELS_SOURCE_REPO https://github.com/ibogle/kokkos-kernels
KOKKOSKERNELS_SOURCE_SHA a89832c
KOKKOSKERNELS_TARGET_BRANCH develop
KOKKOSKERNELS_TARGET_REPO https://github.com/kokkos/kokkos-kernels
KOKKOSKERNELS_TARGET_SHA 5016b18
PULLREQUESTNUM 938
TEST_REPO_ALIAS KOKKOSKERNELS

Using Repos:

Repo: KOKKOSKERNELS (ibogle/kokkos-kernels)
  • Branch: recoloring-changes
  • SHA: a89832c
  • Mode: TEST_REPO

Pull Request Author: ibogle

@ibogle
Copy link
Author

ibogle commented Apr 28, 2021

@brian-kelley I'll look into that, I don't think it would take too long to put some tests together.

@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_GCC720

  • Build Num: 195
  • Status: PASSED

Jenkins Parameters

Parameter Name Value
KOKKOSKERNELS_SOURCE_BRANCH recoloring-changes
KOKKOSKERNELS_SOURCE_REPO https://github.com/ibogle/kokkos-kernels
KOKKOSKERNELS_SOURCE_SHA a89832c
KOKKOSKERNELS_TARGET_BRANCH develop
KOKKOSKERNELS_TARGET_REPO https://github.com/kokkos/kokkos-kernels
KOKKOSKERNELS_TARGET_SHA 5016b18
PULLREQUESTNUM 938
TEST_REPO_ALIAS KOKKOSKERNELS

Build Information

Test Name: KokkosKernels_PullRequest_Tpls_GCC720

  • Build Num: 188
  • Status: PASSED

Jenkins Parameters

Parameter Name Value
KOKKOSKERNELS_SOURCE_BRANCH recoloring-changes
KOKKOSKERNELS_SOURCE_REPO https://github.com/ibogle/kokkos-kernels
KOKKOSKERNELS_SOURCE_SHA a89832c
KOKKOSKERNELS_TARGET_BRANCH develop
KOKKOSKERNELS_TARGET_REPO https://github.com/kokkos/kokkos-kernels
KOKKOSKERNELS_TARGET_SHA 5016b18
PULLREQUESTNUM 938
TEST_REPO_ALIAS KOKKOSKERNELS

Build Information

Test Name: KokkosKernels_PullRequest_Tpls_INTEL18

  • Build Num: 174
  • Status: PASSED

Jenkins Parameters

Parameter Name Value
KOKKOSKERNELS_SOURCE_BRANCH recoloring-changes
KOKKOSKERNELS_SOURCE_REPO https://github.com/ibogle/kokkos-kernels
KOKKOSKERNELS_SOURCE_SHA a89832c
KOKKOSKERNELS_TARGET_BRANCH develop
KOKKOSKERNELS_TARGET_REPO https://github.com/kokkos/kokkos-kernels
KOKKOSKERNELS_TARGET_SHA 5016b18
PULLREQUESTNUM 938
TEST_REPO_ALIAS KOKKOSKERNELS

Build Information

Test Name: KokkosKernels_PullRequest_GCC720_Light

  • Build Num: 208
  • Status: PASSED

Jenkins Parameters

Parameter Name Value
KOKKOSKERNELS_SOURCE_BRANCH recoloring-changes
KOKKOSKERNELS_SOURCE_REPO https://github.com/ibogle/kokkos-kernels
KOKKOSKERNELS_SOURCE_SHA a89832c
KOKKOSKERNELS_TARGET_BRANCH develop
KOKKOSKERNELS_TARGET_REPO https://github.com/kokkos/kokkos-kernels
KOKKOSKERNELS_TARGET_SHA 5016b18
PULLREQUESTNUM 938
TEST_REPO_ALIAS KOKKOSKERNELS

Build Information

Test Name: KokkosKernels_PullRequest_Tpls_CUDA10

  • Build Num: 172
  • Status: PASSED

Jenkins Parameters

Parameter Name Value
KOKKOSKERNELS_SOURCE_BRANCH recoloring-changes
KOKKOSKERNELS_SOURCE_REPO https://github.com/ibogle/kokkos-kernels
KOKKOSKERNELS_SOURCE_SHA a89832c
KOKKOSKERNELS_TARGET_BRANCH develop
KOKKOSKERNELS_TARGET_REPO https://github.com/kokkos/kokkos-kernels
KOKKOSKERNELS_TARGET_SHA 5016b18
PULLREQUESTNUM 938
TEST_REPO_ALIAS KOKKOSKERNELS

Build Information

Test Name: KokkosKernels_PullRequest_Tpls_CUDA9

  • Build Num: 169
  • Status: PASSED

Jenkins Parameters

Parameter Name Value
KOKKOSKERNELS_SOURCE_BRANCH recoloring-changes
KOKKOSKERNELS_SOURCE_REPO https://github.com/ibogle/kokkos-kernels
KOKKOSKERNELS_SOURCE_SHA a89832c
KOKKOSKERNELS_TARGET_BRANCH develop
KOKKOSKERNELS_TARGET_REPO https://github.com/kokkos/kokkos-kernels
KOKKOSKERNELS_TARGET_SHA 5016b18
PULLREQUESTNUM 938
TEST_REPO_ALIAS KOKKOSKERNELS

Build Information

Test Name: KokkosKernels_PullRequest_Tpls_GCC720_GCC740

  • Build Num: 167
  • Status: PASSED

Jenkins Parameters

Parameter Name Value
KOKKOSKERNELS_SOURCE_BRANCH recoloring-changes
KOKKOSKERNELS_SOURCE_REPO https://github.com/ibogle/kokkos-kernels
KOKKOSKERNELS_SOURCE_SHA a89832c
KOKKOSKERNELS_TARGET_BRANCH develop
KOKKOSKERNELS_TARGET_REPO https://github.com/kokkos/kokkos-kernels
KOKKOSKERNELS_TARGET_SHA 5016b18
PULLREQUESTNUM 938
TEST_REPO_ALIAS KOKKOSKERNELS

@kokkos-devops-admin
Copy link

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

@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

2 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

@ibogle
Copy link
Author

ibogle commented Apr 30, 2021

@brian-kelley It doesn't look like I'll have time to get those tests together after all, sorry!

@brian-kelley
Copy link
Contributor

@ibogle That's OK. I can try doing that next week.

@brian-kelley brian-kelley merged commit 7edc76c into kokkos:develop Apr 30, 2021
@ndellingwood
Copy link
Contributor

Cherry-picked to release-candidate-3.4.1 directly

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