Skip to content

Conversation

@AidanBeltonS
Copy link
Contributor

This PR adds a check to CUDA's mem advice to make sure the memory passed is managed memory. This change makes mem_advise line up with prefetch in terms of checking that both the device supports concurrent managed memory and that the memory passed to the function is managed.

This is to prevent cuMemAdvise from failing on the SYCL mem_advise CTS tests.

@AidanBeltonS AidanBeltonS requested a review from a team as a code owner August 11, 2022 13:14
Co-authored-by: Steffen Larsen <steffen.larsen@intel.com>
steffenlarsen
steffenlarsen previously approved these changes Aug 11, 2022
@pvchupin pvchupin merged commit 33746d8 into intel:sycl Aug 11, 2022
@AidanBeltonS AidanBeltonS deleted the cuda_mem_advice_check_mem branch August 12, 2022 08:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants