Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
That is a lot of code to throw away, very nice. Will take a closer look at the details shortly
openmp/libomptarget/plugins/amdgpu/impl/atmi_runtime.h | ||
---|---|---|
12 | Maybe "hsa_ext_amd.h" to match the above "hsa.h". We're not consistent with this across the library, which is probably worse than using <> everywhere and worse than using "" everywhere. I can't think of a compelling reason why the system search paths should be preferred for hsa, so would lean towards using "" everywhere |
openmp/libomptarget/plugins/amdgpu/impl/data.cpp | ||
---|---|---|
26 | removing this switch gets rid of the last build warning I see locally |
This works for me when running locally. The reduction in code is excellent but somewhere past what I can review efficiently. Thank you for periodically rebasing on main.
openmp/libomptarget/plugins/amdgpu/impl/data.cpp | ||
---|---|---|
24 | Debug build is broken here: data.cpp:24:41: error: use of undeclared identifier 'DeviceId' DEBUG_PRINT("Malloced [CPU %d] %p\n", DeviceId, *ptr); ^ |
openmp/libomptarget/plugins/amdgpu/impl/data.cpp | ||
---|---|---|
24 | Thanks for reporting! Simple fix at ba8547775b0c83ea. Something of a reminder that the files under impl are still using a different debug print mechanism to rtl.cpp. @pushpinder we should delete the DEBUG_PRINT statements where reasonable and convert the survivors to the DP() macro. |
clang-tidy: warning: invalid case style for variable 'ret' [readability-identifier-naming]
not useful