Files
rocm-systems/src/include/nvtx_stub.h
T

21 lines
592 B
C
Executable File

/*************************************************************************
* Copyright (c) 2019-2020, NVIDIA CORPORATION. All rights reserved.
*
* See LICENSE.txt for license information
************************************************************************/
#ifndef NCCL_NVTX_STUB_H_
#define NCCL_NVTX_STUB_H_
#include <nvtx3/nvToolsExtPayload.h>
struct nccl_domain{static constexpr char const* name{"NCCL"};};
#define NVTX3_FUNC_RANGE_IN(domain)
#define nvtxNameOsThreadA(syscall, thread)
#define NVTX3_FUNC_WITH_PARAMS(ID, S, P)
#define NVTX_PAYLOAD_ENTRY_NCCL_REDOP 11
#endif