nvtx_stub.h 592 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/*************************************************************************
 * 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