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
41f0ccf0
Commit
41f0ccf0
authored
Mar 02, 2018
by
fenglei.tian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix bug for cumemdopyDtD usage in gpu_external_function.cpp
parent
7042165a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
gpu_external_function.cpp
src/ngraph/runtime/gpu/gpu_external_function.cpp
+2
-2
No files found.
src/ngraph/runtime/gpu/gpu_external_function.cpp
View file @
41f0ccf0
...
@@ -571,7 +571,7 @@ using namespace std;
...
@@ -571,7 +571,7 @@ using namespace std;
writer
<<
"runtime::gpu::cuda_memcpyDtD(reinterpret_cast<"
writer
<<
"runtime::gpu::cuda_memcpyDtD(reinterpret_cast<"
<<
et
.
c_type_string
()
<<
"*>(outputs["
<<
output_index
<<
"]), "
<<
et
.
c_type_string
()
<<
"*>(outputs["
<<
output_index
<<
"]), "
<<
m_variable_name_map
[
ptv
->
get_tensor
().
get_name
()]
<<
", "
<<
m_variable_name_map
[
ptv
->
get_tensor
().
get_name
()]
<<
", "
<<
ptv
->
get_tensor
().
size
()
<<
"
,1
);
\n
"
;
<<
ptv
->
get_tensor
().
size
()
<<
");
\n
"
;
break
;
break
;
}
}
}
}
...
@@ -721,7 +721,7 @@ void runtime::gpu::GPU_ExternalFunction::handle_output_alias(
...
@@ -721,7 +721,7 @@ void runtime::gpu::GPU_ExternalFunction::handle_output_alias(
{
{
writer
<<
"runtime::gpu::cuda_memcpyDtD(static_cast<void*>(outputs["
writer
<<
"runtime::gpu::cuda_memcpyDtD(static_cast<void*>(outputs["
<<
outputs
[
i
]
<<
"]), static_cast<void*>(outputs["
<<
outputs
[
0
]
<<
outputs
[
i
]
<<
"]), static_cast<void*>(outputs["
<<
outputs
[
0
]
<<
"]), "
<<
otv
->
get_tensor
().
size
()
<<
"
,1
);
\n
"
;
<<
"]), "
<<
otv
->
get_tensor
().
size
()
<<
");
\n
"
;
}
}
writer
.
indent
--
;
writer
.
indent
--
;
writer
<<
"}
\n
"
;
writer
<<
"}
\n
"
;
...
...
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