[Openmp-commits] [openmp] [OpenMP] Enable automatic unified shared memory on MI300A. (PR #77512)

Joseph Huber via Openmp-commits openmp-commits at lists.llvm.org
Thu Jan 11 11:02:44 PST 2024


================
@@ -183,6 +183,29 @@ Error asyncMemCopy(bool UseMultipleSdmaEngines, void *Dst, hsa_agent_t DstAgent,
 #endif
 }
 
+Expected<StringRef> getTargetTripleAndFeatures(hsa_agent_t Agent) {
----------------
jhuber6 wrote:

Don't think this can be a `StringRef`, as it's referencing the string in `llvm::SmallVector<char> ISAName(Length);` which goes out of scope. 

https://github.com/llvm/llvm-project/pull/77512


More information about the Openmp-commits mailing list