diff --git a/profiler/src/profiler/TracyView.hpp b/profiler/src/profiler/TracyView.hpp index 95cc31ac..96e8e7ed 100644 --- a/profiler/src/profiler/TracyView.hpp +++ b/profiler/src/profiler/TracyView.hpp @@ -41,7 +41,8 @@ constexpr const char* GpuContextNames[] = { "Direct3D 11", "Metal", "Custom", - "CUDA" + "CUDA", + "Rocprof" }; struct MemoryPage; diff --git a/public/client/TracyRocprof.cpp b/public/client/TracyRocprof.cpp index d38b3bba..086b7aa4 100644 --- a/public/client/TracyRocprof.cpp +++ b/public/client/TracyRocprof.cpp @@ -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(); } diff --git a/public/common/TracyQueue.hpp b/public/common/TracyQueue.hpp index 44b31921..8243f6d4 100644 --- a/public/common/TracyQueue.hpp +++ b/public/common/TracyQueue.hpp @@ -408,7 +408,8 @@ enum class GpuContextType : uint8_t Direct3D11, Metal, Custom, - CUDA + CUDA, + Rocprof }; enum GpuContextFlags : uint8_t