Skip to content
This repository was archived by the owner on Jun 5, 2023. It is now read-only.

Commit 10dfc24

Browse files
authored
Update HIP-porting-guide.rst
1 parent a175349 commit 10dfc24

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

Programming_Guides/HIP-porting-guide.rst

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -354,20 +354,23 @@ Compiler Defines: Summary
354354
| HIP-related | | | |
355355
| defines: | | | |
356356
+-----------------+-----------------+-----------------+-----------------+
357-
| ``__HIP_P | Defined | Undefined | Defined if |
358-
| LATFORM_HCC__`` | | | targeting AMD |
359-
| | | | platform; |
357+
| ``__HIP_ | | | |
358+
|PLATFORM_HCC__`` | Defined | Undefined | Defined if |
359+
| | | targeting AMD |platform; |
360360
| | | | undefined |
361361
| | | | otherwise |
362362
+-----------------+-----------------+-----------------+-----------------+
363-
| ``__HIP_PL | Undefined | Defined | Defined if |
364-
| ATFORM_NVCC__`` | | | targeting nvcc |
363+
| ``__HIP_ | | | |
364+
|PLATFORM_NVCC__``| Undefined | Defined | Defined if |
365+
| | | | targeting nvcc |
365366
| | | | platform; |
366367
| | | | undefined |
367368
| | | | otherwise |
368369
+-----------------+-----------------+-----------------+-----------------+
369-
| ``__HIP_DEV | 1 if compiling | 1 if compiling | Undefined |
370-
| ICE_COMPILE__`` | for device; | for device; | |
370+
| `` | | | |
371+
|__HIP_DEVICE | | | |
372+
|_COMPILE__`` | 1 if compiling | 1 if compiling | Undefined |
373+
| | for device; | for device; | |
371374
| | undefined if | undefined if | |
372375
| | compiling for | compiling for | |
373376
| | host | host | |

0 commit comments

Comments
 (0)