summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick <[email protected]>2019-09-13 05:24:00 -0400
committerNick <[email protected]>2019-09-13 05:24:00 -0400
commitcba77a151abfce2ccd556da69c42e5eb5d74b399 (patch)
tree4c0a7211121df1e59eda3f97880337aa4ccd50b2
parentbea40c4a22a86fddbf1f7845265697716727f8b1 (diff)
stop formatting where there are known problems ahead of time
-rw-r--r--libcuda/cuda_runtime_api.cc3
-rw-r--r--src/gpuwattch/memoryctrl.cc3
2 files changed, 4 insertions, 2 deletions
diff --git a/libcuda/cuda_runtime_api.cc b/libcuda/cuda_runtime_api.cc
index 5cefe60..273194e 100644
--- a/libcuda/cuda_runtime_api.cc
+++ b/libcuda/cuda_runtime_api.cc
@@ -122,12 +122,13 @@
#endif
#define __CUDA_RUNTIME_API_H__
-
+// clang-format off
#include "host_defines.h"
#include "builtin_types.h"
#include "driver_types.h"
#include "cuda_api.h"
#include "cudaProfiler.h"
+// clang-format on
#if (CUDART_VERSION < 8000)
#include "__cudaFatFormat.h"
#endif
diff --git a/src/gpuwattch/memoryctrl.cc b/src/gpuwattch/memoryctrl.cc
index d145ce1..f13c695 100644
--- a/src/gpuwattch/memoryctrl.cc
+++ b/src/gpuwattch/memoryctrl.cc
@@ -35,6 +35,7 @@
* Tayler Hetherington, University of British Columbia *
* Ahmed ElTantawy, University of British Columbia *
********************************************************************/
+// clang-format off
#include "io.h"
#include "parameter.h"
#include "const.h"
@@ -48,7 +49,7 @@
#include <assert.h>
#include "memoryctrl.h"
#include "basic_components.h"
-
+// clang-format on
/* overview of MC models:
* McPAT memory controllers are modeled according to large number of industrial data points.
* The Basic memory controller architecture is base on the Synopsis designs