| 204 | namespace { |
| 205 | |
| 206 | AllocatorAttributes DeviceAllocatorAttribute() { |
| 207 | AllocatorAttributes attr; |
| 208 | attr.value |= (0x1 << 24); |
| 209 | return attr; |
| 210 | } |
| 211 | |
| 212 | bool HasDeviceAllocatorAttribute(const AllocatorAttributes& attr) { |
| 213 | return attr.value & (0x1 << 24); |