Commit 7340997c authored by Thomas Applencourt's avatar Thomas Applencourt

Only count real memorytransfer

parent 9ff6142c
Pipeline #12178 failed with stage
......@@ -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 %>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment