Merge pull request #819 from stanleytsang-amd/master

Improvements to hipify-perl and HIP porting guide for HIP_SYMBOL
Este cometimento está contido em:
Maneesh Gupta criou e GitHub cometeu 2019-02-07 05:55:15 +05:30
2 ascendentes a9c41b7a74 ca56b81ebf
cometimento 09f0e9a9c2
2 ficheiros modificados
+6 -3

Não existem ficheiros que correspondam à sua pesquisa

+2
Ver ficheiro
@@ -418,6 +418,8 @@ HIP support for hipMemcpyToSymbol is complete. This feature allows a kernel
to define a device-side data symbol which can be accessed on the host side. The symbol
can be in __constant or device space.
Note that the symbol name needs to be encased in the HIP_SYMBOL macro, as shown in the code example below. This also applies to hipMemcpyFromSymbol, hipGetSymbolAddress, and hipGetSymbolSize.
For example:
Device Code: