Better header guards for including.

main
Kenneth Jao 2 years ago
parent 1e358f915c
commit 3963e70391
  1. 7
      include/Core.h

@ -316,9 +316,11 @@ struct GraphManager {
}; };
}; // namespace CudaTools }; // namespace CudaTools
#endif // CUDATOOLS_H
#ifdef CUDATOOLS_IMPLEMENTATION #ifdef CUDATOOLS_IMPLEMENTATION
#ifndef __CUDATOOLS_IMPLEMENTED__
#define __CUDATOOLS_IMPLEMENTED__
namespace CudaTools { namespace CudaTools {
////////////////////// //////////////////////
@ -677,6 +679,5 @@ void GraphManager::joinBranch(const StreamID& orig_stream, const StreamID& branc
} }
}; // namespace CudaTools }; // namespace CudaTools
#endif
#endif // CUDATOOLS_IMPLEMENTATION #endif // CUDATOOLS_IMPLEMENTATION
#endif // CUDATOOLS_H

Loading…
Cancel
Save