-
Notifications
You must be signed in to change notification settings - Fork 99
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
findRelOffset test assumes UVM #32
Comments
I am rolling back on this. As I notice that not only the test, but also the implementation itself is sequential, as a result, the implementation itself is assuming UVM on GPU side. @mhoemmen, is this the only intended use of findRelOffset? Does this require a GPU implementation, or does it make sense to have a GPU implementation? |
@mndevec findRelOffset should be callable on the GPU too. It's meant to be called by a single thread, but could be called on device. Thus, I don't think the function assumes UVM, but it does look like the test assumes UVM. |
Thanks Mark. So, is it a function that should only be called in the parallel region? |
@mndevec wrote:
No, not necessarily. It may be called on device, but it may also be called on host. |
Okay thanks. In this case, |
@mndevec Yes, that's correct. Thanks! |
May want add new unit test to call in CUDA. |
According to @crtrott , KokkosKernels is not allowed to assume UVM.
The text was updated successfully, but these errors were encountered: