From 1db8cdf99a33aaba671ffcaa40dfd4ceee4ff730 Mon Sep 17 00:00:00 2001 From: Ammar ELWazir Date: Fri, 13 May 2022 09:22:49 -0500 Subject: [PATCH] Adding backward compatability Adding roctracer_hcc.h for backward compatability to enable multiple components using it as tensorflow Change-Id: Idfcdda9207277866e629e7bb9bfc0da835481217 --- CMakeLists.txt | 1 + inc/roctracer_hcc.h | 23 +++++++++++++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 inc/roctracer_hcc.h diff --git a/CMakeLists.txt b/CMakeLists.txt index f20fd9dc23..c9bb6824df 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -90,6 +90,7 @@ set ( PUBLIC_HEADERS roctracer.h roctracer_ext.h roctracer_hip.h + roctracer_hcc.h roctracer_hsa.h roctracer_roctx.h ext/prof_protocol.h diff --git a/inc/roctracer_hcc.h b/inc/roctracer_hcc.h new file mode 100644 index 0000000000..5da6dab0bc --- /dev/null +++ b/inc/roctracer_hcc.h @@ -0,0 +1,23 @@ +/* Copyright (c) 2018-2022 Advanced Micro Devices, Inc. + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. */ + +#pragma message("This file has been deprecated and marked for removal. Please use roctracer_hip.h instead.") + +#include \ No newline at end of file