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
8436249a
Commit
8436249a
authored
Jan 25, 2019
by
Sergey Shalnov
Committed by
Robert Kimball
Jan 25, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
IntelGPU backend: Product operation fix (#2356)
parent
0241f1fd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
intelgpu_op_broadcast.cpp
src/ngraph/runtime/intelgpu/intelgpu_op_broadcast.cpp
+7
-4
unit_test.manifest
src/ngraph/runtime/intelgpu/unit_test.manifest
+0
-3
No files found.
src/ngraph/runtime/intelgpu/intelgpu_op_broadcast.cpp
View file @
8436249a
...
...
@@ -273,9 +273,12 @@ void runtime::intelgpu::do_product_operation(cldnn::topology& topology,
const
size_t
input_size
=
shape_size
<
Shape
>
(
input_shape
);
codegen
::
CodeWriter
writer
;
writer
<<
"__kernel void "
<<
function_name
<<
"(const __global float input"
<<
array_dims
(
input_shape
)
<<
", __global float output"
<<
array_dims
(
output_shape
)
<<
")
\n
"
;
runtime
::
intelgpu
::
gen_func_def
(
writer
,
function_name
,
{
get_opencl_type_name
(
output_type
)},
{
input_shape
},
get_opencl_type_name
(
output_type
),
output_shape
);
writer
.
block_begin
();
{
...
...
@@ -309,7 +312,7 @@ void runtime::intelgpu::do_product_operation(cldnn::topology& topology,
++
var_idx
;
}
writer
<<
"output"
<<
access_dims
(
input_shape
,
"i"
,
axis
)
<<
" *= input"
writer
<<
"output"
<<
access_dims
(
input_shape
,
"i"
,
axis
)
<<
" *= input
0
"
<<
access_dims
(
input_shape
)
<<
";
\n
"
;
// Closing brackets for loop
...
...
src/ngraph/runtime/intelgpu/unit_test.manifest
View file @
8436249a
...
...
@@ -135,9 +135,6 @@ sum_stable_acc
sum_stable_acc_double
sum_stable_simple_double
sum_trivial_in_double
product_2d_to_scalar_int32
product_to_scalar_int32
product_to_scalar_int8
max_matrix_rows_zero_int32
max_to_scalar_int8
min_to_scalar_int8
...
...
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