search for: settargetdevices

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

Did you mean: gettargetdevices
2018 Apr 25
2
[LLVM][RFC] Representing the target device information in the LLVM IR
...sed new module level attribute to represent target device information. /// Get the target device information, which is a comma-separated string /// describing 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...