aboutsummaryrefslogtreecommitdiff
path: root/flang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorJoseph Huber <jhuber6@vols.utk.edu>2023-08-29 15:57:18 -0500
committerJoseph Huber <jhuber6@vols.utk.edu>2023-08-30 18:34:59 -0500
commitca10bc4f41481d09c5495a01b2432e04580a2d61 (patch)
tree437f84ac9b4cf260ae5a4ab06d1cd19d902fc371 /flang/lib/Frontend/CompilerInvocation.cpp
parentcacdf3b8c44f372a9c6a360e4becb413cc3b75b2 (diff)
downloadllvm-ca10bc4f41481d09c5495a01b2432e04580a2d61.zip
llvm-ca10bc4f41481d09c5495a01b2432e04580a2d61.tar.gz
llvm-ca10bc4f41481d09c5495a01b2432e04580a2d61.tar.bz2
[libc] Implement the 'nanosleep' function on the GPU
The GPU has the ability to sleep for very short periods of time. We can map this to the existing `nanosleep` utility. This patch maps the nanosleep utility to the existing hardware instructions as best as possible. Depends on D159118 Reviewed By: JonChesterfield, sivachandra Differential Revision: https://reviews.llvm.org/D159225
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions