From 43c073897d9ec5dbcad433773281c063092f915b Mon Sep 17 00:00:00 2001 From: "Bhardwaj, Gopesh" Date: Mon, 10 Feb 2025 21:41:17 +0530 Subject: [PATCH] Disbaling #pragma deprecation warnings (#11) [ROCm/rocprofiler commit: 0bb6be99cbd2d47cce3f74cb913c900764e419a4] --- projects/rocprofiler/include/rocprofiler/rocprofiler.h | 3 --- projects/rocprofiler/include/rocprofiler/v2/rocprofiler.h | 3 --- 2 files changed, 6 deletions(-) diff --git a/projects/rocprofiler/include/rocprofiler/rocprofiler.h b/projects/rocprofiler/include/rocprofiler/rocprofiler.h index c93c32179a..3087be509b 100644 --- a/projects/rocprofiler/include/rocprofiler/rocprofiler.h +++ b/projects/rocprofiler/include/rocprofiler/rocprofiler.h @@ -73,9 +73,6 @@ THE SOFTWARE. #endif /* !defined (ROCPROFILER_EXPORTS) */ #endif /* !defined (ROCPROFILER) */ -// Deprecation warning for ROCProfiler V1 and V2 -#pragma message( \ - "Warning: ROCProfiler and ROCTracer are being phased out in favor of the latest version ROCProfiler-SDK. We encourage all users to upgrade to ROCProfiler-SDK library and rocprofv3 tool, to ensure continued support and access to new features.") #include #include diff --git a/projects/rocprofiler/include/rocprofiler/v2/rocprofiler.h b/projects/rocprofiler/include/rocprofiler/v2/rocprofiler.h index a3500fe532..f9abc81704 100644 --- a/projects/rocprofiler/include/rocprofiler/v2/rocprofiler.h +++ b/projects/rocprofiler/include/rocprofiler/v2/rocprofiler.h @@ -134,9 +134,6 @@ THE SOFTWARE. #define ROCPROFILER_EXPORT ROCPROFILER_EXPORT_DECORATOR ROCPROFILER_CALL #define ROCPROFILER_IMPORT ROCPROFILER_IMPORT_DECORATOR ROCPROFILER_CALL -//Deprecation warning for ROCprofiler V1 and V2 -#pragma message( \ - "Warning: ROCProfiler and ROCTracer are being phased out in favor of the latest version ROCProfiler-SDK. We encourage all users to upgrade to ROCProfiler-SDK library and rocprofv3 tool, to ensure continued support and access to new features.") #if !defined(ROCPROFILER) #if defined(ROCPROFILER_EXPORTS)