File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
source/loader/layers/sanitizer Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -72,11 +72,17 @@ ur_result_t DestroyShadowMemory() {
72
72
} // namespace cpu
73
73
74
74
namespace pvc {
75
-
75
+ // /
76
+ // / USM Allocation Range (56 bits)
77
+ // / Host USM : 0x0000_0000_0000_0000 ~ 0x00ff_ffff_ffff_ffff
78
+ // / Shared USM : 0x0000_0000_0000_0000 ~ 0x0000_7fff_ffff_ffff
79
+ // / Device USM : 0xff00_0000_0000_0000 ~ 0xff00_ffff_ffff_ffff
80
+ // /
76
81
// / SHADOW MEMORY MAPPING (PVC, with CPU 47bit)
77
82
// / Host/Shared USM : 0x0 ~ 0x0fff_ffff_ffff
78
83
// / ? : 0x1000_0000_0000 ~ 0x1fff_ffff_ffff
79
84
// / Device USM : 0x2000_0000_0000 ~ 0x3fff_ffff_ffff
85
+ // /
80
86
constexpr size_t SHADOW_SIZE = 1ULL << 46 ;
81
87
82
88
uptr LOW_SHADOW_BEGIN;
@@ -123,7 +129,7 @@ ur_result_t DestroyShadowMemory() {
123
129
124
130
namespace dg2 {
125
131
// /
126
- // / USM Allocation Range
132
+ // / USM Allocation Range (48 bits)
127
133
// / Host/Shared USM : 0x0000_0000_0000_0000 ~ 0x0000_7fff_ffff_ffff
128
134
// / Device USM : 0xffff_8000_0000_0000 ~ 0xffff_ffff_ffff_ffff
129
135
// /
You can’t perform that action at this time.
0 commit comments