Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tic
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wenyuanbo
tic
Commits
dfbe82b0
Commit
dfbe82b0
authored
Oct 12, 2018
by
KeDengMS
Committed by
Tianqi Chen
Oct 12, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixes for tensorize in Windows build to expose TensorIntrin::make and search clang.exe (#1896)
parent
10279098
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
include/tvm/tensor_intrin.h
+7
-8
python/tvm/contrib/clang.py
+1
-0
No files found.
include/tvm/tensor_intrin.h
View file @
dfbe82b0
...
...
@@ -74,13 +74,13 @@ class TensorIntrinNode : public Node {
v
->
Visit
(
"reduce_update"
,
&
reduce_update
);
}
static
TensorIntrin
make
(
std
::
string
name
,
Operation
op
,
Array
<
Tensor
>
inputs
,
Array
<
Buffer
>
buffers
,
Stmt
body
,
Stmt
reduce_init
,
Stmt
reduce_update
);
TVM_DLL
static
TensorIntrin
make
(
std
::
string
name
,
Operation
op
,
Array
<
Tensor
>
inputs
,
Array
<
Buffer
>
buffers
,
Stmt
body
,
Stmt
reduce_init
,
Stmt
reduce_update
);
static
constexpr
const
char
*
_type_key
=
"TensorIntrin"
;
TVM_DECLARE_NODE_TYPE_INFO
(
TensorIntrinNode
,
Node
);
...
...
@@ -90,7 +90,6 @@ inline const TensorIntrinNode* TensorIntrin::operator->() const {
return
static_cast
<
const
TensorIntrinNode
*>
(
node_
.
get
());
}
// Internal node container of tensor intrinsic calling.
class
TensorIntrinCallNode
;
...
...
python/tvm/contrib/clang.py
View file @
dfbe82b0
...
...
@@ -31,6 +31,7 @@ def find_clang(required=True):
if
hasattr
(
codegen
,
"llvm_version_major"
):
cc_list
+=
[
"clang-
%
d.0"
%
codegen
.
llvm_version_major
()]
cc_list
+=
[
"clang"
]
cc_list
+=
[
"clang.exe"
]
valid_list
=
[
util
.
which
(
x
)
for
x
in
cc_list
]
valid_list
=
[
x
for
x
in
valid_list
if
x
]
if
not
valid_list
and
required
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment