Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
HeteroFlow
THAPI
Commits
554a9653
Commit
554a9653
authored
Dec 15, 2020
by
Brice Videau
Browse files
Merge branch 'path-3' into 'master'
Only count real memorytransfer See merge request
!5
parents
9ff6142c
7340997c
Pipeline
#12179
failed with stage
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
opencl/clprof_callbacks.cpp.erb
View file @
554a9653
...
...
@@ -66,7 +66,8 @@ static void clprof_<%= dbt_event.name %>_callback(
/
%>
<%
if
(
dbt_event
.
name
.
include?
(
"clEnqueue"
)
or
dbt_event
.
name
.
include?
(
"Alloc"
)
)
and
dbt_event
.
fields
.
key?
(
"size"
)
%>
<%# To do handle Alloc and cl_mem_host_ptr %>
<%
if
dbt_event
.
name
.
include?
(
"clEnqueue"
)
and
dbt_event
.
fields
.
key?
(
"size"
)
%>
memory_trafic[hpt_function_name_t(hostname,process_id, thread_id, "
<%=
dbt_event
.
name_striped
%>
")].delta(size);
<%
end
%>
...
...
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