Add documentation for the debugging features in the OpenMP device
runtime library.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Unrelated: We should provide two sets of functions so that users can benefit from the same compile-time + runtime selection logic.
- enter/exit functions, like above. In C++ we can even have a RAII
- a generic "llvm_omp_is_debug_enabled(bit)" function that evaluates at compile time if the command line flag was not set.
openmp/docs/design/Runtimes.rst | ||
---|---|---|
432 | Make it explicit that both options (compile time and env var) need to be set. So only the bits set in both will actually be enabled. | |
435 | We still need to find a way such that the number goes first, I always miss it online. |
Make it explicit that both options (compile time and env var) need to be set. So only the bits set in both will actually be enabled.