[ROCm/hip commit: 2ddade96d7]
Этот коммит содержится в:
pensun
2016-04-20 09:48:52 -05:00
родитель e2327b1b18 8f3bb9f4f7
Коммит b197cb30cb
102 изменённых файлов: 399 добавлений и 377 удалений
+3 -3
Просмотреть файл
@@ -228,8 +228,8 @@ while (@ARGV) {
#--------
#Includes:
$countIncludes += s/(\s*#\s*include\s+)[<"]cuda_runtime\.h[>"]/$1<hip_runtime.h>/;
$countIncludes += s/(\s*#\s*include\s+)[<"]cuda_runtime_api\.h[>"]/$1<hip_runtime_api.h>/;
$countIncludes += s/(\s*#\s*include\s+)[<"]cuda_runtime\.h[>"]/$1<hip\/hip_runtime.h>/;
$countIncludes += s/(\s*#\s*include\s+)[<"]cuda_runtime_api\.h[>"]/$1<hip\/hip_runtime_api.h>/;
#--------
@@ -559,7 +559,7 @@ while (@ARGV) {
# If this file makes kernel builtin calls, and does not include the cuda_runtime.h,
# then add an #include to match "magic" includes provided by NVCC.
# This logic can miss cases where cuda_runtime.h is included by another include file.
print $OUTFILE '#include "hip_runtime.h"' . ($is_dos ? "\r\n" : "\n");
print $OUTFILE '#include "hip/hip_runtime.h"' . ($is_dos ? "\r\n" : "\n");
}
print $OUTFILE "$_";
}
+1 -1
Просмотреть файл
@@ -109,7 +109,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
</div></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sat Apr 16 2016 14:52:10 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Tue Apr 19 2016 22:44:02 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
+1 -1
Просмотреть файл
@@ -112,7 +112,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sat Apr 16 2016 14:52:10 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Tue Apr 19 2016 22:44:02 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
+1 -1
Просмотреть файл
@@ -93,7 +93,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
</div></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sat Apr 16 2016 14:52:10 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Tue Apr 19 2016 22:44:02 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
+1 -1
Просмотреть файл
@@ -96,7 +96,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
</table></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sat Apr 16 2016 14:52:10 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Tue Apr 19 2016 22:44:02 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
+2 -2
Просмотреть файл
@@ -104,12 +104,12 @@ void&#160;</td><td class="memItemRight" valign="bottom"><b>unlock</b> ()</td></t
<tr class="separator:a3e7ff53ca213c09836bd213203537b08"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>/home/mangupta/hip_git/rel0.84.0/include/hcc_detail/<a class="el" href="hip__hcc_8h_source.html">hip_hcc.h</a></li>
<li>/home/mangupta/hip_git/release_0.84.00/include/hcc_detail/<a class="el" href="hip__hcc_8h_source.html">hip_hcc.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sat Apr 16 2016 14:52:10 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Tue Apr 19 2016 22:44:02 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
+1 -1
Просмотреть файл
@@ -97,7 +97,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
</table></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sat Apr 16 2016 14:52:10 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Tue Apr 19 2016 22:44:02 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
+2 -2
Просмотреть файл
@@ -104,12 +104,12 @@ T *&#160;</td><td class="memItemRight" valign="bottom"><b>operator-&gt;</b> ()</
<tr class="separator:a259b55c6511ea098be309e0f51139f5f"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>/home/mangupta/hip_git/rel0.84.0/include/hcc_detail/<a class="el" href="hip__hcc_8h_source.html">hip_hcc.h</a></li>
<li>/home/mangupta/hip_git/release_0.84.00/include/hcc_detail/<a class="el" href="hip__hcc_8h_source.html">hip_hcc.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sat Apr 16 2016 14:52:10 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Tue Apr 19 2016 22:44:02 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
+1 -1
Просмотреть файл
@@ -111,7 +111,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sat Apr 16 2016 14:52:10 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Tue Apr 19 2016 22:44:02 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
+15 -14
Просмотреть файл
@@ -92,23 +92,24 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
<table class="directory">
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>_mutex</b> (defined in <a class="el" href="structLockedBase.html">LockedBase&lt; MUTEX_TYPE &gt;</a>)</td><td class="entry"><a class="el" href="structLockedBase.html">LockedBase&lt; MUTEX_TYPE &gt;</a></td><td class="entry"><span class="mlabel">private</span></td></tr>
<tr bgcolor="#f0f0f0"><td class="entry"><b>addPeer</b>(ihipDevice_t *peer) (defined in <a class="el" href="classihipDeviceCriticalBase__t.html">ihipDeviceCriticalBase_t&lt; MUTEX_TYPE &gt;</a>)</td><td class="entry"><a class="el" href="classihipDeviceCriticalBase__t.html">ihipDeviceCriticalBase_t&lt; MUTEX_TYPE &gt;</a></td><td class="entry"></td></tr>
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>const_streams</b>() const (defined in <a class="el" href="classihipDeviceCriticalBase__t.html">ihipDeviceCriticalBase_t&lt; MUTEX_TYPE &gt;</a>)</td><td class="entry"><a class="el" href="classihipDeviceCriticalBase__t.html">ihipDeviceCriticalBase_t&lt; MUTEX_TYPE &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr bgcolor="#f0f0f0"><td class="entry"><b>ihipDeviceCriticalBase_t</b>() (defined in <a class="el" href="classihipDeviceCriticalBase__t.html">ihipDeviceCriticalBase_t&lt; MUTEX_TYPE &gt;</a>)</td><td class="entry"><a class="el" href="classihipDeviceCriticalBase__t.html">ihipDeviceCriticalBase_t&lt; MUTEX_TYPE &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>incStreamId</b>() (defined in <a class="el" href="classihipDeviceCriticalBase__t.html">ihipDeviceCriticalBase_t&lt; MUTEX_TYPE &gt;</a>)</td><td class="entry"><a class="el" href="classihipDeviceCriticalBase__t.html">ihipDeviceCriticalBase_t&lt; MUTEX_TYPE &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr bgcolor="#f0f0f0"><td class="entry"><b>init</b>(unsigned deviceCnt) (defined in <a class="el" href="classihipDeviceCriticalBase__t.html">ihipDeviceCriticalBase_t&lt; MUTEX_TYPE &gt;</a>)</td><td class="entry"><a class="el" href="classihipDeviceCriticalBase__t.html">ihipDeviceCriticalBase_t&lt; MUTEX_TYPE &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>lock</b>() (defined in <a class="el" href="structLockedBase.html">LockedBase&lt; MUTEX_TYPE &gt;</a>)</td><td class="entry"><a class="el" href="structLockedBase.html">LockedBase&lt; MUTEX_TYPE &gt;</a></td><td class="entry"><span class="mlabel">inline</span><span class="mlabel">private</span></td></tr>
<tr bgcolor="#f0f0f0"><td class="entry"><b>LockedAccessor&lt; ihipDeviceCriticalBase_t &gt;</b> (defined in <a class="el" href="classihipDeviceCriticalBase__t.html">ihipDeviceCriticalBase_t&lt; MUTEX_TYPE &gt;</a>)</td><td class="entry"><a class="el" href="classihipDeviceCriticalBase__t.html">ihipDeviceCriticalBase_t&lt; MUTEX_TYPE &gt;</a></td><td class="entry"><span class="mlabel">friend</span></td></tr>
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>peerAgents</b>() const (defined in <a class="el" href="classihipDeviceCriticalBase__t.html">ihipDeviceCriticalBase_t&lt; MUTEX_TYPE &gt;</a>)</td><td class="entry"><a class="el" href="classihipDeviceCriticalBase__t.html">ihipDeviceCriticalBase_t&lt; MUTEX_TYPE &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr bgcolor="#f0f0f0"><td class="entry"><b>peerCnt</b>() const (defined in <a class="el" href="classihipDeviceCriticalBase__t.html">ihipDeviceCriticalBase_t&lt; MUTEX_TYPE &gt;</a>)</td><td class="entry"><a class="el" href="classihipDeviceCriticalBase__t.html">ihipDeviceCriticalBase_t&lt; MUTEX_TYPE &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>removePeer</b>(ihipDevice_t *peer) (defined in <a class="el" href="classihipDeviceCriticalBase__t.html">ihipDeviceCriticalBase_t&lt; MUTEX_TYPE &gt;</a>)</td><td class="entry"><a class="el" href="classihipDeviceCriticalBase__t.html">ihipDeviceCriticalBase_t&lt; MUTEX_TYPE &gt;</a></td><td class="entry"></td></tr>
<tr bgcolor="#f0f0f0"><td class="entry"><b>resetPeers</b>(ihipDevice_t *thisDevice) (defined in <a class="el" href="classihipDeviceCriticalBase__t.html">ihipDeviceCriticalBase_t&lt; MUTEX_TYPE &gt;</a>)</td><td class="entry"><a class="el" href="classihipDeviceCriticalBase__t.html">ihipDeviceCriticalBase_t&lt; MUTEX_TYPE &gt;</a></td><td class="entry"></td></tr>
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>streams</b>() (defined in <a class="el" href="classihipDeviceCriticalBase__t.html">ihipDeviceCriticalBase_t&lt; MUTEX_TYPE &gt;</a>)</td><td class="entry"><a class="el" href="classihipDeviceCriticalBase__t.html">ihipDeviceCriticalBase_t&lt; MUTEX_TYPE &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr bgcolor="#f0f0f0"><td class="entry"><b>unlock</b>() (defined in <a class="el" href="structLockedBase.html">LockedBase&lt; MUTEX_TYPE &gt;</a>)</td><td class="entry"><a class="el" href="structLockedBase.html">LockedBase&lt; MUTEX_TYPE &gt;</a></td><td class="entry"><span class="mlabel">inline</span><span class="mlabel">private</span></td></tr>
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>~ihipDeviceCriticalBase_t</b>() (defined in <a class="el" href="classihipDeviceCriticalBase__t.html">ihipDeviceCriticalBase_t&lt; MUTEX_TYPE &gt;</a>)</td><td class="entry"><a class="el" href="classihipDeviceCriticalBase__t.html">ihipDeviceCriticalBase_t&lt; MUTEX_TYPE &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>addStream</b>(ihipStream_t *stream) (defined in <a class="el" href="classihipDeviceCriticalBase__t.html">ihipDeviceCriticalBase_t&lt; MUTEX_TYPE &gt;</a>)</td><td class="entry"><a class="el" href="classihipDeviceCriticalBase__t.html">ihipDeviceCriticalBase_t&lt; MUTEX_TYPE &gt;</a></td><td class="entry"></td></tr>
<tr bgcolor="#f0f0f0"><td class="entry"><b>const_streams</b>() const (defined in <a class="el" href="classihipDeviceCriticalBase__t.html">ihipDeviceCriticalBase_t&lt; MUTEX_TYPE &gt;</a>)</td><td class="entry"><a class="el" href="classihipDeviceCriticalBase__t.html">ihipDeviceCriticalBase_t&lt; MUTEX_TYPE &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>ihipDeviceCriticalBase_t</b>() (defined in <a class="el" href="classihipDeviceCriticalBase__t.html">ihipDeviceCriticalBase_t&lt; MUTEX_TYPE &gt;</a>)</td><td class="entry"><a class="el" href="classihipDeviceCriticalBase__t.html">ihipDeviceCriticalBase_t&lt; MUTEX_TYPE &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr bgcolor="#f0f0f0"><td class="entry"><b>incStreamId</b>() (defined in <a class="el" href="classihipDeviceCriticalBase__t.html">ihipDeviceCriticalBase_t&lt; MUTEX_TYPE &gt;</a>)</td><td class="entry"><a class="el" href="classihipDeviceCriticalBase__t.html">ihipDeviceCriticalBase_t&lt; MUTEX_TYPE &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>init</b>(unsigned deviceCnt) (defined in <a class="el" href="classihipDeviceCriticalBase__t.html">ihipDeviceCriticalBase_t&lt; MUTEX_TYPE &gt;</a>)</td><td class="entry"><a class="el" href="classihipDeviceCriticalBase__t.html">ihipDeviceCriticalBase_t&lt; MUTEX_TYPE &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr bgcolor="#f0f0f0"><td class="entry"><b>lock</b>() (defined in <a class="el" href="structLockedBase.html">LockedBase&lt; MUTEX_TYPE &gt;</a>)</td><td class="entry"><a class="el" href="structLockedBase.html">LockedBase&lt; MUTEX_TYPE &gt;</a></td><td class="entry"><span class="mlabel">inline</span><span class="mlabel">private</span></td></tr>
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>LockedAccessor&lt; ihipDeviceCriticalBase_t &gt;</b> (defined in <a class="el" href="classihipDeviceCriticalBase__t.html">ihipDeviceCriticalBase_t&lt; MUTEX_TYPE &gt;</a>)</td><td class="entry"><a class="el" href="classihipDeviceCriticalBase__t.html">ihipDeviceCriticalBase_t&lt; MUTEX_TYPE &gt;</a></td><td class="entry"><span class="mlabel">friend</span></td></tr>
<tr bgcolor="#f0f0f0"><td class="entry"><b>peerAgents</b>() const (defined in <a class="el" href="classihipDeviceCriticalBase__t.html">ihipDeviceCriticalBase_t&lt; MUTEX_TYPE &gt;</a>)</td><td class="entry"><a class="el" href="classihipDeviceCriticalBase__t.html">ihipDeviceCriticalBase_t&lt; MUTEX_TYPE &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>peerCnt</b>() const (defined in <a class="el" href="classihipDeviceCriticalBase__t.html">ihipDeviceCriticalBase_t&lt; MUTEX_TYPE &gt;</a>)</td><td class="entry"><a class="el" href="classihipDeviceCriticalBase__t.html">ihipDeviceCriticalBase_t&lt; MUTEX_TYPE &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr bgcolor="#f0f0f0"><td class="entry"><b>removePeer</b>(ihipDevice_t *peer) (defined in <a class="el" href="classihipDeviceCriticalBase__t.html">ihipDeviceCriticalBase_t&lt; MUTEX_TYPE &gt;</a>)</td><td class="entry"><a class="el" href="classihipDeviceCriticalBase__t.html">ihipDeviceCriticalBase_t&lt; MUTEX_TYPE &gt;</a></td><td class="entry"></td></tr>
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>resetPeers</b>(ihipDevice_t *thisDevice) (defined in <a class="el" href="classihipDeviceCriticalBase__t.html">ihipDeviceCriticalBase_t&lt; MUTEX_TYPE &gt;</a>)</td><td class="entry"><a class="el" href="classihipDeviceCriticalBase__t.html">ihipDeviceCriticalBase_t&lt; MUTEX_TYPE &gt;</a></td><td class="entry"></td></tr>
<tr bgcolor="#f0f0f0"><td class="entry"><b>streams</b>() (defined in <a class="el" href="classihipDeviceCriticalBase__t.html">ihipDeviceCriticalBase_t&lt; MUTEX_TYPE &gt;</a>)</td><td class="entry"><a class="el" href="classihipDeviceCriticalBase__t.html">ihipDeviceCriticalBase_t&lt; MUTEX_TYPE &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>unlock</b>() (defined in <a class="el" href="structLockedBase.html">LockedBase&lt; MUTEX_TYPE &gt;</a>)</td><td class="entry"><a class="el" href="structLockedBase.html">LockedBase&lt; MUTEX_TYPE &gt;</a></td><td class="entry"><span class="mlabel">inline</span><span class="mlabel">private</span></td></tr>
<tr bgcolor="#f0f0f0"><td class="entry"><b>~ihipDeviceCriticalBase_t</b>() (defined in <a class="el" href="classihipDeviceCriticalBase__t.html">ihipDeviceCriticalBase_t&lt; MUTEX_TYPE &gt;</a>)</td><td class="entry"><a class="el" href="classihipDeviceCriticalBase__t.html">ihipDeviceCriticalBase_t&lt; MUTEX_TYPE &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
</table></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sat Apr 16 2016 14:52:10 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Tue Apr 19 2016 22:44:02 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
+5 -2
Просмотреть файл
@@ -124,6 +124,9 @@ bool&#160;</td><td class="memItemRight" valign="bottom"><b>removePeer</b> (<a cl
<tr class="memitem:ac61c7caadf7fb54e608865030b37b7b4"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac61c7caadf7fb54e608865030b37b7b4"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>resetPeers</b> (<a class="el" href="classihipDevice__t.html">ihipDevice_t</a> *thisDevice)</td></tr>
<tr class="separator:ac61c7caadf7fb54e608865030b37b7b4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a23e9048d62af93077858d04cb30f2bdf"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a23e9048d62af93077858d04cb30f2bdf"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>addStream</b> (<a class="el" href="classihipStream__t.html">ihipStream_t</a> *stream)</td></tr>
<tr class="separator:a23e9048d62af93077858d04cb30f2bdf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a46228b012f6c87e981cd19ff8b7a4db1"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a46228b012f6c87e981cd19ff8b7a4db1"></a>
uint32_t&#160;</td><td class="memItemRight" valign="bottom"><b>peerCnt</b> () const </td></tr>
<tr class="separator:a46228b012f6c87e981cd19ff8b7a4db1"><td class="memSeparator" colspan="2">&#160;</td></tr>
@@ -138,12 +141,12 @@ class&#160;</td><td class="memItemRight" valign="bottom"><b>LockedAccessor&lt; i
<tr class="separator:a9dabc44ac42ace176e6f660d9b89a44f"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>/home/mangupta/hip_git/rel0.84.0/include/hcc_detail/<a class="el" href="hip__hcc_8h_source.html">hip_hcc.h</a></li>
<li>/home/mangupta/hip_git/release_0.84.00/include/hcc_detail/<a class="el" href="hip__hcc_8h_source.html">hip_hcc.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sat Apr 16 2016 14:52:10 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Tue Apr 19 2016 22:44:02 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
+1 -1
Просмотреть файл
@@ -110,7 +110,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
</table></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sat Apr 16 2016 14:52:10 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Tue Apr 19 2016 22:44:02 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
+3 -3
Просмотреть файл
@@ -144,13 +144,13 @@ unsigned&#160;</td><td class="memItemRight" valign="bottom"><b>_device_flags</b>
<tr class="separator:a7dcb89dc5509c89866b3569f11799f65"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>/home/mangupta/hip_git/rel0.84.0/include/hcc_detail/<a class="el" href="hip__hcc_8h_source.html">hip_hcc.h</a></li>
<li>/home/mangupta/hip_git/rel0.84.0/src/<a class="el" href="hip__hcc_8cpp.html">hip_hcc.cpp</a></li>
<li>/home/mangupta/hip_git/release_0.84.00/include/hcc_detail/<a class="el" href="hip__hcc_8h_source.html">hip_hcc.h</a></li>
<li>/home/mangupta/hip_git/release_0.84.00/src/<a class="el" href="hip__hcc_8cpp.html">hip_hcc.cpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sat Apr 16 2016 14:52:10 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Tue Apr 19 2016 22:44:02 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
+1 -1
Просмотреть файл
@@ -95,7 +95,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
</table></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sat Apr 16 2016 14:52:10 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Tue Apr 19 2016 22:44:02 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
+2 -2
Просмотреть файл
@@ -113,12 +113,12 @@ Public Attributes</h2></td></tr>
<tr class="separator:a60958e483cb1fec5e8be9c5d46a28337"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>/home/mangupta/hip_git/rel0.84.0/include/hcc_detail/<a class="el" href="hip__hcc_8h_source.html">hip_hcc.h</a></li>
<li>/home/mangupta/hip_git/release_0.84.00/include/hcc_detail/<a class="el" href="hip__hcc_8h_source.html">hip_hcc.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sat Apr 16 2016 14:52:10 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Tue Apr 19 2016 22:44:02 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
+1 -1
Просмотреть файл
@@ -106,7 +106,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
</table></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sat Apr 16 2016 14:52:10 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Tue Apr 19 2016 22:44:02 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
+2 -2
Просмотреть файл
@@ -144,12 +144,12 @@ MUTEX_TYPE&#160;</td><td class="memItemRight" valign="bottom"><b>_mutex</b></td>
<tr class="separator:a9f06ef8dd0ca387f29f4bfce78171ce6 inherit pub_attribs_structLockedBase"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>/home/mangupta/hip_git/rel0.84.0/include/hcc_detail/<a class="el" href="hip__hcc_8h_source.html">hip_hcc.h</a></li>
<li>/home/mangupta/hip_git/release_0.84.00/include/hcc_detail/<a class="el" href="hip__hcc_8h_source.html">hip_hcc.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sat Apr 16 2016 14:52:10 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Tue Apr 19 2016 22:44:02 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
+1 -1
Просмотреть файл
@@ -113,7 +113,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
</table></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sat Apr 16 2016 14:52:10 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Tue Apr 19 2016 22:44:02 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
+3 -3
Просмотреть файл
@@ -164,13 +164,13 @@ std::ostream &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>operato
<tr class="separator:a87ec2e4405353137e645ba1e55f25ff6"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>/home/mangupta/hip_git/rel0.84.0/include/hcc_detail/<a class="el" href="hip__hcc_8h_source.html">hip_hcc.h</a></li>
<li>/home/mangupta/hip_git/rel0.84.0/src/<a class="el" href="hip__hcc_8cpp.html">hip_hcc.cpp</a></li>
<li>/home/mangupta/hip_git/release_0.84.00/include/hcc_detail/<a class="el" href="hip__hcc_8h_source.html">hip_hcc.h</a></li>
<li>/home/mangupta/hip_git/release_0.84.00/src/<a class="el" href="hip__hcc_8cpp.html">hip_hcc.cpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sat Apr 16 2016 14:52:10 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Tue Apr 19 2016 22:44:02 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
+2 -2
Просмотреть файл
@@ -4,7 +4,7 @@
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>HIP: Heterogenous-computing Interface for Portability: /home/mangupta/hip_git/rel0.84.0/src Directory Reference</title>
<title>HIP: Heterogenous-computing Interface for Portability: /home/mangupta/hip_git/release_0.84.00/src Directory Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
@@ -108,7 +108,7 @@ Files</h2></td></tr>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sat Apr 16 2016 14:52:10 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Tue Apr 19 2016 22:44:02 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
+2 -2
Просмотреть файл
@@ -4,7 +4,7 @@
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>HIP: Heterogenous-computing Interface for Portability: /home/mangupta/hip_git/rel0.84.0/include/hcc_detail Directory Reference</title>
<title>HIP: Heterogenous-computing Interface for Portability: /home/mangupta/hip_git/release_0.84.00/include/hcc_detail Directory Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
@@ -115,7 +115,7 @@ Files</h2></td></tr>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sat Apr 16 2016 14:52:10 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Tue Apr 19 2016 22:44:02 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
+2 -2
Просмотреть файл
@@ -4,7 +4,7 @@
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>HIP: Heterogenous-computing Interface for Portability: /home/mangupta/hip_git/rel0.84.0/include Directory Reference</title>
<title>HIP: Heterogenous-computing Interface for Portability: /home/mangupta/hip_git/release_0.84.00/include Directory Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
@@ -105,7 +105,7 @@ Files</h2></td></tr>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sat Apr 16 2016 14:52:10 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Tue Apr 19 2016 22:44:02 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
+1 -1
Просмотреть файл
@@ -111,7 +111,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sat Apr 16 2016 14:52:10 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Tue Apr 19 2016 22:44:02 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
+1 -1
Просмотреть файл
@@ -309,7 +309,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sat Apr 16 2016 14:52:10 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Tue Apr 19 2016 22:44:02 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
+1 -1
Просмотреть файл
@@ -309,7 +309,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sat Apr 16 2016 14:52:10 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Tue Apr 19 2016 22:44:02 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
+1 -1
Просмотреть файл
@@ -385,7 +385,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sat Apr 16 2016 14:52:10 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Tue Apr 19 2016 22:44:02 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
+1 -1
Просмотреть файл
@@ -138,7 +138,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sat Apr 16 2016 14:52:10 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Tue Apr 19 2016 22:44:03 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
+1 -1
Просмотреть файл
@@ -111,7 +111,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sat Apr 16 2016 14:52:10 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Tue Apr 19 2016 22:44:02 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
+1 -1
Просмотреть файл
@@ -138,7 +138,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sat Apr 16 2016 14:52:10 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Tue Apr 19 2016 22:44:02 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
+1 -1
Просмотреть файл
@@ -268,7 +268,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sat Apr 16 2016 14:52:10 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Tue Apr 19 2016 22:44:02 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
+1 -1
Просмотреть файл
@@ -108,7 +108,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sat Apr 16 2016 14:52:10 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Tue Apr 19 2016 22:44:02 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
+1 -1
Просмотреть файл
@@ -110,7 +110,7 @@ Modules</h2></td></tr>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sat Apr 16 2016 14:52:10 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Tue Apr 19 2016 22:44:02 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
+1 -1
Просмотреть файл
@@ -463,7 +463,7 @@ Functions</h2></td></tr>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sat Apr 16 2016 14:52:10 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Tue Apr 19 2016 22:44:02 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
+1 -1
Просмотреть файл
@@ -197,7 +197,7 @@ Functions</h2></td></tr>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sat Apr 16 2016 14:52:10 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Tue Apr 19 2016 22:44:02 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
+1 -1
Просмотреть файл
@@ -340,7 +340,7 @@ Functions</h2></td></tr>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sat Apr 16 2016 14:52:10 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Tue Apr 19 2016 22:44:02 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
+1 -1
Просмотреть файл
@@ -623,7 +623,7 @@ Enumerations</h2></td></tr>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sat Apr 16 2016 14:52:10 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Tue Apr 19 2016 22:44:02 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
+1 -1
Просмотреть файл
@@ -88,7 +88,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
</div><!-- fragment --> </div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sat Apr 16 2016 14:52:10 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Tue Apr 19 2016 22:44:02 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
+1 -1
Просмотреть файл
@@ -82,7 +82,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sat Apr 16 2016 14:52:10 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Tue Apr 19 2016 22:44:02 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
+1 -1
Просмотреть файл
@@ -829,7 +829,7 @@ on HCC hipMemcpyAsync requires that any host pointers are pinned (ie via the hip
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sat Apr 16 2016 14:52:10 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Tue Apr 19 2016 22:44:02 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
+1 -1
Просмотреть файл
@@ -337,7 +337,7 @@ Functions</h2></td></tr>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sat Apr 16 2016 14:52:10 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Tue Apr 19 2016 22:44:02 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
+1 -1
Просмотреть файл
@@ -85,7 +85,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sat Apr 16 2016 14:52:10 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Tue Apr 19 2016 22:44:02 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
+1 -1
Просмотреть файл
@@ -314,7 +314,7 @@ Functions</h2></td></tr>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sat Apr 16 2016 14:52:10 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Tue Apr 19 2016 22:44:02 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
+1 -1
Просмотреть файл
@@ -121,7 +121,7 @@ template&lt;class T , int dim, enum hipTextureReadMode readMode&gt; </td></tr>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sat Apr 16 2016 14:52:10 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Tue Apr 19 2016 22:44:02 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
+1 -1
Просмотреть файл
@@ -114,7 +114,7 @@ Functions</h2></td></tr>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sat Apr 16 2016 14:52:10 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Tue Apr 19 2016 22:44:02 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
+2 -2
Просмотреть файл
@@ -4,7 +4,7 @@
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>HIP: Heterogenous-computing Interface for Portability: /home/mangupta/hip_git/rel0.84.0/include/hcc.h Source File</title>
<title>HIP: Heterogenous-computing Interface for Portability: /home/mangupta/hip_git/release_0.84.00/include/hcc.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
@@ -100,7 +100,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sat Apr 16 2016 14:52:09 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Tue Apr 19 2016 22:44:02 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
+5 -6
Просмотреть файл
@@ -4,7 +4,7 @@
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>HIP: Heterogenous-computing Interface for Portability: /home/mangupta/hip_git/rel0.84.0/include/hcc_detail/hcc_acc.h Source File</title>
<title>HIP: Heterogenous-computing Interface for Portability: /home/mangupta/hip_git/release_0.84.00/include/hcc_detail/hcc_acc.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
@@ -91,7 +91,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="preprocessor">#ifndef HCC_ACC_H</span></div>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define HCC_ACC_H</span></div>
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#include &quot;<a class="code" href="hcc__detail_2hip__runtime__api_8h.html">hip_runtime_api.h</a>&quot;</span></div>
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#include &quot;hip/hip_runtime_api.h&quot;</span></div>
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;</div>
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="preprocessor">#if __cplusplus</span></div>
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#ifdef __HCC__</span></div>
@@ -103,14 +103,13 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="ttc" id="hip__hcc_8cpp_html_a0d24b3157fd1b16d38672bb157ec4cd4"><div class="ttname"><a href="hip__hcc_8cpp.html#a0d24b3157fd1b16d38672bb157ec4cd4">hipHccGetAccelerator</a></div><div class="ttdeci">hipError_t hipHccGetAccelerator(int deviceId, hc::accelerator *acc)</div><div class="ttdef"><b>Definition:</b> hip_hcc.cpp:1372</div></div>
<div class="ttc" id="hip__hcc_8cpp_html_a0d24b3157fd1b16d38672bb157ec4cd4"><div class="ttname"><a href="hip__hcc_8cpp.html#a0d24b3157fd1b16d38672bb157ec4cd4">hipHccGetAccelerator</a></div><div class="ttdeci">hipError_t hipHccGetAccelerator(int deviceId, hc::accelerator *acc)</div><div class="ttdef"><b>Definition:</b> hip_hcc.cpp:1396</div></div>
<div class="ttc" id="group__GlobalDefs_html_gadf5010f6e140a53ecbdf949e73e87594"><div class="ttname"><a href="group__GlobalDefs.html#gadf5010f6e140a53ecbdf949e73e87594">hipError_t</a></div><div class="ttdeci">hipError_t</div><div class="ttdef"><b>Definition:</b> hip_runtime_api.h:142</div></div>
<div class="ttc" id="hip__hcc_8cpp_html_a1a7087ea9c3c3323270d7cce73650b44"><div class="ttname"><a href="hip__hcc_8cpp.html#a1a7087ea9c3c3323270d7cce73650b44">hipHccGetAcceleratorView</a></div><div class="ttdeci">hipError_t hipHccGetAcceleratorView(hipStream_t stream, hc::accelerator_view **av)</div><div class="ttdef"><b>Definition:</b> hip_hcc.cpp:1392</div></div>
<div class="ttc" id="hcc__detail_2hip__runtime__api_8h_html"><div class="ttname"><a href="hcc__detail_2hip__runtime__api_8h.html">hip_runtime_api.h</a></div><div class="ttdoc">Contains C function APIs for HIP runtime. This file does not use any HCC builtin or special language ...</div></div>
<div class="ttc" id="hip__hcc_8cpp_html_a1a7087ea9c3c3323270d7cce73650b44"><div class="ttname"><a href="hip__hcc_8cpp.html#a1a7087ea9c3c3323270d7cce73650b44">hipHccGetAcceleratorView</a></div><div class="ttdeci">hipError_t hipHccGetAcceleratorView(hipStream_t stream, hc::accelerator_view **av)</div><div class="ttdef"><b>Definition:</b> hip_hcc.cpp:1416</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sat Apr 16 2016 14:52:09 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Tue Apr 19 2016 22:44:02 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
+4 -4
Просмотреть файл
@@ -4,7 +4,7 @@
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>HIP: Heterogenous-computing Interface for Portability: /home/mangupta/hip_git/rel0.84.0/include/hcc_detail/hip_runtime.h File Reference</title>
<title>HIP: Heterogenous-computing Interface for Portability: /home/mangupta/hip_git/release_0.84.00/include/hcc_detail/hip_runtime.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
@@ -98,9 +98,9 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
<a href="#details">More...</a></p>
<div class="textblock"><code>#include &lt;string.h&gt;</code><br/>
<code>#include &lt;stddef.h&gt;</code><br/>
<code>#include &lt;<a class="el" href="hcc__detail_2hip__runtime__api_8h_source.html">hip_runtime_api.h</a>&gt;</code><br/>
<code>#include &lt;hip/hip_runtime_api.h&gt;</code><br/>
<code>#include &lt;grid_launch.h&gt;</code><br/>
<code>#include &lt;<a class="el" href="host__defines_8h_source.html">hcc_detail/host_defines.h</a>&gt;</code><br/>
<code>#include &lt;hip/hcc_detail/host_defines.h&gt;</code><br/>
</div>
<p><a href="hcc__detail_2hip__runtime_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
@@ -197,7 +197,7 @@ const int&#160;</td><td class="memItemRight" valign="bottom"><b>warpSize</b></td
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sat Apr 16 2016 14:52:10 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Tue Apr 19 2016 22:44:02 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
+6 -9
Просмотреть файл
@@ -4,7 +4,7 @@
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>HIP: Heterogenous-computing Interface for Portability: /home/mangupta/hip_git/rel0.84.0/include/hcc_detail/hip_runtime.h Source File</title>
<title>HIP: Heterogenous-computing Interface for Portability: /home/mangupta/hip_git/release_0.84.00/include/hcc_detail/hip_runtime.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
@@ -126,8 +126,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160;</div>
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160;<span class="preprocessor">#define CUDA_SUCCESS hipSuccess</span></div>
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="hcc__detail_2hip__runtime__api_8h.html">hip_runtime_api.h</a>&gt;</span></div>
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160;<span class="comment">//#include &quot;hcc_detail/hip_hcc.h&quot;</span></div>
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160;<span class="preprocessor">#include &lt;hip/hip_runtime_api.h&gt;</span></div>
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160;<span class="comment">//#include &quot;hip/hcc_detail/hip_hcc.h&quot;</span></div>
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160;<span class="comment">//---</span></div>
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160;<span class="comment">// Remainder of this file only compiles with HCC</span></div>
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160;<span class="preprocessor">#ifdef __HCC__</span></div>
@@ -141,9 +141,9 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160;<span class="comment">//typedef grid_launch_parm hipLaunchParm ;</span></div>
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160;<span class="preprocessor">#define hipLaunchParm grid_launch_parm</span></div>
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#ifdef __cplusplus</span></div>
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#include &lt;<a class="code" href="hip__texture_8h.html">hcc_detail/hip_texture.h</a>&gt;</span></div>
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#include &lt;hip/hcc_detail/hip_texture.h&gt;</span></div>
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#include &lt;<a class="code" href="host__defines_8h.html">hcc_detail/host_defines.h</a>&gt;</span></div>
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#include &lt;hip/hcc_detail/host_defines.h&gt;</span></div>
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160;<span class="comment">// TODO-HCC remove old definitions ; ~1602 hcc supports __HCC_ACCELERATOR__ define.</span></div>
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160;<span class="preprocessor">#if defined (__KALMAR_ACCELERATOR__) &amp;&amp; !defined (__HCC_ACCELERATOR__)</span></div>
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define __HCC_ACCELERATOR__ __KALMAR_ACCELERATOR__</span></div>
@@ -646,14 +646,11 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
<div class="line"><a name="l00567"></a><span class="lineno"> 567</span>&#160;</div>
<div class="line"><a name="l00573"></a><span class="lineno"> 573</span>&#160;<span class="comment">// End doxygen API:</span></div>
<div class="line"><a name="l00579"></a><span class="lineno"> 579</span>&#160;<span class="comment"></span><span class="preprocessor">#endif</span></div>
<div class="ttc" id="host__defines_8h_html"><div class="ttname"><a href="host__defines_8h.html">host_defines.h</a></div><div class="ttdoc">TODO-doc. </div></div>
<div class="ttc" id="host__defines_8h_html_a803050db3c78e0db3ea59a0c35499622"><div class="ttname"><a href="host__defines_8h.html#a803050db3c78e0db3ea59a0c35499622">__host__</a></div><div class="ttdeci">#define __host__</div><div class="ttdef"><b>Definition:</b> host_defines.h:35</div></div>
<div class="ttc" id="hip__texture_8h_html"><div class="ttname"><a href="hip__texture_8h.html">hip_texture.h</a></div><div class="ttdoc">HIP C++ Texture API for hcc compiler. </div></div>
<div class="ttc" id="hcc__detail_2hip__runtime__api_8h_html"><div class="ttname"><a href="hcc__detail_2hip__runtime__api_8h.html">hip_runtime_api.h</a></div><div class="ttdoc">Contains C function APIs for HIP runtime. This file does not use any HCC builtin or special language ...</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sat Apr 16 2016 14:52:10 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Tue Apr 19 2016 22:44:02 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
+4 -4
Просмотреть файл
@@ -4,7 +4,7 @@
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>HIP: Heterogenous-computing Interface for Portability: /home/mangupta/hip_git/rel0.84.0/include/hcc_detail/hip_runtime_api.h File Reference</title>
<title>HIP: Heterogenous-computing Interface for Portability: /home/mangupta/hip_git/release_0.84.00/include/hcc_detail/hip_runtime_api.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
@@ -100,8 +100,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
<a href="#details">More...</a></p>
<div class="textblock"><code>#include &lt;stdint.h&gt;</code><br/>
<code>#include &lt;stddef.h&gt;</code><br/>
<code>#include &lt;<a class="el" href="host__defines_8h_source.html">hcc_detail/host_defines.h</a>&gt;</code><br/>
<code>#include &lt;<a class="el" href="hcc__detail_2hip__runtime__api_8h_source.html">hip_runtime_api.h</a>&gt;</code><br/>
<code>#include &lt;hip/hcc_detail/host_defines.h&gt;</code><br/>
<code>#include &lt;hip/hip_runtime_api.h&gt;</code><br/>
</div>
<p><a href="hcc__detail_2hip__runtime__api_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
@@ -392,7 +392,7 @@ Functions</h2></td></tr>
</div></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sat Apr 16 2016 14:52:10 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Tue Apr 19 2016 22:44:02 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
+5 -7
Просмотреть файл
@@ -4,7 +4,7 @@
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>HIP: Heterogenous-computing Interface for Portability: /home/mangupta/hip_git/rel0.84.0/include/hcc_detail/hip_runtime_api.h Source File</title>
<title>HIP: Heterogenous-computing Interface for Portability: /home/mangupta/hip_git/release_0.84.00/include/hcc_detail/hip_runtime_api.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
@@ -117,9 +117,9 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160;<span class="preprocessor">#include &lt;stdint.h&gt;</span></div>
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160;<span class="preprocessor">#include &lt;stddef.h&gt;</span></div>
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160;</div>
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="host__defines_8h.html">hcc_detail/host_defines.h</a>&gt;</span></div>
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="hcc__detail_2hip__runtime__api_8h.html">hip_runtime_api.h</a>&gt;</span></div>
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160;<span class="comment">//#include &quot;hip_hcc.h&quot;</span></div>
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160;<span class="preprocessor">#include &lt;hip/hcc_detail/host_defines.h&gt;</span></div>
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160;<span class="preprocessor">#include &lt;hip/hip_runtime_api.h&gt;</span></div>
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160;<span class="comment">//#include &quot;hip/hip_hcc.h&quot;</span></div>
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160;</div>
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160;<span class="preprocessor">#if defined (__HCC__) &amp;&amp; (__hcc_workweek__ &lt; 16155)</span></div>
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#error(&quot;This version of HIP requires a newer version of HCC.&quot;);</span></div>
@@ -411,7 +411,6 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
<div class="ttc" id="group__Memory_html_gad55fa9f5980b711bc93c52820149ba18"><div class="ttname"><a href="group__Memory.html#gad55fa9f5980b711bc93c52820149ba18">hipMemcpyAsync</a></div><div class="ttdeci">hipError_t hipMemcpyAsync(void *dst, const void *src, size_t sizeBytes, hipMemcpyKind kind, hipStream_t stream)</div><div class="ttdoc">Copy data from src to dst asynchronously. </div><div class="ttdef"><b>Definition:</b> hip_memory.cpp:343</div></div>
<div class="ttc" id="group__Error_html_ga1dd660bc739f7e13edd34615660f0148"><div class="ttname"><a href="group__Error.html#ga1dd660bc739f7e13edd34615660f0148">hipPeekAtLastError</a></div><div class="ttdeci">hipError_t hipPeekAtLastError(void)</div><div class="ttdoc">Return last error returned by any HIP runtime API call. </div></div>
<div class="ttc" id="group__GlobalDefs_html_gacb37281795c3567d0b10a61c056d512b"><div class="ttname"><a href="group__GlobalDefs.html#gacb37281795c3567d0b10a61c056d512b">dim3</a></div><div class="ttdeci">struct dim3 dim3</div></div>
<div class="ttc" id="host__defines_8h_html"><div class="ttname"><a href="host__defines_8h.html">host_defines.h</a></div><div class="ttdoc">TODO-doc. </div></div>
<div class="ttc" id="group__Device_html_ga77c20744e2a88c31440992d6c7754b5f"><div class="ttname"><a href="group__Device.html#ga77c20744e2a88c31440992d6c7754b5f">hipGetDeviceProperties</a></div><div class="ttdeci">hipError_t hipGetDeviceProperties(hipDeviceProp_t *prop, int device)</div><div class="ttdoc">Returns device properties. </div><div class="ttdef"><b>Definition:</b> hip_device.cpp:267</div></div>
<div class="ttc" id="group__Memory_html_ga131ac5c1ba04e186112491cb9bf964bc"><div class="ttname"><a href="group__Memory.html#ga131ac5c1ba04e186112491cb9bf964bc">hipMemcpyToSymbol</a></div><div class="ttdeci">hipError_t hipMemcpyToSymbol(const char *symbolName, const void *src, size_t sizeBytes, size_t offset, hipMemcpyKind kind)</div><div class="ttdoc">Copies sizeBytes bytes from the memory area pointed to by src to the memory area pointed to by offset...</div><div class="ttdef"><b>Definition:</b> hip_memory.cpp:291</div></div>
<div class="ttc" id="group__Device_html_gadd94a910c2b840833cc325b1e5425702"><div class="ttname"><a href="group__Device.html#gadd94a910c2b840833cc325b1e5425702">hipFuncSetCacheConfig</a></div><div class="ttdeci">hipError_t hipFuncSetCacheConfig(hipFuncCache config)</div><div class="ttdoc">Set Cache configuration for a specific function. </div><div class="ttdef"><b>Definition:</b> hip_device.cpp:90</div></div>
@@ -478,7 +477,6 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
<div class="ttc" id="classihipStream__t_html"><div class="ttname"><a href="classihipStream__t.html">ihipStream_t</a></div><div class="ttdef"><b>Definition:</b> hip_hcc.h:399</div></div>
<div class="ttc" id="group__PeerToPeer_html_ga5512f45e25c08052667c8ffe7162333b"><div class="ttname"><a href="group__PeerToPeer.html#ga5512f45e25c08052667c8ffe7162333b">hipMemcpyPeer</a></div><div class="ttdeci">hipError_t hipMemcpyPeer(void *dst, int dstDeviceId, const void *src, int srcDeviceId, size_t sizeBytes)</div><div class="ttdoc">Copies memory from one device to memory on another device. </div><div class="ttdef"><b>Definition:</b> hip_peer.cpp:131</div></div>
<div class="ttc" id="group__Stream_html_gaff5b62d6e9502d80879f7176f4d03102"><div class="ttname"><a href="group__Stream.html#gaff5b62d6e9502d80879f7176f4d03102">hipStreamCreate</a></div><div class="ttdeci">hipError_t hipStreamCreate(hipStream_t *stream)</div><div class="ttdoc">Create an asynchronous stream. </div><div class="ttdef"><b>Definition:</b> hip_stream.cpp:63</div></div>
<div class="ttc" id="hcc__detail_2hip__runtime__api_8h_html"><div class="ttname"><a href="hcc__detail_2hip__runtime__api_8h.html">hip_runtime_api.h</a></div><div class="ttdoc">Contains C function APIs for HIP runtime. This file does not use any HCC builtin or special language ...</div></div>
<div class="ttc" id="group__Memory_html_gac1a055d288302edd641c6d7416858e1e"><div class="ttname"><a href="group__Memory.html#gac1a055d288302edd641c6d7416858e1e">hipMemcpy</a></div><div class="ttdeci">hipError_t hipMemcpy(void *dst, const void *src, size_t sizeBytes, hipMemcpyKind kind)</div><div class="ttdoc">Copy data from src to dst. </div><div class="ttdef"><b>Definition:</b> hip_memory.cpp:312</div></div>
<div class="ttc" id="group__Event_html_ga5df2309c9f29ca4c8e669db658d411b4"><div class="ttname"><a href="group__Event.html#ga5df2309c9f29ca4c8e669db658d411b4">hipEventCreate</a></div><div class="ttdeci">hipError_t hipEventCreate(hipEvent_t *event)</div><div class="ttdef"><b>Definition:</b> hip_event.cpp:61</div></div>
<div class="ttc" id="group__Memory_html_gad2164cc3d49da53052f4b83b789e90c9"><div class="ttname"><a href="group__Memory.html#gad2164cc3d49da53052f4b83b789e90c9">hipFreeHost</a></div><div class="ttdeci">hipError_t hipFreeHost(void *ptr) __attribute__((deprecated(&quot;use hipHostFree instead&quot;)))</div><div class="ttdoc">Free memory allocated by the hcc hip host memory allocation API. </div><div class="ttdef"><b>Definition:</b> hip_memory.cpp:513</div></div>
@@ -492,7 +490,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sat Apr 16 2016 14:52:10 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Tue Apr 19 2016 22:44:02 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
+2 -2
Просмотреть файл
@@ -4,7 +4,7 @@
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>HIP: Heterogenous-computing Interface for Portability: /home/mangupta/hip_git/rel0.84.0/include/hcc_detail/hip_vector_types.h File Reference</title>
<title>HIP: Heterogenous-computing Interface for Portability: /home/mangupta/hip_git/release_0.84.00/include/hcc_detail/hip_vector_types.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
@@ -443,7 +443,7 @@ Functions</h2></td></tr>
</div></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sat Apr 16 2016 14:52:10 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Tue Apr 19 2016 22:44:02 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
+2 -2
Просмотреть файл
@@ -4,7 +4,7 @@
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>HIP: Heterogenous-computing Interface for Portability: /home/mangupta/hip_git/rel0.84.0/include/hcc_detail/hip_vector_types.h Source File</title>
<title>HIP: Heterogenous-computing Interface for Portability: /home/mangupta/hip_git/release_0.84.00/include/hcc_detail/hip_vector_types.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
@@ -291,7 +291,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sat Apr 16 2016 14:52:10 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Tue Apr 19 2016 22:44:02 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
+1 -1
Просмотреть файл
@@ -117,7 +117,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sat Apr 16 2016 14:52:10 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Tue Apr 19 2016 22:44:02 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
+2 -2
Просмотреть файл
@@ -4,7 +4,7 @@
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>HIP: Heterogenous-computing Interface for Portability: /home/mangupta/hip_git/rel0.84.0/include/hip_common.h Source File</title>
<title>HIP: Heterogenous-computing Interface for Portability: /home/mangupta/hip_git/release_0.84.00/include/hip_common.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
@@ -181,7 +181,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sat Apr 16 2016 14:52:09 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Tue Apr 19 2016 22:44:02 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
+4 -4
Просмотреть файл
@@ -4,7 +4,7 @@
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>HIP: Heterogenous-computing Interface for Portability: /home/mangupta/hip_git/rel0.84.0/src/hip_hcc.cpp File Reference</title>
<title>HIP: Heterogenous-computing Interface for Portability: /home/mangupta/hip_git/release_0.84.00/src/hip_hcc.cpp File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
@@ -203,10 +203,10 @@ int&#160;</td><td class="memItemRight" valign="bottom"><b>HIP_STREAM_SIGNALS</b>
int&#160;</td><td class="memItemRight" valign="bottom"><b>HIP_VISIBLE_DEVICES</b> = 0</td></tr>
<tr class="separator:a52375928714da2fcf0281c34eccc3ca4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a90032487c6e75bbaf6a21103d067ad17"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a90032487c6e75bbaf6a21103d067ad17"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><b>HIP_DISABLE_HW_KERNEL_DEP</b> = 1</td></tr>
int&#160;</td><td class="memItemRight" valign="bottom"><b>HIP_DISABLE_HW_KERNEL_DEP</b> = 0</td></tr>
<tr class="separator:a90032487c6e75bbaf6a21103d067ad17"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6de84e5835d354cf1e1591d337db7eed"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6de84e5835d354cf1e1591d337db7eed"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><b>HIP_DISABLE_HW_COPY_DEP</b> = 1</td></tr>
int&#160;</td><td class="memItemRight" valign="bottom"><b>HIP_DISABLE_HW_COPY_DEP</b> = 0</td></tr>
<tr class="separator:a6de84e5835d354cf1e1591d337db7eed"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a89c4a58c7acbb945bd6e4c9d8fafb66c"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a89c4a58c7acbb945bd6e4c9d8fafb66c"></a>
thread_local int&#160;</td><td class="memItemRight" valign="bottom"><b>tls_defaultDevice</b> = 0</td></tr>
@@ -335,7 +335,7 @@ hsa_agent_t&#160;</td><td class="memItemRight" valign="bottom"><b>g_cpu_agent</b
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sat Apr 16 2016 14:52:10 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Tue Apr 19 2016 22:44:02 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
+159 -156
Просмотреть файл
@@ -4,7 +4,7 @@
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>HIP: Heterogenous-computing Interface for Portability: /home/mangupta/hip_git/rel0.84.0/include/hcc_detail/hip_hcc.h Source File</title>
<title>HIP: Heterogenous-computing Interface for Portability: /home/mangupta/hip_git/release_0.84.00/include/hcc_detail/hip_hcc.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
@@ -112,8 +112,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define HIP_HCC_H</span></div>
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;<span class="preprocessor">#include &lt;hc.hpp&gt;</span></div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;<span class="preprocessor">#include &quot;hcc_detail/hip_util.h&quot;</span></div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;<span class="preprocessor">#include &quot;hcc_detail/staging_buffer.h&quot;</span></div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;<span class="preprocessor">#include &quot;hip/hcc_detail/hip_util.h&quot;</span></div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;<span class="preprocessor">#include &quot;hip/hcc_detail/staging_buffer.h&quot;</span></div>
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;</div>
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;<span class="preprocessor">#define HIP_HCC</span></div>
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;<span class="preprocessor"></span></div>
@@ -622,175 +622,178 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
<div class="line"><a name="l00531"></a><span class="lineno"> 531</span>&#160; <span class="keywordtype">bool</span> removePeer(<a class="code" href="classihipDevice__t.html">ihipDevice_t</a> *peer);</div>
<div class="line"><a name="l00532"></a><span class="lineno"> 532</span>&#160; <span class="keywordtype">void</span> resetPeers(<a class="code" href="classihipDevice__t.html">ihipDevice_t</a> *thisDevice);</div>
<div class="line"><a name="l00533"></a><span class="lineno"> 533</span>&#160;</div>
<div class="line"><a name="l00534"></a><span class="lineno"> 534</span>&#160; uint32_t peerCnt()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> _peerCnt; };</div>
<div class="line"><a name="l00535"></a><span class="lineno"> 535</span>&#160; hsa_agent_t *peerAgents()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> _peerAgents; };</div>
<div class="line"><a name="l00534"></a><span class="lineno"> 534</span>&#160;</div>
<div class="line"><a name="l00535"></a><span class="lineno"> 535</span>&#160; <span class="keywordtype">void</span> addStream(<a class="code" href="classihipStream__t.html">ihipStream_t</a> *stream);</div>
<div class="line"><a name="l00536"></a><span class="lineno"> 536</span>&#160;</div>
<div class="line"><a name="l00537"></a><span class="lineno"> 537</span>&#160;</div>
<div class="line"><a name="l00538"></a><span class="lineno"> 538</span>&#160;<span class="keyword">private</span>:</div>
<div class="line"><a name="l00539"></a><span class="lineno"> 539</span>&#160; std::list&lt;ihipStream_t*&gt; _streams; <span class="comment">// streams associated with this device.</span></div>
<div class="line"><a name="l00540"></a><span class="lineno"> 540</span>&#160; ihipStream_t::SeqNum_t _stream_id;</div>
<div class="line"><a name="l00541"></a><span class="lineno"> 541</span>&#160;</div>
<div class="line"><a name="l00542"></a><span class="lineno"> 542</span>&#160; <span class="comment">// These reflect the currently Enabled set of peers for this GPU:</span></div>
<div class="line"><a name="l00543"></a><span class="lineno"> 543</span>&#160; std::list&lt;ihipDevice_t*&gt; _peers; <span class="comment">// list of enabled peer devices.</span></div>
<div class="line"><a name="l00544"></a><span class="lineno"> 544</span>&#160; uint32_t _peerCnt; <span class="comment">// number of enabled peers</span></div>
<div class="line"><a name="l00545"></a><span class="lineno"> 545</span>&#160; hsa_agent_t *_peerAgents; <span class="comment">// efficient packed array of enabled agents (to use for allocations.)</span></div>
<div class="line"><a name="l00546"></a><span class="lineno"> 546</span>&#160;<span class="keyword">private</span>:</div>
<div class="line"><a name="l00547"></a><span class="lineno"> 547</span>&#160; <span class="keywordtype">void</span> recomputePeerAgents();</div>
<div class="line"><a name="l00548"></a><span class="lineno"> 548</span>&#160;};</div>
<div class="line"><a name="l00549"></a><span class="lineno"> 549</span>&#160;</div>
<div class="line"><a name="l00550"></a><span class="lineno"> 550</span>&#160;<span class="comment">// Note Mutex selected based on DeviceMutex</span></div>
<div class="line"><a name="l00551"></a><span class="lineno"> 551</span>&#160;<span class="keyword">typedef</span> <a class="code" href="classihipDeviceCriticalBase__t.html">ihipDeviceCriticalBase_t&lt;DeviceMutex&gt;</a> <a class="code" href="classihipDeviceCriticalBase__t.html">ihipDeviceCritical_t</a>; </div>
<div class="line"><a name="l00537"></a><span class="lineno"> 537</span>&#160; uint32_t peerCnt()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> _peerCnt; };</div>
<div class="line"><a name="l00538"></a><span class="lineno"> 538</span>&#160; hsa_agent_t *peerAgents()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> _peerAgents; };</div>
<div class="line"><a name="l00539"></a><span class="lineno"> 539</span>&#160;</div>
<div class="line"><a name="l00540"></a><span class="lineno"> 540</span>&#160;</div>
<div class="line"><a name="l00541"></a><span class="lineno"> 541</span>&#160;<span class="keyword">private</span>:</div>
<div class="line"><a name="l00542"></a><span class="lineno"> 542</span>&#160; std::list&lt;ihipStream_t*&gt; _streams; <span class="comment">// streams associated with this device.</span></div>
<div class="line"><a name="l00543"></a><span class="lineno"> 543</span>&#160; ihipStream_t::SeqNum_t _stream_id;</div>
<div class="line"><a name="l00544"></a><span class="lineno"> 544</span>&#160;</div>
<div class="line"><a name="l00545"></a><span class="lineno"> 545</span>&#160; <span class="comment">// These reflect the currently Enabled set of peers for this GPU:</span></div>
<div class="line"><a name="l00546"></a><span class="lineno"> 546</span>&#160; std::list&lt;ihipDevice_t*&gt; _peers; <span class="comment">// list of enabled peer devices.</span></div>
<div class="line"><a name="l00547"></a><span class="lineno"> 547</span>&#160; uint32_t _peerCnt; <span class="comment">// number of enabled peers</span></div>
<div class="line"><a name="l00548"></a><span class="lineno"> 548</span>&#160; hsa_agent_t *_peerAgents; <span class="comment">// efficient packed array of enabled agents (to use for allocations.)</span></div>
<div class="line"><a name="l00549"></a><span class="lineno"> 549</span>&#160;<span class="keyword">private</span>:</div>
<div class="line"><a name="l00550"></a><span class="lineno"> 550</span>&#160; <span class="keywordtype">void</span> recomputePeerAgents();</div>
<div class="line"><a name="l00551"></a><span class="lineno"> 551</span>&#160;};</div>
<div class="line"><a name="l00552"></a><span class="lineno"> 552</span>&#160;</div>
<div class="line"><a name="l00553"></a><span class="lineno"> 553</span>&#160;<span class="comment">// This type is used by functions that need access to the critical device structures.</span></div>
<div class="line"><a name="l00554"></a><span class="lineno"> 554</span>&#160;<span class="keyword">typedef</span> <a class="code" href="classLockedAccessor.html">LockedAccessor&lt;ihipDeviceCritical_t&gt;</a> <a class="code" href="classLockedAccessor.html">LockedAccessor_DeviceCrit_t</a>;</div>
<div class="line"><a name="l00553"></a><span class="lineno"> 553</span>&#160;<span class="comment">// Note Mutex selected based on DeviceMutex</span></div>
<div class="line"><a name="l00554"></a><span class="lineno"> 554</span>&#160;<span class="keyword">typedef</span> <a class="code" href="classihipDeviceCriticalBase__t.html">ihipDeviceCriticalBase_t&lt;DeviceMutex&gt;</a> <a class="code" href="classihipDeviceCriticalBase__t.html">ihipDeviceCritical_t</a>; </div>
<div class="line"><a name="l00555"></a><span class="lineno"> 555</span>&#160;</div>
<div class="line"><a name="l00556"></a><span class="lineno"> 556</span>&#160;</div>
<div class="line"><a name="l00557"></a><span class="lineno"> 557</span>&#160;</div>
<div class="line"><a name="l00558"></a><span class="lineno"> 558</span>&#160;<span class="comment">//-------------------------------------------------------------------------------------------------</span></div>
<div class="line"><a name="l00559"></a><span class="lineno"> 559</span>&#160;<span class="comment">// Functions which read or write the critical data are named locked_.</span></div>
<div class="line"><a name="l00560"></a><span class="lineno"> 560</span>&#160;<span class="comment">// ihipDevice_t does not use recursive locks so the ihip implementation must avoid calling a locked_ function from within a locked_ function.</span></div>
<div class="line"><a name="l00561"></a><span class="lineno"> 561</span>&#160;<span class="comment">// External functions which call several locked_ functions will acquire and release the lock for each function. if this occurs in </span></div>
<div class="line"><a name="l00562"></a><span class="lineno"> 562</span>&#160;<span class="comment">// performance-sensitive code we may want to refactor by adding non-locked functions and creating a new locked_ member function to call them all.</span></div>
<div class="line"><a name="l00563"></a><span class="lineno"><a class="line" href="classihipDevice__t.html"> 563</a></span>&#160;<span class="keyword">class </span><a class="code" href="classihipDevice__t.html">ihipDevice_t</a></div>
<div class="line"><a name="l00564"></a><span class="lineno"> 564</span>&#160;{</div>
<div class="line"><a name="l00565"></a><span class="lineno"> 565</span>&#160;<span class="keyword">public</span>: <span class="comment">// Functions:</span></div>
<div class="line"><a name="l00566"></a><span class="lineno"> 566</span>&#160; <a class="code" href="classihipDevice__t.html">ihipDevice_t</a>() {}; <span class="comment">// note: calls constructor for _criticalData </span></div>
<div class="line"><a name="l00567"></a><span class="lineno"> 567</span>&#160; <span class="keywordtype">void</span> init(<span class="keywordtype">unsigned</span> device_index, <span class="keywordtype">unsigned</span> deviceCnt, hc::accelerator &amp;acc, <span class="keywordtype">unsigned</span> flags);</div>
<div class="line"><a name="l00568"></a><span class="lineno"> 568</span>&#160; ~<a class="code" href="classihipDevice__t.html">ihipDevice_t</a>();</div>
<div class="line"><a name="l00569"></a><span class="lineno"> 569</span>&#160;</div>
<div class="line"><a name="l00570"></a><span class="lineno"> 570</span>&#160; <span class="keywordtype">void</span> locked_addStream(<a class="code" href="classihipStream__t.html">ihipStream_t</a> *s);</div>
<div class="line"><a name="l00571"></a><span class="lineno"> 571</span>&#160; <span class="keywordtype">void</span> locked_removeStream(<a class="code" href="classihipStream__t.html">ihipStream_t</a> *s);</div>
<div class="line"><a name="l00572"></a><span class="lineno"> 572</span>&#160; <span class="keywordtype">void</span> locked_reset();</div>
<div class="line"><a name="l00573"></a><span class="lineno"> 573</span>&#160; <span class="keywordtype">void</span> locked_waitAllStreams();</div>
<div class="line"><a name="l00574"></a><span class="lineno"> 574</span>&#160; <span class="keywordtype">void</span> locked_syncDefaultStream(<span class="keywordtype">bool</span> waitOnSelf);</div>
<div class="line"><a name="l00575"></a><span class="lineno"> 575</span>&#160;</div>
<div class="line"><a name="l00576"></a><span class="lineno"> 576</span>&#160; <a class="code" href="classihipDeviceCriticalBase__t.html">ihipDeviceCritical_t</a> &amp;criticalData() { <span class="keywordflow">return</span> _criticalData; }; <span class="comment">// TODO, move private. Fix P2P.</span></div>
<div class="line"><a name="l00577"></a><span class="lineno"> 577</span>&#160;</div>
<div class="line"><a name="l00578"></a><span class="lineno"> 578</span>&#160;<span class="keyword">public</span>: <span class="comment">// Data, set at initialization:</span></div>
<div class="line"><a name="l00579"></a><span class="lineno"> 579</span>&#160; <span class="keywordtype">unsigned</span> _device_index; <span class="comment">// index into g_devices.</span></div>
<div class="line"><a name="l00556"></a><span class="lineno"> 556</span>&#160;<span class="comment">// This type is used by functions that need access to the critical device structures.</span></div>
<div class="line"><a name="l00557"></a><span class="lineno"> 557</span>&#160;<span class="keyword">typedef</span> <a class="code" href="classLockedAccessor.html">LockedAccessor&lt;ihipDeviceCritical_t&gt;</a> <a class="code" href="classLockedAccessor.html">LockedAccessor_DeviceCrit_t</a>;</div>
<div class="line"><a name="l00558"></a><span class="lineno"> 558</span>&#160;</div>
<div class="line"><a name="l00559"></a><span class="lineno"> 559</span>&#160;</div>
<div class="line"><a name="l00560"></a><span class="lineno"> 560</span>&#160;</div>
<div class="line"><a name="l00561"></a><span class="lineno"> 561</span>&#160;<span class="comment">//-------------------------------------------------------------------------------------------------</span></div>
<div class="line"><a name="l00562"></a><span class="lineno"> 562</span>&#160;<span class="comment">// Functions which read or write the critical data are named locked_.</span></div>
<div class="line"><a name="l00563"></a><span class="lineno"> 563</span>&#160;<span class="comment">// ihipDevice_t does not use recursive locks so the ihip implementation must avoid calling a locked_ function from within a locked_ function.</span></div>
<div class="line"><a name="l00564"></a><span class="lineno"> 564</span>&#160;<span class="comment">// External functions which call several locked_ functions will acquire and release the lock for each function. if this occurs in </span></div>
<div class="line"><a name="l00565"></a><span class="lineno"> 565</span>&#160;<span class="comment">// performance-sensitive code we may want to refactor by adding non-locked functions and creating a new locked_ member function to call them all.</span></div>
<div class="line"><a name="l00566"></a><span class="lineno"><a class="line" href="classihipDevice__t.html"> 566</a></span>&#160;<span class="keyword">class </span><a class="code" href="classihipDevice__t.html">ihipDevice_t</a></div>
<div class="line"><a name="l00567"></a><span class="lineno"> 567</span>&#160;{</div>
<div class="line"><a name="l00568"></a><span class="lineno"> 568</span>&#160;<span class="keyword">public</span>: <span class="comment">// Functions:</span></div>
<div class="line"><a name="l00569"></a><span class="lineno"> 569</span>&#160; <a class="code" href="classihipDevice__t.html">ihipDevice_t</a>() {}; <span class="comment">// note: calls constructor for _criticalData </span></div>
<div class="line"><a name="l00570"></a><span class="lineno"> 570</span>&#160; <span class="keywordtype">void</span> init(<span class="keywordtype">unsigned</span> device_index, <span class="keywordtype">unsigned</span> deviceCnt, hc::accelerator &amp;acc, <span class="keywordtype">unsigned</span> flags);</div>
<div class="line"><a name="l00571"></a><span class="lineno"> 571</span>&#160; ~<a class="code" href="classihipDevice__t.html">ihipDevice_t</a>();</div>
<div class="line"><a name="l00572"></a><span class="lineno"> 572</span>&#160;</div>
<div class="line"><a name="l00573"></a><span class="lineno"> 573</span>&#160; <span class="keywordtype">void</span> locked_addStream(<a class="code" href="classihipStream__t.html">ihipStream_t</a> *s);</div>
<div class="line"><a name="l00574"></a><span class="lineno"> 574</span>&#160; <span class="keywordtype">void</span> locked_removeStream(<a class="code" href="classihipStream__t.html">ihipStream_t</a> *s);</div>
<div class="line"><a name="l00575"></a><span class="lineno"> 575</span>&#160; <span class="keywordtype">void</span> locked_reset();</div>
<div class="line"><a name="l00576"></a><span class="lineno"> 576</span>&#160; <span class="keywordtype">void</span> locked_waitAllStreams();</div>
<div class="line"><a name="l00577"></a><span class="lineno"> 577</span>&#160; <span class="keywordtype">void</span> locked_syncDefaultStream(<span class="keywordtype">bool</span> waitOnSelf);</div>
<div class="line"><a name="l00578"></a><span class="lineno"> 578</span>&#160;</div>
<div class="line"><a name="l00579"></a><span class="lineno"> 579</span>&#160; <a class="code" href="classihipDeviceCriticalBase__t.html">ihipDeviceCritical_t</a> &amp;criticalData() { <span class="keywordflow">return</span> _criticalData; }; <span class="comment">// TODO, move private. Fix P2P.</span></div>
<div class="line"><a name="l00580"></a><span class="lineno"> 580</span>&#160;</div>
<div class="line"><a name="l00581"></a><span class="lineno"> 581</span>&#160; <a class="code" href="structhipDeviceProp__t.html">hipDeviceProp_t</a> _props; <span class="comment">// saved device properties.</span></div>
<div class="line"><a name="l00582"></a><span class="lineno"> 582</span>&#160; hc::accelerator _acc;</div>
<div class="line"><a name="l00583"></a><span class="lineno"> 583</span>&#160; hsa_agent_t _hsa_agent; <span class="comment">// hsa agent handle</span></div>
<div class="line"><a name="l00584"></a><span class="lineno"> 584</span>&#160;</div>
<div class="line"><a name="l00585"></a><span class="lineno"> 585</span>&#160; <span class="comment">// The NULL stream is used if no other stream is specified.</span></div>
<div class="line"><a name="l00586"></a><span class="lineno"> 586</span>&#160; <span class="comment">// NULL has special synchronization properties with other streams.</span></div>
<div class="line"><a name="l00587"></a><span class="lineno"> 587</span>&#160; <a class="code" href="classihipStream__t.html">ihipStream_t</a> *_default_stream;</div>
<div class="line"><a name="l00588"></a><span class="lineno"> 588</span>&#160;</div>
<div class="line"><a name="l00589"></a><span class="lineno"> 589</span>&#160;</div>
<div class="line"><a name="l00590"></a><span class="lineno"> 590</span>&#160; <span class="keywordtype">unsigned</span> _compute_units;</div>
<div class="line"><a name="l00581"></a><span class="lineno"> 581</span>&#160;<span class="keyword">public</span>: <span class="comment">// Data, set at initialization:</span></div>
<div class="line"><a name="l00582"></a><span class="lineno"> 582</span>&#160; <span class="keywordtype">unsigned</span> _device_index; <span class="comment">// index into g_devices.</span></div>
<div class="line"><a name="l00583"></a><span class="lineno"> 583</span>&#160;</div>
<div class="line"><a name="l00584"></a><span class="lineno"> 584</span>&#160; <a class="code" href="structhipDeviceProp__t.html">hipDeviceProp_t</a> _props; <span class="comment">// saved device properties.</span></div>
<div class="line"><a name="l00585"></a><span class="lineno"> 585</span>&#160; hc::accelerator _acc;</div>
<div class="line"><a name="l00586"></a><span class="lineno"> 586</span>&#160; hsa_agent_t _hsa_agent; <span class="comment">// hsa agent handle</span></div>
<div class="line"><a name="l00587"></a><span class="lineno"> 587</span>&#160;</div>
<div class="line"><a name="l00588"></a><span class="lineno"> 588</span>&#160; <span class="comment">// The NULL stream is used if no other stream is specified.</span></div>
<div class="line"><a name="l00589"></a><span class="lineno"> 589</span>&#160; <span class="comment">// NULL has special synchronization properties with other streams.</span></div>
<div class="line"><a name="l00590"></a><span class="lineno"> 590</span>&#160; <a class="code" href="classihipStream__t.html">ihipStream_t</a> *_default_stream;</div>
<div class="line"><a name="l00591"></a><span class="lineno"> 591</span>&#160;</div>
<div class="line"><a name="l00592"></a><span class="lineno"> 592</span>&#160; <a class="code" href="structStagingBuffer.html">StagingBuffer</a> *_staging_buffer[2]; <span class="comment">// one buffer for each direction.</span></div>
<div class="line"><a name="l00593"></a><span class="lineno"> 593</span>&#160;</div>
<div class="line"><a name="l00592"></a><span class="lineno"> 592</span>&#160;</div>
<div class="line"><a name="l00593"></a><span class="lineno"> 593</span>&#160; <span class="keywordtype">unsigned</span> _compute_units;</div>
<div class="line"><a name="l00594"></a><span class="lineno"> 594</span>&#160;</div>
<div class="line"><a name="l00595"></a><span class="lineno"> 595</span>&#160; <span class="keywordtype">unsigned</span> _device_flags;</div>
<div class="line"><a name="l00595"></a><span class="lineno"> 595</span>&#160; <a class="code" href="structStagingBuffer.html">StagingBuffer</a> *_staging_buffer[2]; <span class="comment">// one buffer for each direction.</span></div>
<div class="line"><a name="l00596"></a><span class="lineno"> 596</span>&#160;</div>
<div class="line"><a name="l00597"></a><span class="lineno"> 597</span>&#160;<span class="keyword">private</span>:</div>
<div class="line"><a name="l00598"></a><span class="lineno"> 598</span>&#160; <a class="code" href="group__GlobalDefs.html#gadf5010f6e140a53ecbdf949e73e87594">hipError_t</a> getProperties(<a class="code" href="structhipDeviceProp__t.html">hipDeviceProp_t</a>* prop);</div>
<div class="line"><a name="l00597"></a><span class="lineno"> 597</span>&#160;</div>
<div class="line"><a name="l00598"></a><span class="lineno"> 598</span>&#160; <span class="keywordtype">unsigned</span> _device_flags;</div>
<div class="line"><a name="l00599"></a><span class="lineno"> 599</span>&#160;</div>
<div class="line"><a name="l00600"></a><span class="lineno"> 600</span>&#160;<span class="keyword">private</span>: <span class="comment">// Critical data, protected with locked access:</span></div>
<div class="line"><a name="l00601"></a><span class="lineno"> 601</span>&#160; <span class="comment">// Members of _protected data MUST be accessed through the LockedAccessor.</span></div>
<div class="line"><a name="l00602"></a><span class="lineno"> 602</span>&#160; <span class="comment">// Search for LockedAccessor&lt;ihipDeviceCritical_t&gt; for examples; do not access _criticalData directly.</span></div>
<div class="line"><a name="l00603"></a><span class="lineno"> 603</span>&#160; <a class="code" href="classihipDeviceCriticalBase__t.html">ihipDeviceCritical_t</a> _criticalData;</div>
<div class="line"><a name="l00604"></a><span class="lineno"> 604</span>&#160;</div>
<div class="line"><a name="l00605"></a><span class="lineno"> 605</span>&#160;};</div>
<div class="line"><a name="l00606"></a><span class="lineno"> 606</span>&#160;</div>
<div class="line"><a name="l00600"></a><span class="lineno"> 600</span>&#160;<span class="keyword">private</span>:</div>
<div class="line"><a name="l00601"></a><span class="lineno"> 601</span>&#160; <a class="code" href="group__GlobalDefs.html#gadf5010f6e140a53ecbdf949e73e87594">hipError_t</a> getProperties(<a class="code" href="structhipDeviceProp__t.html">hipDeviceProp_t</a>* prop);</div>
<div class="line"><a name="l00602"></a><span class="lineno"> 602</span>&#160;</div>
<div class="line"><a name="l00603"></a><span class="lineno"> 603</span>&#160;<span class="keyword">private</span>: <span class="comment">// Critical data, protected with locked access:</span></div>
<div class="line"><a name="l00604"></a><span class="lineno"> 604</span>&#160; <span class="comment">// Members of _protected data MUST be accessed through the LockedAccessor.</span></div>
<div class="line"><a name="l00605"></a><span class="lineno"> 605</span>&#160; <span class="comment">// Search for LockedAccessor&lt;ihipDeviceCritical_t&gt; for examples; do not access _criticalData directly.</span></div>
<div class="line"><a name="l00606"></a><span class="lineno"> 606</span>&#160; <a class="code" href="classihipDeviceCriticalBase__t.html">ihipDeviceCritical_t</a> _criticalData;</div>
<div class="line"><a name="l00607"></a><span class="lineno"> 607</span>&#160;</div>
<div class="line"><a name="l00608"></a><span class="lineno"> 608</span>&#160;</div>
<div class="line"><a name="l00609"></a><span class="lineno"> 609</span>&#160;<span class="comment">// Global variable definition:</span></div>
<div class="line"><a name="l00610"></a><span class="lineno"> 610</span>&#160;<span class="keyword">extern</span> std::once_flag hip_initialized;</div>
<div class="line"><a name="l00611"></a><span class="lineno"> 611</span>&#160;<span class="keyword">extern</span> <a class="code" href="classihipDevice__t.html">ihipDevice_t</a> *g_devices; <span class="comment">// Array of all non-emulated (ie GPU) accelerators in the system.</span></div>
<div class="line"><a name="l00612"></a><span class="lineno"> 612</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">bool</span> g_visible_device; <span class="comment">// Set the flag when HIP_VISIBLE_DEVICES is set</span></div>
<div class="line"><a name="l00613"></a><span class="lineno"> 613</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">unsigned</span> g_deviceCnt;</div>
<div class="line"><a name="l00614"></a><span class="lineno"> 614</span>&#160;<span class="keyword">extern</span> std::vector&lt;int&gt; g_hip_visible_devices; <span class="comment">/* vector of integers that contains the visible device IDs */</span></div>
<div class="line"><a name="l00615"></a><span class="lineno"> 615</span>&#160;<span class="keyword">extern</span> hsa_agent_t g_cpu_agent ; <span class="comment">// the CPU agent.</span></div>
<div class="line"><a name="l00616"></a><span class="lineno"> 616</span>&#160;<span class="comment">//=================================================================================================</span></div>
<div class="line"><a name="l00617"></a><span class="lineno"> 617</span>&#160;<span class="keywordtype">void</span> ihipInit();</div>
<div class="line"><a name="l00618"></a><span class="lineno"> 618</span>&#160;<span class="keyword">const</span> <span class="keywordtype">char</span> *ihipErrorString(<a class="code" href="group__GlobalDefs.html#gadf5010f6e140a53ecbdf949e73e87594">hipError_t</a>);</div>
<div class="line"><a name="l00619"></a><span class="lineno"> 619</span>&#160;<a class="code" href="classihipDevice__t.html">ihipDevice_t</a> *ihipGetTlsDefaultDevice();</div>
<div class="line"><a name="l00620"></a><span class="lineno"> 620</span>&#160;<a class="code" href="classihipDevice__t.html">ihipDevice_t</a> *ihipGetDevice(<span class="keywordtype">int</span>);</div>
<div class="line"><a name="l00621"></a><span class="lineno"> 621</span>&#160;<span class="keywordtype">void</span> ihipSetTs(<a class="code" href="structhipEvent__t.html">hipEvent_t</a> e);</div>
<div class="line"><a name="l00622"></a><span class="lineno"> 622</span>&#160;</div>
<div class="line"><a name="l00623"></a><span class="lineno"> 623</span>&#160;<span class="keyword">template</span>&lt;<span class="keyword">typename</span> T&gt;</div>
<div class="line"><a name="l00624"></a><span class="lineno"> 624</span>&#160;hc::completion_future ihipMemcpyKernel(hipStream_t, T*, <span class="keyword">const</span> T*, <span class="keywordtype">size_t</span>);</div>
<div class="line"><a name="l00608"></a><span class="lineno"> 608</span>&#160;};</div>
<div class="line"><a name="l00609"></a><span class="lineno"> 609</span>&#160;</div>
<div class="line"><a name="l00610"></a><span class="lineno"> 610</span>&#160;</div>
<div class="line"><a name="l00611"></a><span class="lineno"> 611</span>&#160;</div>
<div class="line"><a name="l00612"></a><span class="lineno"> 612</span>&#160;<span class="comment">// Global variable definition:</span></div>
<div class="line"><a name="l00613"></a><span class="lineno"> 613</span>&#160;<span class="keyword">extern</span> std::once_flag hip_initialized;</div>
<div class="line"><a name="l00614"></a><span class="lineno"> 614</span>&#160;<span class="keyword">extern</span> <a class="code" href="classihipDevice__t.html">ihipDevice_t</a> *g_devices; <span class="comment">// Array of all non-emulated (ie GPU) accelerators in the system.</span></div>
<div class="line"><a name="l00615"></a><span class="lineno"> 615</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">bool</span> g_visible_device; <span class="comment">// Set the flag when HIP_VISIBLE_DEVICES is set</span></div>
<div class="line"><a name="l00616"></a><span class="lineno"> 616</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">unsigned</span> g_deviceCnt;</div>
<div class="line"><a name="l00617"></a><span class="lineno"> 617</span>&#160;<span class="keyword">extern</span> std::vector&lt;int&gt; g_hip_visible_devices; <span class="comment">/* vector of integers that contains the visible device IDs */</span></div>
<div class="line"><a name="l00618"></a><span class="lineno"> 618</span>&#160;<span class="keyword">extern</span> hsa_agent_t g_cpu_agent ; <span class="comment">// the CPU agent.</span></div>
<div class="line"><a name="l00619"></a><span class="lineno"> 619</span>&#160;<span class="comment">//=================================================================================================</span></div>
<div class="line"><a name="l00620"></a><span class="lineno"> 620</span>&#160;<span class="keywordtype">void</span> ihipInit();</div>
<div class="line"><a name="l00621"></a><span class="lineno"> 621</span>&#160;<span class="keyword">const</span> <span class="keywordtype">char</span> *ihipErrorString(<a class="code" href="group__GlobalDefs.html#gadf5010f6e140a53ecbdf949e73e87594">hipError_t</a>);</div>
<div class="line"><a name="l00622"></a><span class="lineno"> 622</span>&#160;<a class="code" href="classihipDevice__t.html">ihipDevice_t</a> *ihipGetTlsDefaultDevice();</div>
<div class="line"><a name="l00623"></a><span class="lineno"> 623</span>&#160;<a class="code" href="classihipDevice__t.html">ihipDevice_t</a> *ihipGetDevice(<span class="keywordtype">int</span>);</div>
<div class="line"><a name="l00624"></a><span class="lineno"> 624</span>&#160;<span class="keywordtype">void</span> ihipSetTs(<a class="code" href="structhipEvent__t.html">hipEvent_t</a> e);</div>
<div class="line"><a name="l00625"></a><span class="lineno"> 625</span>&#160;</div>
<div class="line"><a name="l00626"></a><span class="lineno"> 626</span>&#160;<span class="keyword">template</span>&lt;<span class="keyword">typename</span> T&gt;</div>
<div class="line"><a name="l00627"></a><span class="lineno"> 627</span>&#160;hc::completion_future ihipMemsetKernel(hipStream_t, T*, T, <span class="keywordtype">size_t</span>);</div>
<div class="line"><a name="l00627"></a><span class="lineno"> 627</span>&#160;hc::completion_future ihipMemcpyKernel(hipStream_t, T*, <span class="keyword">const</span> T*, <span class="keywordtype">size_t</span>);</div>
<div class="line"><a name="l00628"></a><span class="lineno"> 628</span>&#160;</div>
<div class="line"><a name="l00629"></a><span class="lineno"> 629</span>&#160;hipStream_t ihipSyncAndResolveStream(hipStream_t);</div>
<div class="line"><a name="l00630"></a><span class="lineno"> 630</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> T&gt;</div>
<div class="line"><a name="l00629"></a><span class="lineno"> 629</span>&#160;<span class="keyword">template</span>&lt;<span class="keyword">typename</span> T&gt;</div>
<div class="line"><a name="l00630"></a><span class="lineno"> 630</span>&#160;hc::completion_future ihipMemsetKernel(hipStream_t, T*, T, <span class="keywordtype">size_t</span>);</div>
<div class="line"><a name="l00631"></a><span class="lineno"> 631</span>&#160;</div>
<div class="line"><a name="l00632"></a><span class="lineno"> 632</span>&#160;hc::completion_future</div>
<div class="line"><a name="l00633"></a><span class="lineno"> 633</span>&#160;ihipMemsetKernel(hipStream_t stream, T * ptr, T val, <span class="keywordtype">size_t</span> sizeBytes)</div>
<div class="line"><a name="l00634"></a><span class="lineno"> 634</span>&#160;{</div>
<div class="line"><a name="l00635"></a><span class="lineno"> 635</span>&#160; <span class="keywordtype">int</span> wg = std::min((<span class="keywordtype">unsigned</span>)8, stream-&gt;getDevice()-&gt;_compute_units);</div>
<div class="line"><a name="l00636"></a><span class="lineno"> 636</span>&#160; <span class="keyword">const</span> <span class="keywordtype">int</span> threads_per_wg = 256;</div>
<div class="line"><a name="l00637"></a><span class="lineno"> 637</span>&#160;</div>
<div class="line"><a name="l00638"></a><span class="lineno"> 638</span>&#160; <span class="keywordtype">int</span> threads = wg * threads_per_wg;</div>
<div class="line"><a name="l00639"></a><span class="lineno"> 639</span>&#160; <span class="keywordflow">if</span> (threads &gt; sizeBytes) {</div>
<div class="line"><a name="l00640"></a><span class="lineno"> 640</span>&#160; threads = ((sizeBytes + threads_per_wg - 1) / threads_per_wg) * threads_per_wg;</div>
<div class="line"><a name="l00641"></a><span class="lineno"> 641</span>&#160; }</div>
<div class="line"><a name="l00642"></a><span class="lineno"> 642</span>&#160;</div>
<div class="line"><a name="l00643"></a><span class="lineno"> 643</span>&#160;</div>
<div class="line"><a name="l00644"></a><span class="lineno"> 644</span>&#160; hc::extent&lt;1&gt; ext(threads);</div>
<div class="line"><a name="l00645"></a><span class="lineno"> 645</span>&#160; <span class="keyword">auto</span> ext_tile = ext.tile(threads_per_wg);</div>
<div class="line"><a name="l00632"></a><span class="lineno"> 632</span>&#160;hipStream_t ihipSyncAndResolveStream(hipStream_t);</div>
<div class="line"><a name="l00633"></a><span class="lineno"> 633</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> T&gt;</div>
<div class="line"><a name="l00634"></a><span class="lineno"> 634</span>&#160;</div>
<div class="line"><a name="l00635"></a><span class="lineno"> 635</span>&#160;hc::completion_future</div>
<div class="line"><a name="l00636"></a><span class="lineno"> 636</span>&#160;ihipMemsetKernel(hipStream_t stream, T * ptr, T val, <span class="keywordtype">size_t</span> sizeBytes)</div>
<div class="line"><a name="l00637"></a><span class="lineno"> 637</span>&#160;{</div>
<div class="line"><a name="l00638"></a><span class="lineno"> 638</span>&#160; <span class="keywordtype">int</span> wg = std::min((<span class="keywordtype">unsigned</span>)8, stream-&gt;getDevice()-&gt;_compute_units);</div>
<div class="line"><a name="l00639"></a><span class="lineno"> 639</span>&#160; <span class="keyword">const</span> <span class="keywordtype">int</span> threads_per_wg = 256;</div>
<div class="line"><a name="l00640"></a><span class="lineno"> 640</span>&#160;</div>
<div class="line"><a name="l00641"></a><span class="lineno"> 641</span>&#160; <span class="keywordtype">int</span> threads = wg * threads_per_wg;</div>
<div class="line"><a name="l00642"></a><span class="lineno"> 642</span>&#160; <span class="keywordflow">if</span> (threads &gt; sizeBytes) {</div>
<div class="line"><a name="l00643"></a><span class="lineno"> 643</span>&#160; threads = ((sizeBytes + threads_per_wg - 1) / threads_per_wg) * threads_per_wg;</div>
<div class="line"><a name="l00644"></a><span class="lineno"> 644</span>&#160; }</div>
<div class="line"><a name="l00645"></a><span class="lineno"> 645</span>&#160;</div>
<div class="line"><a name="l00646"></a><span class="lineno"> 646</span>&#160;</div>
<div class="line"><a name="l00647"></a><span class="lineno"> 647</span>&#160; hc::completion_future cf =</div>
<div class="line"><a name="l00648"></a><span class="lineno"> 648</span>&#160; hc::parallel_for_each(</div>
<div class="line"><a name="l00649"></a><span class="lineno"> 649</span>&#160; stream-&gt;_av,</div>
<div class="line"><a name="l00650"></a><span class="lineno"> 650</span>&#160; ext_tile,</div>
<div class="line"><a name="l00651"></a><span class="lineno"> 651</span>&#160; [=] (hc::tiled_index&lt;1&gt; idx)</div>
<div class="line"><a name="l00652"></a><span class="lineno"> 652</span>&#160; __attribute__((hc))</div>
<div class="line"><a name="l00653"></a><span class="lineno"> 653</span>&#160; {</div>
<div class="line"><a name="l00654"></a><span class="lineno"> 654</span>&#160; <span class="keywordtype">int</span> offset = amp_get_global_id(0);</div>
<div class="line"><a name="l00655"></a><span class="lineno"> 655</span>&#160; <span class="comment">// TODO-HCC - change to hc_get_local_size()</span></div>
<div class="line"><a name="l00656"></a><span class="lineno"> 656</span>&#160; <span class="keywordtype">int</span> stride = amp_get_local_size(0) * hc_get_num_groups(0) ;</div>
<div class="line"><a name="l00657"></a><span class="lineno"> 657</span>&#160;</div>
<div class="line"><a name="l00658"></a><span class="lineno"> 658</span>&#160; <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i=offset; i&lt;sizeBytes; i+=stride) {</div>
<div class="line"><a name="l00659"></a><span class="lineno"> 659</span>&#160; ptr[i] = val;</div>
<div class="line"><a name="l00660"></a><span class="lineno"> 660</span>&#160; }</div>
<div class="line"><a name="l00661"></a><span class="lineno"> 661</span>&#160; });</div>
<div class="line"><a name="l00662"></a><span class="lineno"> 662</span>&#160;</div>
<div class="line"><a name="l00663"></a><span class="lineno"> 663</span>&#160; <span class="keywordflow">return</span> cf;</div>
<div class="line"><a name="l00664"></a><span class="lineno"> 664</span>&#160;}</div>
<div class="line"><a name="l00647"></a><span class="lineno"> 647</span>&#160; hc::extent&lt;1&gt; ext(threads);</div>
<div class="line"><a name="l00648"></a><span class="lineno"> 648</span>&#160; <span class="keyword">auto</span> ext_tile = ext.tile(threads_per_wg);</div>
<div class="line"><a name="l00649"></a><span class="lineno"> 649</span>&#160;</div>
<div class="line"><a name="l00650"></a><span class="lineno"> 650</span>&#160; hc::completion_future cf =</div>
<div class="line"><a name="l00651"></a><span class="lineno"> 651</span>&#160; hc::parallel_for_each(</div>
<div class="line"><a name="l00652"></a><span class="lineno"> 652</span>&#160; stream-&gt;_av,</div>
<div class="line"><a name="l00653"></a><span class="lineno"> 653</span>&#160; ext_tile,</div>
<div class="line"><a name="l00654"></a><span class="lineno"> 654</span>&#160; [=] (hc::tiled_index&lt;1&gt; idx)</div>
<div class="line"><a name="l00655"></a><span class="lineno"> 655</span>&#160; __attribute__((hc))</div>
<div class="line"><a name="l00656"></a><span class="lineno"> 656</span>&#160; {</div>
<div class="line"><a name="l00657"></a><span class="lineno"> 657</span>&#160; <span class="keywordtype">int</span> offset = amp_get_global_id(0);</div>
<div class="line"><a name="l00658"></a><span class="lineno"> 658</span>&#160; <span class="comment">// TODO-HCC - change to hc_get_local_size()</span></div>
<div class="line"><a name="l00659"></a><span class="lineno"> 659</span>&#160; <span class="keywordtype">int</span> stride = amp_get_local_size(0) * hc_get_num_groups(0) ;</div>
<div class="line"><a name="l00660"></a><span class="lineno"> 660</span>&#160;</div>
<div class="line"><a name="l00661"></a><span class="lineno"> 661</span>&#160; <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i=offset; i&lt;sizeBytes; i+=stride) {</div>
<div class="line"><a name="l00662"></a><span class="lineno"> 662</span>&#160; ptr[i] = val;</div>
<div class="line"><a name="l00663"></a><span class="lineno"> 663</span>&#160; }</div>
<div class="line"><a name="l00664"></a><span class="lineno"> 664</span>&#160; });</div>
<div class="line"><a name="l00665"></a><span class="lineno"> 665</span>&#160;</div>
<div class="line"><a name="l00666"></a><span class="lineno"> 666</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> T&gt;</div>
<div class="line"><a name="l00667"></a><span class="lineno"> 667</span>&#160;hc::completion_future</div>
<div class="line"><a name="l00668"></a><span class="lineno"> 668</span>&#160;ihipMemcpyKernel(hipStream_t stream, T * c, <span class="keyword">const</span> T * a, <span class="keywordtype">size_t</span> sizeBytes)</div>
<div class="line"><a name="l00669"></a><span class="lineno"> 669</span>&#160;{</div>
<div class="line"><a name="l00670"></a><span class="lineno"> 670</span>&#160; <span class="keywordtype">int</span> wg = std::min((<span class="keywordtype">unsigned</span>)8, stream-&gt;getDevice()-&gt;_compute_units);</div>
<div class="line"><a name="l00671"></a><span class="lineno"> 671</span>&#160; <span class="keyword">const</span> <span class="keywordtype">int</span> threads_per_wg = 256;</div>
<div class="line"><a name="l00672"></a><span class="lineno"> 672</span>&#160;</div>
<div class="line"><a name="l00673"></a><span class="lineno"> 673</span>&#160; <span class="keywordtype">int</span> threads = wg * threads_per_wg;</div>
<div class="line"><a name="l00674"></a><span class="lineno"> 674</span>&#160; <span class="keywordflow">if</span> (threads &gt; sizeBytes) {</div>
<div class="line"><a name="l00675"></a><span class="lineno"> 675</span>&#160; threads = ((sizeBytes + threads_per_wg - 1) / threads_per_wg) * threads_per_wg;</div>
<div class="line"><a name="l00676"></a><span class="lineno"> 676</span>&#160; }</div>
<div class="line"><a name="l00677"></a><span class="lineno"> 677</span>&#160;</div>
<div class="line"><a name="l00678"></a><span class="lineno"> 678</span>&#160;</div>
<div class="line"><a name="l00679"></a><span class="lineno"> 679</span>&#160; hc::extent&lt;1&gt; ext(threads);</div>
<div class="line"><a name="l00680"></a><span class="lineno"> 680</span>&#160; <span class="keyword">auto</span> ext_tile = ext.tile(threads_per_wg);</div>
<div class="line"><a name="l00666"></a><span class="lineno"> 666</span>&#160; <span class="keywordflow">return</span> cf;</div>
<div class="line"><a name="l00667"></a><span class="lineno"> 667</span>&#160;}</div>
<div class="line"><a name="l00668"></a><span class="lineno"> 668</span>&#160;</div>
<div class="line"><a name="l00669"></a><span class="lineno"> 669</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> T&gt;</div>
<div class="line"><a name="l00670"></a><span class="lineno"> 670</span>&#160;hc::completion_future</div>
<div class="line"><a name="l00671"></a><span class="lineno"> 671</span>&#160;ihipMemcpyKernel(hipStream_t stream, T * c, <span class="keyword">const</span> T * a, <span class="keywordtype">size_t</span> sizeBytes)</div>
<div class="line"><a name="l00672"></a><span class="lineno"> 672</span>&#160;{</div>
<div class="line"><a name="l00673"></a><span class="lineno"> 673</span>&#160; <span class="keywordtype">int</span> wg = std::min((<span class="keywordtype">unsigned</span>)8, stream-&gt;getDevice()-&gt;_compute_units);</div>
<div class="line"><a name="l00674"></a><span class="lineno"> 674</span>&#160; <span class="keyword">const</span> <span class="keywordtype">int</span> threads_per_wg = 256;</div>
<div class="line"><a name="l00675"></a><span class="lineno"> 675</span>&#160;</div>
<div class="line"><a name="l00676"></a><span class="lineno"> 676</span>&#160; <span class="keywordtype">int</span> threads = wg * threads_per_wg;</div>
<div class="line"><a name="l00677"></a><span class="lineno"> 677</span>&#160; <span class="keywordflow">if</span> (threads &gt; sizeBytes) {</div>
<div class="line"><a name="l00678"></a><span class="lineno"> 678</span>&#160; threads = ((sizeBytes + threads_per_wg - 1) / threads_per_wg) * threads_per_wg;</div>
<div class="line"><a name="l00679"></a><span class="lineno"> 679</span>&#160; }</div>
<div class="line"><a name="l00680"></a><span class="lineno"> 680</span>&#160;</div>
<div class="line"><a name="l00681"></a><span class="lineno"> 681</span>&#160;</div>
<div class="line"><a name="l00682"></a><span class="lineno"> 682</span>&#160; hc::completion_future cf =</div>
<div class="line"><a name="l00683"></a><span class="lineno"> 683</span>&#160; hc::parallel_for_each(</div>
<div class="line"><a name="l00684"></a><span class="lineno"> 684</span>&#160; stream-&gt;_av,</div>
<div class="line"><a name="l00685"></a><span class="lineno"> 685</span>&#160; ext_tile,</div>
<div class="line"><a name="l00686"></a><span class="lineno"> 686</span>&#160; [=] (hc::tiled_index&lt;1&gt; idx)</div>
<div class="line"><a name="l00687"></a><span class="lineno"> 687</span>&#160; __attribute__((hc))</div>
<div class="line"><a name="l00688"></a><span class="lineno"> 688</span>&#160; {</div>
<div class="line"><a name="l00689"></a><span class="lineno"> 689</span>&#160; <span class="keywordtype">int</span> offset = amp_get_global_id(0);</div>
<div class="line"><a name="l00690"></a><span class="lineno"> 690</span>&#160; <span class="comment">// TODO-HCC - change to hc_get_local_size()</span></div>
<div class="line"><a name="l00691"></a><span class="lineno"> 691</span>&#160; <span class="keywordtype">int</span> stride = amp_get_local_size(0) * hc_get_num_groups(0) ;</div>
<div class="line"><a name="l00692"></a><span class="lineno"> 692</span>&#160;</div>
<div class="line"><a name="l00693"></a><span class="lineno"> 693</span>&#160; <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i=offset; i&lt;sizeBytes; i+=stride) {</div>
<div class="line"><a name="l00694"></a><span class="lineno"> 694</span>&#160; c[i] = a[i];</div>
<div class="line"><a name="l00695"></a><span class="lineno"> 695</span>&#160; }</div>
<div class="line"><a name="l00696"></a><span class="lineno"> 696</span>&#160; });</div>
<div class="line"><a name="l00697"></a><span class="lineno"> 697</span>&#160;</div>
<div class="line"><a name="l00698"></a><span class="lineno"> 698</span>&#160; <span class="keywordflow">return</span> cf;</div>
<div class="line"><a name="l00699"></a><span class="lineno"> 699</span>&#160;}</div>
<div class="line"><a name="l00682"></a><span class="lineno"> 682</span>&#160; hc::extent&lt;1&gt; ext(threads);</div>
<div class="line"><a name="l00683"></a><span class="lineno"> 683</span>&#160; <span class="keyword">auto</span> ext_tile = ext.tile(threads_per_wg);</div>
<div class="line"><a name="l00684"></a><span class="lineno"> 684</span>&#160;</div>
<div class="line"><a name="l00685"></a><span class="lineno"> 685</span>&#160; hc::completion_future cf =</div>
<div class="line"><a name="l00686"></a><span class="lineno"> 686</span>&#160; hc::parallel_for_each(</div>
<div class="line"><a name="l00687"></a><span class="lineno"> 687</span>&#160; stream-&gt;_av,</div>
<div class="line"><a name="l00688"></a><span class="lineno"> 688</span>&#160; ext_tile,</div>
<div class="line"><a name="l00689"></a><span class="lineno"> 689</span>&#160; [=] (hc::tiled_index&lt;1&gt; idx)</div>
<div class="line"><a name="l00690"></a><span class="lineno"> 690</span>&#160; __attribute__((hc))</div>
<div class="line"><a name="l00691"></a><span class="lineno"> 691</span>&#160; {</div>
<div class="line"><a name="l00692"></a><span class="lineno"> 692</span>&#160; <span class="keywordtype">int</span> offset = amp_get_global_id(0);</div>
<div class="line"><a name="l00693"></a><span class="lineno"> 693</span>&#160; <span class="comment">// TODO-HCC - change to hc_get_local_size()</span></div>
<div class="line"><a name="l00694"></a><span class="lineno"> 694</span>&#160; <span class="keywordtype">int</span> stride = amp_get_local_size(0) * hc_get_num_groups(0) ;</div>
<div class="line"><a name="l00695"></a><span class="lineno"> 695</span>&#160;</div>
<div class="line"><a name="l00696"></a><span class="lineno"> 696</span>&#160; <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i=offset; i&lt;sizeBytes; i+=stride) {</div>
<div class="line"><a name="l00697"></a><span class="lineno"> 697</span>&#160; c[i] = a[i];</div>
<div class="line"><a name="l00698"></a><span class="lineno"> 698</span>&#160; }</div>
<div class="line"><a name="l00699"></a><span class="lineno"> 699</span>&#160; });</div>
<div class="line"><a name="l00700"></a><span class="lineno"> 700</span>&#160;</div>
<div class="line"><a name="l00701"></a><span class="lineno"> 701</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="ttc" id="classihipDevice__t_html"><div class="ttname"><a href="classihipDevice__t.html">ihipDevice_t</a></div><div class="ttdef"><b>Definition:</b> hip_hcc.h:563</div></div>
<div class="line"><a name="l00701"></a><span class="lineno"> 701</span>&#160; <span class="keywordflow">return</span> cf;</div>
<div class="line"><a name="l00702"></a><span class="lineno"> 702</span>&#160;}</div>
<div class="line"><a name="l00703"></a><span class="lineno"> 703</span>&#160;</div>
<div class="line"><a name="l00704"></a><span class="lineno"> 704</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="ttc" id="classihipDevice__t_html"><div class="ttname"><a href="classihipDevice__t.html">ihipDevice_t</a></div><div class="ttdef"><b>Definition:</b> hip_hcc.h:566</div></div>
<div class="ttc" id="structLockedBase_html"><div class="ttname"><a href="structLockedBase.html">LockedBase</a></div><div class="ttdef"><b>Definition:</b> hip_hcc.h:340</div></div>
<div class="ttc" id="classFakeMutex_html"><div class="ttname"><a href="classFakeMutex.html">FakeMutex</a></div><div class="ttdef"><b>Definition:</b> hip_hcc.h:279</div></div>
<div class="ttc" id="group__GlobalDefs_html_gadf5010f6e140a53ecbdf949e73e87594"><div class="ttname"><a href="group__GlobalDefs.html#gadf5010f6e140a53ecbdf949e73e87594">hipError_t</a></div><div class="ttdeci">hipError_t</div><div class="ttdef"><b>Definition:</b> hip_runtime_api.h:142</div></div>
@@ -807,7 +810,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sat Apr 16 2016 14:52:09 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Tue Apr 19 2016 22:44:02 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
+7 -10
Просмотреть файл
@@ -4,7 +4,7 @@
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>HIP: Heterogenous-computing Interface for Portability: /home/mangupta/hip_git/rel0.84.0/include/hip_runtime.h Source File</title>
<title>HIP: Heterogenous-computing Interface for Portability: /home/mangupta/hip_git/release_0.84.00/include/hip_runtime.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
@@ -129,27 +129,24 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>&#160;</div>
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>&#160;<span class="preprocessor">#include &lt;hip_common.h&gt;</span></div>
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>&#160;<span class="preprocessor">#include &lt;hip/hip_common.h&gt;</span></div>
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>&#160;</div>
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160;<span class="preprocessor">#if defined(__HIP_PLATFORM_HCC__) &amp;&amp; !defined (__HIP_PLATFORM_NVCC__)</span></div>
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#include &lt;<a class="code" href="hcc__detail_2hip__runtime_8h.html">hcc_detail/hip_runtime.h</a>&gt;</span></div>
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#include &lt;hip/hcc_detail/hip_runtime.h&gt;</span></div>
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160;<span class="preprocessor">#elif defined(__HIP_PLATFORM_NVCC__) &amp;&amp; !defined (__HIP_PLATFORM_HCC__)</span></div>
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#include &lt;nvcc_detail/hip_runtime.h&gt;</span></div>
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#include &lt;hip/nvcc_detail/hip_runtime.h&gt;</span></div>
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>&#160;<span class="preprocessor">#else </span></div>
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#error(&quot;Must define exactly one of __HIP_PLATFORM_HCC__ or __HIP_PLATFORM_NVCC__&quot;);</span></div>
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#endif </span></div>
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160;</div>
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="hip__runtime__api_8h.html">hip_runtime_api.h</a>&gt;</span></div>
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="hip__vector__types_8h.html">hip_vector_types.h</a>&gt;</span></div>
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160;<span class="preprocessor">#include &lt;hip/hip_runtime_api.h&gt;</span></div>
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160;<span class="preprocessor">#include &lt;hip/hip_vector_types.h&gt;</span></div>
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>&#160;</div>
<div class="ttc" id="hip__runtime__api_8h_html"><div class="ttname"><a href="hip__runtime__api_8h.html">hip_runtime_api.h</a></div></div>
<div class="ttc" id="hcc__detail_2hip__runtime_8h_html"><div class="ttname"><a href="hcc__detail_2hip__runtime_8h.html">hip_runtime.h</a></div><div class="ttdoc">Contains definitions of APIs for HIP runtime. </div></div>
<div class="ttc" id="hip__vector__types_8h_html"><div class="ttname"><a href="hip__vector__types_8h.html">hip_vector_types.h</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sat Apr 16 2016 14:52:09 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Tue Apr 19 2016 22:44:02 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
+5 -6
Просмотреть файл
@@ -4,7 +4,7 @@
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>HIP: Heterogenous-computing Interface for Portability: /home/mangupta/hip_git/rel0.84.0/include/hip_runtime_api.h Source File</title>
<title>HIP: Heterogenous-computing Interface for Portability: /home/mangupta/hip_git/release_0.84.00/include/hip_runtime_api.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
@@ -114,7 +114,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160;</div>
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160;<span class="preprocessor">#include &lt;string.h&gt;</span> <span class="comment">// for getDeviceProp</span></div>
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160;<span class="preprocessor">#include &lt;hip_common.h&gt;</span></div>
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160;<span class="preprocessor">#include &lt;hip/hip_common.h&gt;</span></div>
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160;</div>
<div class="line"><a name="l00035"></a><span class="lineno"><a class="line" href="structhipDeviceArch__t.html"> 35</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span>{</div>
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160; <span class="comment">// 32-bit Atomics</span></div>
@@ -263,9 +263,9 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
<div class="line"><a name="l00196"></a><span class="lineno"> 196</span>&#160;} <a class="code" href="group__GlobalDefs.html#gacc0acd7b9bda126c6bb3dfd6e2796d7c">hipDeviceAttribute_t</a>;</div>
<div class="line"><a name="l00197"></a><span class="lineno"> 197</span>&#160;</div>
<div class="line"><a name="l00202"></a><span class="lineno"> 202</span>&#160;<span class="preprocessor">#if defined(__HIP_PLATFORM_HCC__) &amp;&amp; !defined (__HIP_PLATFORM_NVCC__)</span></div>
<div class="line"><a name="l00203"></a><span class="lineno"> 203</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#include &quot;<a class="code" href="hcc__detail_2hip__runtime__api_8h.html">hcc_detail/hip_runtime_api.h</a>&quot;</span></div>
<div class="line"><a name="l00203"></a><span class="lineno"> 203</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#include &quot;hip/hcc_detail/hip_runtime_api.h&quot;</span></div>
<div class="line"><a name="l00204"></a><span class="lineno"> 204</span>&#160;<span class="preprocessor">#elif defined(__HIP_PLATFORM_NVCC__) &amp;&amp; !defined (__HIP_PLATFORM_HCC__)</span></div>
<div class="line"><a name="l00205"></a><span class="lineno"> 205</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#include &quot;nvcc_detail/hip_runtime_api.h&quot;</span></div>
<div class="line"><a name="l00205"></a><span class="lineno"> 205</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#include &quot;hip/nvcc_detail/hip_runtime_api.h&quot;</span></div>
<div class="line"><a name="l00206"></a><span class="lineno"> 206</span>&#160;<span class="preprocessor">#else</span></div>
<div class="line"><a name="l00207"></a><span class="lineno"> 207</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#error(&quot;Must define exactly one of __HIP_PLATFORM_HCC__ or __HIP_PLATFORM_NVCC__&quot;);</span></div>
<div class="line"><a name="l00208"></a><span class="lineno"> 208</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#endif</span></div>
@@ -359,7 +359,6 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
<div class="ttc" id="structhipDeviceProp__t_html_ae6aa845dc2d540f85098ea30be35f4eb"><div class="ttname"><a href="structhipDeviceProp__t.html#ae6aa845dc2d540f85098ea30be35f4eb">hipDeviceProp_t::pciDeviceID</a></div><div class="ttdeci">int pciDeviceID</div><div class="ttdoc">PCI Device ID. </div><div class="ttdef"><b>Definition:</b> hip_runtime_api.h:97</div></div>
<div class="ttc" id="structhipDeviceProp__t_html_a5b44bf8fa46faefcde989942b1d11a5e"><div class="ttname"><a href="structhipDeviceProp__t.html#a5b44bf8fa46faefcde989942b1d11a5e">hipDeviceProp_t::name</a></div><div class="ttdeci">char name[256]</div><div class="ttdoc">Device name. </div><div class="ttdef"><b>Definition:</b> hip_runtime_api.h:75</div></div>
<div class="ttc" id="structhipDeviceArch__t_html"><div class="ttname"><a href="structhipDeviceArch__t.html">hipDeviceArch_t</a></div><div class="ttdef"><b>Definition:</b> hip_runtime_api.h:35</div></div>
<div class="ttc" id="hcc__detail_2hip__runtime__api_8h_html"><div class="ttname"><a href="hcc__detail_2hip__runtime__api_8h.html">hip_runtime_api.h</a></div><div class="ttdoc">Contains C function APIs for HIP runtime. This file does not use any HCC builtin or special language ...</div></div>
<div class="ttc" id="structhipDeviceProp__t_html_a6db0ab8e7e8cc13c84d7bb7f70226d5e"><div class="ttname"><a href="structhipDeviceProp__t.html#a6db0ab8e7e8cc13c84d7bb7f70226d5e">hipDeviceProp_t::memoryClockRate</a></div><div class="ttdeci">int memoryClockRate</div><div class="ttdoc">Max global memory clock frequency in khz. </div><div class="ttdef"><b>Definition:</b> hip_runtime_api.h:84</div></div>
<div class="ttc" id="group__GlobalDefs_html_ggadf5010f6e140a53ecbdf949e73e87594a7e935ae88ee1f9ff3920156ac6864520"><div class="ttname"><a href="group__GlobalDefs.html#ggadf5010f6e140a53ecbdf949e73e87594a7e935ae88ee1f9ff3920156ac6864520">hipErrorInitializationError</a></div><div class="ttdoc">TODO comment from hipErrorInitializationError. </div><div class="ttdef"><b>Definition:</b> hip_runtime_api.h:153</div></div>
<div class="ttc" id="group__GlobalDefs_html_ggacc0acd7b9bda126c6bb3dfd6e2796d7cad9f45254d0d048677f560032532d5504"><div class="ttname"><a href="group__GlobalDefs.html#ggacc0acd7b9bda126c6bb3dfd6e2796d7cad9f45254d0d048677f560032532d5504">hipDeviceAttributeConcurrentKernels</a></div><div class="ttdoc">Device can possibly execute multiple kernels concurrently. </div><div class="ttdef"><b>Definition:</b> hip_runtime_api.h:191</div></div>
@@ -367,7 +366,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sat Apr 16 2016 14:52:10 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Tue Apr 19 2016 22:44:02 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
+3 -3
Просмотреть файл
@@ -4,7 +4,7 @@
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>HIP: Heterogenous-computing Interface for Portability: /home/mangupta/hip_git/rel0.84.0/include/hcc_detail/hip_texture.h File Reference</title>
<title>HIP: Heterogenous-computing Interface for Portability: /home/mangupta/hip_git/release_0.84.00/include/hcc_detail/hip_texture.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
@@ -99,7 +99,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
<p>HIP C++ Texture API for hcc compiler.
<a href="#details">More...</a></p>
<div class="textblock"><code>#include &lt;limits.h&gt;</code><br/>
<code>#include &lt;<a class="el" href="hcc__detail_2hip__runtime_8h_source.html">hip_runtime.h</a>&gt;</code><br/>
<code>#include &lt;hip/hip_runtime.h&gt;</code><br/>
</div>
<p><a href="hip__texture_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
@@ -199,7 +199,7 @@ template&lt;class T , int dim, enum hipTextureReadMode readMode&gt; </td></tr>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sat Apr 16 2016 14:52:10 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Tue Apr 19 2016 22:44:02 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
+3 -4
Просмотреть файл
@@ -4,7 +4,7 @@
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>HIP: Heterogenous-computing Interface for Portability: /home/mangupta/hip_git/rel0.84.0/include/hcc_detail/hip_texture.h Source File</title>
<title>HIP: Heterogenous-computing Interface for Portability: /home/mangupta/hip_git/release_0.84.00/include/hcc_detail/hip_texture.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
@@ -118,7 +118,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160;<span class="preprocessor">#include &lt;limits.h&gt;</span></div>
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160;</div>
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="hcc__detail_2hip__runtime_8h.html">hip_runtime.h</a>&gt;</span></div>
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160;<span class="preprocessor">#include &lt;hip/hip_runtime.h&gt;</span></div>
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160;</div>
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160;<span class="comment">//----</span></div>
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160;<span class="comment">//Texture - TODO - likely need to move this to a separate file only included with kernel compilation.</span></div>
@@ -258,7 +258,6 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
<div class="ttc" id="group__GlobalDefs_html_ggadf5010f6e140a53ecbdf949e73e87594aadfbdb847b149723c684ebd764556063"><div class="ttname"><a href="group__GlobalDefs.html#ggadf5010f6e140a53ecbdf949e73e87594aadfbdb847b149723c684ebd764556063">hipSuccess</a></div><div class="ttdoc">Successful completion. </div><div class="ttdef"><b>Definition:</b> hip_runtime_api.h:143</div></div>
<div class="ttc" id="hip__texture_8h_html_aa2f0b6002b81d0a43a808cb880bb21e6a56ede038ab7c805ec4b5b61d2b678dfc"><div class="ttname"><a href="hip__texture_8h.html#aa2f0b6002b81d0a43a808cb880bb21e6a56ede038ab7c805ec4b5b61d2b678dfc">hipFilterModePoint</a></div><div class="ttdef"><b>Definition:</b> hip_texture.h:54</div></div>
<div class="ttc" id="structtextureReference_html"><div class="ttname"><a href="structtextureReference.html">textureReference</a></div><div class="ttdef"><b>Definition:</b> hip_texture.h:58</div></div>
<div class="ttc" id="hcc__detail_2hip__runtime_8h_html"><div class="ttname"><a href="hcc__detail_2hip__runtime_8h.html">hip_runtime.h</a></div><div class="ttdoc">Contains definitions of APIs for HIP runtime. </div></div>
<div class="ttc" id="group__GlobalDefs_html_gadf5010f6e140a53ecbdf949e73e87594"><div class="ttname"><a href="group__GlobalDefs.html#gadf5010f6e140a53ecbdf949e73e87594">hipError_t</a></div><div class="ttdeci">hipError_t</div><div class="ttdef"><b>Definition:</b> hip_runtime_api.h:142</div></div>
<div class="ttc" id="hip__texture_8h_html_a442e950774f7306dc33692e358c92c94"><div class="ttname"><a href="hip__texture_8h.html#a442e950774f7306dc33692e358c92c94">hipTextureReadMode</a></div><div class="ttdeci">hipTextureReadMode</div><div class="ttdef"><b>Definition:</b> hip_texture.h:46</div></div>
<div class="ttc" id="hip__texture_8h_html_aa2f0b6002b81d0a43a808cb880bb21e6"><div class="ttname"><a href="hip__texture_8h.html#aa2f0b6002b81d0a43a808cb880bb21e6">hipTextureFilterMode</a></div><div class="ttdeci">hipTextureFilterMode</div><div class="ttdef"><b>Definition:</b> hip_texture.h:52</div></div>
@@ -266,7 +265,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sat Apr 16 2016 14:52:09 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Tue Apr 19 2016 22:44:02 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
+2 -2
Просмотреть файл
@@ -4,7 +4,7 @@
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>HIP: Heterogenous-computing Interface for Portability: /home/mangupta/hip_git/rel0.84.0/include/hcc_detail/hip_util.h Source File</title>
<title>HIP: Heterogenous-computing Interface for Portability: /home/mangupta/hip_git/release_0.84.00/include/hcc_detail/hip_util.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
@@ -128,7 +128,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sat Apr 16 2016 14:52:09 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Tue Apr 19 2016 22:44:02 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
+4 -5
Просмотреть файл
@@ -4,7 +4,7 @@
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>HIP: Heterogenous-computing Interface for Portability: /home/mangupta/hip_git/rel0.84.0/include/hip_vector_types.h Source File</title>
<title>HIP: Heterogenous-computing Interface for Portability: /home/mangupta/hip_git/release_0.84.00/include/hip_vector_types.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
@@ -113,23 +113,22 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;</div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;<span class="preprocessor">#pragma once</span></div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;<span class="preprocessor">#include &lt;hip_common.h&gt;</span></div>
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;<span class="preprocessor">#include &lt;hip/hip_common.h&gt;</span></div>
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;</div>
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;</div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;<span class="preprocessor">#if defined(__HIP_PLATFORM_HCC__) &amp;&amp; !defined (__HIP_PLATFORM_NVCC__)</span></div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#if __cplusplus</span></div>
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#include &lt;<a class="code" href="hcc__detail_2hip__vector__types_8h.html">hcc_detail/hip_vector_types.h</a>&gt;</span></div>
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#include &lt;hip/hcc_detail/hip_vector_types.h&gt;</span></div>
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#elif defined(__HIP_PLATFORM_NVCC__) &amp;&amp; !defined (__HIP_PLATFORM_HCC__)</span></div>
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#include &lt;vector_types.h&gt;</span></div>
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160;<span class="preprocessor">#else </span></div>
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#error(&quot;Must define exactly one of __HIP_PLATFORM_HCC__ or __HIP_PLATFORM_NVCC__&quot;);</span></div>
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#endif </span></div>
<div class="ttc" id="hcc__detail_2hip__vector__types_8h_html"><div class="ttname"><a href="hcc__detail_2hip__vector__types_8h.html">hip_vector_types.h</a></div><div class="ttdoc">Defines the different newt vector types for HIP runtime. </div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sat Apr 16 2016 14:52:10 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Tue Apr 19 2016 22:44:02 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
+2 -2
Просмотреть файл
@@ -4,7 +4,7 @@
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>HIP: Heterogenous-computing Interface for Portability: /home/mangupta/hip_git/rel0.84.0/include/hcc_detail/host_defines.h File Reference</title>
<title>HIP: Heterogenous-computing Interface for Portability: /home/mangupta/hip_git/release_0.84.00/include/hcc_detail/host_defines.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
@@ -139,7 +139,7 @@ Macros</h2></td></tr>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sat Apr 16 2016 14:52:10 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Tue Apr 19 2016 22:44:02 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
+2 -2
Просмотреть файл
@@ -4,7 +4,7 @@
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>HIP: Heterogenous-computing Interface for Portability: /home/mangupta/hip_git/rel0.84.0/include/hcc_detail/host_defines.h Source File</title>
<title>HIP: Heterogenous-computing Interface for Portability: /home/mangupta/hip_git/release_0.84.00/include/hcc_detail/host_defines.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
@@ -156,7 +156,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sat Apr 16 2016 14:52:09 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Tue Apr 19 2016 22:44:02 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
+1 -1
Просмотреть файл
@@ -91,7 +91,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
</div></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sat Apr 16 2016 14:52:10 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Tue Apr 19 2016 22:44:02 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
+1 -1
Просмотреть файл
@@ -99,7 +99,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sat Apr 16 2016 14:52:10 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Tue Apr 19 2016 22:44:02 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
+1 -1
Просмотреть файл
@@ -88,7 +88,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sat Apr 16 2016 14:52:10 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Tue Apr 19 2016 22:44:02 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
+2 -2
Просмотреть файл
@@ -4,7 +4,7 @@
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>HIP: Heterogenous-computing Interface for Portability: /home/mangupta/hip_git/rel0.84.0/include/hcc_detail/staging_buffer.h Source File</title>
<title>HIP: Heterogenous-computing Interface for Portability: /home/mangupta/hip_git/release_0.84.00/include/hcc_detail/staging_buffer.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
@@ -157,7 +157,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sat Apr 16 2016 14:52:09 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Tue Apr 19 2016 22:44:02 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
+1 -1
Просмотреть файл
@@ -96,7 +96,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
</table></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sat Apr 16 2016 14:52:10 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Tue Apr 19 2016 22:44:02 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
+2 -2
Просмотреть файл
@@ -118,12 +118,12 @@ MUTEX_TYPE&#160;</td><td class="memItemRight" valign="bottom"><b>_mutex</b></td>
<tr class="separator:a9f06ef8dd0ca387f29f4bfce78171ce6"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li>/home/mangupta/hip_git/rel0.84.0/include/hcc_detail/<a class="el" href="hip__hcc_8h_source.html">hip_hcc.h</a></li>
<li>/home/mangupta/hip_git/release_0.84.00/include/hcc_detail/<a class="el" href="hip__hcc_8h_source.html">hip_hcc.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sat Apr 16 2016 14:52:10 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Tue Apr 19 2016 22:44:02 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
+1 -1
Просмотреть файл
@@ -100,7 +100,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
</table></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sat Apr 16 2016 14:52:10 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Tue Apr 19 2016 22:44:02 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
+3 -3
Просмотреть файл
@@ -117,13 +117,13 @@ static const int&#160;</td><td class="memItemRight" valign="bottom"><b>_max_buff
<tr class="separator:a08b61dfca9661712cc71c3c0d32da42c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<hr/>The documentation for this struct was generated from the following files:<ul>
<li>/home/mangupta/hip_git/rel0.84.0/include/hcc_detail/<a class="el" href="staging__buffer_8h_source.html">staging_buffer.h</a></li>
<li>/home/mangupta/hip_git/rel0.84.0/src/staging_buffer.cpp</li>
<li>/home/mangupta/hip_git/release_0.84.00/include/hcc_detail/<a class="el" href="staging__buffer_8h_source.html">staging_buffer.h</a></li>
<li>/home/mangupta/hip_git/release_0.84.00/src/staging_buffer.cpp</li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sat Apr 16 2016 14:52:10 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Tue Apr 19 2016 22:44:02 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
+1 -1
Просмотреть файл
@@ -96,7 +96,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
</table></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sat Apr 16 2016 14:52:10 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Tue Apr 19 2016 22:44:02 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
+2 -2
Просмотреть файл
@@ -111,12 +111,12 @@ uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Struct for data in 3D </p>
</div><hr/>The documentation for this struct was generated from the following file:<ul>
<li>/home/mangupta/hip_git/rel0.84.0/include/hcc_detail/<a class="el" href="hcc__detail_2hip__runtime__api_8h_source.html">hip_runtime_api.h</a></li>
<li>/home/mangupta/hip_git/release_0.84.00/include/hcc_detail/<a class="el" href="hcc__detail_2hip__runtime__api_8h_source.html">hip_runtime_api.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sat Apr 16 2016 14:52:10 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Tue Apr 19 2016 22:44:02 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
+1 -1
Просмотреть файл
@@ -94,7 +94,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
</table></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sat Apr 16 2016 14:52:10 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Tue Apr 19 2016 22:44:02 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
+2 -2
Просмотреть файл
@@ -98,12 +98,12 @@ int&#160;</td><td class="memItemRight" valign="bottom"><b>_dummy</b></td></tr>
<tr class="separator:a736ea229b946744d0ceabeb0847ee31f"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li>/home/mangupta/hip_git/rel0.84.0/include/hcc_detail/<a class="el" href="hip__texture_8h_source.html">hip_texture.h</a></li>
<li>/home/mangupta/hip_git/release_0.84.00/include/hcc_detail/<a class="el" href="hip__texture_8h_source.html">hip_texture.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sat Apr 16 2016 14:52:10 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Tue Apr 19 2016 22:44:02 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
+1 -1
Просмотреть файл
@@ -110,7 +110,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
</table></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sat Apr 16 2016 14:52:10 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Tue Apr 19 2016 22:44:02 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
+2 -2
Просмотреть файл
@@ -163,12 +163,12 @@ unsigned&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="
<tr class="separator:a9114bfc718bf0648b54ff9a319a36b35"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li>/home/mangupta/hip_git/rel0.84.0/include/<a class="el" href="hip__runtime__api_8h_source.html">hip_runtime_api.h</a></li>
<li>/home/mangupta/hip_git/release_0.84.00/include/<a class="el" href="hip__runtime__api_8h_source.html">hip_runtime_api.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sat Apr 16 2016 14:52:10 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Tue Apr 19 2016 22:44:02 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
+1 -1
Просмотреть файл
@@ -119,7 +119,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
</table></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sat Apr 16 2016 14:52:10 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Tue Apr 19 2016 22:44:02 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
+2 -2
Просмотреть файл
@@ -203,12 +203,12 @@ int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struc
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>hipDeviceProp </p>
</div><hr/>The documentation for this struct was generated from the following file:<ul>
<li>/home/mangupta/hip_git/rel0.84.0/include/<a class="el" href="hip__runtime__api_8h_source.html">hip_runtime_api.h</a></li>
<li>/home/mangupta/hip_git/release_0.84.00/include/<a class="el" href="hip__runtime__api_8h_source.html">hip_runtime_api.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sat Apr 16 2016 14:52:10 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Tue Apr 19 2016 22:44:02 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
+1 -1
Просмотреть файл
@@ -94,7 +94,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
</table></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sat Apr 16 2016 14:52:10 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Tue Apr 19 2016 22:44:02 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
+2 -2
Просмотреть файл
@@ -98,12 +98,12 @@ struct <a class="el" href="structihipEvent__t.html">ihipEvent_t</a> *&#160;</td>
<tr class="separator:a8b15f64ed18300d4805429f541d30a08"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li>/home/mangupta/hip_git/rel0.84.0/include/hcc_detail/<a class="el" href="hcc__detail_2hip__runtime__api_8h_source.html">hip_runtime_api.h</a></li>
<li>/home/mangupta/hip_git/release_0.84.00/include/hcc_detail/<a class="el" href="hcc__detail_2hip__runtime__api_8h_source.html">hip_runtime_api.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sat Apr 16 2016 14:52:10 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Tue Apr 19 2016 22:44:02 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
+1 -1
Просмотреть файл
@@ -99,7 +99,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
</table></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sat Apr 16 2016 14:52:10 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Tue Apr 19 2016 22:44:02 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
+2 -2
Просмотреть файл
@@ -117,12 +117,12 @@ unsigned&#160;</td><td class="memItemRight" valign="bottom"><b>allocationFlags</
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Pointer attributes </p>
</div><hr/>The documentation for this struct was generated from the following file:<ul>
<li>/home/mangupta/hip_git/rel0.84.0/include/<a class="el" href="hip__runtime__api_8h_source.html">hip_runtime_api.h</a></li>
<li>/home/mangupta/hip_git/release_0.84.00/include/<a class="el" href="hip__runtime__api_8h_source.html">hip_runtime_api.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sat Apr 16 2016 14:52:10 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Tue Apr 19 2016 22:44:02 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
+1 -1
Просмотреть файл
@@ -99,7 +99,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
</table></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sat Apr 16 2016 14:52:10 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Tue Apr 19 2016 22:44:02 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
+2 -2
Просмотреть файл
@@ -113,12 +113,12 @@ SIGSEQNUM&#160;</td><td class="memItemRight" valign="bottom"><b>_copy_seq_id</b>
<tr class="separator:a13d36d95d41a5fe73955d899588e2834"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li>/home/mangupta/hip_git/rel0.84.0/include/hcc_detail/<a class="el" href="hip__hcc_8h_source.html">hip_hcc.h</a></li>
<li>/home/mangupta/hip_git/release_0.84.00/include/hcc_detail/<a class="el" href="hip__hcc_8h_source.html">hip_hcc.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sat Apr 16 2016 14:52:10 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Tue Apr 19 2016 22:44:02 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
+1 -1
Просмотреть файл
@@ -99,7 +99,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
</table></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sat Apr 16 2016 14:52:10 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Tue Apr 19 2016 22:44:02 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
+3 -3
Просмотреть файл
@@ -111,13 +111,13 @@ SIGSEQNUM&#160;</td><td class="memItemRight" valign="bottom"><b>_sig_id</b></td>
<tr class="separator:a7a2f2e603b71a2c4f09d3aff5771e047"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<hr/>The documentation for this struct was generated from the following files:<ul>
<li>/home/mangupta/hip_git/rel0.84.0/include/hcc_detail/<a class="el" href="hip__hcc_8h_source.html">hip_hcc.h</a></li>
<li>/home/mangupta/hip_git/rel0.84.0/src/<a class="el" href="hip__hcc_8cpp.html">hip_hcc.cpp</a></li>
<li>/home/mangupta/hip_git/release_0.84.00/include/hcc_detail/<a class="el" href="hip__hcc_8h_source.html">hip_hcc.h</a></li>
<li>/home/mangupta/hip_git/release_0.84.00/src/<a class="el" href="hip__hcc_8cpp.html">hip_hcc.cpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sat Apr 16 2016 14:52:10 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Tue Apr 19 2016 22:44:02 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
+1 -1
Просмотреть файл
@@ -96,7 +96,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
</table></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sat Apr 16 2016 14:52:10 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Tue Apr 19 2016 22:44:02 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
+2 -2
Просмотреть файл
@@ -104,12 +104,12 @@ bool&#160;</td><td class="memItemRight" valign="bottom"><b>normalized</b></td></
<tr class="separator:a4ad4a3753410b4d05d1bc75cc67ba062"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li>/home/mangupta/hip_git/rel0.84.0/include/hcc_detail/<a class="el" href="hip__texture_8h_source.html">hip_texture.h</a></li>
<li>/home/mangupta/hip_git/release_0.84.00/include/hcc_detail/<a class="el" href="hip__texture_8h_source.html">hip_texture.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sat Apr 16 2016 14:52:10 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Tue Apr 19 2016 22:44:02 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
+2 -2
Просмотреть файл
@@ -4,7 +4,7 @@
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>HIP: Heterogenous-computing Interface for Portability: /home/mangupta/hip_git/rel0.84.0/include/hcc_detail/trace_helper.h Source File</title>
<title>HIP: Heterogenous-computing Interface for Portability: /home/mangupta/hip_git/release_0.84.00/include/hcc_detail/trace_helper.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
@@ -223,7 +223,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sat Apr 16 2016 14:52:09 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Tue Apr 19 2016 22:44:02 for HIP: Heterogenous-computing Interface for Portability by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
+1 -1
Просмотреть файл
@@ -1,6 +1,6 @@
#ifndef HCC_ACC_H
#define HCC_ACC_H
#include "hip_runtime_api.h"
#include "hip/hip_runtime_api.h"
#if __cplusplus
#ifdef __HCC__
+5 -2
Просмотреть файл
@@ -21,8 +21,8 @@ THE SOFTWARE.
#define HIP_HCC_H
#include <hc.hpp>
#include "hcc_detail/hip_util.h"
#include "hcc_detail/staging_buffer.h"
#include "hip/hcc_detail/hip_util.h"
#include "hip/hcc_detail/staging_buffer.h"
#define HIP_HCC
@@ -531,6 +531,9 @@ public:
bool removePeer(ihipDevice_t *peer);
void resetPeers(ihipDevice_t *thisDevice);
void addStream(ihipStream_t *stream);
uint32_t peerCnt() const { return _peerCnt; };
hsa_agent_t *peerAgents() const { return _peerAgents; };
+4 -4
Просмотреть файл
@@ -40,8 +40,8 @@ THE SOFTWARE.
#define CUDA_SUCCESS hipSuccess
#include <hip_runtime_api.h>
//#include "hcc_detail/hip_hcc.h"
#include <hip/hip_runtime_api.h>
//#include "hip/hcc_detail/hip_hcc.h"
//---
// Remainder of this file only compiles with HCC
#ifdef __HCC__
@@ -55,9 +55,9 @@ extern int HIP_TRACE_API;
//typedef grid_launch_parm hipLaunchParm ;
#define hipLaunchParm grid_launch_parm
#ifdef __cplusplus
#include <hcc_detail/hip_texture.h>
#include <hip/hcc_detail/hip_texture.h>
#endif
#include <hcc_detail/host_defines.h>
#include <hip/hcc_detail/host_defines.h>
// TODO-HCC remove old definitions ; ~1602 hcc supports __HCC_ACCELERATOR__ define.
#if defined (__KALMAR_ACCELERATOR__) && !defined (__HCC_ACCELERATOR__)
#define __HCC_ACCELERATOR__ __KALMAR_ACCELERATOR__
+3 -3
Просмотреть файл
@@ -30,9 +30,9 @@ THE SOFTWARE.
#include <stdint.h>
#include <stddef.h>
#include <hcc_detail/host_defines.h>
#include <hip_runtime_api.h>
//#include "hip_hcc.h"
#include <hip/hcc_detail/host_defines.h>
#include <hip/hip_runtime_api.h>
//#include "hip/hip_hcc.h"
#if defined (__HCC__) && (__hcc_workweek__ < 16155)
#error("This version of HIP requires a newer version of HCC.");
+1 -1
Просмотреть файл
@@ -32,7 +32,7 @@ THE SOFTWARE.
#include <limits.h>
#include <hip_runtime.h>
#include <hip/hip_runtime.h>
//----
//Texture - TODO - likely need to move this to a separate file only included with kernel compilation.
+5 -5
Просмотреть файл
@@ -48,17 +48,17 @@ THE SOFTWARE.
#endif
#include <hip_common.h>
#include <hip/hip_common.h>
#if defined(__HIP_PLATFORM_HCC__) && !defined (__HIP_PLATFORM_NVCC__)
#include <hcc_detail/hip_runtime.h>
#include <hip/hcc_detail/hip_runtime.h>
#elif defined(__HIP_PLATFORM_NVCC__) && !defined (__HIP_PLATFORM_HCC__)
#include <nvcc_detail/hip_runtime.h>
#include <hip/nvcc_detail/hip_runtime.h>
#else
#error("Must define exactly one of __HIP_PLATFORM_HCC__ or __HIP_PLATFORM_NVCC__");
#endif
#include <hip_runtime_api.h>
#include <hip_vector_types.h>
#include <hip/hip_runtime_api.h>
#include <hip/hip_vector_types.h>
+3 -3
Просмотреть файл
@@ -30,7 +30,7 @@ THE SOFTWARE.
#include <string.h> // for getDeviceProp
#include <hip_common.h>
#include <hip/hip_common.h>
typedef struct {
// 32-bit Atomics
@@ -200,9 +200,9 @@ typedef enum hipDeviceAttribute_t {
*/
#if defined(__HIP_PLATFORM_HCC__) && !defined (__HIP_PLATFORM_NVCC__)
#include "hcc_detail/hip_runtime_api.h"
#include "hip/hcc_detail/hip_runtime_api.h"
#elif defined(__HIP_PLATFORM_NVCC__) && !defined (__HIP_PLATFORM_HCC__)
#include "nvcc_detail/hip_runtime_api.h"
#include "hip/nvcc_detail/hip_runtime_api.h"
#else
#error("Must define exactly one of __HIP_PLATFORM_HCC__ or __HIP_PLATFORM_NVCC__");
#endif
+2 -2
Просмотреть файл
@@ -23,12 +23,12 @@ THE SOFTWARE.
#pragma once
#include <hip_common.h>
#include <hip/hip_common.h>
#if defined(__HIP_PLATFORM_HCC__) && !defined (__HIP_PLATFORM_NVCC__)
#if __cplusplus
#include <hcc_detail/hip_vector_types.h>
#include <hip/hcc_detail/hip_vector_types.h>
#endif
#elif defined(__HIP_PLATFORM_NVCC__) && !defined (__HIP_PLATFORM_HCC__)
#include <vector_types.h>
+1 -1
Просмотреть файл
@@ -23,7 +23,7 @@ THE SOFTWARE.
#include <cuda_runtime.h>
#include <hip_runtime_api.h>
#include <hip/hip_runtime_api.h>
#define HIP_KERNEL_NAME(...) __VA_ARGS__

Некоторые файлы не были показаны из-за слишком большого количества измененных файлов Показать больше