2016-01-26 20:14:33 -06:00
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
< html xmlns = "http://www.w3.org/1999/xhtml" >
< head >
< 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" / >
2016-02-18 20:43:03 -06:00
< title > HIP: Heterogenous-computing Interface for Portability: /home/bensander/HIP.public/src/hip_hcc.cpp File Reference< / title >
2016-01-26 20:14:33 -06:00
< 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 >
< link href = "search/search.css" rel = "stylesheet" type = "text/css" / >
< script type = "text/javascript" src = "search/search.js" > < / script >
< script type = "text/javascript" >
$ ( document ) . ready ( function ( ) { searchBox . OnSelectItem ( 0 ) ; } ) ;
< / script >
< link href = "doxygen.css" rel = "stylesheet" type = "text/css" / >
< / head >
< body >
< div id = "top" > <!-- do not remove this div, it is closed by doxygen! -->
< div id = "titlearea" >
< table cellspacing = "0" cellpadding = "0" >
< tbody >
< tr style = "height: 56px;" >
< td style = "padding-left: 0.5em;" >
< div id = "projectname" > HIP: Heterogenous-computing Interface for Portability
< / div >
< / td >
< / tr >
< / tbody >
< / table >
< / div >
<!-- end header part -->
<!-- Generated by Doxygen 1.8.6 -->
< script type = "text/javascript" >
var searchBox = new SearchBox ( "searchBox" , "search" , false , 'Search' ) ;
< / script >
< div id = "navrow1" class = "tabs" >
< ul class = "tablist" >
< li > < a href = "index.html" > < span > Main  Page< / span > < / a > < / li >
< li > < a href = "pages.html" > < span > Related  Pages< / span > < / a > < / li >
< li > < a href = "modules.html" > < span > Modules< / span > < / a > < / li >
< li > < a href = "annotated.html" > < span > Classes< / span > < / a > < / li >
< li class = "current" > < a href = "files.html" > < span > Files< / span > < / a > < / li >
< li >
< div id = "MSearchBox" class = "MSearchBoxInactive" >
< span class = "left" >
< img id = "MSearchSelect" src = "search/mag_sel.png"
onmouseover = "return searchBox.OnSearchSelectShow()"
onmouseout = "return searchBox.OnSearchSelectHide()"
alt = "" / >
< input type = "text" id = "MSearchField" value = "Search" accesskey = "S"
onfocus = "searchBox.OnSearchFieldFocus(true)"
onblur = "searchBox.OnSearchFieldFocus(false)"
onkeyup = "searchBox.OnSearchFieldChange(event)" / >
< / span > < span class = "right" >
< a id = "MSearchClose" href = "javascript:searchBox.CloseResultsWindow()" > < img id = "MSearchCloseImg" border = "0" src = "search/close.png" alt = "" / > < / a >
< / span >
< / div >
< / li >
< / ul >
< / div >
< div id = "navrow2" class = "tabs2" >
< ul class = "tablist" >
< li > < a href = "files.html" > < span > File  List< / span > < / a > < / li >
< li > < a href = "globals.html" > < span > File  Members< / span > < / a > < / li >
< / ul >
< / div >
<!-- window showing the filter options -->
< div id = "MSearchSelectWindow"
onmouseover = "return searchBox.OnSearchSelectShow()"
onmouseout = "return searchBox.OnSearchSelectHide()"
onkeydown = "return searchBox.OnSearchSelectKey(event)" >
< a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(0)" > < span class = "SelectionMark" >   < / span > All< / a > < a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(1)" > < span class = "SelectionMark" >   < / span > Classes< / a > < a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(2)" > < span class = "SelectionMark" >   < / span > Files< / a > < a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(3)" > < span class = "SelectionMark" >   < / span > Functions< / a > < a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(4)" > < span class = "SelectionMark" >   < / span > Variables< / a > < a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(5)" > < span class = "SelectionMark" >   < / span > Typedefs< / a > < a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(6)" > < span class = "SelectionMark" >   < / span > Enumerations< / a > < a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(7)" > < span class = "SelectionMark" >   < / span > Enumerator< / a > < a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(8)" > < span class = "SelectionMark" >   < / span > Macros< / a > < a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(9)" > < span class = "SelectionMark" >   < / span > Groups< / a > < a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(10)" > < span class = "SelectionMark" >   < / span > Pages< / a > < / div >
<!-- iframe showing the search results (closed by default) -->
< div id = "MSearchResultsWindow" >
< iframe src = "javascript:void(0)" frameborder = "0"
name = "MSearchResults" id = "MSearchResults" >
< / iframe >
< / div >
< div id = "nav-path" class = "navpath" >
< ul >
< li class = "navelem" > < a class = "el" href = "dir_68267d1309a1af8e8297ef4c3efbcdba.html" > src< / a > < / li > < / ul >
< / div >
< / div > <!-- top -->
< div class = "header" >
< div class = "summary" >
< a href = "#nested-classes" > Classes< / a > |
< a href = "#define-members" > Macros< / a > |
< a href = "#enum-members" > Enumerations< / a > |
< a href = "#func-members" > Functions< / a > |
< a href = "#var-members" > Variables< / a > < / div >
< div class = "headertitle" >
< div class = "title" > hip_hcc.cpp File Reference< / div > < / div >
< / div > <!-- header -->
< div class = "contents" >
< div class = "textblock" > < code > #include < assert.h> < / code > < br / >
< code > #include < stdint.h> < / code > < br / >
< code > #include < iostream> < / code > < br / >
< code > #include < list> < / code > < br / >
< code > #include < sys/types.h> < / code > < br / >
< code > #include < unistd.h> < / code > < br / >
< code > #include < hc.hpp> < / code > < br / >
< code > #include < hc_am.hpp> < / code > < br / >
< code > #include " hip_runtime.h" < / code > < br / >
< code > #include " hsa_ext_amd.h" < / code > < br / >
< / div > < table class = "memberdecls" >
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a name = "nested-classes" > < / a >
Classes< / h2 > < / td > < / tr >
< tr class = "memitem:" > < td class = "memItemLeft" align = "right" valign = "top" > struct   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "structihipStream__t.html" > ihipStream_t< / a > < / td > < / tr >
< tr class = "separator:" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:" > < td class = "memItemLeft" align = "right" valign = "top" > struct   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "structihipEvent__t.html" > ihipEvent_t< / a > < / td > < / tr >
< tr class = "separator:" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:" > < td class = "memItemLeft" align = "right" valign = "top" > struct   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "structihipDevice__t.html" > ihipDevice_t< / a > < / td > < / tr >
< tr class = "separator:" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< / table > < table class = "memberdecls" >
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a name = "define-members" > < / a >
Macros< / h2 > < / td > < / tr >
< tr class = "memitem:a30be9d7d8ba98bd65486e15d715802ca" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "a30be9d7d8ba98bd65486e15d715802ca" > < / a >
#define  < / td > < td class = "memItemRight" valign = "bottom" > < b > USE_PINNED_HOST< / b >       (__hcc_workweek__ > = 1601)< / td > < / tr >
< tr class = "separator:a30be9d7d8ba98bd65486e15d715802ca" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a2eb6f9e0395b47b8d5e3eeae4fe0c116" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "a2eb6f9e0395b47b8d5e3eeae4fe0c116" > < / a >
#define  < / td > < td class = "memItemRight" valign = "bottom" > < b > INLINE< / b >       static inline< / td > < / tr >
< tr class = "separator:a2eb6f9e0395b47b8d5e3eeae4fe0c116" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:af884b2aeeee6ff0caec487a5c8ea68a0" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "af884b2aeeee6ff0caec487a5c8ea68a0" > < / a >
#define  < / td > < td class = "memItemRight" valign = "bottom" > < b > TRACE_API< / b >       0x1 /* trace API calls and return values */< / td > < / tr >
< tr class = "separator:af884b2aeeee6ff0caec487a5c8ea68a0" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a748a67a89a62b96e99670689d5ecec4a" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "a748a67a89a62b96e99670689d5ecec4a" > < / a >
#define  < / td > < td class = "memItemRight" valign = "bottom" > < b > TRACE_SYNC< / b >       0x2 /* trace synchronization pieces */< / td > < / tr >
< tr class = "separator:a748a67a89a62b96e99670689d5ecec4a" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:aaacaebeb03fd524eb7ca45d14288b634" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "aaacaebeb03fd524eb7ca45d14288b634" > < / a >
#define  < / td > < td class = "memItemRight" valign = "bottom" > < b > TRACE_MEM< / b >       0x4 /* trace memory allocation / deallocation */< / td > < / tr >
< tr class = "separator:aaacaebeb03fd524eb7ca45d14288b634" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a416fdb19f57927de7f282e4d05eba519" > < td class = "memItemLeft" align = "right" valign = "top" > #define  < / td > < td class = "memItemRight" valign = "bottom" > < b > tprintf< / b > (trace_level,...)< / td > < / tr >
< tr class = "separator:a416fdb19f57927de7f282e4d05eba519" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a70838c4fa8cfbdb44e3b771caf2ccda3" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "a70838c4fa8cfbdb44e3b771caf2ccda3" > < / a >
#define  < / td > < td class = "memItemRight" valign = "bottom" > < b > DeviceErrorCheck< / b > (x)      if (x != HSA_STATUS_SUCCESS) { return < a class = "el" href = "group__GlobalDefs.html#ggadf5010f6e140a53ecbdf949e73e87594a07ab9b704ea693c1781a52741c60cd0d" > hipErrorInvalidDevice< / a > ; }< / td > < / tr >
< tr class = "separator:a70838c4fa8cfbdb44e3b771caf2ccda3" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:aea6f15cc8a65f027003f4b0e77a41fc8" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "aea6f15cc8a65f027003f4b0e77a41fc8" > < / a >
#define  < / td > < td class = "memItemRight" valign = "bottom" > < b > ErrorCheck< / b > (x)      error_check(x, __LINE__, __FILE__)< / td > < / tr >
< tr class = "separator:aea6f15cc8a65f027003f4b0e77a41fc8" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:aedd5ad4a39f4959e241b024c27d1746f" > < td class = "memItemLeft" align = "right" valign = "top" > #define  < / td > < td class = "memItemRight" valign = "bottom" > < b > ihipLogStatus< / b > (_hip_status)< / td > < / tr >
< tr class = "separator:aedd5ad4a39f4959e241b024c27d1746f" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a2b90029add81faa0bf675869ffc31354" > < td class = "memItemLeft" align = "right" valign = "top" > #define  < / td > < td class = "memItemRight" valign = "bottom" > < b > READ_ENV_I< / b > (_build, _ENV_VAR, _ENV_VAR2, _description)< / td > < / tr >
< tr class = "separator:a2b90029add81faa0bf675869ffc31354" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< / table > < table class = "memberdecls" >
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a name = "enum-members" > < / a >
Enumerations< / h2 > < / td > < / tr >
< tr class = "memitem:a3b2678513b174cc4f1a0d9f6d3e4b3d8" > < td class = "memItemLeft" align = "right" valign = "top" > enum   < / td > < td class = "memItemRight" valign = "bottom" > < b > ihipCommand_t< / b > { < b > ihipCommandKernel< / b > ,
< b > ihipCommandData< / b >
}< / td > < / tr >
< tr class = "separator:a3b2678513b174cc4f1a0d9f6d3e4b3d8" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ad70aced6c661ed8b2b79496d3fe5541e" > < td class = "memItemLeft" align = "right" valign = "top" > enum   < / td > < td class = "memItemRight" valign = "bottom" > < b > hipEventStatus_t< / b > { < b > hipEventStatusUnitialized< / b > = 0,
< b > hipEventStatusCreated< / b > = 1,
< b > hipEventStatusRecording< / b > = 2,
< b > hipEventStatusRecorded< / b > = 3
}< / td > < / tr >
< tr class = "separator:ad70aced6c661ed8b2b79496d3fe5541e" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< / table > < table class = "memberdecls" >
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a name = "func-members" > < / a >
Functions< / h2 > < / td > < / tr >
< tr class = "memitem:a93c32584eb46790f4947ef90da127613" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "a93c32584eb46790f4947ef90da127613" > < / a >
void  < / td > < td class = "memItemRight" valign = "bottom" > < b > error_check< / b > (hsa_status_t hsa_error_code, int line_num, std::string str)< / td > < / tr >
< tr class = "separator:a93c32584eb46790f4947ef90da127613" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a99c93b4d7033368f833c44f8b7b6208b" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "a99c93b4d7033368f833c44f8b7b6208b" > < / a >
hsa_status_t  < / td > < td class = "memItemRight" valign = "bottom" > < b > get_region_info< / b > (hsa_region_t region, void *data)< / td > < / tr >
< tr class = "separator:a99c93b4d7033368f833c44f8b7b6208b" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a909b9051d30b31e4c93e81aa697cc95f" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "a909b9051d30b31e4c93e81aa697cc95f" > < / a >
void  < / td > < td class = "memItemRight" valign = "bottom" > < b > ihipReadEnv_I< / b > (int *var_ptr, const char *var_name1, const char *var_name2, const char *description)< / td > < / tr >
< tr class = "separator:a909b9051d30b31e4c93e81aa697cc95f" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:aeabe36aa946ab6100b26602c7e3c23cc" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "aeabe36aa946ab6100b26602c7e3c23cc" > < / a >
void  < / td > < td class = "memItemRight" valign = "bottom" > < b > ihipInit< / b > ()< / td > < / tr >
< tr class = "separator:aeabe36aa946ab6100b26602c7e3c23cc" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a6080b2c32df2fbbcf58f9b683a4d613f" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "a6080b2c32df2fbbcf58f9b683a4d613f" > < / a >
INLINE bool  < / td > < td class = "memItemRight" valign = "bottom" > < b > ihipIsValidDevice< / b > (unsigned deviceIndex)< / td > < / tr >
< tr class = "separator:a6080b2c32df2fbbcf58f9b683a4d613f" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a9144a743823b8a6c8457979690ed4cd2" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "a9144a743823b8a6c8457979690ed4cd2" > < / a >
INLINE < a class = "el" href = "structihipDevice__t.html" > ihipDevice_t< / a > *  < / td > < td class = "memItemRight" valign = "bottom" > < b > ihipGetTlsDefaultDevice< / b > ()< / td > < / tr >
< tr class = "separator:a9144a743823b8a6c8457979690ed4cd2" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a7e0280673fd5d7495b9af06e04c0cb6a" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "a7e0280673fd5d7495b9af06e04c0cb6a" > < / a >
INLINE < a class = "el" href = "structihipDevice__t.html" > ihipDevice_t< / a > *  < / td > < td class = "memItemRight" valign = "bottom" > < b > ihipGetDevice< / b > (int deviceId)< / td > < / tr >
< tr class = "separator:a7e0280673fd5d7495b9af06e04c0cb6a" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a9009979545e88f5ed4fdada5fc9fb9ae" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "a9009979545e88f5ed4fdada5fc9fb9ae" > < / a >
void  < / td > < td class = "memItemRight" valign = "bottom" > < b > ihipWaitNullStream< / b > (< a class = "el" href = "structihipDevice__t.html" > ihipDevice_t< / a > *device)< / td > < / tr >
< tr class = "separator:a9009979545e88f5ed4fdada5fc9fb9ae" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:aaf16ac37517d2e0a1642f822b7aafe0f" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "aaf16ac37517d2e0a1642f822b7aafe0f" > < / a >
< a class = "el" href = "structihipStream__t.html" > hipStream_t< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < b > ihipSyncAndResolveStream< / b > (< a class = "el" href = "structihipStream__t.html" > hipStream_t< / a > stream)< / td > < / tr >
< tr class = "separator:aaf16ac37517d2e0a1642f822b7aafe0f" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a292fc51918b75e40230ada6c85c9e476" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "a292fc51918b75e40230ada6c85c9e476" > < / a >
bool  < / td > < td class = "memItemRight" valign = "bottom" > < b > ihipCheckCommandSwitchSync< / b > (< a class = "el" href = "structihipStream__t.html" > hipStream_t< / a > stream, ihipCommand_t new_command, hc::completion_future *marker)< / td > < / tr >
< tr class = "separator:a292fc51918b75e40230ada6c85c9e476" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ac85d725e623b3bc258f786e899ace6c5" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "ac85d725e623b3bc258f786e899ace6c5" > < / a >
hc::accelerator_view *  < / td > < td class = "memItemRight" valign = "bottom" > < b > ihipLaunchKernel< / b > (< a class = "el" href = "structihipStream__t.html" > hipStream_t< / a > stream)< / td > < / tr >
< tr class = "separator:ac85d725e623b3bc258f786e899ace6c5" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:gaffc83567f2df3bbe2d37a19872d60f24" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "group__GlobalDefs.html#gadf5010f6e140a53ecbdf949e73e87594" > hipError_t< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "group__Device.html#gaffc83567f2df3bbe2d37a19872d60f24" > hipGetDevice< / a > (int *device)< / td > < / tr >
< tr class = "memdesc:gaffc83567f2df3bbe2d37a19872d60f24" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Return the default device id for the calling host thread. < a href = "group__Device.html#gaffc83567f2df3bbe2d37a19872d60f24" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:gaffc83567f2df3bbe2d37a19872d60f24" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga8555d5c76d88c50ddbf54ae70b568394" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "group__GlobalDefs.html#gadf5010f6e140a53ecbdf949e73e87594" > hipError_t< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "group__Device.html#ga8555d5c76d88c50ddbf54ae70b568394" > hipGetDeviceCount< / a > (int *count)< / td > < / tr >
< tr class = "memdesc:ga8555d5c76d88c50ddbf54ae70b568394" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Return number of compute-capable devices. < a href = "group__Device.html#ga8555d5c76d88c50ddbf54ae70b568394" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ga8555d5c76d88c50ddbf54ae70b568394" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:gac2b282179f29c4c0ca7b5391242c6a4c" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "group__GlobalDefs.html#gadf5010f6e140a53ecbdf949e73e87594" > hipError_t< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "group__Device.html#gac2b282179f29c4c0ca7b5391242c6a4c" > hipDeviceSetCacheConfig< / a > (< a class = "el" href = "group__GlobalDefs.html#gac7e4bfd88340fc06642136c839a3d822" > hipFuncCache< / a > cacheConfig)< / td > < / tr >
< tr class = "memdesc:gac2b282179f29c4c0ca7b5391242c6a4c" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Set L1/Shared cache partition. < a href = "group__Device.html#gac2b282179f29c4c0ca7b5391242c6a4c" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:gac2b282179f29c4c0ca7b5391242c6a4c" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:gaeeffa2456c5430400bea75ecd6ad1e68" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "group__GlobalDefs.html#gadf5010f6e140a53ecbdf949e73e87594" > hipError_t< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "group__Device.html#gaeeffa2456c5430400bea75ecd6ad1e68" > hipDeviceGetCacheConfig< / a > (< a class = "el" href = "group__GlobalDefs.html#gac7e4bfd88340fc06642136c839a3d822" > hipFuncCache< / a > *cacheConfig)< / td > < / tr >
< tr class = "memdesc:gaeeffa2456c5430400bea75ecd6ad1e68" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Set Cache configuration for a specific function. < a href = "group__Device.html#gaeeffa2456c5430400bea75ecd6ad1e68" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:gaeeffa2456c5430400bea75ecd6ad1e68" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:gadd94a910c2b840833cc325b1e5425702" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "group__GlobalDefs.html#gadf5010f6e140a53ecbdf949e73e87594" > hipError_t< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "group__Device.html#gadd94a910c2b840833cc325b1e5425702" > hipFuncSetCacheConfig< / a > (< a class = "el" href = "group__GlobalDefs.html#gac7e4bfd88340fc06642136c839a3d822" > hipFuncCache< / a > cacheConfig)< / td > < / tr >
< tr class = "memdesc:gadd94a910c2b840833cc325b1e5425702" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Set Cache configuration for a specific function. < a href = "group__Device.html#gadd94a910c2b840833cc325b1e5425702" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:gadd94a910c2b840833cc325b1e5425702" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga9b1f279084e76691cedfbfadf9c717ee" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "group__GlobalDefs.html#gadf5010f6e140a53ecbdf949e73e87594" > hipError_t< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "group__Device.html#ga9b1f279084e76691cedfbfadf9c717ee" > hipDeviceSetSharedMemConfig< / a > (< a class = "el" href = "group__GlobalDefs.html#ga2e17b71d94ac350f2ccd914fd49d104e" > hipSharedMemConfig< / a > config)< / td > < / tr >
< tr class = "memdesc:ga9b1f279084e76691cedfbfadf9c717ee" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Set Shared memory bank configuration. < a href = "group__Device.html#ga9b1f279084e76691cedfbfadf9c717ee" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ga9b1f279084e76691cedfbfadf9c717ee" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga1bb08f774a34a468d969a8a04791c9bb" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "group__GlobalDefs.html#gadf5010f6e140a53ecbdf949e73e87594" > hipError_t< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "group__Device.html#ga1bb08f774a34a468d969a8a04791c9bb" > hipDeviceGetSharedMemConfig< / a > (< a class = "el" href = "group__GlobalDefs.html#ga2e17b71d94ac350f2ccd914fd49d104e" > hipSharedMemConfig< / a > *pConfig)< / td > < / tr >
< tr class = "memdesc:ga1bb08f774a34a468d969a8a04791c9bb" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Get Shared memory bank configuration. < a href = "group__Device.html#ga1bb08f774a34a468d969a8a04791c9bb" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ga1bb08f774a34a468d969a8a04791c9bb" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga8ec0b093af0adadc7fe98bf33fa21620" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "group__GlobalDefs.html#gadf5010f6e140a53ecbdf949e73e87594" > hipError_t< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "group__Device.html#ga8ec0b093af0adadc7fe98bf33fa21620" > hipSetDevice< / a > (int device)< / td > < / tr >
< tr class = "memdesc:ga8ec0b093af0adadc7fe98bf33fa21620" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Set default device to be used for subsequent hip API calls from this thread. < a href = "group__Device.html#ga8ec0b093af0adadc7fe98bf33fa21620" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ga8ec0b093af0adadc7fe98bf33fa21620" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:gaefdc2847fb1d6c3fb1354e827a191ebd" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "group__GlobalDefs.html#gadf5010f6e140a53ecbdf949e73e87594" > hipError_t< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "group__Device.html#gaefdc2847fb1d6c3fb1354e827a191ebd" > hipDeviceSynchronize< / a > (void)< / td > < / tr >
< tr class = "memdesc:gaefdc2847fb1d6c3fb1354e827a191ebd" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Blocks until the default device has completed all preceding requested tasks. < a href = "group__Device.html#gaefdc2847fb1d6c3fb1354e827a191ebd" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:gaefdc2847fb1d6c3fb1354e827a191ebd" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga8d57161ae56a8edc46eeda447417bf6c" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "group__GlobalDefs.html#gadf5010f6e140a53ecbdf949e73e87594" > hipError_t< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "group__Device.html#ga8d57161ae56a8edc46eeda447417bf6c" > hipDeviceReset< / a > (void)< / td > < / tr >
< tr class = "memdesc:ga8d57161ae56a8edc46eeda447417bf6c" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Destroy all resources and reset all state on the default device in the current process. < a href = "group__Device.html#ga8d57161ae56a8edc46eeda447417bf6c" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ga8d57161ae56a8edc46eeda447417bf6c" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2016-02-18 20:43:03 -06:00
< tr class = "memitem:gac49518ff2b26b98ea2ec9e9268761a24" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "group__GlobalDefs.html#gadf5010f6e140a53ecbdf949e73e87594" > hipError_t< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "group__Device.html#gac49518ff2b26b98ea2ec9e9268761a24" > hipDeviceGetAttribute< / a > (int *pi, < a class = "el" href = "group__GlobalDefs.html#gacc0acd7b9bda126c6bb3dfd6e2796d7c" > hipDeviceAttribute_t< / a > attr, int device)< / td > < / tr >
< tr class = "memdesc:gac49518ff2b26b98ea2ec9e9268761a24" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Query device attribute. < a href = "group__Device.html#gac49518ff2b26b98ea2ec9e9268761a24" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:gac49518ff2b26b98ea2ec9e9268761a24" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2016-01-26 20:14:33 -06:00
< tr class = "memitem:gad9ee6822e3e55431811fb6a00f7a1c10" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "group__GlobalDefs.html#gadf5010f6e140a53ecbdf949e73e87594" > hipError_t< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "group__Device.html#gad9ee6822e3e55431811fb6a00f7a1c10" > hipDeviceGetProperties< / a > (< a class = "el" href = "structhipDeviceProp__t.html" > hipDeviceProp_t< / a > *props, int device)< / td > < / tr >
< tr class = "memdesc:gad9ee6822e3e55431811fb6a00f7a1c10" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Returns device properties. < a href = "group__Device.html#gad9ee6822e3e55431811fb6a00f7a1c10" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:gad9ee6822e3e55431811fb6a00f7a1c10" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga533daeb9114d7fc2db8d867adf9e419b" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "group__GlobalDefs.html#gadf5010f6e140a53ecbdf949e73e87594" > hipError_t< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "group__Error.html#ga533daeb9114d7fc2db8d867adf9e419b" > hipGetLastError< / a > ()< / td > < / tr >
< tr class = "memdesc:ga533daeb9114d7fc2db8d867adf9e419b" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Return last error returned by any HIP runtime API call and resets the stored error code to < a class = "el" href = "group__GlobalDefs.html#ggadf5010f6e140a53ecbdf949e73e87594aadfbdb847b149723c684ebd764556063" title = "Successful completion. " > hipSuccess< / a > . < a href = "group__Error.html#ga533daeb9114d7fc2db8d867adf9e419b" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ga533daeb9114d7fc2db8d867adf9e419b" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a7d0568872ffb94e1269038f91440a6f1" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "a7d0568872ffb94e1269038f91440a6f1" > < / a >
< a class = "el" href = "group__GlobalDefs.html#gadf5010f6e140a53ecbdf949e73e87594" > hipError_t< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < b > hipPeakAtLastError< / b > ()< / td > < / tr >
< tr class = "separator:a7d0568872ffb94e1269038f91440a6f1" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga88c474d77635523dbf6ca67be7b56999" > < td class = "memItemLeft" align = "right" valign = "top" > const char *  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "group__Error.html#ga88c474d77635523dbf6ca67be7b56999" > hipGetErrorName< / a > (< a class = "el" href = "group__GlobalDefs.html#gadf5010f6e140a53ecbdf949e73e87594" > hipError_t< / a > hip_error)< / td > < / tr >
< tr class = "memdesc:ga88c474d77635523dbf6ca67be7b56999" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Return name of the specified error code in text form. < a href = "group__Error.html#ga88c474d77635523dbf6ca67be7b56999" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ga88c474d77635523dbf6ca67be7b56999" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga5959779a654bbc98ffe6d36ab536740a" > < td class = "memItemLeft" align = "right" valign = "top" > const char *  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "group__Error.html#ga5959779a654bbc98ffe6d36ab536740a" > hipGetErrorString< / a > (< a class = "el" href = "group__GlobalDefs.html#gadf5010f6e140a53ecbdf949e73e87594" > hipError_t< / a > hip_error)< / td > < / tr >
< tr class = "memdesc:ga5959779a654bbc98ffe6d36ab536740a" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Return handy text string message to explain the error which occurred. < a href = "group__Error.html#ga5959779a654bbc98ffe6d36ab536740a" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ga5959779a654bbc98ffe6d36ab536740a" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:gaf2382e3cc6632332a8983a0f58e43494" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "group__GlobalDefs.html#gadf5010f6e140a53ecbdf949e73e87594" > hipError_t< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "group__Stream.html#gaf2382e3cc6632332a8983a0f58e43494" > hipStreamCreateWithFlags< / a > (< a class = "el" href = "structihipStream__t.html" > hipStream_t< / a > *stream, unsigned int flags)< / td > < / tr >
< tr class = "memdesc:gaf2382e3cc6632332a8983a0f58e43494" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Create an asynchronous stream. < a href = "group__Stream.html#gaf2382e3cc6632332a8983a0f58e43494" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:gaf2382e3cc6632332a8983a0f58e43494" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:gacdd84c8f8ef1539c96c57c1d5bcae633" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "group__GlobalDefs.html#gadf5010f6e140a53ecbdf949e73e87594" > hipError_t< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "group__Stream.html#gacdd84c8f8ef1539c96c57c1d5bcae633" > hipStreamWaitEvent< / a > (< a class = "el" href = "structihipStream__t.html" > hipStream_t< / a > stream, < a class = "el" href = "structhipEvent__t.html" > hipEvent_t< / a > event, unsigned int flags)< / td > < / tr >
< tr class = "memdesc:gacdd84c8f8ef1539c96c57c1d5bcae633" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Make the specified compute stream wait for an event. < a href = "group__Stream.html#gacdd84c8f8ef1539c96c57c1d5bcae633" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:gacdd84c8f8ef1539c96c57c1d5bcae633" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:gabbfb9f573a6ebe8c478605ecb5504a74" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "group__GlobalDefs.html#gadf5010f6e140a53ecbdf949e73e87594" > hipError_t< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "group__Stream.html#gabbfb9f573a6ebe8c478605ecb5504a74" > hipStreamSynchronize< / a > (< a class = "el" href = "structihipStream__t.html" > hipStream_t< / a > stream)< / td > < / tr >
< tr class = "memdesc:gabbfb9f573a6ebe8c478605ecb5504a74" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Wait for all commands in stream to complete. < a href = "group__Stream.html#gabbfb9f573a6ebe8c478605ecb5504a74" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:gabbfb9f573a6ebe8c478605ecb5504a74" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga3076a3499ed2c7821311006100bb95ec" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "group__GlobalDefs.html#gadf5010f6e140a53ecbdf949e73e87594" > hipError_t< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "group__Stream.html#ga3076a3499ed2c7821311006100bb95ec" > hipStreamDestroy< / a > (< a class = "el" href = "structihipStream__t.html" > hipStream_t< / a > stream)< / td > < / tr >
< tr class = "memdesc:ga3076a3499ed2c7821311006100bb95ec" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Destroys the specified stream. < a href = "group__Stream.html#ga3076a3499ed2c7821311006100bb95ec" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ga3076a3499ed2c7821311006100bb95ec" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga3249555a26439591b8873f70b39bb116" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "group__GlobalDefs.html#gadf5010f6e140a53ecbdf949e73e87594" > hipError_t< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "group__Stream.html#ga3249555a26439591b8873f70b39bb116" > hipStreamGetFlags< / a > (< a class = "el" href = "structihipStream__t.html" > hipStream_t< / a > stream, unsigned int *flags)< / td > < / tr >
< tr class = "memdesc:ga3249555a26439591b8873f70b39bb116" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Return flags associated with this stream. < a href = "group__Stream.html#ga3249555a26439591b8873f70b39bb116" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ga3249555a26439591b8873f70b39bb116" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:gae86a5acb1b22b61bc9ecb9c28fc71b75" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "group__GlobalDefs.html#gadf5010f6e140a53ecbdf949e73e87594" > hipError_t< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "group__Event.html#gae86a5acb1b22b61bc9ecb9c28fc71b75" > hipEventCreateWithFlags< / a > (< a class = "el" href = "structhipEvent__t.html" > hipEvent_t< / a > *event, unsigned flags)< / td > < / tr >
< tr class = "memdesc:gae86a5acb1b22b61bc9ecb9c28fc71b75" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Create an event with the specified flags. < a href = "group__Event.html#gae86a5acb1b22b61bc9ecb9c28fc71b75" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:gae86a5acb1b22b61bc9ecb9c28fc71b75" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:gace88ebd8c7ec42a6c2cebda2e8b0cb38" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "group__GlobalDefs.html#gadf5010f6e140a53ecbdf949e73e87594" > hipError_t< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "group__Event.html#gace88ebd8c7ec42a6c2cebda2e8b0cb38" > hipEventRecord< / a > (< a class = "el" href = "structhipEvent__t.html" > hipEvent_t< / a > event, < a class = "el" href = "structihipStream__t.html" > hipStream_t< / a > stream)< / td > < / tr >
< tr class = "memdesc:gace88ebd8c7ec42a6c2cebda2e8b0cb38" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Record an event in the specified stream. < a href = "group__Event.html#gace88ebd8c7ec42a6c2cebda2e8b0cb38" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:gace88ebd8c7ec42a6c2cebda2e8b0cb38" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga83260357dce0c39e8c6a3c74ec97484c" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "group__GlobalDefs.html#gadf5010f6e140a53ecbdf949e73e87594" > hipError_t< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "group__Event.html#ga83260357dce0c39e8c6a3c74ec97484c" > hipEventDestroy< / a > (< a class = "el" href = "structhipEvent__t.html" > hipEvent_t< / a > event)< / td > < / tr >
< tr class = "memdesc:ga83260357dce0c39e8c6a3c74ec97484c" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Destroy the specified event. < a href = "group__Event.html#ga83260357dce0c39e8c6a3c74ec97484c" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ga83260357dce0c39e8c6a3c74ec97484c" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga1f72d98ba5d6f7dc3da54e0c41fe38b1" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "group__GlobalDefs.html#gadf5010f6e140a53ecbdf949e73e87594" > hipError_t< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "group__Event.html#ga1f72d98ba5d6f7dc3da54e0c41fe38b1" > hipEventSynchronize< / a > (< a class = "el" href = "structhipEvent__t.html" > hipEvent_t< / a > event)< / td > < / tr >
< tr class = "memdesc:ga1f72d98ba5d6f7dc3da54e0c41fe38b1" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > : Wait for an event to complete. < a href = "group__Event.html#ga1f72d98ba5d6f7dc3da54e0c41fe38b1" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ga1f72d98ba5d6f7dc3da54e0c41fe38b1" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a1d30a0554ca00fc1db8442d03e285ef2" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "a1d30a0554ca00fc1db8442d03e285ef2" > < / a >
void  < / td > < td class = "memItemRight" valign = "bottom" > < b > ihipSetTs< / b > (< a class = "el" href = "structhipEvent__t.html" > hipEvent_t< / a > e)< / td > < / tr >
< tr class = "separator:a1d30a0554ca00fc1db8442d03e285ef2" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:gad4128b815cb475c8e13c7e66ff6250b7" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "group__GlobalDefs.html#gadf5010f6e140a53ecbdf949e73e87594" > hipError_t< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "group__Event.html#gad4128b815cb475c8e13c7e66ff6250b7" > hipEventElapsedTime< / a > (float *ms, < a class = "el" href = "structhipEvent__t.html" > hipEvent_t< / a > start, < a class = "el" href = "structhipEvent__t.html" > hipEvent_t< / a > stop)< / td > < / tr >
< tr class = "memdesc:gad4128b815cb475c8e13c7e66ff6250b7" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Return the elapsed time between two events. < a href = "group__Event.html#gad4128b815cb475c8e13c7e66ff6250b7" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:gad4128b815cb475c8e13c7e66ff6250b7" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga5d12d7b798b5ceb5932d1ac21f5ac776" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "group__GlobalDefs.html#gadf5010f6e140a53ecbdf949e73e87594" > hipError_t< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "group__Event.html#ga5d12d7b798b5ceb5932d1ac21f5ac776" > hipEventQuery< / a > (< a class = "el" href = "structhipEvent__t.html" > hipEvent_t< / a > event)< / td > < / tr >
< tr class = "memdesc:ga5d12d7b798b5ceb5932d1ac21f5ac776" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Query event status. < a href = "group__Event.html#ga5d12d7b798b5ceb5932d1ac21f5ac776" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ga5d12d7b798b5ceb5932d1ac21f5ac776" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a045b3c563ecce7aea536d42ecf2549bb" > < td class = "memTemplParams" colspan = "2" > < a class = "anchor" id = "a045b3c563ecce7aea536d42ecf2549bb" > < / a >
template< typename T > < / td > < / tr >
< tr class = "memitem:a045b3c563ecce7aea536d42ecf2549bb" > < td class = "memTemplItemLeft" align = "right" valign = "top" > hc::completion_future  < / td > < td class = "memTemplItemRight" valign = "bottom" > < b > ihipMemcpyKernel< / b > (< a class = "el" href = "structihipStream__t.html" > hipStream_t< / a > stream, T *c, const T *a, size_t sizeBytes)< / td > < / tr >
< tr class = "separator:a045b3c563ecce7aea536d42ecf2549bb" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:aa77a0a35dd9612f0a3122586799b20f1" > < td class = "memTemplParams" colspan = "2" > < a class = "anchor" id = "aa77a0a35dd9612f0a3122586799b20f1" > < / a >
template< typename T > < / td > < / tr >
< tr class = "memitem:aa77a0a35dd9612f0a3122586799b20f1" > < td class = "memTemplItemLeft" align = "right" valign = "top" > hc::completion_future  < / td > < td class = "memTemplItemRight" valign = "bottom" > < b > ihipMemsetKernel< / b > (< a class = "el" href = "structihipStream__t.html" > hipStream_t< / a > stream, T *ptr, T val, size_t sizeBytes)< / td > < / tr >
< tr class = "separator:aa77a0a35dd9612f0a3122586799b20f1" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga4c6fcfe80010069d2792780d00dcead2" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "group__GlobalDefs.html#gadf5010f6e140a53ecbdf949e73e87594" > hipError_t< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "group__Memory.html#ga4c6fcfe80010069d2792780d00dcead2" > hipMalloc< / a > (void **ptr, size_t sizeBytes)< / td > < / tr >
2016-02-18 20:43:03 -06:00
< tr class = "memdesc:ga4c6fcfe80010069d2792780d00dcead2" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Allocate memory on the default accelerator. < a href = "group__Memory.html#ga4c6fcfe80010069d2792780d00dcead2" > More...< / a > < br / > < / td > < / tr >
2016-01-26 20:14:33 -06:00
< tr class = "separator:ga4c6fcfe80010069d2792780d00dcead2" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga66399e729223ff5b66ffc16297c0710e" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "group__GlobalDefs.html#gadf5010f6e140a53ecbdf949e73e87594" > hipError_t< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "group__Memory.html#ga66399e729223ff5b66ffc16297c0710e" > hipMallocHost< / a > (void **ptr, size_t sizeBytes)< / td > < / tr >
2016-02-18 20:43:03 -06:00
< tr class = "memdesc:ga66399e729223ff5b66ffc16297c0710e" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Allocate pinned host memory. < a href = "group__Memory.html#ga66399e729223ff5b66ffc16297c0710e" > More...< / a > < br / > < / td > < / tr >
2016-01-26 20:14:33 -06:00
< tr class = "separator:ga66399e729223ff5b66ffc16297c0710e" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2016-02-18 20:43:03 -06:00
< tr class = "memitem:ga131ac5c1ba04e186112491cb9bf964bc" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "group__GlobalDefs.html#gadf5010f6e140a53ecbdf949e73e87594" > hipError_t< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "group__Memory.html#ga131ac5c1ba04e186112491cb9bf964bc" > hipMemcpyToSymbol< / a > (const char *symbolName, const void *src, size_t count, size_t offset, < a class = "el" href = "group__GlobalDefs.html#ga232e222db36b1fc672ba98054d036a18" > hipMemcpyKind< / a > kind)< / td > < / tr >
< tr class = "memdesc:ga131ac5c1ba04e186112491cb9bf964bc" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Copies < code > sizeBytes< / code > bytes from the memory area pointed to by < code > src< / code > to the memory area pointed to by < code > offset< / code > bytes from the start of symbol < code > symbol< / code > . < a href = "group__Memory.html#ga131ac5c1ba04e186112491cb9bf964bc" > More...< / a > < br / > < / td > < / tr >
2016-01-26 20:14:33 -06:00
< tr class = "separator:ga131ac5c1ba04e186112491cb9bf964bc" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:gac1a055d288302edd641c6d7416858e1e" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "group__GlobalDefs.html#gadf5010f6e140a53ecbdf949e73e87594" > hipError_t< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "group__Memory.html#gac1a055d288302edd641c6d7416858e1e" > hipMemcpy< / a > (void *dst, const void *src, size_t sizeBytes, < a class = "el" href = "group__GlobalDefs.html#ga232e222db36b1fc672ba98054d036a18" > hipMemcpyKind< / a > kind)< / td > < / tr >
2016-02-18 20:43:03 -06:00
< tr class = "memdesc:gac1a055d288302edd641c6d7416858e1e" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Copy data from src to dst. < a href = "group__Memory.html#gac1a055d288302edd641c6d7416858e1e" > More...< / a > < br / > < / td > < / tr >
2016-01-26 20:14:33 -06:00
< tr class = "separator:gac1a055d288302edd641c6d7416858e1e" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga8ad5a0b13458917e1b9437732b21af54" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "group__GlobalDefs.html#gadf5010f6e140a53ecbdf949e73e87594" > hipError_t< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "group__Memory.html#ga8ad5a0b13458917e1b9437732b21af54" > hipMemcpyAsync< / a > (void *dst, const void *src, size_t sizeBytes, < a class = "el" href = "group__GlobalDefs.html#ga232e222db36b1fc672ba98054d036a18" > hipMemcpyKind< / a > kind, < a class = "el" href = "structihipStream__t.html" > hipStream_t< / a > stream)< / td > < / tr >
2016-02-18 20:43:03 -06:00
< tr class = "memdesc:ga8ad5a0b13458917e1b9437732b21af54" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Copy data from src to dst asynchronously. < a href = "group__Memory.html#ga8ad5a0b13458917e1b9437732b21af54" > More...< / a > < br / > < / td > < / tr >
2016-01-26 20:14:33 -06:00
< tr class = "separator:ga8ad5a0b13458917e1b9437732b21af54" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2016-02-18 20:43:03 -06:00
< tr class = "memitem:gaee4ed665ce0a60c661a809c175320a0c" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "group__GlobalDefs.html#gadf5010f6e140a53ecbdf949e73e87594" > hipError_t< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "group__Memory.html#gaee4ed665ce0a60c661a809c175320a0c" > hipMemsetAsync< / a > (void *dst, int value, size_t sizeBytes, < a class = "el" href = "structihipStream__t.html" > hipStream_t< / a > stream)< / td > < / tr >
< tr class = "memdesc:gaee4ed665ce0a60c661a809c175320a0c" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Fills the first sizeBytes bytes of the memory area pointed to by dev with the constant byte value value. < a href = "group__Memory.html#gaee4ed665ce0a60c661a809c175320a0c" > More...< / a > < br / > < / td > < / tr >
2016-01-26 20:14:33 -06:00
< tr class = "separator:gaee4ed665ce0a60c661a809c175320a0c" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2016-02-18 20:43:03 -06:00
< tr class = "memitem:gac7441e74affcce4b8b69dba996c5ebc4" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "group__GlobalDefs.html#gadf5010f6e140a53ecbdf949e73e87594" > hipError_t< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "group__Memory.html#gac7441e74affcce4b8b69dba996c5ebc4" > hipMemset< / a > (void *dst, int value, size_t sizeBytes)< / td > < / tr >
< tr class = "memdesc:gac7441e74affcce4b8b69dba996c5ebc4" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Copy data from src to dst asynchronously. < a href = "group__Memory.html#gac7441e74affcce4b8b69dba996c5ebc4" > More...< / a > < br / > < / td > < / tr >
2016-01-26 20:14:33 -06:00
< tr class = "separator:gac7441e74affcce4b8b69dba996c5ebc4" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga311c3e246a21590de14478b8bd063be2" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "ga311c3e246a21590de14478b8bd063be2" > < / a >
< a class = "el" href = "group__GlobalDefs.html#gadf5010f6e140a53ecbdf949e73e87594" > hipError_t< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < b > hipMemGetInfo< / b > (size_t *free, size_t *total)< / td > < / tr >
< tr class = "separator:ga311c3e246a21590de14478b8bd063be2" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga740d08da65cae1441ba32f8fedb863d1" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "group__GlobalDefs.html#gadf5010f6e140a53ecbdf949e73e87594" > hipError_t< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "group__Memory.html#ga740d08da65cae1441ba32f8fedb863d1" > hipFree< / a > (void *ptr)< / td > < / tr >
2016-02-18 20:43:03 -06:00
< tr class = "memdesc:ga740d08da65cae1441ba32f8fedb863d1" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Free memory allocated by the hcc hip memory allocation API. This API performs an implicit < a class = "el" href = "group__Device.html#gaefdc2847fb1d6c3fb1354e827a191ebd" title = "Blocks until the default device has completed all preceding requested tasks. " > hipDeviceSynchronize()< / a > call. < a href = "group__Memory.html#ga740d08da65cae1441ba32f8fedb863d1" > More...< / a > < br / > < / td > < / tr >
2016-01-26 20:14:33 -06:00
< tr class = "separator:ga740d08da65cae1441ba32f8fedb863d1" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga28d7d92836116dfadeb62e416ee887d3" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "group__GlobalDefs.html#gadf5010f6e140a53ecbdf949e73e87594" > hipError_t< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "group__Memory.html#ga28d7d92836116dfadeb62e416ee887d3" > hipFreeHost< / a > (void *ptr)< / td > < / tr >
2016-02-18 20:43:03 -06:00
< tr class = "memdesc:ga28d7d92836116dfadeb62e416ee887d3" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Free memory allocated by the hcc hip host memory allocation API. < a href = "group__Memory.html#ga28d7d92836116dfadeb62e416ee887d3" > More...< / a > < br / > < / td > < / tr >
2016-01-26 20:14:33 -06:00
< tr class = "separator:ga28d7d92836116dfadeb62e416ee887d3" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:gab53a55dbc087ff659918fd04287de3d3" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "group__GlobalDefs.html#gadf5010f6e140a53ecbdf949e73e87594" > hipError_t< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "group__PeerToPeer.html#gab53a55dbc087ff659918fd04287de3d3" > hipDeviceCanAccessPeer< / a > (int *canAccessPeer, int device, int peerDevice)< / td > < / tr >
< tr class = "memdesc:gab53a55dbc087ff659918fd04287de3d3" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Determine if a device can access a peer's memory. < a href = "group__PeerToPeer.html#gab53a55dbc087ff659918fd04287de3d3" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:gab53a55dbc087ff659918fd04287de3d3" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga41e60c01f63597529da1cd77bdd55379" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "group__GlobalDefs.html#gadf5010f6e140a53ecbdf949e73e87594" > hipError_t< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "group__PeerToPeer.html#ga41e60c01f63597529da1cd77bdd55379" > hipDeviceDisablePeerAccess< / a > (int peerDevice)< / td > < / tr >
2016-02-18 20:43:03 -06:00
< tr class = "memdesc:ga41e60c01f63597529da1cd77bdd55379" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Disables registering memory on peerDevice for direct access from the current device. < a href = "group__PeerToPeer.html#ga41e60c01f63597529da1cd77bdd55379" > More...< / a > < br / > < / td > < / tr >
2016-01-26 20:14:33 -06:00
< tr class = "separator:ga41e60c01f63597529da1cd77bdd55379" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga098e0d626edbfb69b66d141a5a8b7dc6" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "group__GlobalDefs.html#gadf5010f6e140a53ecbdf949e73e87594" > hipError_t< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "group__PeerToPeer.html#ga098e0d626edbfb69b66d141a5a8b7dc6" > hipDeviceEnablePeerAccess< / a > (int peerDevice, unsigned int flags)< / td > < / tr >
2016-02-18 20:43:03 -06:00
< tr class = "memdesc:ga098e0d626edbfb69b66d141a5a8b7dc6" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Enables registering memory on peerDevice for direct access from the current device. < a href = "group__PeerToPeer.html#ga098e0d626edbfb69b66d141a5a8b7dc6" > More...< / a > < br / > < / td > < / tr >
2016-01-26 20:14:33 -06:00
< tr class = "separator:ga098e0d626edbfb69b66d141a5a8b7dc6" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2016-02-18 20:43:03 -06:00
< tr class = "memitem:ga72ae9e7f498ab5684580892a5d7d8e2d" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "group__GlobalDefs.html#gadf5010f6e140a53ecbdf949e73e87594" > hipError_t< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "group__PeerToPeer.html#ga72ae9e7f498ab5684580892a5d7d8e2d" > hipMemcpyPeer< / a > (void *dst, int dstDevice, const void *src, int srcDevice, size_t sizeBytes)< / td > < / tr >
< tr class = "memdesc:ga72ae9e7f498ab5684580892a5d7d8e2d" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Copies memory from one device to memory on another device. < a href = "group__PeerToPeer.html#ga72ae9e7f498ab5684580892a5d7d8e2d" > More...< / a > < br / > < / td > < / tr >
2016-01-26 20:14:33 -06:00
< tr class = "separator:ga72ae9e7f498ab5684580892a5d7d8e2d" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:gab6211c18ca1e23252ef080cd6be855ca" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "group__GlobalDefs.html#gadf5010f6e140a53ecbdf949e73e87594" > hipError_t< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "group__PeerToPeer.html#gab6211c18ca1e23252ef080cd6be855ca" > hipMemcpyPeerAsync< / a > (void *dst, int dstDevice, const void *src, int srcDevice, size_t sizeBytes, < a class = "el" href = "structihipStream__t.html" > hipStream_t< / a > stream)< / td > < / tr >
2016-02-18 20:43:03 -06:00
< tr class = "memdesc:gab6211c18ca1e23252ef080cd6be855ca" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Copies memory from one device to memory on another device. < a href = "group__PeerToPeer.html#gab6211c18ca1e23252ef080cd6be855ca" > More...< / a > < br / > < / td > < / tr >
2016-01-26 20:14:33 -06:00
< tr class = "separator:gab6211c18ca1e23252ef080cd6be855ca" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:gaf6c342f52d2a29a0aca5cdd89b4dd47c" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "group__GlobalDefs.html#gadf5010f6e140a53ecbdf949e73e87594" > hipError_t< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "group__Version.html#gaf6c342f52d2a29a0aca5cdd89b4dd47c" > hipDriverGetVersion< / a > (int *driverVersion)< / td > < / tr >
2016-02-18 20:43:03 -06:00
< tr class = "memdesc:gaf6c342f52d2a29a0aca5cdd89b4dd47c" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Returns the approximate HIP driver version. < a href = "group__Version.html#gaf6c342f52d2a29a0aca5cdd89b4dd47c" > More...< / a > < br / > < / td > < / tr >
2016-01-26 20:14:33 -06:00
< tr class = "separator:gaf6c342f52d2a29a0aca5cdd89b4dd47c" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga0d24b3157fd1b16d38672bb157ec4cd4" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "group__GlobalDefs.html#gadf5010f6e140a53ecbdf949e73e87594" > hipError_t< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "group__HCC__Specific.html#ga0d24b3157fd1b16d38672bb157ec4cd4" > hipHccGetAccelerator< / a > (int deviceId, hc::accelerator *acc)< / td > < / tr >
2016-02-18 20:43:03 -06:00
< tr class = "memdesc:ga0d24b3157fd1b16d38672bb157ec4cd4" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Return hc::accelerator associated with the specified deviceId. < a href = "group__HCC__Specific.html#ga0d24b3157fd1b16d38672bb157ec4cd4" > More...< / a > < br / > < / td > < / tr >
2016-01-26 20:14:33 -06:00
< tr class = "separator:ga0d24b3157fd1b16d38672bb157ec4cd4" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga1a7087ea9c3c3323270d7cce73650b44" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "group__GlobalDefs.html#gadf5010f6e140a53ecbdf949e73e87594" > hipError_t< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "group__HCC__Specific.html#ga1a7087ea9c3c3323270d7cce73650b44" > hipHccGetAcceleratorView< / a > (< a class = "el" href = "structihipStream__t.html" > hipStream_t< / a > stream, hc::accelerator_view **av)< / td > < / tr >
2016-02-18 20:43:03 -06:00
< tr class = "memdesc:ga1a7087ea9c3c3323270d7cce73650b44" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Return hc::accelerator_view associated with the specified stream. < a href = "group__HCC__Specific.html#ga1a7087ea9c3c3323270d7cce73650b44" > More...< / a > < br / > < / td > < / tr >
2016-01-26 20:14:33 -06:00
< tr class = "separator:ga1a7087ea9c3c3323270d7cce73650b44" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< / table > < table class = "memberdecls" >
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a name = "var-members" > < / a >
Variables< / h2 > < / td > < / tr >
< tr class = "memitem:a48fa8b9d8b693778a249dad1ed747249" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "a48fa8b9d8b693778a249dad1ed747249" > < / a >
int  < / td > < td class = "memItemRight" valign = "bottom" > < b > warpSize< / b > = 64< / td > < / tr >
< tr class = "separator:a48fa8b9d8b693778a249dad1ed747249" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga1e1c85dbb250f1acfb484c1be1f3b28a" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "ga1e1c85dbb250f1acfb484c1be1f3b28a" > < / a >
int  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "group__HIP-ENV.html#ga1e1c85dbb250f1acfb484c1be1f3b28a" > HIP_PRINT_ENV< / a > = 0< / td > < / tr >
< tr class = "memdesc:ga1e1c85dbb250f1acfb484c1be1f3b28a" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Print all HIP-related environment variables. < br / > < / td > < / tr >
< tr class = "separator:ga1e1c85dbb250f1acfb484c1be1f3b28a" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:gaae9c541f3e25b8f002762337a03fec28" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "gaae9c541f3e25b8f002762337a03fec28" > < / a >
int  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "group__HIP-ENV.html#gaae9c541f3e25b8f002762337a03fec28" > HIP_TRACE_API< / a > = 0< / td > < / tr >
< tr class = "memdesc:gaae9c541f3e25b8f002762337a03fec28" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Trace HIP APIs. < br / > < / td > < / tr >
< tr class = "separator:gaae9c541f3e25b8f002762337a03fec28" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga8049b329f2663b4572d81e7a9aa8a155" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "ga8049b329f2663b4572d81e7a9aa8a155" > < / a >
int  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "group__HIP-ENV.html#ga8049b329f2663b4572d81e7a9aa8a155" > HIP_LAUNCH_BLOCKING< / a > = 0< / td > < / tr >
< tr class = "memdesc:ga8049b329f2663b4572d81e7a9aa8a155" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Make all HIP APIs host-synchronous. < br / > < / td > < / tr >
< tr class = "separator:ga8049b329f2663b4572d81e7a9aa8a155" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a3ccbac0c243625397e1f0ede5ab93a0c" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "a3ccbac0c243625397e1f0ede5ab93a0c" > < / a >
const < a class = "el" href = "structihipStream__t.html" > hipStream_t< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < b > hipStreamNull< / b > = 0x0< / td > < / tr >
< tr class = "separator:a3ccbac0c243625397e1f0ede5ab93a0c" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a40479a2de3cfe04b98028668d3297ed5" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "a40479a2de3cfe04b98028668d3297ed5" > < / a >
thread_local < a class = "el" href = "group__GlobalDefs.html#gadf5010f6e140a53ecbdf949e73e87594" > hipError_t< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < b > tls_lastHipError< / b > = < a class = "el" href = "group__GlobalDefs.html#ggadf5010f6e140a53ecbdf949e73e87594aadfbdb847b149723c684ebd764556063" > hipSuccess< / a > < / td > < / tr >
< tr class = "separator:a40479a2de3cfe04b98028668d3297ed5" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a89c4a58c7acbb945bd6e4c9d8fafb66c" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "a89c4a58c7acbb945bd6e4c9d8fafb66c" > < / a >
thread_local int  < / td > < td class = "memItemRight" valign = "bottom" > < b > tls_defaultDevice< / b > = 0< / td > < / tr >
< tr class = "separator:a89c4a58c7acbb945bd6e4c9d8fafb66c" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:aae9776b40d05a39ead2dd0df7d82e46d" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "aae9776b40d05a39ead2dd0df7d82e46d" > < / a >
std::once_flag  < / td > < td class = "memItemRight" valign = "bottom" > < b > hip_initialized< / b > < / td > < / tr >
< tr class = "separator:aae9776b40d05a39ead2dd0df7d82e46d" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a3e9ee6301c49388d1108a17ddc60fd3b" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "a3e9ee6301c49388d1108a17ddc60fd3b" > < / a >
std::vector< < a class = "el" href = "structihipDevice__t.html" > ihipDevice_t< / a > >   < / td > < td class = "memItemRight" valign = "bottom" > < b > g_devices< / b > < / td > < / tr >
< tr class = "separator:a3e9ee6301c49388d1108a17ddc60fd3b" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< / table >
< a name = "details" id = "details" > < / a > < h2 class = "groupheader" > Detailed Description< / h2 >
< div class = "textblock" > < p > Contains definitions for functions that are large enough that we don't want to inline them everywhere. This file is compiled and linked into apps running HIP / HCC path. < / p >
< / div > < h2 class = "groupheader" > Macro Definition Documentation< / h2 >
< a class = "anchor" id = "aedd5ad4a39f4959e241b024c27d1746f" > < / a >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > #define ihipLogStatus< / td >
< td > (< / td >
< td class = "paramtype" >   < / td >
< td class = "paramname" > _hip_status< / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< b > Value:< / b > < div class = "fragment" > < div class = "line" > ({\< / div >
< div class = "line" > tls_lastHipError = _hip_status;\< / div >
< div class = "line" > \< / div >
< div class = "line" > if (< a class = "code" href = "group__HIP-ENV.html#gaae9c541f3e25b8f002762337a03fec28" > HIP_TRACE_API< / a > & TRACE_API) {\< / div >
< div class = "line" > fprintf(stderr, < span class = "stringliteral" > " hiptrace1: %-30s ret=%2d\n" < / span > , __func__, _hip_status);\< / div >
< div class = "line" > }\< / div >
< div class = "line" > _hip_status;\< / div >
< div class = "line" > })< / div >
< div class = "ttc" id = "group__HIP-ENV_html_gaae9c541f3e25b8f002762337a03fec28" > < div class = "ttname" > < a href = "group__HIP-ENV.html#gaae9c541f3e25b8f002762337a03fec28" > HIP_TRACE_API< / a > < / div > < div class = "ttdeci" > int HIP_TRACE_API< / div > < div class = "ttdoc" > Trace HIP APIs. < / div > < div class = "ttdef" > < b > Definition:< / b > hip_hcc.cpp:57< / div > < / div >
< / div > <!-- fragment -->
< / div >
< / div >
< a class = "anchor" id = "a2b90029add81faa0bf675869ffc31354" > < / a >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > #define READ_ENV_I< / td >
< td > (< / td >
< td class = "paramtype" >   < / td >
< td class = "paramname" > _build, < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" >   < / td >
< td class = "paramname" > _ENV_VAR, < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" >   < / td >
< td class = "paramname" > _ENV_VAR2, < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" >   < / td >
< td class = "paramname" > _description  < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< b > Value:< / b > < div class = "fragment" > < div class = "line" > < span class = "keywordflow" > if< / span > (_build == release) {\< / div >
< div class = "line" > ihipReadEnv_I(& _ENV_VAR, #_ENV_VAR, #_ENV_VAR2, _description);\< / div >
< div class = "line" > };< / div >
< / div > <!-- fragment -->
< / div >
< / div >
< a class = "anchor" id = "a416fdb19f57927de7f282e4d05eba519" > < / a >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > #define tprintf< / td >
< td > (< / td >
< td class = "paramtype" >   < / td >
< td class = "paramname" > trace_level, < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" >   < / td >
< td class = "paramname" > < em > ...< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< b > Value:< / b > < div class = "fragment" > < div class = "line" > {\< / div >
< div class = "line" > if (< a class = "code" href = "group__HIP-ENV.html#gaae9c541f3e25b8f002762337a03fec28" > HIP_TRACE_API< / a > & trace_level) {\< / div >
< div class = "line" > fprintf (stderr, < span class = "stringliteral" > " hiptrace%d: " < / span > , trace_level); \< / div >
< div class = "line" > fprintf (stderr, __VA_ARGS__);\< / div >
< div class = "line" > }\< / div >
< div class = "line" > }< / div >
< div class = "ttc" id = "group__HIP-ENV_html_gaae9c541f3e25b8f002762337a03fec28" > < div class = "ttname" > < a href = "group__HIP-ENV.html#gaae9c541f3e25b8f002762337a03fec28" > HIP_TRACE_API< / a > < / div > < div class = "ttdeci" > int HIP_TRACE_API< / div > < div class = "ttdoc" > Trace HIP APIs. < / div > < div class = "ttdef" > < b > Definition:< / b > hip_hcc.cpp:57< / div > < / div >
< / div > <!-- fragment -->
< / div >
< / div >
< / div > <!-- contents -->
<!-- start footer part -->
< hr class = "footer" / > < address class = "footer" > < small >
2016-02-18 20:43:03 -06:00
Generated on Thu Feb 18 2016 20:42:16 for HIP: Heterogenous-computing Interface for Portability by   < a href = "http://www.doxygen.org/index.html" >
2016-01-26 20:14:33 -06:00
< img class = "footer" src = "doxygen.png" alt = "doxygen" / >
< / a > 1.8.6
< / small > < / address >
< / body >
< / html >