[clang] [clang-repl] Emit an AMDGPU object for the HIP device module (PR #234498)
Aditya Sinha via cfe-commits
cfe-commits at lists.llvm.org
Thu Oct 22 02:02:36 PDT 2026
================
@@ -56,6 +56,13 @@ class IncrementalHIPDeviceParser : public IncrementalDeviceParser {
llvm::Error GenerateOffloadBinary() override;
~IncrementalHIPDeviceParser() override;
+
+private:
+ // Generate the AMDGPU object file for the last PTU.
+ llvm::Expected<llvm::StringRef> GenerateDeviceObject();
+
+ CompilerInstance &DeviceCI;
+ llvm::SmallVector<char, 0> ObjectContent;
----------------
AdityaSinha149 wrote:
makes sense, did the change.
https://github.com/llvm/llvm-project/pull/234498
More information about the cfe-commits
mailing list