diff options
Diffstat (limited to 'src/include/argcheck.h')
-rw-r--r-- | src/include/argcheck.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/include/argcheck.h b/src/include/argcheck.h new file mode 100644 index 0000000..8d8b74e --- /dev/null +++ b/src/include/argcheck.h @@ -0,0 +1,16 @@ +/************************************************************************* + * Copyright (c) 2019, NVIDIA CORPORATION. All rights reserved. + * + * See LICENSE.txt for license information + ************************************************************************/ + +#ifndef NCCL_ARGCHECK_H_ +#define NCCL_ARGCHECK_H_ + +#include "core.h" +#include "info.h" + +ncclResult_t PtrCheck(void* ptr, const char* opname, const char* ptrname); +ncclResult_t ArgsCheck(struct ncclInfo* info); + +#endif |