aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-objdump/llvm-objdump.cpp
diff options
context:
space:
mode:
authorYaxun (Sam) Liu <yaxun.liu@amd.com>2022-02-21 20:16:04 -0500
committerYaxun (Sam) Liu <yaxun.liu@amd.com>2022-02-23 22:28:29 -0500
commit9d899d8f01872e91b9909a6ee5937a796a399276 (patch)
tree931251413b16294d593af97ec133cf269eeeb580 /llvm/tools/llvm-objdump/llvm-objdump.cpp
parentb01430a04f191d2191be98568d721c8f111d9b71 (diff)
downloadllvm-9d899d8f01872e91b9909a6ee5937a796a399276.zip
llvm-9d899d8f01872e91b9909a6ee5937a796a399276.tar.gz
llvm-9d899d8f01872e91b9909a6ee5937a796a399276.tar.bz2
[HIP] Support `-fgpu-default-stream`
Introduce -fgpu-default-stream={legacy|per-thread} option to support per-thread default stream for HIP runtime. When -fgpu-default-stream=per-thread, HIP kernels are launched through hipLaunchKernel_spt instead of hipLaunchKernel. Also HIP_API_PER_THREAD_DEFAULT_STREAM=1 is defined by the preprocessor to enable other per-thread stream API's. Reviewed by: Artem Belevich Differential Revision: https://reviews.llvm.org/D120298
Diffstat (limited to 'llvm/tools/llvm-objdump/llvm-objdump.cpp')
0 files changed, 0 insertions, 0 deletions