aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/TextAPI/TextStubCommon.cpp
diff options
context:
space:
mode:
authorFabian Mora <fmora.dev@gmail.com>2023-09-07 07:44:41 -0400
committerGitHub <noreply@github.com>2023-09-07 07:44:41 -0400
commitc16adb0dcb1fb64c16d406e02f73242d0cd247e5 (patch)
tree04f6acda1ac2e4f9f45a8e82f6d622ed80b94ba3 /llvm/lib/TextAPI/TextStubCommon.cpp
parent43c20367f417410a736959d4ae53f374e0d5b500 (diff)
downloadllvm-c16adb0dcb1fb64c16d406e02f73242d0cd247e5.zip
llvm-c16adb0dcb1fb64c16d406e02f73242d0cd247e5.tar.gz
llvm-c16adb0dcb1fb64c16d406e02f73242d0cd247e5.tar.bz2
[mlir][Target][NVPTX] Add fatbin support to NVPTX compilation. (#65398)
Currently, the NVPTX tool compilation path only calls `ptxas`; thus, the GPU running the binary must be an exact match of the arch of the target, or else the runtime throws an error due to the arch mismatch. This patch adds a call to `fatbinary`, creating a fat binary with the cubin object and the PTX code, allowing the driver to JIT the PTX at runtime if there's an arch mismatch.
Diffstat (limited to 'llvm/lib/TextAPI/TextStubCommon.cpp')
0 files changed, 0 insertions, 0 deletions