From 0eb3a82673518b5768fc90f3c623cdc6fbf1cfd5 Mon Sep 17 00:00:00 2001 From: Fan Chen Date: Fri, 23 May 2025 15:22:36 -0400 Subject: [PATCH] Move CUDA after Custom as existing traces may use the Custom identifier --- profiler/src/profiler/TracyView.hpp | 4 ++-- public/common/TracyQueue.hpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/profiler/src/profiler/TracyView.hpp b/profiler/src/profiler/TracyView.hpp index b87a0c90..1b7690f3 100644 --- a/profiler/src/profiler/TracyView.hpp +++ b/profiler/src/profiler/TracyView.hpp @@ -40,8 +40,8 @@ constexpr const char* GpuContextNames[] = { "Direct3D 12", "Direct3D 11", "Metal", - "CUDA", - "Custom" + "Custom", + "CUDA" }; struct MemoryPage; diff --git a/public/common/TracyQueue.hpp b/public/common/TracyQueue.hpp index 6da76025..daef3ec1 100644 --- a/public/common/TracyQueue.hpp +++ b/public/common/TracyQueue.hpp @@ -405,8 +405,8 @@ enum class GpuContextType : uint8_t Direct3D12, Direct3D11, Metal, - CUDA, - Custom + Custom, + CUDA }; enum GpuContextFlags : uint8_t