[HIP] Add option -fgpu-inline-threshold
authorYaxun (Sam) Liu <yaxun.liu@amd.com>
Wed, 21 Apr 2021 18:34:37 +0000 (14:34 -0400)
committerYaxun (Sam) Liu <yaxun.liu@amd.com>
Wed, 21 Apr 2021 21:18:18 +0000 (17:18 -0400)
commit5a2d78b1639738fbde85248413c1cfd2df55683a
tree54ec37c44ccd7e541cecf07e4c18f31651ccb3b2
parentac8b71227cb87af90e87a244e04e384618d965ed
[HIP] Add option -fgpu-inline-threshold

Add option -fgpu-inline-threshold for inline threshold for device compilation only.

Reviewed by: Artem Belevich

Differential Revision: https://reviews.llvm.org/D99233
clang/include/clang/Driver/Options.td
clang/lib/Driver/ToolChains/Clang.cpp
clang/test/Driver/hip-options.hip