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 b8ebd4c commit 5509014Copy full SHA for 5509014
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
@@ -39,9 +39,12 @@
#include "h2/patterns/multimethods/SwitchDispatcher.hpp"
#include <algorithm>
43
#include <string>
44
45
46
47
48
namespace lbann {
49
namespace callback {
50
0 commit comments