[libomptarget][nfc] Accept callable for hsa iterate_symbols
Candidate refactor to simplify D102692
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Looks good. My opinion is that we should keep these wrappers in a separate file, but that could be a later patch.
Agreed, got stuck on picking a name and decided it was more important to get the diff up quickly.
There are a few things being considered for hsa:
- easier API via C++ wrapper
- wrapping calls in optional profiling collection
- dlopen hsa instead of link, for building llvm on systems without hsa installed
They're all somewhat related. I haven't put enough thought into the design space yet.
clang-tidy: error: 'gelf.h' file not found [clang-diagnostic-error]
not useful