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
75e15617
Commit
75e15617
authored
Mar 07, 2019
by
Scott Cyphers
Committed by
Robert Kimball
Mar 07, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove some IDE and clang warnings (#2572)
parent
fb094fb1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
195 additions
and
16 deletions
+195
-16
CMakeLists.txt
src/ngraph/CMakeLists.txt
+192
-13
function_call.cpp
src/ngraph/runtime/hybrid/op/function_call.cpp
+2
-2
function_call.hpp
src/ngraph/runtime/hybrid/op/function_call.hpp
+1
-1
No files found.
src/ngraph/CMakeLists.txt
View file @
75e15617
...
...
@@ -15,179 +15,358 @@
# ******************************************************************************
set
(
SRC
assertion.hpp
autodiff/adjoints.cpp
autodiff/adjoints.hpp
axis_set.cpp
axis_set.hpp
axis_vector.cpp
a
utodiff/adjoints.c
pp
a
xis_vector.h
pp
builder/autobroadcast.cpp
builder/autobroadcast.hpp
builder/make_constant.hpp
builder/numpy_transpose.cpp
builder/
quantization/quantized_linear_convolution.c
pp
builder/
numpy_transpose.h
pp
builder/quantization.cpp
builder/quantization.hpp
builder/quantization/quantized_linear_convolution.cpp
builder/quantization/quantized_linear_convolution.hpp
builder/quantization_util.hpp
builder/reduce_ops.cpp
builder/reduce_ops.hpp
builder/tensor_mask.hpp
check.hpp
code_writer.hpp
coordinate.cpp
coordinate.hpp
coordinate_diff.cpp
coordinate_diff.hpp
coordinate_transform.cpp
cpio.cpp
cpio.hpp
descriptor/input.cpp
descriptor/input.hpp
descriptor/layout/dense_tensor_layout.cpp
descriptor/layout/dense_tensor_layout.hpp
descriptor/layout/tensor_layout.cpp
descriptor/layout/tensor_layout.hpp
descriptor/output.cpp
descriptor/output.hpp
descriptor/tensor.cpp
descriptor/tensor.hpp
dimension.cpp
dimension.hpp
except.hpp
file_util.cpp
file_util.hpp
function.cpp
function.hpp
graph_util.cpp
log.cpp
log.hpp
ngraph.cpp
ngraph.hpp
ngraph_visibility.hpp
node.cpp
node.hpp
node_vector.hpp
op/abs.cpp
op/abs.hpp
op/acos.cpp
op/acos.hpp
op/add.cpp
op/add.hpp
op/all.cpp
op/all.hpp
op/allreduce.cpp
op/allreduce.hpp
op/and.cpp
op/and.hpp
op/any.cpp
op/a
rgmin.c
pp
op/a
ny.h
pp
op/argmax.cpp
op/argmax.hpp
op/argmin.cpp
op/argmin.hpp
op/asin.cpp
op/asin.hpp
op/atan.cpp
op/atan.hpp
op/avg_pool.cpp
op/avg_pool.hpp
op/batch_norm.cpp
op/batch_norm.hpp
op/broadcast.cpp
op/broadcast.hpp
op/ceiling.cpp
op/ceiling.hpp
op/concat.cpp
op/concat.hpp
op/constant.cpp
op/constant.hpp
op/convert.cpp
op/convert.hpp
op/convolution.cpp
op/convolution.hpp
op/cos.cpp
op/cos.hpp
op/cosh.cpp
op/cosh.hpp
op/dequantize.cpp
op/dequantize.hpp
op/divide.cpp
op/divide.hpp
op/dot.cpp
op/dot.hpp
op/embedding_lookup.cpp
op/embedding_lookup.hpp
op/equal.cpp
op/equal.hpp
op/exp.cpp
op/exp.hpp
op/experimental/generate_mask.cpp
op/experimental/generate_mask.hpp
op/experimental/quantized_avg_pool.cpp
op/experimental/quantized_avg_pool.hpp
op/experimental/quantized_concat.cpp
op/experimental/quantized_concat.hpp
op/experimental/quantized_conv.cpp
op/experimental/quantized_conv.hpp
op/experimental/quantized_conv_bias.cpp
op/experimental/quantized_conv_bias.hpp
op/experimental/quantized_conv_relu.cpp
op/experimental/quantized_conv
.c
pp
op/experimental/quantized_conv
_relu.h
pp
op/experimental/quantized_max_pool.cpp
op/experimental/quantized_
concat.c
pp
op/experimental/quantized_
max_pool.h
pp
op/experimental/shape_of.cpp
op/experimental/shape_of.hpp
op/floor.cpp
op/floor.hpp
op/get_output_element.cpp
op/get_output_element.hpp
op/greater.cpp
op/greater.hpp
op/greater_eq.cpp
op/greater_eq.hpp
op/less.cpp
op/less.hpp
op/less_eq.cpp
op/less_eq.hpp
op/log.cpp
op/log.hpp
op/lrn.cpp
op/lrn.hpp
op/max.cpp
op/max
imum.c
pp
op/max
.h
pp
op/max_pool.cpp
op/max_pool.hpp
op/maximum.cpp
op/maximum.hpp
op/min.cpp
op/min.hpp
op/minimum.cpp
op/minimum.hpp
op/multiply.cpp
op/multiply.hpp
op/negative.cpp
op/negative.hpp
op/not.cpp
op/not.hpp
op/not_equal.cpp
op/not_equal.hpp
op/one_hot.cpp
op/one_hot.hpp
op/op.cpp
op/op.hpp
op/or.cpp
op/or.hpp
op/pad.cpp
op/pad.hpp
op/parameter.cpp
op/parameter.hpp
op/passthrough.cpp
op/passthrough.hpp
op/power.cpp
op/power.hpp
op/product.cpp
op/product.hpp
op/quantize.cpp
op/quantize.hpp
op/relu.cpp
op/relu.hpp
op/replace_slice.cpp
op/replace_slice.hpp
op/reshape.cpp
op/reshape.hpp
op/result.cpp
op/result.hpp
op/reverse.cpp
op/reverse.hpp
op/reverse_sequence.cpp
op/reverse_sequence.hpp
op/select.cpp
op/select.hpp
op/sigmoid.cpp
op/sigmoid.hpp
op/sign.cpp
op/sign.hpp
op/sin.cpp
op/sin.hpp
op/sinh.cpp
op/sinh.hpp
op/slice.cpp
op/slice.hpp
op/softmax.cpp
op/softmax.hpp
op/sqrt.cpp
op/sqrt.hpp
op/stop_gradient.cpp
op/stop_gradient.hpp
op/subtract.cpp
op/subtract.hpp
op/sum.cpp
op/sum.hpp
op/tan.cpp
op/tan.hpp
op/tanh.cpp
op/tanh.hpp
op/topk.cpp
op/topk.hpp
op/util/arithmetic_reduction.cpp
op/util/arithmetic_reduction.hpp
op/util/binary_elementwise_arithmetic.cpp
op/util/binary_elementwise_arithmetic.hpp
op/util/binary_elementwise_comparison.cpp
op/util/binary_elementwise_comparison.hpp
op/util/binary_elementwise_logical.cpp
op/util/binary_elementwise_logical.hpp
op/util/index_reduction.cpp
op/util/index_reduction.hpp
op/util/logical_reduction.cpp
op/util/logical_reduction.hpp
op/util/unary_elementwise_arithmetic.cpp
op/util/unary_elementwise_arithmetic.hpp
parameter_vector.hpp
partial_shape.cpp
partial_shape.hpp
pass/algebraic_simplification.cpp
pass/algebraic_simplification.hpp
pass/assign_layout.hpp
pass/common_function_collection.cpp
pass/common_function_collection.hpp
pass/constant_folding.cpp
pass/constant_folding.hpp
pass/core_fusion.cpp
pass/core_fusion.hpp
pass/cse.cpp
pass/cse.hpp
pass/dump_sorted.cpp
pass/dump_sorted.hpp
pass/get_output_element_elimination.cpp
pass/get_output_element_elimination.hpp
pass/graph_rewrite.cpp
pass/graph_rewrite.hpp
pass/like_replacement.cpp
pass/like_replacement.hpp
pass/liveness.cpp
pass/liveness.hpp
pass/manager.cpp
pass/manager.hpp
pass/manager_state.cpp
pass/manager_state.hpp
pass/memory_layout.cpp
pass/memory_layout.hpp
pass/memory_visualize.cpp
pass/memory_visualize.hpp
pass/nop_elimination.cpp
pass/nop_elimination.hpp
pass/pass.cpp
pass/pass.hpp
pass/pass_config.cpp
pass/pass_config.hpp
pass/prefix_reshape_elimination.cpp
pass/prefix_reshape_elimination.hpp
pass/propagate_cacheability.cpp
pass/propagate_cacheability.hpp
pass/reshape_elimination.cpp
pass/reshape_elimination.hpp
pass/reshape_sinking.cpp
pass/zero_dim_tensor_elimination.cpp
pass/reshape_sinking.hpp
pass/serialize.cpp
pass/serialize.hpp
pass/validate_graph.cpp
pass/validate_graph.hpp
pass/visualize_tree.cpp
pass/
core_fusion.c
pp
pass/
serialize
.cpp
pass/
visualize_tree.h
pp
pass/
zero_dim_tensor_elimination
.cpp
pass/zero_dim_tensor_elimination.cpp
pass/zero_dim_tensor_elimination.hpp
pass/zero_dim_tensor_elimination.hpp
pattern/matcher.cpp
pattern/matcher.hpp
pattern/op/any.hpp
pattern/op/any_of.hpp
pattern/op/label.hpp
pattern/op/pattern.hpp
pattern/op/skip.hpp
placement.cpp
placement.hpp
rank.hpp
result_vector.hpp
runtime/aligned_buffer.cpp
runtime/aligned_buffer.hpp
runtime/backend.cpp
runtime/backend.hpp
runtime/backend_manager.cpp
runtime/backend_manager.hpp
runtime/executable.cpp
runtime/executable.hpp
runtime/host_tensor.cpp
runtime/host_tensor.hpp
runtime/performance_counter.hpp
runtime/tensor.cpp
runtime/tensor.hpp
serializer.cpp
serializer.hpp
shape.cpp
shape.hpp
shape_util.cpp
shape_util.hpp
state/rng_state.cpp
strides.cpp
strides.hpp
type/bfloat16.cpp
type/element_type.cpp
util.cpp
util.hpp
validation_util.cpp
graph_util.cpp
placement.cpp
cpio.cpp
validation_util.hpp
)
set
(
SRC
${
SRC
}
runtime/hybrid/hybrid_backend.cpp
runtime/hybrid/hybrid_backend.hpp
runtime/hybrid/hybrid_executable.cpp
runtime/hybrid/hybrid_executable.hpp
runtime/hybrid/hybrid_util.cpp
runtime/hybrid/hybrid_util.hpp
runtime/hybrid/op/function_call.cpp
runtime/hybrid/op/function_call.hpp
runtime/hybrid/pass/default_placement.cpp
runtime/hybrid/pass/default_placement.hpp
runtime/hybrid/pass/dump.cpp
runtime/hybrid/pass/dump.hpp
runtime/hybrid/pass/fix_get_output_element.cpp
runtime/hybrid/pass/fix_get_output_element.hpp
runtime/hybrid/pass/liveness.cpp
runtime/hybrid/pass/liveness.hpp
runtime/hybrid/pass/memory_layout.cpp
runtime/hybrid/pass/memory_layout.hpp
)
if
(
NGRAPH_DISTRIBUTED_ENABLE
)
list
(
APPEND SRC distributed.cpp
)
list
(
APPEND SRC distributed.cpp
distributed.hpp
)
endif
()
configure_file
(
version.in.hpp version.hpp
)
...
...
src/ngraph/runtime/hybrid/op/function_call.cpp
View file @
75e15617
...
...
@@ -25,7 +25,7 @@ runtime::hybrid::op::FunctionCall::FunctionCall(const NodeVector& outputs,
shared_ptr
<
Function
>
function
,
shared_ptr
<
Backend
>
backend
)
:
Op
(
"FunctionCall"
,
inputs
)
,
m_outputs
{
outputs
}
,
m_
function_
outputs
{
outputs
}
,
m_function
{
function
}
,
m_backend
{
backend
}
,
m_executable
{
backend
->
compile
(
function
)}
...
...
@@ -40,7 +40,7 @@ runtime::hybrid::op::FunctionCall::FunctionCall(const NodeVector& outputs,
shared_ptr
<
Node
>
runtime
::
hybrid
::
op
::
FunctionCall
::
copy_with_new_args
(
const
NodeVector
&
new_args
)
const
{
return
make_shared
<
FunctionCall
>
(
m_outputs
,
new_args
,
m_function
,
m_backend
);
return
make_shared
<
FunctionCall
>
(
m_
function_
outputs
,
new_args
,
m_function
,
m_backend
);
}
shared_ptr
<
runtime
::
Backend
>
runtime
::
hybrid
::
op
::
FunctionCall
::
get_backend
()
const
...
...
src/ngraph/runtime/hybrid/op/function_call.hpp
View file @
75e15617
...
...
@@ -48,7 +48,7 @@ public:
private
:
std
::
shared_ptr
<
Node
>
copy_with_new_args
(
const
NodeVector
&
new_args
)
const
override
;
const
NodeVector
m_outputs
;
const
NodeVector
m_
function_
outputs
;
std
::
shared_ptr
<
Function
>
m_function
;
std
::
shared_ptr
<
Backend
>
m_backend
;
std
::
shared_ptr
<
Executable
>
m_executable
;
...
...
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