aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/ProfileData/Coverage/CoverageMapping.cpp
diff options
context:
space:
mode:
authorJoseph Huber <jhuber6@vols.utk.edu>2022-06-10 09:37:21 -0400
committerJoseph Huber <jhuber6@vols.utk.edu>2022-07-21 13:20:06 -0400
commite01ce4e88a8443993afb19f64b2811d50dca65aa (patch)
treed8fca4150c1b7700e5cb950fc8a4e155615975fc /llvm/lib/ProfileData/Coverage/CoverageMapping.cpp
parentfbcb1ee7f3648c0b3f326db32a7ae0772b962e06 (diff)
downloadllvm-e01ce4e88a8443993afb19f64b2811d50dca65aa.zip
llvm-e01ce4e88a8443993afb19f64b2811d50dca65aa.tar.gz
llvm-e01ce4e88a8443993afb19f64b2811d50dca65aa.tar.bz2
[Libomptarget] Add checks for CUDA subarchitecture using new info
This patch extends the `is_valid_binary` routine to also check if the binary's architecture string matches the one parsed from the runtime. This should allow us to only use the binary whose compute capability matches, allowing us to support basic multi-architecture binaries for CUDA. Depends on D127432 Reviewed By: jdoerfert Differential Revision: https://reviews.llvm.org/D127505
Diffstat (limited to 'llvm/lib/ProfileData/Coverage/CoverageMapping.cpp')
0 files changed, 0 insertions, 0 deletions