// Copyright (c) Advanced Micro Devices, Inc. // SPDX-License-Identifier: MIT #pragma once namespace profiler_hub { template class api_writer_base { protected: Derived& self() noexcept { return static_cast(*this); } const Derived& self() const noexcept { return static_cast(*this); } }; } // namespace profiler_hub