Files
MacroLibX/test/memory_dump3.json

232 lines
7.4 KiB
JSON

{
"General": {
"API": "Vulkan",
"apiVersion": "1.3.260",
"GPU": "NVIDIA GeForce GTX 1650",
"deviceType": 2,
"maxMemoryAllocationCount": 4294967295,
"bufferImageGranularity": 1024,
"nonCoherentAtomSize": 64,
"memoryHeapCount": 3,
"memoryTypeCount": 5
},
"Total": {
"BlockCount": 5,
"BlockBytes": 73007104,
"AllocationCount": 17,
"AllocationBytes": 2664896,
"UnusedRangeCount": 6,
"AllocationSizeMin": 12,
"AllocationSizeMax": 1048576,
"UnusedRangeSizeMin": 4,
"UnusedRangeSizeMax": 33437056
},
"MemoryInfo": {
"Heap 0": {
"Flags": ["DEVICE_LOCAL"],
"Size": 4294967296,
"Budget": {
"BudgetBytes": 3435973836,
"UsageBytes": 35422208
},
"Stats": {
"BlockCount": 3,
"BlockBytes": 35422208,
"AllocationCount": 12,
"AllocationBytes": 1984704,
"UnusedRangeCount": 4,
"AllocationSizeMin": 12,
"AllocationSizeMax": 1048576,
"UnusedRangeSizeMin": 4,
"UnusedRangeSizeMax": 33437056
},
"MemoryPools": {
"Type 1": {
"Flags": ["DEVICE_LOCAL"],
"Stats": {
"BlockCount": 3,
"BlockBytes": 35422208,
"AllocationCount": 12,
"AllocationBytes": 1984704,
"UnusedRangeCount": 4,
"AllocationSizeMin": 12,
"AllocationSizeMax": 1048576,
"UnusedRangeSizeMin": 4,
"UnusedRangeSizeMax": 33437056
}
}
}
},
"Heap 1": {
"Flags": [],
"Size": 6071976960,
"Budget": {
"BudgetBytes": 4857581568,
"UsageBytes": 33554432
},
"Stats": {
"BlockCount": 1,
"BlockBytes": 33554432,
"AllocationCount": 2,
"AllocationBytes": 680000,
"UnusedRangeCount": 1,
"AllocationSizeMin": 40000,
"AllocationSizeMax": 640000
},
"MemoryPools": {
"Type 0": {
"Flags": [],
"Stats": {
"BlockCount": 0,
"BlockBytes": 0,
"AllocationCount": 0,
"AllocationBytes": 0,
"UnusedRangeCount": 0
}
},
"Type 2": {
"Flags": ["HOST_VISIBLE", "HOST_COHERENT"],
"Stats": {
"BlockCount": 1,
"BlockBytes": 33554432,
"AllocationCount": 2,
"AllocationBytes": 680000,
"UnusedRangeCount": 1,
"AllocationSizeMin": 40000,
"AllocationSizeMax": 640000
}
},
"Type 3": {
"Flags": ["HOST_VISIBLE", "HOST_COHERENT", "HOST_CACHED"],
"Stats": {
"BlockCount": 0,
"BlockBytes": 0,
"AllocationCount": 0,
"AllocationBytes": 0,
"UnusedRangeCount": 0
}
}
}
},
"Heap 2": {
"Flags": ["DEVICE_LOCAL"],
"Size": 257949696,
"Budget": {
"BudgetBytes": 206359756,
"UsageBytes": 4030464
},
"Stats": {
"BlockCount": 1,
"BlockBytes": 4030464,
"AllocationCount": 3,
"AllocationBytes": 192,
"UnusedRangeCount": 1,
"AllocationSizeMin": 64,
"AllocationSizeMax": 64
},
"MemoryPools": {
"Type 4": {
"Flags": ["DEVICE_LOCAL", "HOST_VISIBLE", "HOST_COHERENT"],
"Stats": {
"BlockCount": 1,
"BlockBytes": 4030464,
"AllocationCount": 3,
"AllocationBytes": 192,
"UnusedRangeCount": 1,
"AllocationSizeMin": 64,
"AllocationSizeMax": 64
}
}
}
}
},
"DefaultPools": {
"Type 0": {
"PreferredBlockSize": 268435456,
"Blocks": {
},
"DedicatedAllocations": [
]
},
"Type 1": {
"PreferredBlockSize": 268435456,
"Blocks": {
"0": {
"MapRefCount": 0,
"TotalBytes": 33554432,
"UnusedBytes": 33437504,
"Allocations": 10,
"UnusedRanges": 4,
"Suballocations": [
{"Offset": 0, "Type": "BUFFER", "Size": 128, "Usage": 130, "Name": "__mlx_pixel_put_pipeline_texture_GPU_vertex_buffer"},
{"Offset": 128, "Type": "BUFFER", "Size": 12, "Usage": 66, "Name": "__mlx_pixel_put_pipeline_texture_GPU_index_buffer"},
{"Offset": 140, "Type": "FREE", "Size": 4},
{"Offset": 144, "Type": "BUFFER", "Size": 128, "Usage": 130, "Name": "42_logo.png_GPU_vertex_buffer"},
{"Offset": 272, "Type": "BUFFER", "Size": 12, "Usage": 66, "Name": "42_logo.png_GPU_index_buffer"},
{"Offset": 284, "Type": "FREE", "Size": 4},
{"Offset": 288, "Type": "BUFFER", "Size": 128, "Usage": 130, "Name": "__mlx_unamed_user_texture_GPU_vertex_buffer"},
{"Offset": 416, "Type": "BUFFER", "Size": 12, "Usage": 66, "Name": "__mlx_unamed_user_texture_GPU_index_buffer"},
{"Offset": 428, "Type": "BUFFER", "Size": 156, "Usage": 66, "Name": "that's a text_GPU_index_buffer"},
{"Offset": 584, "Type": "FREE", "Size": 440},
{"Offset": 1024, "Type": "IMAGE_OPTIMAL", "Size": 57344, "Usage": 7, "Name": "42_logo.png"},
{"Offset": 58368, "Type": "IMAGE_OPTIMAL", "Size": 57344, "Usage": 7, "Name": "__mlx_unamed_user_texture"},
{"Offset": 115712, "Type": "BUFFER", "Size": 1664, "Usage": 130, "Name": "that's a text_GPU_vertex_buffer"},
{"Offset": 117376, "Type": "FREE", "Size": 33437056}
]
}
},
"DedicatedAllocations": [
{"Type": "IMAGE_OPTIMAL", "Size": 819200, "Usage": 7, "Name": "__mlx_pixel_put_pipeline_texture"},
{"Type": "IMAGE_OPTIMAL", "Size": 1048576, "Usage": 7, "Name": "__mlx_texts_pipeline_texture_atlas"}
]
},
"Type 2": {
"PreferredBlockSize": 268435456,
"Blocks": {
"0": {
"MapRefCount": 2,
"TotalBytes": 33554432,
"UnusedBytes": 32874432,
"Allocations": 2,
"UnusedRanges": 1,
"Suballocations": [
{"Offset": 0, "Type": "BUFFER", "Size": 640000, "Usage": 1, "Name": "__mlx_pixel_put_pipeline_texture_buffer"},
{"Offset": 640000, "Type": "BUFFER", "Size": 40000, "Usage": 3, "Name": "__mlx_unamed_user_texture_buffer"},
{"Offset": 680000, "Type": "FREE", "Size": 32874432}
]
}
},
"DedicatedAllocations": [
]
},
"Type 3": {
"PreferredBlockSize": 268435456,
"Blocks": {
},
"DedicatedAllocations": [
]
},
"Type 4": {
"PreferredBlockSize": 32243712,
"Blocks": {
"0": {
"MapRefCount": 3,
"TotalBytes": 4030464,
"UnusedBytes": 4030272,
"Allocations": 3,
"UnusedRanges": 1,
"Suballocations": [
{"Offset": 0, "Type": "BUFFER", "Size": 64, "Usage": 16, "Name": "__mlx_matrices_uniform_buffer_0_buffer"},
{"Offset": 64, "Type": "BUFFER", "Size": 64, "Usage": 16, "Name": "__mlx_matrices_uniform_buffer_1_buffer"},
{"Offset": 128, "Type": "BUFFER", "Size": 64, "Usage": 16, "Name": "__mlx_matrices_uniform_buffer_2_buffer"},
{"Offset": 192, "Type": "FREE", "Size": 4030272}
]
}
},
"DedicatedAllocations": [
]
}
},
"CustomPools": {
}
}