[hotfix] missing include headers (#4204)
authorZhi <5145158+zhiics@users.noreply.github.com>
Fri, 25 Oct 2019 22:47:45 +0000 (15:47 -0700)
committerGitHub <noreply@github.com>
Fri, 25 Oct 2019 22:47:45 +0000 (15:47 -0700)
src/arithmetic/const_fold.h
src/codegen/codegen_cuda.cc
src/codegen/codegen_opencl.cc

index 57f9053..86f1927 100644 (file)
@@ -28,6 +28,7 @@
 #include <tvm/ir_mutator.h>
 #include <tvm/expr_operator.h>
 #include <algorithm>
+#include <cmath>
 #include "int_operator.h"
 
 namespace tvm {
index 55b4810..39a3ab7 100644 (file)
@@ -24,6 +24,7 @@
 #include <tvm/base.h>
 #include <tvm/runtime/registry.h>
 #include <tvm/packed_func_ext.h>
+#include <cmath>
 #include <vector>
 #include <string>
 #include "codegen_cuda.h"
index 0b33bf4..3120bb5 100644 (file)
@@ -22,6 +22,7 @@
  * \file codegen_opencl.cc
  */
 #include <tvm/packed_func_ext.h>
+#include <cmath>
 #include <vector>
 #include <string>
 #include "codegen_opencl.h"