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

Enable all experimental backends #422

Merged
merged 2 commits into from
Nov 23, 2020

Conversation

dalg24
Copy link
Contributor

@dalg24 dalg24 commented Nov 20, 2020

These are changes that are needed to check whether ArborX can build with the Kokkos experimental backends OpenMPTarget and SYCL. I have had to make these changes manually several times and I am sure other have too. I think it is time to merge it in.

I do not believe that having this in will confuse users and expect that we will get it working soon enough.

@dalg24 dalg24 requested a review from masterleinad November 20, 2020 03:22
@dalg24 dalg24 added the build Build and installation label Nov 20, 2020
Copy link
Collaborator

@masterleinad masterleinad left a comment

Choose a reason for hiding this comment

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

I would have opened a pull request anyway as soon as we have kokkos/kokkos#3577 merged.

It looks good to me but I would prefer to add CI before merging.

@aprokop
Copy link
Contributor

aprokop commented Nov 20, 2020

I don't know about this. Is there an issue with keeping these in a branch in a fork?

@dalg24
Copy link
Contributor Author

dalg24 commented Nov 20, 2020

I don't know about this. Is there an issue with keeping these in a branch in a fork?

Not a major issue, this is more a convenience. Say we merge SYCL first, we create conflicts for that OpenMPTarget branch.

@aprokop
Copy link
Contributor

aprokop commented Nov 20, 2020

OK. I am OK with whatever is decided. The only other point is whether this should wait until Kokkos 3.3 is released.

@dalg24
Copy link
Contributor Author

dalg24 commented Nov 20, 2020

OK. I am OK with whatever is decided. The only other point is whether this should wait until Kokkos 3.3 is released.

It has virtually nothing to do with the upcoming release. The changes I propose are valid regardless of the Kokkos version you use.

@aprokop
Copy link
Contributor

aprokop commented Nov 20, 2020

My point is that I don't know which versions of Kokkos this will work with. If I understand it right, enabling these is possible but won't work with Kokkos 3.2.

@dalg24
Copy link
Contributor Author

dalg24 commented Nov 20, 2020

Please define "won't work"
You can use ArborX like you used to. KOKKOS_ENABLE_ won't be defined and you won't be affected. When trying to use Kokkos experimental backends you have to know what you are doing.

@aprokop aprokop merged commit f11c397 into arborx:master Nov 23, 2020
@dalg24 dalg24 deleted the enable_all_experimental_backends branch November 23, 2020 22:32
throw std::runtime_error("OpenMPTarget backend not available!");
#endif

#ifdef KOKKOS_ENABLE_
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Oops

Copy link
Contributor

@aprokop aprokop Dec 5, 2020

Choose a reason for hiding this comment

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

Noticed that today, but thought it was intentional to not enable SYCL by default.

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

Successfully merging this pull request may close these issues.

3 participants