Add documentation for supported clang options (#1065)

* Add documentation for supported clang options

* Fix typo


[ROCm/hip commit: 669d177079]
This commit is contained in:
Yaxun (Sam) Liu
2019-05-07 06:29:40 -04:00
committed by Maneesh Gupta
parent 236834c679
commit 6f69a5d16e
4 changed files with 1289 additions and 0 deletions
@@ -114,3 +114,5 @@ allocated.
## Use of Long Double Type
In HCC and HIP-Clang, long double type is 80-bit extended precision format for x86_64, which is not supported by AMDGPU. HCC and HIP-Clang treat long double type as IEEE double type for AMDGPU. Using long double type in HIP source code will not cause issue as long as data of long double type is not transferred between host and device. However, long double type should not be used as kernel argument type.
## [Supported Clang Options](clang_options.md)