Change rocprof context name

This commit is contained in:
Eric Eaton
2025-07-10 14:29:23 -07:00
parent 3fce5c1280
commit d4a35c5ab1
3 changed files with 5 additions and 3 deletions

View File

@@ -41,7 +41,8 @@ constexpr const char* GpuContextNames[] = {
"Direct3D 11",
"Metal",
"Custom",
"CUDA"
"CUDA",
"Rocprof"
};
struct MemoryPage;

View File

@@ -102,7 +102,7 @@ uint8_t gpu_context_allocate( ToolData* data )
tracy::MemWrite( &item->gpuNewContext.period, timestamp_period );
tracy::MemWrite( &item->gpuNewContext.context, context_id );
tracy::MemWrite( &item->gpuNewContext.flags, context_flags );
tracy::MemWrite( &item->gpuNewContext.type, tracy::GpuContextType::Vulkan );
tracy::MemWrite( &item->gpuNewContext.type, tracy::GpuContextType::Rocprof );
tracy::Profiler::QueueSerialFinish();
}

View File

@@ -408,7 +408,8 @@ enum class GpuContextType : uint8_t
Direct3D11,
Metal,
Custom,
CUDA
CUDA,
Rocprof
};
enum GpuContextFlags : uint8_t