Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
THAPI
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
4
Issues
4
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
HeteroFlow
THAPI
Commits
7340997c
Commit
7340997c
authored
Dec 16, 2020
by
Thomas Applencourt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Only count real memorytransfer
parent
9ff6142c
Pipeline
#12178
failed with stage
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
opencl/clprof_callbacks.cpp.erb
opencl/clprof_callbacks.cpp.erb
+2
-1
No files found.
opencl/clprof_callbacks.cpp.erb
View file @
7340997c
...
...
@@ -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