Displaying 1 result from an estimated 1 matches for "targetdevices".
2018 Apr 25
2
[LLVM][RFC] Representing the target device information in the LLVM IR
...nconsistency between host and target part(s) of the program!
Change Made
==========
We proposed 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"
=...