We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a9a05d9 commit effd905Copy full SHA for effd905
graphbolt/src/cuda/common.h
@@ -58,7 +58,9 @@ struct CUDAWorkspaceAllocator {
58
// Required by thrust to satisfy allocator requirements.
59
using value_type = value_t;
60
61
- explicit CUDAWorkspaceAllocator() { at::globalContext().lazyInitDevice(at::kCUDA); }
+ explicit CUDAWorkspaceAllocator() {
62
+ at::globalContext().lazyInitDevice(at::kCUDA);
63
+ }
64
65
template <class U>
66
CUDAWorkspaceAllocator(CUDAWorkspaceAllocator<U> const&) noexcept {}
0 commit comments