Commit 33746d8
authored
[SYCL][CUDA] Add concurrent memory check to mem_advice (#6567)
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.1 parent ee781e4 commit 33746d8
1 file changed
+10
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5110 | 5110 | | |
5111 | 5111 | | |
5112 | 5112 | | |
| 5113 | + | |
| 5114 | + | |
| 5115 | + | |
| 5116 | + | |
| 5117 | + | |
| 5118 | + | |
| 5119 | + | |
| 5120 | + | |
| 5121 | + | |
| 5122 | + | |
5113 | 5123 | | |
5114 | 5124 | | |
5115 | 5125 | | |
| |||
0 commit comments