Skip to content

Commit

Permalink
Update hip_programming_guide.md
Browse files Browse the repository at this point in the history
  • Loading branch information
yxsamliu authored Jan 31, 2019
1 parent 56f7889 commit c0d7a7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/markdown/hip_programming_guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,4 +113,4 @@ 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-Cang 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.
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.

0 comments on commit c0d7a7e

Please sign in to comment.