Skip to content

Commit e216d28

Browse files
zhiicskevinthesun
authored andcommitted
[hotfix] missing include headers (apache#4204)
1 parent 3d0af15 commit e216d28

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

src/arithmetic/const_fold.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
#include <tvm/ir_mutator.h>
2929
#include <tvm/expr_operator.h>
3030
#include <algorithm>
31+
#include <cmath>
3132
#include "int_operator.h"
3233

3334
namespace tvm {

src/codegen/codegen_cuda.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
#include <tvm/base.h>
2525
#include <tvm/runtime/registry.h>
2626
#include <tvm/packed_func_ext.h>
27+
#include <cmath>
2728
#include <vector>
2829
#include <string>
2930
#include "codegen_cuda.h"

src/codegen/codegen_opencl.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
* \file codegen_opencl.cc
2323
*/
2424
#include <tvm/packed_func_ext.h>
25+
#include <cmath>
2526
#include <vector>
2627
#include <string>
2728
#include "codegen_opencl.h"

0 commit comments

Comments
 (0)