/************************************************************************* * 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 struct nccl_domain{static constexpr char const* name{"NCCL"};}; #define NVTX3_FUNC_RANGE_IN(domain) #define nvtxNameOsThreadA(syscall, thread) #define NVTX3_FUNC_WITH_PARAMS(N, T, P) #define NVTX3_PAYLOAD(...) __VA_ARGS__ #define NVTX3_RANGE(T) #define NVTX3_RANGE_ADD_PAYLOAD(N, S, P) #define NVTX_PAYLOAD_ENTRY_NCCL_REDOP 11 #endif