Closed JaeseungYeom closed 5 months ago
Will need to find a way not to explicitly pass the perf handle. Profiling should avoid adding extra overhead as much as possible however small that will be.
I had to change perf_handle
to self->perf_handle
in line 812 of src/dyad/dtl/ucx_dtl.c
to build.
@JaeseungYeom so currently DYAD ctx is user facing as well as internal stuff. We should segregate that and pass it on all functions. This will keep our internal apis very flexible.
The way we do signature for logging and profiling it is not very easy to extend. I feel we should have an internal ctx to functions and pass it to all functions. Including logging and profiling
@ilumsden Please check if everything is in order. I intentionally left out Caliper enabling cmake flag and CI test to reduce conflict. However, you can still add it locally and test. The CI currently is not working, which I have been seeing recently. That could be another issue to track down.
The way we do signature for logging and profiling it is not very easy to extend. I feel we should have an internal ctx to functions and pass it to all functions. Including logging and profiling
We can discuss this All those user facing options are directly used by the runtime. But there will be things that are used by the runtime while not being visible to users.
@hariharan-devarajan is working on fixing the bug in module's argparse.
We merged PR #66 which is based the squashed version of this PR but lacking Caliper instrumentation. We will integrate Caliper in a separate PR.
PR #58 has been diverged from the main branch due to recent CMake-based refactoring as well as file locking and reinitialization features.
This PR is to resolve the merge conflicts.