[Openmp-commits] [PATCH] D108562: [libomptarget][amdgpu] Refactor debug printing
Jon Chesterfield via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Mon Aug 23 08:59:26 PDT 2021
JonChesterfield added inline comments.
================
Comment at: openmp/libomptarget/plugins/amdgpu/src/rtl.cpp:291
if (print_kernel_trace > 0 && err != HSA_STATUS_SUCCESS) {
- printf("rtl.cpp: err %d\n", err);
+ DP("rtl.cpp: err %s\n", get_error_string(err));
}
----------------
Changed a couple of integer prints to the string format in passing
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D108562/new/
https://reviews.llvm.org/D108562
More information about the Openmp-commits
mailing list