We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eff3a26 commit 43dfc10Copy full SHA for 43dfc10
src/callbacks/gpu_memory_usage.cpp
@@ -30,10 +30,13 @@
30
#include "lbann/models/model.hpp"
31
#include "lbann/utils/gpu/helpers.hpp"
32
#include "lbann/utils/serialize.hpp"
33
-#include <h2/gpu/memory_utils.hpp>
34
#include <iomanip>
35
#include <sstream>
36
+#ifdef LBANN_HAS_GPU
37
+#include <h2/gpu/memory_utils.hpp>
38
+#endif
39
+
40
#include "lbann/proto/callbacks.pb.h"
41
42
namespace {
src/callbacks/memory_profiler.cpp
@@ -37,9 +37,12 @@
#include <algorithm>
#include <string>
43
44
45
46
namespace lbann {
47
namespace callback {
48
0 commit comments