Only use ompt_ functions when testing OMPT in api_calls testcase.
Add size parameter to print_list.
Fix small bug in implementation of ompt_get_partition_place_nums(): return correct length.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
runtime/test/ompt/misc/api_calls.c | ||
---|---|---|
67 ↗ | (On Diff #130111) | It looks like it should also check {omp,ompt}_get_partition_place_nums(). |
runtime/test/ompt/misc/api_calls.c | ||
---|---|---|
2 ↗ | (On Diff #130111) | Is it limited to Linux due to sched_getcpu() usage? On Windows you could use GetCurrentProcessorNumberEx(). |
Comment Actions
Check ompt_get_partition_place_nums().
Fix small bug in implementation of ompt_get_partition_place_nums(): return correct length.
runtime/test/ompt/misc/api_calls.c | ||
---|---|---|
2 ↗ | (On Diff #130111) | Yes, that is the reason. We're currently not testing under Windows but I will look into it. |