Commit 5661554
authored
Add READ_ONLY flag to indicate access type to allocated host memory (#454)
* Add READ_ONLY flag to indicate access type to allocated host memory
allows mapping host memory as read-only on device when zeMemAllocHost()
is used with external memmap sysmem.
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>1 parent 835157b commit 5661554
2 files changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| 35 | + | |
35 | 36 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
59 | 62 | | |
60 | 63 | | |
61 | 64 | | |
| |||
0 commit comments