Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
N
ngraph
Project
Project
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ngraph
Commits
7217ea3c
Commit
7217ea3c
authored
Jan 31, 2018
by
Jaikrishnan Menon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
WIP
parent
38abf879
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
cpu_external_function.cpp
src/ngraph/runtime/cpu/cpu_external_function.cpp
+2
-2
cpu_tensor_allocation.hpp
src/ngraph/runtime/cpu/pass/cpu_tensor_allocation.hpp
+3
-1
No files found.
src/ngraph/runtime/cpu/cpu_external_function.cpp
View file @
7217ea3c
...
...
@@ -94,14 +94,14 @@
#include "ngraph/runtime/cpu/cpu_tensor_view.hpp"
#include "ngraph/runtime/cpu/ops/matmul_bias.hpp"
#include "ngraph/runtime/cpu/pass/cpu_layout.hpp"
#include "ngraph/runtime/cpu/pass/cpu_tensor_allocation.hpp"
//
#include "ngraph/runtime/cpu/pass/cpu_tensor_allocation.hpp"
using
namespace
std
;
using
namespace
ngraph
;
static
const
string
s_output_dir
=
"cpu_codegen"
;
// Temporary Memory
p
ool alignment
// Temporary Memory
P
ool alignment
static
const
size_t
MemoryPoolAlignment
=
64
;
class
StaticInitializers
...
...
src/ngraph/runtime/cpu/pass/cpu_tensor_allocation.hpp
View file @
7217ea3c
...
...
@@ -34,7 +34,9 @@ namespace ngraph
{
for
(
size_t
i
=
0
;
i
<
node
->
get_output_size
();
++
i
)
{
auto
tv
=
node
->
get_output_tensor_view
(
i
);
auto
tensor_view
=
node
->
get_output_tensor_view
(
i
);
auto
cpu_tensor_view
=
std
::
static_pointer_cast
<
ngraph
::
runtime
::
cpu
::
CPUTensorView
>
(
tensor_view
);
}
}
return
false
;
...
...
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