diff options
| author | jsmall-nvidia <jsmall@nvidia.com> | 2021-05-14 16:59:35 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-05-14 16:59:35 -0400 |
| commit | 12bcc039c2a2c0c69486b670503a7437931d73e4 (patch) | |
| tree | 5e447359944d492d29b18c3c2f702c7fddeae269 /docs/target-compatibility.md | |
| parent | a2725fd03febf32051811af2fa50fd0de3b61dde (diff) | |
CUDA half RWTexture write support/doc improvements (#1839)
* #include an absolute path didn't work - because paths were taken to always be relative.
* Fix for writing to RWTexture with half types on CUDA.
* CUDA half functionality doc updates.
Diffstat (limited to 'docs/target-compatibility.md')
| -rw-r--r-- | docs/target-compatibility.md | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/target-compatibility.md b/docs/target-compatibility.md index 127d111e6..54d7bf997 100644 --- a/docs/target-compatibility.md +++ b/docs/target-compatibility.md @@ -10,7 +10,7 @@ Items with ^ means there is some discussion about support later in the document | Feature | D3D11 | D3D12 | VK | CUDA | CPU |-----------------------------|--------------|--------------|------------|---------------|--------------- -| Half Type | No | Yes | Yes | No + | No + +| Half Type | No | Yes | Yes | Yes ^ | No + | Double Type | Yes | Yes | Yes | Yes | Yes | Double Intrinsics | No | Limited + | Limited | Most | Yes | u/int64_t Type | No | Yes ^ | Yes | Yes | Yes @@ -46,6 +46,8 @@ Items with ^ means there is some discussion about support later in the document There appears to be a problem writing to a StructuredBuffer containing half on D3D12. D3D12 also appears to have problems doing calculations with half. +In order for half to work in CUDA, NVRTC must be able to include `cuda_fp16.h` and related files. Please read the [CUDA target documentation](cuda-target.md) for more details. + ## u/int64_t Type Requires SM6.0 which requires DXIL for D3D12. Therefore not available with DXBC on D3D11 or D3D12. |
