diff options
author | Yangqing Jia <me@daggerfs.com> | 2016-01-28 11:11:45 -0800 |
---|---|---|
committer | Yangqing Jia <me@daggerfs.com> | 2016-01-28 11:11:45 -0800 |
commit | 270c4e1ecd8fd10c42760dd67adbbab0b1387da2 (patch) | |
tree | 91ff1a778419cee6cc99567d01680670ec0bc26b /bench/tensors/benchmark.h | |
parent | c4e47630b16a716d01dc20b36afa8882b03681a1 (diff) |
bugfix
Diffstat (limited to 'bench/tensors/benchmark.h')
-rw-r--r-- | bench/tensors/benchmark.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bench/tensors/benchmark.h b/bench/tensors/benchmark.h index d8b4fd4c6..2c06075e0 100644 --- a/bench/tensors/benchmark.h +++ b/bench/tensors/benchmark.h @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ +#include <stddef.h> #include <stdint.h> #include <vector> @@ -45,4 +46,5 @@ void StopBenchmarkTiming(); void StartBenchmarkTiming(); #define BENCHMARK(f) \ static ::testing::Benchmark* _benchmark_##f __attribute__((unused)) = \ - (new ::testing::Benchmark(#f, f))
\ No newline at end of file + (new ::testing::Benchmark(#f, f)) + |