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
a8996ebf
Commit
a8996ebf
authored
Feb 22, 2021
by
Thomas Applencourt
Browse files
Fix unused variable
parent
8a8dd3e4
Pipeline
#12630
failed with stage
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
opencl/clinterval_callbacks.cpp.erb
View file @
a8996ebf
...
...
@@ -284,9 +284,9 @@ static void clinterval_<%= dbt_event.name %>_callback(
} else {
const thread_id_t thread_id = borrow_thread_id(bt_evt);
const auto [function_name, ts] = state->profiled_function_name_and_ts[hpt_t(hostname,process_id,thread_id)];
const auto [device,subdevice] = state->function_name_to_dsd[hpt_function_name_t(hostname,process_id,thread_id, function_name)];
const hp_device_t hp_device{hostname, process_id, device};
//const auto [device,subdevice] = state->function_name_to_dsd[hpt_function_name_t(hostname,process_id,thread_id, function_name)];
//const hp_device_t hp_device{hostname, process_id, device};
//const uint64_t start_event = state->device_ts_to_llng_ts.count(hp_device) ? state->device_ts_to_llng_ts[hp_device] + start: ts + (start - queued);
const uint64_t start_event = ts + (start - queued);
...
...
ze/zeinterval_callbacks.cpp.erb
View file @
a8996ebf
...
...
@@ -276,11 +276,12 @@ static void zeinterval_<%= dbt_event.uuid %>_callback(
const thread_id_t thread_id = borrow_thread_id(bt_evt);
const auto [function_name, ts] = state->profiled_function_name_and_ts[hpt_t(hostname,process_id,thread_id)];
const auto [device,subdevice] = state->function_name_to_dsd[hpt_function_name_t(hostname,process_id,thread_id, function_name)];
(void) subdevice;
const hp_device_t hp_device{hostname, process_id, device};
//const uint64_t start_event = state->device_ts_to_llng_ts.count(hp_device) ? state->device_ts_to_llng_ts[hp_device] + start: ts + (start - queued);
const uint64_t start = ts + (globalStart - contextStart);
const uint64_t delta = born_timing_to_ns(state, hp_device
_t(hostname,process_id, device)
,contextStart,contextEnd);
const uint64_t delta = born_timing_to_ns(state, hp_device,
contextStart,contextEnd);
state->event_result_to_start_and_delta[hp_event] = sd_t(start,delta);
state->event_to_function_name_and_ts[hp_event] = tfn_ts_t(thread_id, function_name,ts);
}
...
...
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