search for: device_triples

Displaying 1 result from an estimated 1 matches for "device_triples".

2018 Apr 25
2
[LLVM][RFC] Representing the target device information in the LLVM IR
...one or more devices. const std::string &getTargetDevices() const { return TargetDevices; } /// set the target device information. void setTargetDevices(StringRef T) { TargetDevices = T; } IR Dump (the extension indicated in red font) target triple = "x86_64-unknown-linux-gnu" target device_triples = "x86_64-mic,i386-pc-linux-gnu" ======== Summary: ======== We propose a new module-level attribute to represent the target device information embedded in the LLVM IR. The change is simple and straightforward. The patch is uploaded with this RFC for code review. https://reviews.llvm.org/...