| 1 | #include "llvm/Support/MemoryBuffer.h" |
|---|---|
| 2 | #include "llvm/Support/raw_ostream.h" |
| 3 | #include <OffloadAPI.h> |
| 4 | #include <math.h> |
| 5 | |
| 6 | llvm::StringRef DeviceBinsDirectory = DEVICE_CODE_PATH; |
| 7 | |
| 8 | int main() { llvm::errs() << sin(x: 0.0) << "\n"; } |
| 9 |
| 1 | #include "llvm/Support/MemoryBuffer.h" |
|---|---|
| 2 | #include "llvm/Support/raw_ostream.h" |
| 3 | #include <OffloadAPI.h> |
| 4 | #include <math.h> |
| 5 | |
| 6 | llvm::StringRef DeviceBinsDirectory = DEVICE_CODE_PATH; |
| 7 | |
| 8 | int main() { llvm::errs() << sin(x: 0.0) << "\n"; } |
| 9 |