Skip to content
Commit cec855af authored by Joachim Jenke's avatar Joachim Jenke
Browse files

[OpenMP][OMPT] Fix ompt_get_task_memory implementation

Since td_allow_completion_event is a member of the taskdata struct, not all
firstprivate/shared variables are stored at the end of the task memory
allocation. Simply report the whole allocation instead.

Furthermore, the function should always return 0 since in no case there is
another block to report.

Differential Review: https://reviews.llvm.org/D158080
parent 183f49c3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment