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 AnonymousSpace to avoid instantiating kernels for both CudaSpace and CudaUVMSpace #144

Open
mhoemmen opened this issue Jan 10, 2018 · 1 comment

Comments

@mhoemmen
Copy link
Contributor

See my comment here: kokkos/kokkos#1321 (comment)

Kokkos pull request kokkos/kokkos#1321 fixes Kokkos issue kokkos/kokkos#1175 , by adding a new memory space, AnonymousSpace, that claims accessibility to and from all execution spaces.

This means that code that runs on Cuda, does not depend on UVM behavior, and does not need to allocate Views, should no longer need to distinguish between CudaSpace and CudaUVMSpace. This means, in turn, that kokkos-kernels no longer needs to instantiate most Cuda kernels for both memory spaces. It suffices to instantiate for the Cuda execution space.

This should help with #141 and should also reduce build time and library size.

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

No branches or pull requests

6 participants