File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -36,6 +36,13 @@ DisjointPoolAllConfigs::DisjointPoolAllConfigs(int trace) {
36
36
Configs[DisjointPoolMemType::Shared].Name = " Shared" ;
37
37
Configs[DisjointPoolMemType::SharedReadOnly].Name = " SharedReadOnly" ;
38
38
39
+ // This field is purely for debugging purposes. There's an issue with
40
+ // sanitizer annotations on non-host memory.
41
+ Configs[DisjointPoolMemType::Host].HostMemory = 1 ;
42
+ Configs[DisjointPoolMemType::Device].HostMemory = 0 ;
43
+ Configs[DisjointPoolMemType::Shared].HostMemory = 0 ;
44
+ Configs[DisjointPoolMemType::SharedReadOnly].HostMemory = 0 ;
45
+
39
46
// Buckets for Host use a minimum of the cache line size of 64 bytes.
40
47
// This prevents two separate allocations residing in the same cache line.
41
48
// Buckets for Device and Shared allocations will use starting size of 512.
You can’t perform that action at this time.
0 commit comments