"vscode:/vscode.git/clone" did not exist on "a1e1806575f8f38c3603c7efa99cc17c7f97bdcc"
dgl_cub.cuh 393 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
/*!
 *  Copyright (c) 2021 by Contributors
 * \file cuda_common.h
 * \brief Wrapper to place cub in dgl namespace. 
 */

#ifndef DGL_ARRAY_CUDA_DGL_CUB_CUH_
#define DGL_ARRAY_CUDA_DGL_CUB_CUH_

10
11
12
13
14
// This should be defined in CMakeLists.txt
#ifndef THRUST_CUB_WRAPPED_NAMESPACE
static_assert(false, "THRUST_CUB_WRAPPED_NAMESPACE must be defined for DGL.");
#endif

15
16
17
#include "cub/cub.cuh"

#endif