From 5446a95d373c471d4be0ced7bd9a3299d80602ba Mon Sep 17 00:00:00 2001 From: Maneesh Gupta Date: Fri, 8 Jul 2016 20:57:25 +0530 Subject: [PATCH] Updated doxygen documentation Change-Id: Ib3984a50936d3f08bd1d07a9f9c3d5e5efe2d60c --- docs/RuntimeAPI/html/Synchonization.html | 117 ++ docs/RuntimeAPI/html/annotated.html | 120 ++ docs/RuntimeAPI/html/bc_s.png | Bin 0 -> 676 bytes docs/RuntimeAPI/html/bdwn.png | Bin 0 -> 147 bytes docs/RuntimeAPI/html/bug.html | 99 ++ .../html/classFakeMutex-members.html | 104 ++ docs/RuntimeAPI/html/classFakeMutex.html | 117 ++ .../html/classLockedAccessor-members.html | 105 ++ docs/RuntimeAPI/html/classLockedAccessor.html | 117 ++ docs/RuntimeAPI/html/classes.html | 119 ++ ...lassihipDeviceCriticalBase__t-members.html | 118 ++ .../html/classihipDeviceCriticalBase__t.html | 157 ++ .../html/classihipDeviceCriticalBase__t.png | Bin 0 -> 858 bytes .../html/classihipDevice__t-members.html | 118 ++ docs/RuntimeAPI/html/classihipDevice__t.html | 158 ++ .../html/classihipException-members.html | 103 ++ docs/RuntimeAPI/html/classihipException.html | 126 ++ docs/RuntimeAPI/html/classihipException.png | Bin 0 -> 435 bytes ...lassihipStreamCriticalBase__t-members.html | 114 ++ .../html/classihipStreamCriticalBase__t.html | 157 ++ .../html/classihipStreamCriticalBase__t.png | Bin 0 -> 854 bytes .../html/classihipStream__t-members.html | 121 ++ docs/RuntimeAPI/html/classihipStream__t.html | 178 +++ docs/RuntimeAPI/html/closed.png | Bin 0 -> 132 bytes .../dir_68267d1309a1af8e8297ef4c3efbcdba.html | 118 ++ .../dir_6d8604cb65fa6b83549668eb0ce09cac.html | 125 ++ .../dir_d44c64559bbebec7f509842c48db8b23.html | 113 ++ docs/RuntimeAPI/html/doxygen.css | 1366 +++++++++++++++++ docs/RuntimeAPI/html/doxygen.png | Bin 0 -> 3779 bytes docs/RuntimeAPI/html/dynsections.js | 97 ++ docs/RuntimeAPI/html/files.html | 120 ++ docs/RuntimeAPI/html/ftv2blank.png | Bin 0 -> 86 bytes docs/RuntimeAPI/html/ftv2cl.png | Bin 0 -> 453 bytes docs/RuntimeAPI/html/ftv2doc.png | Bin 0 -> 746 bytes docs/RuntimeAPI/html/ftv2folderclosed.png | Bin 0 -> 616 bytes docs/RuntimeAPI/html/ftv2folderopen.png | Bin 0 -> 597 bytes docs/RuntimeAPI/html/ftv2lastnode.png | Bin 0 -> 86 bytes docs/RuntimeAPI/html/ftv2link.png | Bin 0 -> 746 bytes docs/RuntimeAPI/html/ftv2mlastnode.png | Bin 0 -> 246 bytes docs/RuntimeAPI/html/ftv2mnode.png | Bin 0 -> 246 bytes docs/RuntimeAPI/html/ftv2mo.png | Bin 0 -> 403 bytes docs/RuntimeAPI/html/ftv2node.png | Bin 0 -> 86 bytes docs/RuntimeAPI/html/ftv2ns.png | Bin 0 -> 388 bytes docs/RuntimeAPI/html/ftv2plastnode.png | Bin 0 -> 229 bytes docs/RuntimeAPI/html/ftv2pnode.png | Bin 0 -> 229 bytes docs/RuntimeAPI/html/ftv2splitbar.png | Bin 0 -> 314 bytes docs/RuntimeAPI/html/ftv2vertline.png | Bin 0 -> 86 bytes docs/RuntimeAPI/html/functions.html | 317 ++++ docs/RuntimeAPI/html/functions_vars.html | 317 ++++ docs/RuntimeAPI/html/globals.html | 382 +++++ docs/RuntimeAPI/html/globals_defs.html | 146 ++ docs/RuntimeAPI/html/globals_enum.html | 119 ++ docs/RuntimeAPI/html/globals_eval.html | 146 ++ docs/RuntimeAPI/html/globals_func.html | 270 ++++ docs/RuntimeAPI/html/globals_type.html | 116 ++ docs/RuntimeAPI/html/group__API.html | 118 ++ docs/RuntimeAPI/html/group__Device.html | 471 ++++++ docs/RuntimeAPI/html/group__Error.html | 205 +++ docs/RuntimeAPI/html/group__Event.html | 348 +++++ docs/RuntimeAPI/html/group__GlobalDefs.html | 631 ++++++++ .../RuntimeAPI/html/group__HCC__Specific.html | 96 ++ docs/RuntimeAPI/html/group__HIP-ENV.html | 90 ++ docs/RuntimeAPI/html/group__Memory.html | 836 ++++++++++ docs/RuntimeAPI/html/group__PeerToPeer.html | 223 +++ docs/RuntimeAPI/html/group__Profiler.html | 93 ++ docs/RuntimeAPI/html/group__Stream.html | 322 ++++ docs/RuntimeAPI/html/group__Texture.html | 129 ++ docs/RuntimeAPI/html/group__Version.html | 122 ++ docs/RuntimeAPI/html/hcc_8h_source.html | 108 ++ docs/RuntimeAPI/html/hcc__acc_8h_source.html | 117 ++ .../html/hcc__detail_2hip__runtime_8h.html | 987 ++++++++++++ .../hcc__detail_2hip__runtime_8h_source.html | 695 +++++++++ .../hcc__detail_2hip__runtime__api_8h.html | 394 +++++ ...__detail_2hip__runtime__api_8h_source.html | 501 ++++++ .../hcc__detail_2hip__vector__types_8h.html | 417 +++++ ..._detail_2hip__vector__types_8h_source.html | 365 +++++ docs/RuntimeAPI/html/hierarchy.html | 125 ++ .../html/hip__common_8h_source.html | 189 +++ docs/RuntimeAPI/html/hip__hcc_8cpp.html | 353 +++++ docs/RuntimeAPI/html/hip__hcc_8h_source.html | 819 ++++++++++ docs/RuntimeAPI/html/hip__ldg_8h_source.html | 179 +++ .../html/hip__runtime_8h_source.html | 154 ++ .../html/hip__runtime__api_8h_source.html | 376 +++++ docs/RuntimeAPI/html/hip__texture_8h.html | 207 +++ .../html/hip__texture_8h_source.html | 273 ++++ docs/RuntimeAPI/html/hip__util_8h_source.html | 136 ++ .../html/hip__vector__types_8h_source.html | 136 ++ docs/RuntimeAPI/html/host__defines_8h.html | 147 ++ .../html/host__defines_8h_source.html | 164 ++ docs/RuntimeAPI/html/index.html | 99 ++ docs/RuntimeAPI/html/jquery.js | 31 + docs/RuntimeAPI/html/modules.html | 107 ++ docs/RuntimeAPI/html/nav_f.png | Bin 0 -> 153 bytes docs/RuntimeAPI/html/nav_g.png | Bin 0 -> 95 bytes docs/RuntimeAPI/html/nav_h.png | Bin 0 -> 98 bytes docs/RuntimeAPI/html/open.png | Bin 0 -> 123 bytes docs/RuntimeAPI/html/pages.html | 96 ++ docs/RuntimeAPI/html/search/all_0.html | 26 + docs/RuntimeAPI/html/search/all_0.js | 4 + docs/RuntimeAPI/html/search/all_1.html | 26 + docs/RuntimeAPI/html/search/all_1.js | 4 + docs/RuntimeAPI/html/search/all_10.html | 26 + docs/RuntimeAPI/html/search/all_10.js | 7 + docs/RuntimeAPI/html/search/all_11.html | 26 + docs/RuntimeAPI/html/search/all_11.js | 4 + docs/RuntimeAPI/html/search/all_12.html | 26 + docs/RuntimeAPI/html/search/all_12.js | 4 + docs/RuntimeAPI/html/search/all_13.html | 26 + docs/RuntimeAPI/html/search/all_13.js | 4 + docs/RuntimeAPI/html/search/all_14.html | 26 + docs/RuntimeAPI/html/search/all_14.js | 4 + docs/RuntimeAPI/html/search/all_2.html | 26 + docs/RuntimeAPI/html/search/all_2.js | 4 + docs/RuntimeAPI/html/search/all_3.html | 26 + docs/RuntimeAPI/html/search/all_3.js | 9 + docs/RuntimeAPI/html/search/all_4.html | 26 + docs/RuntimeAPI/html/search/all_4.js | 6 + docs/RuntimeAPI/html/search/all_5.html | 26 + docs/RuntimeAPI/html/search/all_5.js | 5 + docs/RuntimeAPI/html/search/all_6.html | 26 + docs/RuntimeAPI/html/search/all_6.js | 4 + docs/RuntimeAPI/html/search/all_7.html | 26 + docs/RuntimeAPI/html/search/all_7.js | 4 + docs/RuntimeAPI/html/search/all_8.html | 26 + docs/RuntimeAPI/html/search/all_8.js | 166 ++ docs/RuntimeAPI/html/search/all_9.html | 26 + docs/RuntimeAPI/html/search/all_9.js | 13 + docs/RuntimeAPI/html/search/all_a.html | 26 + docs/RuntimeAPI/html/search/all_a.js | 8 + docs/RuntimeAPI/html/search/all_b.html | 26 + docs/RuntimeAPI/html/search/all_b.js | 15 + docs/RuntimeAPI/html/search/all_c.html | 26 + docs/RuntimeAPI/html/search/all_c.js | 4 + docs/RuntimeAPI/html/search/all_d.html | 26 + docs/RuntimeAPI/html/search/all_d.js | 5 + docs/RuntimeAPI/html/search/all_e.html | 26 + docs/RuntimeAPI/html/search/all_e.js | 4 + docs/RuntimeAPI/html/search/all_f.html | 26 + docs/RuntimeAPI/html/search/all_f.js | 6 + docs/RuntimeAPI/html/search/classes_0.html | 26 + docs/RuntimeAPI/html/search/classes_0.js | 4 + docs/RuntimeAPI/html/search/classes_1.html | 26 + docs/RuntimeAPI/html/search/classes_1.js | 4 + docs/RuntimeAPI/html/search/classes_2.html | 26 + docs/RuntimeAPI/html/search/classes_2.js | 8 + docs/RuntimeAPI/html/search/classes_3.html | 26 + docs/RuntimeAPI/html/search/classes_3.js | 12 + docs/RuntimeAPI/html/search/classes_4.html | 26 + docs/RuntimeAPI/html/search/classes_4.js | 7 + docs/RuntimeAPI/html/search/classes_5.html | 26 + docs/RuntimeAPI/html/search/classes_5.js | 4 + docs/RuntimeAPI/html/search/classes_6.html | 26 + docs/RuntimeAPI/html/search/classes_6.js | 4 + docs/RuntimeAPI/html/search/close.png | Bin 0 -> 273 bytes docs/RuntimeAPI/html/search/defines_0.html | 26 + docs/RuntimeAPI/html/search/defines_0.js | 4 + docs/RuntimeAPI/html/search/defines_1.html | 26 + docs/RuntimeAPI/html/search/defines_1.js | 5 + docs/RuntimeAPI/html/search/enums_0.html | 26 + docs/RuntimeAPI/html/search/enums_0.js | 10 + docs/RuntimeAPI/html/search/enumvalues_0.html | 26 + docs/RuntimeAPI/html/search/enumvalues_0.js | 61 + docs/RuntimeAPI/html/search/files_0.html | 26 + docs/RuntimeAPI/html/search/files_0.js | 9 + docs/RuntimeAPI/html/search/functions_0.html | 26 + docs/RuntimeAPI/html/search/functions_0.js | 56 + docs/RuntimeAPI/html/search/groups_0.html | 26 + docs/RuntimeAPI/html/search/groups_0.js | 4 + docs/RuntimeAPI/html/search/groups_1.html | 26 + docs/RuntimeAPI/html/search/groups_1.js | 5 + docs/RuntimeAPI/html/search/groups_2.html | 26 + docs/RuntimeAPI/html/search/groups_2.js | 5 + docs/RuntimeAPI/html/search/groups_3.html | 26 + docs/RuntimeAPI/html/search/groups_3.js | 4 + docs/RuntimeAPI/html/search/groups_4.html | 26 + docs/RuntimeAPI/html/search/groups_4.js | 6 + docs/RuntimeAPI/html/search/groups_5.html | 26 + docs/RuntimeAPI/html/search/groups_5.js | 5 + docs/RuntimeAPI/html/search/groups_6.html | 26 + docs/RuntimeAPI/html/search/groups_6.js | 4 + docs/RuntimeAPI/html/search/groups_7.html | 26 + docs/RuntimeAPI/html/search/groups_7.js | 4 + docs/RuntimeAPI/html/search/mag_sel.png | Bin 0 -> 563 bytes docs/RuntimeAPI/html/search/nomatches.html | 12 + docs/RuntimeAPI/html/search/pages_0.html | 26 + docs/RuntimeAPI/html/search/pages_0.js | 4 + docs/RuntimeAPI/html/search/pages_1.html | 26 + docs/RuntimeAPI/html/search/pages_1.js | 4 + docs/RuntimeAPI/html/search/search.css | 271 ++++ docs/RuntimeAPI/html/search/search.js | 813 ++++++++++ docs/RuntimeAPI/html/search/search_l.png | Bin 0 -> 604 bytes docs/RuntimeAPI/html/search/search_m.png | Bin 0 -> 158 bytes docs/RuntimeAPI/html/search/search_r.png | Bin 0 -> 612 bytes docs/RuntimeAPI/html/search/typedefs_0.html | 26 + docs/RuntimeAPI/html/search/typedefs_0.js | 4 + docs/RuntimeAPI/html/search/typedefs_1.html | 26 + docs/RuntimeAPI/html/search/typedefs_1.js | 6 + docs/RuntimeAPI/html/search/variables_0.html | 26 + docs/RuntimeAPI/html/search/variables_0.js | 4 + docs/RuntimeAPI/html/search/variables_1.html | 26 + docs/RuntimeAPI/html/search/variables_1.js | 8 + docs/RuntimeAPI/html/search/variables_2.html | 26 + docs/RuntimeAPI/html/search/variables_2.js | 20 + docs/RuntimeAPI/html/search/variables_3.html | 26 + docs/RuntimeAPI/html/search/variables_3.js | 4 + docs/RuntimeAPI/html/search/variables_4.html | 26 + docs/RuntimeAPI/html/search/variables_4.js | 4 + docs/RuntimeAPI/html/search/variables_5.html | 26 + docs/RuntimeAPI/html/search/variables_5.js | 13 + docs/RuntimeAPI/html/search/variables_6.html | 26 + docs/RuntimeAPI/html/search/variables_6.js | 4 + docs/RuntimeAPI/html/search/variables_7.html | 26 + docs/RuntimeAPI/html/search/variables_7.js | 5 + docs/RuntimeAPI/html/search/variables_8.html | 26 + docs/RuntimeAPI/html/search/variables_8.js | 4 + docs/RuntimeAPI/html/search/variables_9.html | 26 + docs/RuntimeAPI/html/search/variables_9.js | 4 + docs/RuntimeAPI/html/search/variables_a.html | 26 + docs/RuntimeAPI/html/search/variables_a.js | 5 + docs/RuntimeAPI/html/search/variables_b.html | 26 + docs/RuntimeAPI/html/search/variables_b.js | 4 + docs/RuntimeAPI/html/search/variables_c.html | 26 + docs/RuntimeAPI/html/search/variables_c.js | 4 + docs/RuntimeAPI/html/search/variables_d.html | 26 + docs/RuntimeAPI/html/search/variables_d.js | 4 + docs/RuntimeAPI/html/search/variables_e.html | 26 + docs/RuntimeAPI/html/search/variables_e.js | 4 + .../html/staging__buffer_8h_source.html | 168 ++ .../html/structLockedBase-members.html | 104 ++ docs/RuntimeAPI/html/structLockedBase.html | 131 ++ docs/RuntimeAPI/html/structLockedBase.png | Bin 0 -> 1178 bytes .../html/structStagingBuffer-members.html | 109 ++ docs/RuntimeAPI/html/structStagingBuffer.html | 134 ++ docs/RuntimeAPI/html/structdim3-members.html | 104 ++ docs/RuntimeAPI/html/structdim3.html | 124 ++ .../structhipChannelFormatDesc-members.html | 102 ++ .../html/structhipChannelFormatDesc.html | 111 ++ .../html/structhipDeviceArch__t-members.html | 118 ++ .../html/structhipDeviceArch__t.html | 176 +++ .../html/structhipDeviceProp__t-members.html | 127 ++ .../html/structhipDeviceProp__t.html | 216 +++ .../html/structhipEvent__t-members.html | 102 ++ docs/RuntimeAPI/html/structhipEvent__t.html | 111 ++ .../structhipPointerAttribute__t-members.html | 107 ++ .../html/structhipPointerAttribute__t.html | 130 ++ .../html/structihipEvent__t-members.html | 107 ++ docs/RuntimeAPI/html/structihipEvent__t.html | 126 ++ .../html/structihipSignal__t-members.html | 107 ++ docs/RuntimeAPI/html/structihipSignal__t.html | 125 ++ .../html/structtextureReference-members.html | 104 ++ .../html/structtextureReference.html | 117 ++ docs/RuntimeAPI/html/sync_off.png | Bin 0 -> 853 bytes docs/RuntimeAPI/html/sync_on.png | Bin 0 -> 845 bytes docs/RuntimeAPI/html/tab_a.png | Bin 0 -> 142 bytes docs/RuntimeAPI/html/tab_b.png | Bin 0 -> 169 bytes docs/RuntimeAPI/html/tab_h.png | Bin 0 -> 177 bytes docs/RuntimeAPI/html/tab_s.png | Bin 0 -> 184 bytes docs/RuntimeAPI/html/tabs.css | 60 + .../html/trace__helper_8h_source.html | 231 +++ 259 files changed, 23310 insertions(+) create mode 100644 docs/RuntimeAPI/html/Synchonization.html create mode 100644 docs/RuntimeAPI/html/annotated.html create mode 100644 docs/RuntimeAPI/html/bc_s.png create mode 100644 docs/RuntimeAPI/html/bdwn.png create mode 100644 docs/RuntimeAPI/html/bug.html create mode 100644 docs/RuntimeAPI/html/classFakeMutex-members.html create mode 100644 docs/RuntimeAPI/html/classFakeMutex.html create mode 100644 docs/RuntimeAPI/html/classLockedAccessor-members.html create mode 100644 docs/RuntimeAPI/html/classLockedAccessor.html create mode 100644 docs/RuntimeAPI/html/classes.html create mode 100644 docs/RuntimeAPI/html/classihipDeviceCriticalBase__t-members.html create mode 100644 docs/RuntimeAPI/html/classihipDeviceCriticalBase__t.html create mode 100644 docs/RuntimeAPI/html/classihipDeviceCriticalBase__t.png create mode 100644 docs/RuntimeAPI/html/classihipDevice__t-members.html create mode 100644 docs/RuntimeAPI/html/classihipDevice__t.html create mode 100644 docs/RuntimeAPI/html/classihipException-members.html create mode 100644 docs/RuntimeAPI/html/classihipException.html create mode 100644 docs/RuntimeAPI/html/classihipException.png create mode 100644 docs/RuntimeAPI/html/classihipStreamCriticalBase__t-members.html create mode 100644 docs/RuntimeAPI/html/classihipStreamCriticalBase__t.html create mode 100644 docs/RuntimeAPI/html/classihipStreamCriticalBase__t.png create mode 100644 docs/RuntimeAPI/html/classihipStream__t-members.html create mode 100644 docs/RuntimeAPI/html/classihipStream__t.html create mode 100644 docs/RuntimeAPI/html/closed.png create mode 100644 docs/RuntimeAPI/html/dir_68267d1309a1af8e8297ef4c3efbcdba.html create mode 100644 docs/RuntimeAPI/html/dir_6d8604cb65fa6b83549668eb0ce09cac.html create mode 100644 docs/RuntimeAPI/html/dir_d44c64559bbebec7f509842c48db8b23.html create mode 100644 docs/RuntimeAPI/html/doxygen.css create mode 100644 docs/RuntimeAPI/html/doxygen.png create mode 100644 docs/RuntimeAPI/html/dynsections.js create mode 100644 docs/RuntimeAPI/html/files.html create mode 100644 docs/RuntimeAPI/html/ftv2blank.png create mode 100644 docs/RuntimeAPI/html/ftv2cl.png create mode 100644 docs/RuntimeAPI/html/ftv2doc.png create mode 100644 docs/RuntimeAPI/html/ftv2folderclosed.png create mode 100644 docs/RuntimeAPI/html/ftv2folderopen.png create mode 100644 docs/RuntimeAPI/html/ftv2lastnode.png create mode 100644 docs/RuntimeAPI/html/ftv2link.png create mode 100644 docs/RuntimeAPI/html/ftv2mlastnode.png create mode 100644 docs/RuntimeAPI/html/ftv2mnode.png create mode 100644 docs/RuntimeAPI/html/ftv2mo.png create mode 100644 docs/RuntimeAPI/html/ftv2node.png create mode 100644 docs/RuntimeAPI/html/ftv2ns.png create mode 100644 docs/RuntimeAPI/html/ftv2plastnode.png create mode 100644 docs/RuntimeAPI/html/ftv2pnode.png create mode 100644 docs/RuntimeAPI/html/ftv2splitbar.png create mode 100644 docs/RuntimeAPI/html/ftv2vertline.png create mode 100644 docs/RuntimeAPI/html/functions.html create mode 100644 docs/RuntimeAPI/html/functions_vars.html create mode 100644 docs/RuntimeAPI/html/globals.html create mode 100644 docs/RuntimeAPI/html/globals_defs.html create mode 100644 docs/RuntimeAPI/html/globals_enum.html create mode 100644 docs/RuntimeAPI/html/globals_eval.html create mode 100644 docs/RuntimeAPI/html/globals_func.html create mode 100644 docs/RuntimeAPI/html/globals_type.html create mode 100644 docs/RuntimeAPI/html/group__API.html create mode 100644 docs/RuntimeAPI/html/group__Device.html create mode 100644 docs/RuntimeAPI/html/group__Error.html create mode 100644 docs/RuntimeAPI/html/group__Event.html create mode 100644 docs/RuntimeAPI/html/group__GlobalDefs.html create mode 100644 docs/RuntimeAPI/html/group__HCC__Specific.html create mode 100644 docs/RuntimeAPI/html/group__HIP-ENV.html create mode 100644 docs/RuntimeAPI/html/group__Memory.html create mode 100644 docs/RuntimeAPI/html/group__PeerToPeer.html create mode 100644 docs/RuntimeAPI/html/group__Profiler.html create mode 100644 docs/RuntimeAPI/html/group__Stream.html create mode 100644 docs/RuntimeAPI/html/group__Texture.html create mode 100644 docs/RuntimeAPI/html/group__Version.html create mode 100644 docs/RuntimeAPI/html/hcc_8h_source.html create mode 100644 docs/RuntimeAPI/html/hcc__acc_8h_source.html create mode 100644 docs/RuntimeAPI/html/hcc__detail_2hip__runtime_8h.html create mode 100644 docs/RuntimeAPI/html/hcc__detail_2hip__runtime_8h_source.html create mode 100644 docs/RuntimeAPI/html/hcc__detail_2hip__runtime__api_8h.html create mode 100644 docs/RuntimeAPI/html/hcc__detail_2hip__runtime__api_8h_source.html create mode 100644 docs/RuntimeAPI/html/hcc__detail_2hip__vector__types_8h.html create mode 100644 docs/RuntimeAPI/html/hcc__detail_2hip__vector__types_8h_source.html create mode 100644 docs/RuntimeAPI/html/hierarchy.html create mode 100644 docs/RuntimeAPI/html/hip__common_8h_source.html create mode 100644 docs/RuntimeAPI/html/hip__hcc_8cpp.html create mode 100644 docs/RuntimeAPI/html/hip__hcc_8h_source.html create mode 100644 docs/RuntimeAPI/html/hip__ldg_8h_source.html create mode 100644 docs/RuntimeAPI/html/hip__runtime_8h_source.html create mode 100644 docs/RuntimeAPI/html/hip__runtime__api_8h_source.html create mode 100644 docs/RuntimeAPI/html/hip__texture_8h.html create mode 100644 docs/RuntimeAPI/html/hip__texture_8h_source.html create mode 100644 docs/RuntimeAPI/html/hip__util_8h_source.html create mode 100644 docs/RuntimeAPI/html/hip__vector__types_8h_source.html create mode 100644 docs/RuntimeAPI/html/host__defines_8h.html create mode 100644 docs/RuntimeAPI/html/host__defines_8h_source.html create mode 100644 docs/RuntimeAPI/html/index.html create mode 100644 docs/RuntimeAPI/html/jquery.js create mode 100644 docs/RuntimeAPI/html/modules.html create mode 100644 docs/RuntimeAPI/html/nav_f.png create mode 100644 docs/RuntimeAPI/html/nav_g.png create mode 100644 docs/RuntimeAPI/html/nav_h.png create mode 100644 docs/RuntimeAPI/html/open.png create mode 100644 docs/RuntimeAPI/html/pages.html create mode 100644 docs/RuntimeAPI/html/search/all_0.html create mode 100644 docs/RuntimeAPI/html/search/all_0.js create mode 100644 docs/RuntimeAPI/html/search/all_1.html create mode 100644 docs/RuntimeAPI/html/search/all_1.js create mode 100644 docs/RuntimeAPI/html/search/all_10.html create mode 100644 docs/RuntimeAPI/html/search/all_10.js create mode 100644 docs/RuntimeAPI/html/search/all_11.html create mode 100644 docs/RuntimeAPI/html/search/all_11.js create mode 100644 docs/RuntimeAPI/html/search/all_12.html create mode 100644 docs/RuntimeAPI/html/search/all_12.js create mode 100644 docs/RuntimeAPI/html/search/all_13.html create mode 100644 docs/RuntimeAPI/html/search/all_13.js create mode 100644 docs/RuntimeAPI/html/search/all_14.html create mode 100644 docs/RuntimeAPI/html/search/all_14.js create mode 100644 docs/RuntimeAPI/html/search/all_2.html create mode 100644 docs/RuntimeAPI/html/search/all_2.js create mode 100644 docs/RuntimeAPI/html/search/all_3.html create mode 100644 docs/RuntimeAPI/html/search/all_3.js create mode 100644 docs/RuntimeAPI/html/search/all_4.html create mode 100644 docs/RuntimeAPI/html/search/all_4.js create mode 100644 docs/RuntimeAPI/html/search/all_5.html create mode 100644 docs/RuntimeAPI/html/search/all_5.js create mode 100644 docs/RuntimeAPI/html/search/all_6.html create mode 100644 docs/RuntimeAPI/html/search/all_6.js create mode 100644 docs/RuntimeAPI/html/search/all_7.html create mode 100644 docs/RuntimeAPI/html/search/all_7.js create mode 100644 docs/RuntimeAPI/html/search/all_8.html create mode 100644 docs/RuntimeAPI/html/search/all_8.js create mode 100644 docs/RuntimeAPI/html/search/all_9.html create mode 100644 docs/RuntimeAPI/html/search/all_9.js create mode 100644 docs/RuntimeAPI/html/search/all_a.html create mode 100644 docs/RuntimeAPI/html/search/all_a.js create mode 100644 docs/RuntimeAPI/html/search/all_b.html create mode 100644 docs/RuntimeAPI/html/search/all_b.js create mode 100644 docs/RuntimeAPI/html/search/all_c.html create mode 100644 docs/RuntimeAPI/html/search/all_c.js create mode 100644 docs/RuntimeAPI/html/search/all_d.html create mode 100644 docs/RuntimeAPI/html/search/all_d.js create mode 100644 docs/RuntimeAPI/html/search/all_e.html create mode 100644 docs/RuntimeAPI/html/search/all_e.js create mode 100644 docs/RuntimeAPI/html/search/all_f.html create mode 100644 docs/RuntimeAPI/html/search/all_f.js create mode 100644 docs/RuntimeAPI/html/search/classes_0.html create mode 100644 docs/RuntimeAPI/html/search/classes_0.js create mode 100644 docs/RuntimeAPI/html/search/classes_1.html create mode 100644 docs/RuntimeAPI/html/search/classes_1.js create mode 100644 docs/RuntimeAPI/html/search/classes_2.html create mode 100644 docs/RuntimeAPI/html/search/classes_2.js create mode 100644 docs/RuntimeAPI/html/search/classes_3.html create mode 100644 docs/RuntimeAPI/html/search/classes_3.js create mode 100644 docs/RuntimeAPI/html/search/classes_4.html create mode 100644 docs/RuntimeAPI/html/search/classes_4.js create mode 100644 docs/RuntimeAPI/html/search/classes_5.html create mode 100644 docs/RuntimeAPI/html/search/classes_5.js create mode 100644 docs/RuntimeAPI/html/search/classes_6.html create mode 100644 docs/RuntimeAPI/html/search/classes_6.js create mode 100644 docs/RuntimeAPI/html/search/close.png create mode 100644 docs/RuntimeAPI/html/search/defines_0.html create mode 100644 docs/RuntimeAPI/html/search/defines_0.js create mode 100644 docs/RuntimeAPI/html/search/defines_1.html create mode 100644 docs/RuntimeAPI/html/search/defines_1.js create mode 100644 docs/RuntimeAPI/html/search/enums_0.html create mode 100644 docs/RuntimeAPI/html/search/enums_0.js create mode 100644 docs/RuntimeAPI/html/search/enumvalues_0.html create mode 100644 docs/RuntimeAPI/html/search/enumvalues_0.js create mode 100644 docs/RuntimeAPI/html/search/files_0.html create mode 100644 docs/RuntimeAPI/html/search/files_0.js create mode 100644 docs/RuntimeAPI/html/search/functions_0.html create mode 100644 docs/RuntimeAPI/html/search/functions_0.js create mode 100644 docs/RuntimeAPI/html/search/groups_0.html create mode 100644 docs/RuntimeAPI/html/search/groups_0.js create mode 100644 docs/RuntimeAPI/html/search/groups_1.html create mode 100644 docs/RuntimeAPI/html/search/groups_1.js create mode 100644 docs/RuntimeAPI/html/search/groups_2.html create mode 100644 docs/RuntimeAPI/html/search/groups_2.js create mode 100644 docs/RuntimeAPI/html/search/groups_3.html create mode 100644 docs/RuntimeAPI/html/search/groups_3.js create mode 100644 docs/RuntimeAPI/html/search/groups_4.html create mode 100644 docs/RuntimeAPI/html/search/groups_4.js create mode 100644 docs/RuntimeAPI/html/search/groups_5.html create mode 100644 docs/RuntimeAPI/html/search/groups_5.js create mode 100644 docs/RuntimeAPI/html/search/groups_6.html create mode 100644 docs/RuntimeAPI/html/search/groups_6.js create mode 100644 docs/RuntimeAPI/html/search/groups_7.html create mode 100644 docs/RuntimeAPI/html/search/groups_7.js create mode 100644 docs/RuntimeAPI/html/search/mag_sel.png create mode 100644 docs/RuntimeAPI/html/search/nomatches.html create mode 100644 docs/RuntimeAPI/html/search/pages_0.html create mode 100644 docs/RuntimeAPI/html/search/pages_0.js create mode 100644 docs/RuntimeAPI/html/search/pages_1.html create mode 100644 docs/RuntimeAPI/html/search/pages_1.js create mode 100644 docs/RuntimeAPI/html/search/search.css create mode 100644 docs/RuntimeAPI/html/search/search.js create mode 100644 docs/RuntimeAPI/html/search/search_l.png create mode 100644 docs/RuntimeAPI/html/search/search_m.png create mode 100644 docs/RuntimeAPI/html/search/search_r.png create mode 100644 docs/RuntimeAPI/html/search/typedefs_0.html create mode 100644 docs/RuntimeAPI/html/search/typedefs_0.js create mode 100644 docs/RuntimeAPI/html/search/typedefs_1.html create mode 100644 docs/RuntimeAPI/html/search/typedefs_1.js create mode 100644 docs/RuntimeAPI/html/search/variables_0.html create mode 100644 docs/RuntimeAPI/html/search/variables_0.js create mode 100644 docs/RuntimeAPI/html/search/variables_1.html create mode 100644 docs/RuntimeAPI/html/search/variables_1.js create mode 100644 docs/RuntimeAPI/html/search/variables_2.html create mode 100644 docs/RuntimeAPI/html/search/variables_2.js create mode 100644 docs/RuntimeAPI/html/search/variables_3.html create mode 100644 docs/RuntimeAPI/html/search/variables_3.js create mode 100644 docs/RuntimeAPI/html/search/variables_4.html create mode 100644 docs/RuntimeAPI/html/search/variables_4.js create mode 100644 docs/RuntimeAPI/html/search/variables_5.html create mode 100644 docs/RuntimeAPI/html/search/variables_5.js create mode 100644 docs/RuntimeAPI/html/search/variables_6.html create mode 100644 docs/RuntimeAPI/html/search/variables_6.js create mode 100644 docs/RuntimeAPI/html/search/variables_7.html create mode 100644 docs/RuntimeAPI/html/search/variables_7.js create mode 100644 docs/RuntimeAPI/html/search/variables_8.html create mode 100644 docs/RuntimeAPI/html/search/variables_8.js create mode 100644 docs/RuntimeAPI/html/search/variables_9.html create mode 100644 docs/RuntimeAPI/html/search/variables_9.js create mode 100644 docs/RuntimeAPI/html/search/variables_a.html create mode 100644 docs/RuntimeAPI/html/search/variables_a.js create mode 100644 docs/RuntimeAPI/html/search/variables_b.html create mode 100644 docs/RuntimeAPI/html/search/variables_b.js create mode 100644 docs/RuntimeAPI/html/search/variables_c.html create mode 100644 docs/RuntimeAPI/html/search/variables_c.js create mode 100644 docs/RuntimeAPI/html/search/variables_d.html create mode 100644 docs/RuntimeAPI/html/search/variables_d.js create mode 100644 docs/RuntimeAPI/html/search/variables_e.html create mode 100644 docs/RuntimeAPI/html/search/variables_e.js create mode 100644 docs/RuntimeAPI/html/staging__buffer_8h_source.html create mode 100644 docs/RuntimeAPI/html/structLockedBase-members.html create mode 100644 docs/RuntimeAPI/html/structLockedBase.html create mode 100644 docs/RuntimeAPI/html/structLockedBase.png create mode 100644 docs/RuntimeAPI/html/structStagingBuffer-members.html create mode 100644 docs/RuntimeAPI/html/structStagingBuffer.html create mode 100644 docs/RuntimeAPI/html/structdim3-members.html create mode 100644 docs/RuntimeAPI/html/structdim3.html create mode 100644 docs/RuntimeAPI/html/structhipChannelFormatDesc-members.html create mode 100644 docs/RuntimeAPI/html/structhipChannelFormatDesc.html create mode 100644 docs/RuntimeAPI/html/structhipDeviceArch__t-members.html create mode 100644 docs/RuntimeAPI/html/structhipDeviceArch__t.html create mode 100644 docs/RuntimeAPI/html/structhipDeviceProp__t-members.html create mode 100644 docs/RuntimeAPI/html/structhipDeviceProp__t.html create mode 100644 docs/RuntimeAPI/html/structhipEvent__t-members.html create mode 100644 docs/RuntimeAPI/html/structhipEvent__t.html create mode 100644 docs/RuntimeAPI/html/structhipPointerAttribute__t-members.html create mode 100644 docs/RuntimeAPI/html/structhipPointerAttribute__t.html create mode 100644 docs/RuntimeAPI/html/structihipEvent__t-members.html create mode 100644 docs/RuntimeAPI/html/structihipEvent__t.html create mode 100644 docs/RuntimeAPI/html/structihipSignal__t-members.html create mode 100644 docs/RuntimeAPI/html/structihipSignal__t.html create mode 100644 docs/RuntimeAPI/html/structtextureReference-members.html create mode 100644 docs/RuntimeAPI/html/structtextureReference.html create mode 100644 docs/RuntimeAPI/html/sync_off.png create mode 100644 docs/RuntimeAPI/html/sync_on.png create mode 100644 docs/RuntimeAPI/html/tab_a.png create mode 100644 docs/RuntimeAPI/html/tab_b.png create mode 100644 docs/RuntimeAPI/html/tab_h.png create mode 100644 docs/RuntimeAPI/html/tab_s.png create mode 100644 docs/RuntimeAPI/html/tabs.css create mode 100644 docs/RuntimeAPI/html/trace__helper_8h_source.html diff --git a/docs/RuntimeAPI/html/Synchonization.html b/docs/RuntimeAPI/html/Synchonization.html new file mode 100644 index 0000000000..224350dc77 --- /dev/null +++ b/docs/RuntimeAPI/html/Synchonization.html @@ -0,0 +1,117 @@ + + + + + + +HIP: Heterogenous-computing Interface for Portability: $title + + + + + + + + + +
+
+ + + + + + +
+
HIP: Heterogenous-computing Interface for Portability +
+
+
+ + + + + + + + +
+ +
+ +
+
+

Host-synchronous behavior:

+

The following commands are "host-asynchronous" - meaning they do not wait for any preceding commands to complete, and may return control to the host thread before the requested operation completes:

+
    +
  • Kernel launches (hipLaunchKernel() )
  • +
  • Asynchronous memory copies - any memory copy API which contains "Async", such as hipMemcpyAsync())
  • +
  • Any memory set (for example, hipMemset());
  • +
  • TODO
  • +
+

"Host-synchronous" commands have the following properties:

+
    +
  • wait for all previous commands to complete.
  • +
  • will not return control back to host until the command completes.
  • +
+

The following commands are "host-synchronous".

+
    +
  • hipMemcpy waits for preceding work in the same stream to complete.
  • +
+

Stream synchronization

+

Blocking

+

The term "blocking" has two meanings in HIP.

+

The first refers to synchronization commands (ie hipStreamSynchronize, hipEventSynchronize) that cause the host CPU to wait for GPU activity to complete. These can either use an active where the host CPU spin-waits on the synchronization variable, or can use an interrupt-based scheme where the core is interrupted when the wait completes. The second technique is referred to as "blocking" (ie hipDeviceBlockingSync, hipEventBlockingSync) while the first is referred to as "active". Active can be appropriate for short tasks where latency is critical, but comes at the expense of a CPU core dedicated to monitoring the event.

+

HIP_LAUNCH_BLOCKING (also can use CUDA_LAUNCH_BLOCKING)

+
    +
  • The following commands become host-synchronous and will not return until the requested command has completed:
      +
    • Kernel launches (hipKernelLaunch).
    • +
    • Memory set commands (hipMemset, hipMemsetAsync).
    • +
    • Memory copy commands (hipMemcpy, hipMemsetAsync).
    • +
    +
  • +
+

Note CUDA_LAUNCH_BLOCKING does add any pre-serialization to the commands and does not affect the concurrent stream behavior. For example, even when CUDA_LAUNCH_BLOCKING is set, kernels or data copy commands launched to separate streams can execute concurrently. Use the NULL stream if additional stream synchronization is desired.

+
+ + + + diff --git a/docs/RuntimeAPI/html/annotated.html b/docs/RuntimeAPI/html/annotated.html new file mode 100644 index 0000000000..20496fd041 --- /dev/null +++ b/docs/RuntimeAPI/html/annotated.html @@ -0,0 +1,120 @@ + + + + + + +HIP: Heterogenous-computing Interface for Portability: Class List + + + + + + + + + +
+
+ + + + + + +
+
HIP: Heterogenous-computing Interface for Portability +
+
+
+ + + + + +
+ +
+ All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
+ + +
+ +
+ +
+
+
Class List
+
+
+
Here are the classes, structs, unions and interfaces with brief descriptions:
+
+ + + + diff --git a/docs/RuntimeAPI/html/bc_s.png b/docs/RuntimeAPI/html/bc_s.png new file mode 100644 index 0000000000000000000000000000000000000000..224b29aa9847d5a4b3902efd602b7ddf7d33e6c2 GIT binary patch literal 676 zcmV;V0$crwP)y__>=_9%My z{n931IS})GlGUF8K#6VIbs%684A^L3@%PlP2>_sk`UWPq@f;rU*V%rPy_ekbhXT&s z(GN{DxFv}*vZp`F>S!r||M`I*nOwwKX+BC~3P5N3-)Y{65c;ywYiAh-1*hZcToLHK ztpl1xomJ+Yb}K(cfbJr2=GNOnT!UFA7Vy~fBz8?J>XHsbZoDad^8PxfSa0GDgENZS zuLCEqzb*xWX2CG*b&5IiO#NzrW*;`VC9455M`o1NBh+(k8~`XCEEoC1Ybwf;vr4K3 zg|EB<07?SOqHp9DhLpS&bzgo70I+ghB_#)K7H%AMU3v}xuyQq9&Bm~++VYhF09a+U zl7>n7Jjm$K#b*FONz~fj;I->Bf;ule1prFN9FovcDGBkpg>)O*-}eLnC{6oZHZ$o% zXKW$;0_{8hxHQ>l;_*HATI(`7t#^{$(zLe}h*mqwOc*nRY9=?Sx4OOeVIfI|0V(V2 zBrW#G7Ss9wvzr@>H*`r>zE z+e8bOBgqIgldUJlG(YUDviMB`9+DH8n-s9SXRLyJHO1!=wY^79WYZMTa(wiZ!zP66 zA~!21vmF3H2{ngD;+`6j#~6j;$*f*G_2ZD1E;9(yaw7d-QnSCpK(cR1zU3qU0000< KMNUMnLSTYoA~SLT literal 0 HcmV?d00001 diff --git a/docs/RuntimeAPI/html/bdwn.png b/docs/RuntimeAPI/html/bdwn.png new file mode 100644 index 0000000000000000000000000000000000000000..940a0b950443a0bb1b216ac03c45b8a16c955452 GIT binary patch literal 147 zcmeAS@N?(olHy`uVBq!ia0vp^>_E)H!3HEvS)PKZC{Gv1kP61Pb5HX&C2wk~_T + + + + + +HIP: Heterogenous-computing Interface for Portability: Bug List + + + + + + + + + +
+
+ + + + + + +
+
HIP: Heterogenous-computing Interface for Portability +
+
+
+ + + + + + + + +
+ +
+ +
+
+
+
Bug List
+
+
+
+
Member hipGetDeviceProperties (hipDeviceProp_t *prop, int device)
+

HCC always returns 0 for maxThreadsPerMultiProcessor

+

HCC always returns 0 for regsPerBlock

+

HCC always returns 0 for l2CacheSize

+
+
Member hipStreamWaitEvent (hipStream_t stream, hipEvent_t event, unsigned int flags)
+
This function conservatively waits for all work in the specified stream to complete.
+
+
+ + + + diff --git a/docs/RuntimeAPI/html/classFakeMutex-members.html b/docs/RuntimeAPI/html/classFakeMutex-members.html new file mode 100644 index 0000000000..3b2c7d4c08 --- /dev/null +++ b/docs/RuntimeAPI/html/classFakeMutex-members.html @@ -0,0 +1,104 @@ + + + + + + +HIP: Heterogenous-computing Interface for Portability: Member List + + + + + + + + + +
+
+ + + + + + +
+
HIP: Heterogenous-computing Interface for Portability +
+
+
+ + + + + + + + + +
+ +
+ +
+
+
+
FakeMutex Member List
+
+
+ +

This is the complete list of members for FakeMutex, including all inherited members.

+ + + + +
lock() (defined in FakeMutex)FakeMutexinline
try_lock() (defined in FakeMutex)FakeMutexinline
unlock() (defined in FakeMutex)FakeMutexinline
+ + + + diff --git a/docs/RuntimeAPI/html/classFakeMutex.html b/docs/RuntimeAPI/html/classFakeMutex.html new file mode 100644 index 0000000000..302bfd0aff --- /dev/null +++ b/docs/RuntimeAPI/html/classFakeMutex.html @@ -0,0 +1,117 @@ + + + + + + +HIP: Heterogenous-computing Interface for Portability: FakeMutex Class Reference + + + + + + + + + +
+
+ + + + + + +
+
HIP: Heterogenous-computing Interface for Portability +
+
+
+ + + + + + + + + +
+ +
+ +
+
+ +
+
FakeMutex Class Reference
+
+
+ + + + + + + + +

+Public Member Functions

+void lock ()
 
+bool try_lock ()
 
+void unlock ()
 
+
The documentation for this class was generated from the following file:
    +
  • /home/mangupta/git/hip/release_0.90.00/include/hcc_detail/hip_hcc.h
  • +
+
+ + + + diff --git a/docs/RuntimeAPI/html/classLockedAccessor-members.html b/docs/RuntimeAPI/html/classLockedAccessor-members.html new file mode 100644 index 0000000000..fef9aea385 --- /dev/null +++ b/docs/RuntimeAPI/html/classLockedAccessor-members.html @@ -0,0 +1,105 @@ + + + + + + +HIP: Heterogenous-computing Interface for Portability: Member List + + + + + + + + + +
+
+ + + + + + +
+
HIP: Heterogenous-computing Interface for Portability +
+
+
+ + + + + + + + + +
+ +
+ +
+
+
+
LockedAccessor< T > Member List
+
+
+ +

This is the complete list of members for LockedAccessor< T >, including all inherited members.

+ + + + + +
LockedAccessor(T &criticalData, bool autoUnlock=true) (defined in LockedAccessor< T >)LockedAccessor< T >inline
operator->() (defined in LockedAccessor< T >)LockedAccessor< T >inline
unlock() (defined in LockedAccessor< T >)LockedAccessor< T >inline
~LockedAccessor() (defined in LockedAccessor< T >)LockedAccessor< T >inline
+ + + + diff --git a/docs/RuntimeAPI/html/classLockedAccessor.html b/docs/RuntimeAPI/html/classLockedAccessor.html new file mode 100644 index 0000000000..49b7b78dc3 --- /dev/null +++ b/docs/RuntimeAPI/html/classLockedAccessor.html @@ -0,0 +1,117 @@ + + + + + + +HIP: Heterogenous-computing Interface for Portability: LockedAccessor< T > Class Template Reference + + + + + + + + + +
+
+ + + + + + +
+
HIP: Heterogenous-computing Interface for Portability +
+
+
+ + + + + + + + + +
+ +
+ +
+
+ +
+
LockedAccessor< T > Class Template Reference
+
+
+ + + + + + + + +

+Public Member Functions

LockedAccessor (T &criticalData, bool autoUnlock=true)
 
+void unlock ()
 
+T * operator-> ()
 
+
The documentation for this class was generated from the following file:
    +
  • /home/mangupta/git/hip/release_0.90.00/include/hcc_detail/hip_hcc.h
  • +
+
+ + + + diff --git a/docs/RuntimeAPI/html/classes.html b/docs/RuntimeAPI/html/classes.html new file mode 100644 index 0000000000..2ec646d3de --- /dev/null +++ b/docs/RuntimeAPI/html/classes.html @@ -0,0 +1,119 @@ + + + + + + +HIP: Heterogenous-computing Interface for Portability: Class Index + + + + + + + + + +
+
+ + + + + + +
+
HIP: Heterogenous-computing Interface for Portability +
+
+
+ + + + + +
+ + + + +
+ +
+ +
+
+
Class Index
+
+
+
D | F | H | I | L | S | T
+ + + + + + + + + + + +
  F  
+
  S  
+
hipDeviceArch_t   ihipDeviceCriticalBase_t   
hipDeviceProp_t   ihipEvent_t   
FakeMutex   StagingBuffer   hipEvent_t   ihipException   
  L  
+
  d  
+
hipPointerAttribute_t   ihipSignal_t   
  i  
+
ihipStream_t   
LockedAccessor   dim3   ihipStreamCriticalBase_t   
LockedBase   
  h  
+
ihipDevice_t   
  t  
+
hipChannelFormatDesc   textureReference   
+
D | F | H | I | L | S | T
+
+ + + + diff --git a/docs/RuntimeAPI/html/classihipDeviceCriticalBase__t-members.html b/docs/RuntimeAPI/html/classihipDeviceCriticalBase__t-members.html new file mode 100644 index 0000000000..d0e78f80c3 --- /dev/null +++ b/docs/RuntimeAPI/html/classihipDeviceCriticalBase__t-members.html @@ -0,0 +1,118 @@ + + + + + + +HIP: Heterogenous-computing Interface for Portability: Member List + + + + + + + + + +
+
+ + + + + + +
+
HIP: Heterogenous-computing Interface for Portability +
+
+
+ + + + + + + + + +
+ +
+ +
+
+
+
ihipDeviceCriticalBase_t< MUTEX_TYPE > Member List
+
+
+ +

This is the complete list of members for ihipDeviceCriticalBase_t< MUTEX_TYPE >, including all inherited members.

+ + + + + + + + + + + + + + + + + + +
_mutex (defined in LockedBase< MUTEX_TYPE >)LockedBase< MUTEX_TYPE >private
addPeer(ihipDevice_t *peer) (defined in ihipDeviceCriticalBase_t< MUTEX_TYPE >)ihipDeviceCriticalBase_t< MUTEX_TYPE >
addStream(ihipStream_t *stream) (defined in ihipDeviceCriticalBase_t< MUTEX_TYPE >)ihipDeviceCriticalBase_t< MUTEX_TYPE >
const_streams() const (defined in ihipDeviceCriticalBase_t< MUTEX_TYPE >)ihipDeviceCriticalBase_t< MUTEX_TYPE >inline
ihipDeviceCriticalBase_t() (defined in ihipDeviceCriticalBase_t< MUTEX_TYPE >)ihipDeviceCriticalBase_t< MUTEX_TYPE >inline
incStreamId() (defined in ihipDeviceCriticalBase_t< MUTEX_TYPE >)ihipDeviceCriticalBase_t< MUTEX_TYPE >inline
init(unsigned deviceCnt) (defined in ihipDeviceCriticalBase_t< MUTEX_TYPE >)ihipDeviceCriticalBase_t< MUTEX_TYPE >inline
isPeer(const ihipDevice_t *peer) (defined in ihipDeviceCriticalBase_t< MUTEX_TYPE >)ihipDeviceCriticalBase_t< MUTEX_TYPE >
lock() (defined in LockedBase< MUTEX_TYPE >)LockedBase< MUTEX_TYPE >inlineprivate
LockedAccessor< ihipDeviceCriticalBase_t > (defined in ihipDeviceCriticalBase_t< MUTEX_TYPE >)ihipDeviceCriticalBase_t< MUTEX_TYPE >friend
peerAgents() const (defined in ihipDeviceCriticalBase_t< MUTEX_TYPE >)ihipDeviceCriticalBase_t< MUTEX_TYPE >inline
peerCnt() const (defined in ihipDeviceCriticalBase_t< MUTEX_TYPE >)ihipDeviceCriticalBase_t< MUTEX_TYPE >inline
removePeer(ihipDevice_t *peer) (defined in ihipDeviceCriticalBase_t< MUTEX_TYPE >)ihipDeviceCriticalBase_t< MUTEX_TYPE >
resetPeers(ihipDevice_t *thisDevice) (defined in ihipDeviceCriticalBase_t< MUTEX_TYPE >)ihipDeviceCriticalBase_t< MUTEX_TYPE >
streams() (defined in ihipDeviceCriticalBase_t< MUTEX_TYPE >)ihipDeviceCriticalBase_t< MUTEX_TYPE >inline
unlock() (defined in LockedBase< MUTEX_TYPE >)LockedBase< MUTEX_TYPE >inlineprivate
~ihipDeviceCriticalBase_t() (defined in ihipDeviceCriticalBase_t< MUTEX_TYPE >)ihipDeviceCriticalBase_t< MUTEX_TYPE >inline
+ + + + diff --git a/docs/RuntimeAPI/html/classihipDeviceCriticalBase__t.html b/docs/RuntimeAPI/html/classihipDeviceCriticalBase__t.html new file mode 100644 index 0000000000..36046dedba --- /dev/null +++ b/docs/RuntimeAPI/html/classihipDeviceCriticalBase__t.html @@ -0,0 +1,157 @@ + + + + + + +HIP: Heterogenous-computing Interface for Portability: ihipDeviceCriticalBase_t< MUTEX_TYPE > Class Template Reference + + + + + + + + + +
+
+ + + + + + +
+
HIP: Heterogenous-computing Interface for Portability +
+
+
+ + + + + + + + + +
+ +
+ +
+
+ +
+
ihipDeviceCriticalBase_t< MUTEX_TYPE > Class Template Reference
+
+
+
+Inheritance diagram for ihipDeviceCriticalBase_t< MUTEX_TYPE >:
+
+
+ + +LockedBase< MUTEX_TYPE > + +
+ + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

+void init (unsigned deviceCnt)
 
+std::list< ihipStream_t * > & streams ()
 
+const std::list< ihipStream_t * > & const_streams () const
 
+ihipStream_t::SeqNum_t incStreamId ()
 
+bool isPeer (const ihipDevice_t *peer)
 
+bool addPeer (ihipDevice_t *peer)
 
+bool removePeer (ihipDevice_t *peer)
 
+void resetPeers (ihipDevice_t *thisDevice)
 
+void addStream (ihipStream_t *stream)
 
+uint32_t peerCnt () const
 
+hsa_agent_t * peerAgents () const
 
+ + + +

+Friends

+class LockedAccessor< ihipDeviceCriticalBase_t >
 
+
The documentation for this class was generated from the following file:
    +
  • /home/mangupta/git/hip/release_0.90.00/include/hcc_detail/hip_hcc.h
  • +
+
+ + + + diff --git a/docs/RuntimeAPI/html/classihipDeviceCriticalBase__t.png b/docs/RuntimeAPI/html/classihipDeviceCriticalBase__t.png new file mode 100644 index 0000000000000000000000000000000000000000..5b18856aede969ef3eb655468868428e108f054f GIT binary patch literal 858 zcmeAS@N?(olHy`uVBq!ia0y~yU<5K50yvm~z~eueQ$m7WHO5 zlg1kE-tef3>OmbU%J-wGULh$zNL*Tir+J6m@Q|Rv$}OV!dwkn*Sxz~o( zC;NhFe0Eh1GdIIF_Kpr4pbuSK>gNCBXE@HczwlOf$C;^;6BvXVIy_=j8(21g0))YS zm43sCF1`n^wJjQ7Fz9_et|lPI;85`NAG1qX8iPYhDjNgwjK39ZIk&gDib*?wEC5E{ zqg9MM?);i;r@*i#&H2=a4<-_^$DjRs_hX&?>cgjtvft~S$v$w*Ir9IaL~*Cs{WSyN5dE1JidGP?RP%C zw=Ui4{Qf{c3PKenaP^{xvP*tcn+ieTWg`N`5Egp9d zmHgN$6U$tw#avS@BOO!wKZorFZz21!T87g?Genju+?mfW+~XUW|@z|^3-HI;Gg z`ND?y74@tKHah0ld=F)x$vClz^@A4!rvf9xk*ll+w&g}A{AFyPXj*k~Y4IgsMqu!C L^>bP0l+XkKCwzE6 literal 0 HcmV?d00001 diff --git a/docs/RuntimeAPI/html/classihipDevice__t-members.html b/docs/RuntimeAPI/html/classihipDevice__t-members.html new file mode 100644 index 0000000000..ee54c862de --- /dev/null +++ b/docs/RuntimeAPI/html/classihipDevice__t-members.html @@ -0,0 +1,118 @@ + + + + + + +HIP: Heterogenous-computing Interface for Portability: Member List + + + + + + + + + +
+
+ + + + + + +
+
HIP: Heterogenous-computing Interface for Portability +
+
+
+ + + + + + + + + +
+ +
+ +
+
+
+
ihipDevice_t Member List
+
+
+ +

This is the complete list of members for ihipDevice_t, including all inherited members.

+ + + + + + + + + + + + + + + + + + +
_acc (defined in ihipDevice_t)ihipDevice_t
_compute_units (defined in ihipDevice_t)ihipDevice_t
_default_stream (defined in ihipDevice_t)ihipDevice_t
_device_flags (defined in ihipDevice_t)ihipDevice_t
_device_index (defined in ihipDevice_t)ihipDevice_t
_hsa_agent (defined in ihipDevice_t)ihipDevice_t
_props (defined in ihipDevice_t)ihipDevice_t
_staging_buffer (defined in ihipDevice_t)ihipDevice_t
criticalData() (defined in ihipDevice_t)ihipDevice_tinline
ihipDevice_t() (defined in ihipDevice_t)ihipDevice_tinline
init(unsigned device_index, unsigned deviceCnt, hc::accelerator &acc, unsigned flags) (defined in ihipDevice_t)ihipDevice_t
locked_addStream(ihipStream_t *s) (defined in ihipDevice_t)ihipDevice_t
locked_removeStream(ihipStream_t *s) (defined in ihipDevice_t)ihipDevice_t
locked_reset() (defined in ihipDevice_t)ihipDevice_t
locked_syncDefaultStream(bool waitOnSelf) (defined in ihipDevice_t)ihipDevice_t
locked_waitAllStreams() (defined in ihipDevice_t)ihipDevice_t
~ihipDevice_t() (defined in ihipDevice_t)ihipDevice_t
+ + + + diff --git a/docs/RuntimeAPI/html/classihipDevice__t.html b/docs/RuntimeAPI/html/classihipDevice__t.html new file mode 100644 index 0000000000..f00274e302 --- /dev/null +++ b/docs/RuntimeAPI/html/classihipDevice__t.html @@ -0,0 +1,158 @@ + + + + + + +HIP: Heterogenous-computing Interface for Portability: ihipDevice_t Class Reference + + + + + + + + + +
+
+ + + + + + +
+
HIP: Heterogenous-computing Interface for Portability +
+
+
+ + + + + + + + + +
+ +
+ +
+
+ +
+
ihipDevice_t Class Reference
+
+
+ + + + + + + + + + + + + + + + +

+Public Member Functions

+void init (unsigned device_index, unsigned deviceCnt, hc::accelerator &acc, unsigned flags)
 
+void locked_addStream (ihipStream_t *s)
 
+void locked_removeStream (ihipStream_t *s)
 
+void locked_reset ()
 
+void locked_waitAllStreams ()
 
+void locked_syncDefaultStream (bool waitOnSelf)
 
+ihipDeviceCritical_tcriticalData ()
 
+ + + + + + + + + + + + + + + + + +

+Public Attributes

+unsigned _device_index
 
+hipDeviceProp_t _props
 
+hc::accelerator _acc
 
+hsa_agent_t _hsa_agent
 
+ihipStream_t_default_stream
 
+unsigned _compute_units
 
+StagingBuffer_staging_buffer [2]
 
+unsigned _device_flags
 
+
The documentation for this class was generated from the following files:
    +
  • /home/mangupta/git/hip/release_0.90.00/include/hcc_detail/hip_hcc.h
  • +
  • /home/mangupta/git/hip/release_0.90.00/src/hip_hcc.cpp
  • +
+
+ + + + diff --git a/docs/RuntimeAPI/html/classihipException-members.html b/docs/RuntimeAPI/html/classihipException-members.html new file mode 100644 index 0000000000..72bec6079a --- /dev/null +++ b/docs/RuntimeAPI/html/classihipException-members.html @@ -0,0 +1,103 @@ + + + + + + +HIP: Heterogenous-computing Interface for Portability: Member List + + + + + + + + + +
+
+ + + + + + +
+
HIP: Heterogenous-computing Interface for Portability +
+
+
+ + + + + + + + + +
+ +
+ +
+
+
+
ihipException Member List
+
+
+ +

This is the complete list of members for ihipException, including all inherited members.

+ + + +
_code (defined in ihipException)ihipException
ihipException(hipError_t e) (defined in ihipException)ihipExceptioninline
+ + + + diff --git a/docs/RuntimeAPI/html/classihipException.html b/docs/RuntimeAPI/html/classihipException.html new file mode 100644 index 0000000000..33304b2cdb --- /dev/null +++ b/docs/RuntimeAPI/html/classihipException.html @@ -0,0 +1,126 @@ + + + + + + +HIP: Heterogenous-computing Interface for Portability: ihipException Class Reference + + + + + + + + + +
+
+ + + + + + +
+
HIP: Heterogenous-computing Interface for Portability +
+
+
+ + + + + + + + + +
+ +
+ +
+
+ +
+
ihipException Class Reference
+
+
+
+Inheritance diagram for ihipException:
+
+
+ + + +
+ + + + +

+Public Member Functions

ihipException (hipError_t e)
 
+ + + +

+Public Attributes

+hipError_t _code
 
+
The documentation for this class was generated from the following file:
    +
  • /home/mangupta/git/hip/release_0.90.00/include/hcc_detail/hip_hcc.h
  • +
+
+ + + + diff --git a/docs/RuntimeAPI/html/classihipException.png b/docs/RuntimeAPI/html/classihipException.png new file mode 100644 index 0000000000000000000000000000000000000000..36add951e6d298079acb4b2f570e4ac87eab64cf GIT binary patch literal 435 zcmV;k0ZjghP)vTJkN^MxkN^Mxkifve1&Q1r00008bW%=J0RR90|NsC0)yh;d0003(NklPw?q0nLoN!SwatebnRKwNV%#_cmm(m|jk-LByNLhiccY}I$U zl60gIckRBiHjU}!HEa~kE_4nNpZlC=>xeR^*8 zUE|tIH~AiyNRqYPI+S~xsP8QIv>(#L_QNb!lE#{k{o7ngnp1Gyxg>eN0AN-N0655r zyDUCnC+>=M0ef*jt{;LMTmaRA8{FUmK&#*e_up_y(m@~q+^*pM5O*EwtZ5Yh*i~Hy zz?jW<6EJa=|uST`LEjJ&knVG}B_w0jv->AM_T&ZuLeIMNV z&bjph&5FF&9o(iWo3y{e-IB`v9M|_e-%{54&ou6b^sxP~Yp?$DhUpfNKh_ dJC`Ky*8`7!Gj#ISOkMy0002ovPDHLkV1npj(69gi literal 0 HcmV?d00001 diff --git a/docs/RuntimeAPI/html/classihipStreamCriticalBase__t-members.html b/docs/RuntimeAPI/html/classihipStreamCriticalBase__t-members.html new file mode 100644 index 0000000000..f99b24650f --- /dev/null +++ b/docs/RuntimeAPI/html/classihipStreamCriticalBase__t-members.html @@ -0,0 +1,114 @@ + + + + + + +HIP: Heterogenous-computing Interface for Portability: Member List + + + + + + + + + +
+
+ + + + + + +
+
HIP: Heterogenous-computing Interface for Portability +
+
+
+ + + + + + + + + +
+ +
+ +
+
+
+
ihipStreamCriticalBase_t< MUTEX_TYPE > Member List
+
+ + + + + diff --git a/docs/RuntimeAPI/html/classihipStreamCriticalBase__t.html b/docs/RuntimeAPI/html/classihipStreamCriticalBase__t.html new file mode 100644 index 0000000000..b43d82e71b --- /dev/null +++ b/docs/RuntimeAPI/html/classihipStreamCriticalBase__t.html @@ -0,0 +1,157 @@ + + + + + + +HIP: Heterogenous-computing Interface for Portability: ihipStreamCriticalBase_t< MUTEX_TYPE > Class Template Reference + + + + + + + + + +
+
+ + + + + + +
+
HIP: Heterogenous-computing Interface for Portability +
+
+
+ + + + + + + + + +
+ +
+ +
+
+ +
+
ihipStreamCriticalBase_t< MUTEX_TYPE > Class Template Reference
+
+
+
+Inheritance diagram for ihipStreamCriticalBase_t< MUTEX_TYPE >:
+
+
+ + +LockedBase< MUTEX_TYPE > + +
+ + + + + + + + + +

+Public Member Functions

+ihipStreamCriticalBase_t
+< StreamMutex > * 
mlock ()
 
- Public Member Functions inherited from LockedBase< MUTEX_TYPE >
+void lock ()
 
+void unlock ()
 
+ + + + + + + + + + + + + + + + + + +

+Public Attributes

+ihipCommand_t _last_command_type
 
+ihipSignal_t_last_copy_signal
 
+hc::completion_future _last_kernel_future
 
+int _signalCursor
 
+SIGSEQNUM _oldest_live_sig_id
 
+std::deque< ihipSignal_t_signalPool
 
+SIGSEQNUM _stream_sig_id
 
- Public Attributes inherited from LockedBase< MUTEX_TYPE >
+MUTEX_TYPE _mutex
 
+
The documentation for this class was generated from the following file:
    +
  • /home/mangupta/git/hip/release_0.90.00/include/hcc_detail/hip_hcc.h
  • +
+
+ + + + diff --git a/docs/RuntimeAPI/html/classihipStreamCriticalBase__t.png b/docs/RuntimeAPI/html/classihipStreamCriticalBase__t.png new file mode 100644 index 0000000000000000000000000000000000000000..4d8990f4ca2ca48ac6b812c10391032bb5bb60eb GIT binary patch literal 854 zcmeAS@N?(olHy`uVBq!ia0vp^|A9DwgBeIZoD+N)NJ#|vgt-3y4-$Xz=4)yHp$R}1 z7#}!rfVK0EJdn##666=m08|75S5Ji)F)%Pa^>lFzsbG9N_w}?}20U!XPg(ByuWa6+ zKS_TAL-ehw+kSH0*z{(i&Qtx{+j9Gkswq7RJ1GB0NhwbBPy5fw9Ukiw3*zk6&^DoMOyt4%Z{p|`_-~Q8%?@>2hJ8f^vKdt({ zlD-LsA-LKx&yXy6>%@=)JHs?hBeaYi`B_>SypI-~T z{c&~b^}COG{xAAB|HJ>af4(2B-SzLd_GiX_@~i)c;)VEU>C!Q?zna$YqYT4=Yj|%K_U*5WT^X{VDyji<$ZN9<$?BdV)b1V6nUo5|& zD=W#;FtzI6nMAQ@bLYA%TcWnzy7p{;%I@0Jj%V8}Tb_oc?6+##UT?`bx70dvZpP)T z<^CV8KMel!_0=@q)Bj%aym~CA`Z&5$V$IvgD(&hYW$%3#r2lbdw?435`QFv~`W03D zJtZIc^R9hZU2w0rJsY7v(GPm z>8)9I_Hn?!-{&m8Z8Q4cuz&Z4U#t@y?D>C8|6U(9!};I*Px`O^bN=7_=RCj7>WtWw z%QL^fsy}g5{RjV*`nP9yeSg`P_c=%{Dt%65_~tw2?f>%g>%}XA-!GkaTx`RG?WNn+ z%=^kM^WghS`G@-B?H|qZ2Ua)PFP$Runt%T%)0^VA8q|TAfWgz% K&t;ucLK6V?!m + + + + + +HIP: Heterogenous-computing Interface for Portability: Member List + + + + + + + + + +
+
+ + + + + + +
+
HIP: Heterogenous-computing Interface for Portability +
+
+
+ + + + + + + + + +
+ +
+ +
+
+
+
ihipStream_t Member List
+
+
+ +

This is the complete list of members for ihipStream_t, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + +
_av (defined in ihipStream_t)ihipStream_t
_flags (defined in ihipStream_t)ihipStream_t
_id (defined in ihipStream_t)ihipStream_t
allocSignal(LockedAccessor_StreamCrit_t &crit) (defined in ihipStream_t)ihipStream_t
copyAsync(void *dst, const void *src, size_t sizeBytes, unsigned kind) (defined in ihipStream_t)ihipStream_t
copySync(LockedAccessor_StreamCrit_t &crit, void *dst, const void *src, size_t sizeBytes, unsigned kind) (defined in ihipStream_t)ihipStream_t
getDevice() const (defined in ihipStream_t)ihipStream_t
ihipStream_t(unsigned device_index, hc::accelerator_view av, unsigned int flags) (defined in ihipStream_t)ihipStream_t
lastCopySeqId(LockedAccessor_StreamCrit_t &crit) (defined in ihipStream_t)ihipStream_tinline
lockclose_postKernelCommand(hc::completion_future &kernel_future) (defined in ihipStream_t)ihipStream_t
locked_copySync(void *dst, const void *src, size_t sizeBytes, unsigned kind) (defined in ihipStream_t)ihipStream_t
locked_lastCopySeqId() (defined in ihipStream_t)ihipStream_tinline
locked_reclaimSignals(SIGSEQNUM sigNum) (defined in ihipStream_t)ihipStream_t
locked_wait(bool assertQueueEmpty=false) (defined in ihipStream_t)ihipStream_t
lockopen_preKernelCommand() (defined in ihipStream_t)ihipStream_t
operator<< (defined in ihipStream_t)ihipStream_tfriend
preCopyCommand(LockedAccessor_StreamCrit_t &crit, ihipSignal_t *lastCopy, hsa_signal_t *waitSignal, ihipCommand_t copyType) (defined in ihipStream_t)ihipStream_t
SeqNum_t typedef (defined in ihipStream_t)ihipStream_t
wait(LockedAccessor_StreamCrit_t &crit, bool assertQueueEmpty=false) (defined in ihipStream_t)ihipStream_t
~ihipStream_t() (defined in ihipStream_t)ihipStream_t
+ + + + diff --git a/docs/RuntimeAPI/html/classihipStream__t.html b/docs/RuntimeAPI/html/classihipStream__t.html new file mode 100644 index 0000000000..87a7b3077c --- /dev/null +++ b/docs/RuntimeAPI/html/classihipStream__t.html @@ -0,0 +1,178 @@ + + + + + + +HIP: Heterogenous-computing Interface for Portability: ihipStream_t Class Reference + + + + + + + + + +
+
+ + + + + + +
+
HIP: Heterogenous-computing Interface for Portability +
+
+
+ + + + + + + + + +
+ +
+ +
+
+ +
+
ihipStream_t Class Reference
+
+
+ + + + +

+Public Types

+typedef uint64_t SeqNum_t
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

ihipStream_t (unsigned device_index, hc::accelerator_view av, unsigned int flags)
 
+void copySync (LockedAccessor_StreamCrit_t &crit, void *dst, const void *src, size_t sizeBytes, unsigned kind)
 
+void locked_copySync (void *dst, const void *src, size_t sizeBytes, unsigned kind)
 
+void copyAsync (void *dst, const void *src, size_t sizeBytes, unsigned kind)
 
+bool lockopen_preKernelCommand ()
 
+void lockclose_postKernelCommand (hc::completion_future &kernel_future)
 
+int preCopyCommand (LockedAccessor_StreamCrit_t &crit, ihipSignal_t *lastCopy, hsa_signal_t *waitSignal, ihipCommand_t copyType)
 
+void locked_reclaimSignals (SIGSEQNUM sigNum)
 
+void locked_wait (bool assertQueueEmpty=false)
 
+SIGSEQNUM locked_lastCopySeqId ()
 
+void wait (LockedAccessor_StreamCrit_t &crit, bool assertQueueEmpty=false)
 
+SIGSEQNUM lastCopySeqId (LockedAccessor_StreamCrit_t &crit)
 
+ihipSignal_tallocSignal (LockedAccessor_StreamCrit_t &crit)
 
+ihipDevice_tgetDevice () const
 
+ + + + + + + +

+Public Attributes

+SeqNum_t _id
 
+hc::accelerator_view _av
 
+unsigned _flags
 
+ + + +

+Friends

+std::ostream & operator<< (std::ostream &os, const ihipStream_t &s)
 
+
The documentation for this class was generated from the following files:
    +
  • /home/mangupta/git/hip/release_0.90.00/include/hcc_detail/hip_hcc.h
  • +
  • /home/mangupta/git/hip/release_0.90.00/src/hip_hcc.cpp
  • +
+
+ + + + diff --git a/docs/RuntimeAPI/html/closed.png b/docs/RuntimeAPI/html/closed.png new file mode 100644 index 0000000000000000000000000000000000000000..98cc2c909da37a6df914fbf67780eebd99c597f5 GIT binary patch literal 132 zcmeAS@N?(olHy`uVBq!ia0vp^oFL4>1|%O$WD@{V-kvUwAr*{o@8{^CZMh(5KoB^r_<4^zF@3)Cp&&t3hdujKf f*?bjBoY!V+E))@{xMcbjXe@)LtDnm{r-UW|*e5JT literal 0 HcmV?d00001 diff --git a/docs/RuntimeAPI/html/dir_68267d1309a1af8e8297ef4c3efbcdba.html b/docs/RuntimeAPI/html/dir_68267d1309a1af8e8297ef4c3efbcdba.html new file mode 100644 index 0000000000..a4a2847317 --- /dev/null +++ b/docs/RuntimeAPI/html/dir_68267d1309a1af8e8297ef4c3efbcdba.html @@ -0,0 +1,118 @@ + + + + + + +HIP: Heterogenous-computing Interface for Portability: /home/mangupta/git/hip/release_0.90.00/src Directory Reference + + + + + + + + + +
+
+ + + + + + +
+
HIP: Heterogenous-computing Interface for Portability +
+
+
+ + + + + + + + +
+ +
+ + +
+
+
+
src Directory Reference
+
+
+ + + + + + + + + + + + + + + + + + + + + + +

+Files

file  device_util.cpp
 
file  hip_device.cpp
 
file  hip_error.cpp
 
file  hip_event.cpp
 
file  hip_hcc.cpp
 
file  hip_ldg.cpp
 
file  hip_memory.cpp
 
file  hip_peer.cpp
 
file  hip_stream.cpp
 
file  staging_buffer.cpp
 
+
+ + + + diff --git a/docs/RuntimeAPI/html/dir_6d8604cb65fa6b83549668eb0ce09cac.html b/docs/RuntimeAPI/html/dir_6d8604cb65fa6b83549668eb0ce09cac.html new file mode 100644 index 0000000000..88560d761e --- /dev/null +++ b/docs/RuntimeAPI/html/dir_6d8604cb65fa6b83549668eb0ce09cac.html @@ -0,0 +1,125 @@ + + + + + + +HIP: Heterogenous-computing Interface for Portability: /home/mangupta/git/hip/release_0.90.00/include/hcc_detail Directory Reference + + + + + + + + + +
+
+ + + + + + +
+
HIP: Heterogenous-computing Interface for Portability +
+
+
+ + + + + + + + +
+ +
+ + +
+
+
+
hcc_detail Directory Reference
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Files

file  hcc_acc.h [code]
 
file  hip_hcc.h [code]
 
file  hip_ldg.h [code]
 
file  hip_runtime.h [code]
 Contains definitions of APIs for HIP runtime.
 
file  hip_runtime_api.h [code]
 Contains C function APIs for HIP runtime. This file does not use any HCC builtin or special language extensions (-hc mode) ; those functions in hip_runtime.h.
 
file  hip_texture.h [code]
 HIP C++ Texture API for hcc compiler.
 
file  hip_util.h [code]
 
file  hip_vector_types.h [code]
 Defines the different newt vector types for HIP runtime.
 
file  host_defines.h [code]
 TODO-doc.
 
file  staging_buffer.h [code]
 
file  trace_helper.h [code]
 
+
+ + + + diff --git a/docs/RuntimeAPI/html/dir_d44c64559bbebec7f509842c48db8b23.html b/docs/RuntimeAPI/html/dir_d44c64559bbebec7f509842c48db8b23.html new file mode 100644 index 0000000000..1713b704d3 --- /dev/null +++ b/docs/RuntimeAPI/html/dir_d44c64559bbebec7f509842c48db8b23.html @@ -0,0 +1,113 @@ + + + + + + +HIP: Heterogenous-computing Interface for Portability: /home/mangupta/git/hip/release_0.90.00/include Directory Reference + + + + + + + + + +
+
+ + + + + + +
+
HIP: Heterogenous-computing Interface for Portability +
+
+
+ + + + + + + + +
+ +
+ + +
+
+
+
include Directory Reference
+
+
+ + + + +

+Directories

directory  hcc_detail
 
+ + + + + + + + + + + +

+Files

file  hcc.h [code]
 
file  hip_common.h [code]
 
file  hip_runtime.h [code]
 
file  hip_runtime_api.h [code]
 
file  hip_vector_types.h [code]
 
+
+ + + + diff --git a/docs/RuntimeAPI/html/doxygen.css b/docs/RuntimeAPI/html/doxygen.css new file mode 100644 index 0000000000..f0f36f89f5 --- /dev/null +++ b/docs/RuntimeAPI/html/doxygen.css @@ -0,0 +1,1366 @@ +/* The standard CSS for doxygen 1.8.6 */ + +body, table, div, p, dl { + font: 400 14px/22px Roboto,sans-serif; +} + +/* @group Heading Levels */ + +h1.groupheader { + font-size: 150%; +} + +.title { + font: 400 14px/28px Roboto,sans-serif; + font-size: 150%; + font-weight: bold; + margin: 10px 2px; +} + +h2.groupheader { + border-bottom: 1px solid #879ECB; + color: #354C7B; + font-size: 150%; + font-weight: normal; + margin-top: 1.75em; + padding-top: 8px; + padding-bottom: 4px; + width: 100%; +} + +h3.groupheader { + font-size: 100%; +} + +h1, h2, h3, h4, h5, h6 { + -webkit-transition: text-shadow 0.5s linear; + -moz-transition: text-shadow 0.5s linear; + -ms-transition: text-shadow 0.5s linear; + -o-transition: text-shadow 0.5s linear; + transition: text-shadow 0.5s linear; + margin-right: 15px; +} + +h1.glow, h2.glow, h3.glow, h4.glow, h5.glow, h6.glow { + text-shadow: 0 0 15px cyan; +} + +dt { + font-weight: bold; +} + +div.multicol { + -moz-column-gap: 1em; + -webkit-column-gap: 1em; + -moz-column-count: 3; + -webkit-column-count: 3; +} + +p.startli, p.startdd { + margin-top: 2px; +} + +p.starttd { + margin-top: 0px; +} + +p.endli { + margin-bottom: 0px; +} + +p.enddd { + margin-bottom: 4px; +} + +p.endtd { + margin-bottom: 2px; +} + +/* @end */ + +caption { + font-weight: bold; +} + +span.legend { + font-size: 70%; + text-align: center; +} + +h3.version { + font-size: 90%; + text-align: center; +} + +div.qindex, div.navtab{ + background-color: #EBEFF6; + border: 1px solid #A3B4D7; + text-align: center; +} + +div.qindex, div.navpath { + width: 100%; + line-height: 140%; +} + +div.navtab { + margin-right: 15px; +} + +/* @group Link Styling */ + +a { + color: #3D578C; + font-weight: normal; + text-decoration: none; +} + +.contents a:visited { + color: #4665A2; +} + +a:hover { + text-decoration: underline; +} + +a.qindex { + font-weight: bold; +} + +a.qindexHL { + font-weight: bold; + background-color: #9CAFD4; + color: #ffffff; + border: 1px double #869DCA; +} + +.contents a.qindexHL:visited { + color: #ffffff; +} + +a.el { + font-weight: bold; +} + +a.elRef { +} + +a.code, a.code:visited, a.line, a.line:visited { + color: #4665A2; +} + +a.codeRef, a.codeRef:visited, a.lineRef, a.lineRef:visited { + color: #4665A2; +} + +/* @end */ + +dl.el { + margin-left: -1cm; +} + +pre.fragment { + border: 1px solid #C4CFE5; + background-color: #FBFCFD; + padding: 4px 6px; + margin: 4px 8px 4px 2px; + overflow: auto; + word-wrap: break-word; + font-size: 9pt; + line-height: 125%; + font-family: monospace, fixed; + font-size: 105%; +} + +div.fragment { + padding: 4px 6px; + margin: 4px 8px 4px 2px; + background-color: #FBFCFD; + border: 1px solid #C4CFE5; +} + +div.line { + font-family: monospace, fixed; + font-size: 13px; + min-height: 13px; + line-height: 1.0; + text-wrap: unrestricted; + white-space: -moz-pre-wrap; /* Moz */ + white-space: -pre-wrap; /* Opera 4-6 */ + white-space: -o-pre-wrap; /* Opera 7 */ + white-space: pre-wrap; /* CSS3 */ + word-wrap: break-word; /* IE 5.5+ */ + text-indent: -53px; + padding-left: 53px; + padding-bottom: 0px; + margin: 0px; + -webkit-transition-property: background-color, box-shadow; + -webkit-transition-duration: 0.5s; + -moz-transition-property: background-color, box-shadow; + -moz-transition-duration: 0.5s; + -ms-transition-property: background-color, box-shadow; + -ms-transition-duration: 0.5s; + -o-transition-property: background-color, box-shadow; + -o-transition-duration: 0.5s; + transition-property: background-color, box-shadow; + transition-duration: 0.5s; +} + +div.line.glow { + background-color: cyan; + box-shadow: 0 0 10px cyan; +} + + +span.lineno { + padding-right: 4px; + text-align: right; + border-right: 2px solid #0F0; + background-color: #E8E8E8; + white-space: pre; +} +span.lineno a { + background-color: #D8D8D8; +} + +span.lineno a:hover { + background-color: #C8C8C8; +} + +div.ah { + background-color: black; + font-weight: bold; + color: #ffffff; + margin-bottom: 3px; + margin-top: 3px; + padding: 0.2em; + border: solid thin #333; + border-radius: 0.5em; + -webkit-border-radius: .5em; + -moz-border-radius: .5em; + box-shadow: 2px 2px 3px #999; + -webkit-box-shadow: 2px 2px 3px #999; + -moz-box-shadow: rgba(0, 0, 0, 0.15) 2px 2px 2px; + background-image: -webkit-gradient(linear, left top, left bottom, from(#eee), to(#000),color-stop(0.3, #444)); + background-image: -moz-linear-gradient(center top, #eee 0%, #444 40%, #000); +} + +div.groupHeader { + margin-left: 16px; + margin-top: 12px; + font-weight: bold; +} + +div.groupText { + margin-left: 16px; + font-style: italic; +} + +body { + background-color: white; + color: black; + margin: 0; +} + +div.contents { + margin-top: 10px; + margin-left: 12px; + margin-right: 8px; +} + +td.indexkey { + background-color: #EBEFF6; + font-weight: bold; + border: 1px solid #C4CFE5; + margin: 2px 0px 2px 0; + padding: 2px 10px; + white-space: nowrap; + vertical-align: top; +} + +td.indexvalue { + background-color: #EBEFF6; + border: 1px solid #C4CFE5; + padding: 2px 10px; + margin: 2px 0px; +} + +tr.memlist { + background-color: #EEF1F7; +} + +p.formulaDsp { + text-align: center; +} + +img.formulaDsp { + +} + +img.formulaInl { + vertical-align: middle; +} + +div.center { + text-align: center; + margin-top: 0px; + margin-bottom: 0px; + padding: 0px; +} + +div.center img { + border: 0px; +} + +address.footer { + text-align: right; + padding-right: 12px; +} + +img.footer { + border: 0px; + vertical-align: middle; +} + +/* @group Code Colorization */ + +span.keyword { + color: #008000 +} + +span.keywordtype { + color: #604020 +} + +span.keywordflow { + color: #e08000 +} + +span.comment { + color: #800000 +} + +span.preprocessor { + color: #806020 +} + +span.stringliteral { + color: #002080 +} + +span.charliteral { + color: #008080 +} + +span.vhdldigit { + color: #ff00ff +} + +span.vhdlchar { + color: #000000 +} + +span.vhdlkeyword { + color: #700070 +} + +span.vhdllogic { + color: #ff0000 +} + +blockquote { + background-color: #F7F8FB; + border-left: 2px solid #9CAFD4; + margin: 0 24px 0 4px; + padding: 0 12px 0 16px; +} + +/* @end */ + +/* +.search { + color: #003399; + font-weight: bold; +} + +form.search { + margin-bottom: 0px; + margin-top: 0px; +} + +input.search { + font-size: 75%; + color: #000080; + font-weight: normal; + background-color: #e8eef2; +} +*/ + +td.tiny { + font-size: 75%; +} + +.dirtab { + padding: 4px; + border-collapse: collapse; + border: 1px solid #A3B4D7; +} + +th.dirtab { + background: #EBEFF6; + font-weight: bold; +} + +hr { + height: 0px; + border: none; + border-top: 1px solid #4A6AAA; +} + +hr.footer { + height: 1px; +} + +/* @group Member Descriptions */ + +table.memberdecls { + border-spacing: 0px; + padding: 0px; +} + +.memberdecls td, .fieldtable tr { + -webkit-transition-property: background-color, box-shadow; + -webkit-transition-duration: 0.5s; + -moz-transition-property: background-color, box-shadow; + -moz-transition-duration: 0.5s; + -ms-transition-property: background-color, box-shadow; + -ms-transition-duration: 0.5s; + -o-transition-property: background-color, box-shadow; + -o-transition-duration: 0.5s; + transition-property: background-color, box-shadow; + transition-duration: 0.5s; +} + +.memberdecls td.glow, .fieldtable tr.glow { + background-color: cyan; + box-shadow: 0 0 15px cyan; +} + +.mdescLeft, .mdescRight, +.memItemLeft, .memItemRight, +.memTemplItemLeft, .memTemplItemRight, .memTemplParams { + background-color: #F9FAFC; + border: none; + margin: 4px; + padding: 1px 0 0 8px; +} + +.mdescLeft, .mdescRight { + padding: 0px 8px 4px 8px; + color: #555; +} + +.memSeparator { + border-bottom: 1px solid #DEE4F0; + line-height: 1px; + margin: 0px; + padding: 0px; +} + +.memItemLeft, .memTemplItemLeft { + white-space: nowrap; +} + +.memItemRight { + width: 100%; +} + +.memTemplParams { + color: #4665A2; + white-space: nowrap; + font-size: 80%; +} + +/* @end */ + +/* @group Member Details */ + +/* Styles for detailed member documentation */ + +.memtemplate { + font-size: 80%; + color: #4665A2; + font-weight: normal; + margin-left: 9px; +} + +.memnav { + background-color: #EBEFF6; + border: 1px solid #A3B4D7; + text-align: center; + margin: 2px; + margin-right: 15px; + padding: 2px; +} + +.mempage { + width: 100%; +} + +.memitem { + padding: 0; + margin-bottom: 10px; + margin-right: 5px; + -webkit-transition: box-shadow 0.5s linear; + -moz-transition: box-shadow 0.5s linear; + -ms-transition: box-shadow 0.5s linear; + -o-transition: box-shadow 0.5s linear; + transition: box-shadow 0.5s linear; + display: table !important; + width: 100%; +} + +.memitem.glow { + box-shadow: 0 0 15px cyan; +} + +.memname { + font-weight: bold; + margin-left: 6px; +} + +.memname td { + vertical-align: bottom; +} + +.memproto, dl.reflist dt { + border-top: 1px solid #A8B8D9; + border-left: 1px solid #A8B8D9; + border-right: 1px solid #A8B8D9; + padding: 6px 0px 6px 0px; + color: #253555; + font-weight: bold; + text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.9); + background-image:url('nav_f.png'); + background-repeat:repeat-x; + background-color: #E2E8F2; + /* opera specific markup */ + box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); + border-top-right-radius: 4px; + border-top-left-radius: 4px; + /* firefox specific markup */ + -moz-box-shadow: rgba(0, 0, 0, 0.15) 5px 5px 5px; + -moz-border-radius-topright: 4px; + -moz-border-radius-topleft: 4px; + /* webkit specific markup */ + -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); + -webkit-border-top-right-radius: 4px; + -webkit-border-top-left-radius: 4px; + +} + +.memdoc, dl.reflist dd { + border-bottom: 1px solid #A8B8D9; + border-left: 1px solid #A8B8D9; + border-right: 1px solid #A8B8D9; + padding: 6px 10px 2px 10px; + background-color: #FBFCFD; + border-top-width: 0; + background-image:url('nav_g.png'); + background-repeat:repeat-x; + background-color: #FFFFFF; + /* opera specific markup */ + border-bottom-left-radius: 4px; + border-bottom-right-radius: 4px; + box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); + /* firefox specific markup */ + -moz-border-radius-bottomleft: 4px; + -moz-border-radius-bottomright: 4px; + -moz-box-shadow: rgba(0, 0, 0, 0.15) 5px 5px 5px; + /* webkit specific markup */ + -webkit-border-bottom-left-radius: 4px; + -webkit-border-bottom-right-radius: 4px; + -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); +} + +dl.reflist dt { + padding: 5px; +} + +dl.reflist dd { + margin: 0px 0px 10px 0px; + padding: 5px; +} + +.paramkey { + text-align: right; +} + +.paramtype { + white-space: nowrap; +} + +.paramname { + color: #602020; + white-space: nowrap; +} +.paramname em { + font-style: normal; +} +.paramname code { + line-height: 14px; +} + +.params, .retval, .exception, .tparams { + margin-left: 0px; + padding-left: 0px; +} + +.params .paramname, .retval .paramname { + font-weight: bold; + vertical-align: top; +} + +.params .paramtype { + font-style: italic; + vertical-align: top; +} + +.params .paramdir { + font-family: "courier new",courier,monospace; + vertical-align: top; +} + +table.mlabels { + border-spacing: 0px; +} + +td.mlabels-left { + width: 100%; + padding: 0px; +} + +td.mlabels-right { + vertical-align: bottom; + padding: 0px; + white-space: nowrap; +} + +span.mlabels { + margin-left: 8px; +} + +span.mlabel { + background-color: #728DC1; + border-top:1px solid #5373B4; + border-left:1px solid #5373B4; + border-right:1px solid #C4CFE5; + border-bottom:1px solid #C4CFE5; + text-shadow: none; + color: white; + margin-right: 4px; + padding: 2px 3px; + border-radius: 3px; + font-size: 7pt; + white-space: nowrap; + vertical-align: middle; +} + + + +/* @end */ + +/* these are for tree view when not used as main index */ + +div.directory { + margin: 10px 0px; + border-top: 1px solid #A8B8D9; + border-bottom: 1px solid #A8B8D9; + width: 100%; +} + +.directory table { + border-collapse:collapse; +} + +.directory td { + margin: 0px; + padding: 0px; + vertical-align: top; +} + +.directory td.entry { + white-space: nowrap; + padding-right: 6px; + padding-top: 3px; +} + +.directory td.entry a { + outline:none; +} + +.directory td.entry a img { + border: none; +} + +.directory td.desc { + width: 100%; + padding-left: 6px; + padding-right: 6px; + padding-top: 3px; + border-left: 1px solid rgba(0,0,0,0.05); +} + +.directory tr.even { + padding-left: 6px; + background-color: #F7F8FB; +} + +.directory img { + vertical-align: -30%; +} + +.directory .levels { + white-space: nowrap; + width: 100%; + text-align: right; + font-size: 9pt; +} + +.directory .levels span { + cursor: pointer; + padding-left: 2px; + padding-right: 2px; + color: #3D578C; +} + +div.dynheader { + margin-top: 8px; + -webkit-touch-callout: none; + -webkit-user-select: none; + -khtml-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +address { + font-style: normal; + color: #2A3D61; +} + +table.doxtable { + border-collapse:collapse; + margin-top: 4px; + margin-bottom: 4px; +} + +table.doxtable td, table.doxtable th { + border: 1px solid #2D4068; + padding: 3px 7px 2px; +} + +table.doxtable th { + background-color: #374F7F; + color: #FFFFFF; + font-size: 110%; + padding-bottom: 4px; + padding-top: 5px; +} + +table.fieldtable { + /*width: 100%;*/ + margin-bottom: 10px; + border: 1px solid #A8B8D9; + border-spacing: 0px; + -moz-border-radius: 4px; + -webkit-border-radius: 4px; + border-radius: 4px; + -moz-box-shadow: rgba(0, 0, 0, 0.15) 2px 2px 2px; + -webkit-box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.15); + box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.15); +} + +.fieldtable td, .fieldtable th { + padding: 3px 7px 2px; +} + +.fieldtable td.fieldtype, .fieldtable td.fieldname { + white-space: nowrap; + border-right: 1px solid #A8B8D9; + border-bottom: 1px solid #A8B8D9; + vertical-align: top; +} + +.fieldtable td.fieldname { + padding-top: 3px; +} + +.fieldtable td.fielddoc { + border-bottom: 1px solid #A8B8D9; + /*width: 100%;*/ +} + +.fieldtable td.fielddoc p:first-child { + margin-top: 0px; +} + +.fieldtable td.fielddoc p:last-child { + margin-bottom: 2px; +} + +.fieldtable tr:last-child td { + border-bottom: none; +} + +.fieldtable th { + background-image:url('nav_f.png'); + background-repeat:repeat-x; + background-color: #E2E8F2; + font-size: 90%; + color: #253555; + padding-bottom: 4px; + padding-top: 5px; + text-align:left; + -moz-border-radius-topleft: 4px; + -moz-border-radius-topright: 4px; + -webkit-border-top-left-radius: 4px; + -webkit-border-top-right-radius: 4px; + border-top-left-radius: 4px; + border-top-right-radius: 4px; + border-bottom: 1px solid #A8B8D9; +} + + +.tabsearch { + top: 0px; + left: 10px; + height: 36px; + background-image: url('tab_b.png'); + z-index: 101; + overflow: hidden; + font-size: 13px; +} + +.navpath ul +{ + font-size: 11px; + background-image:url('tab_b.png'); + background-repeat:repeat-x; + background-position: 0 -5px; + height:30px; + line-height:30px; + color:#8AA0CC; + border:solid 1px #C2CDE4; + overflow:hidden; + margin:0px; + padding:0px; +} + +.navpath li +{ + list-style-type:none; + float:left; + padding-left:10px; + padding-right:15px; + background-image:url('bc_s.png'); + background-repeat:no-repeat; + background-position:right; + color:#364D7C; +} + +.navpath li.navelem a +{ + height:32px; + display:block; + text-decoration: none; + outline: none; + color: #283A5D; + font-family: 'Lucida Grande',Geneva,Helvetica,Arial,sans-serif; + text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.9); + text-decoration: none; +} + +.navpath li.navelem a:hover +{ + color:#6884BD; +} + +.navpath li.footer +{ + list-style-type:none; + float:right; + padding-left:10px; + padding-right:15px; + background-image:none; + background-repeat:no-repeat; + background-position:right; + color:#364D7C; + font-size: 8pt; +} + + +div.summary +{ + float: right; + font-size: 8pt; + padding-right: 5px; + width: 50%; + text-align: right; +} + +div.summary a +{ + white-space: nowrap; +} + +div.ingroups +{ + font-size: 8pt; + width: 50%; + text-align: left; +} + +div.ingroups a +{ + white-space: nowrap; +} + +div.header +{ + background-image:url('nav_h.png'); + background-repeat:repeat-x; + background-color: #F9FAFC; + margin: 0px; + border-bottom: 1px solid #C4CFE5; +} + +div.headertitle +{ + padding: 5px 5px 5px 10px; +} + +dl +{ + padding: 0 0 0 10px; +} + +/* dl.note, dl.warning, dl.attention, dl.pre, dl.post, dl.invariant, dl.deprecated, dl.todo, dl.test, dl.bug */ +dl.section +{ + margin-left: 0px; + padding-left: 0px; +} + +dl.note +{ + margin-left:-7px; + padding-left: 3px; + border-left:4px solid; + border-color: #D0C000; +} + +dl.warning, dl.attention +{ + margin-left:-7px; + padding-left: 3px; + border-left:4px solid; + border-color: #FF0000; +} + +dl.pre, dl.post, dl.invariant +{ + margin-left:-7px; + padding-left: 3px; + border-left:4px solid; + border-color: #00D000; +} + +dl.deprecated +{ + margin-left:-7px; + padding-left: 3px; + border-left:4px solid; + border-color: #505050; +} + +dl.todo +{ + margin-left:-7px; + padding-left: 3px; + border-left:4px solid; + border-color: #00C0E0; +} + +dl.test +{ + margin-left:-7px; + padding-left: 3px; + border-left:4px solid; + border-color: #3030E0; +} + +dl.bug +{ + margin-left:-7px; + padding-left: 3px; + border-left:4px solid; + border-color: #C08050; +} + +dl.section dd { + margin-bottom: 6px; +} + + +#projectlogo +{ + text-align: center; + vertical-align: bottom; + border-collapse: separate; +} + +#projectlogo img +{ + border: 0px none; +} + +#projectname +{ + font: 300% Tahoma, Arial,sans-serif; + margin: 0px; + padding: 2px 0px; +} + +#projectbrief +{ + font: 120% Tahoma, Arial,sans-serif; + margin: 0px; + padding: 0px; +} + +#projectnumber +{ + font: 50% Tahoma, Arial,sans-serif; + margin: 0px; + padding: 0px; +} + +#titlearea +{ + padding: 0px; + margin: 0px; + width: 100%; + border-bottom: 1px solid #5373B4; +} + +.image +{ + text-align: center; +} + +.dotgraph +{ + text-align: center; +} + +.mscgraph +{ + text-align: center; +} + +.diagraph +{ + text-align: center; +} + +.caption +{ + font-weight: bold; +} + +div.zoom +{ + border: 1px solid #90A5CE; +} + +dl.citelist { + margin-bottom:50px; +} + +dl.citelist dt { + color:#334975; + float:left; + font-weight:bold; + margin-right:10px; + padding:5px; +} + +dl.citelist dd { + margin:2px 0; + padding:5px 0; +} + +div.toc { + padding: 14px 25px; + background-color: #F4F6FA; + border: 1px solid #D8DFEE; + border-radius: 7px 7px 7px 7px; + float: right; + height: auto; + margin: 0 20px 10px 10px; + width: 200px; +} + +div.toc li { + background: url("bdwn.png") no-repeat scroll 0 5px transparent; + font: 10px/1.2 Verdana,DejaVu Sans,Geneva,sans-serif; + margin-top: 5px; + padding-left: 10px; + padding-top: 2px; +} + +div.toc h3 { + font: bold 12px/1.2 Arial,FreeSans,sans-serif; + color: #4665A2; + border-bottom: 0 none; + margin: 0; +} + +div.toc ul { + list-style: none outside none; + border: medium none; + padding: 0px; +} + +div.toc li.level1 { + margin-left: 0px; +} + +div.toc li.level2 { + margin-left: 15px; +} + +div.toc li.level3 { + margin-left: 30px; +} + +div.toc li.level4 { + margin-left: 45px; +} + +.inherit_header { + font-weight: bold; + color: gray; + cursor: pointer; + -webkit-touch-callout: none; + -webkit-user-select: none; + -khtml-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +.inherit_header td { + padding: 6px 0px 2px 5px; +} + +.inherit { + display: none; +} + +tr.heading h2 { + margin-top: 12px; + margin-bottom: 4px; +} + +/* tooltip related style info */ + +.ttc { + position: absolute; + display: none; +} + +#powerTip { + cursor: default; + white-space: nowrap; + background-color: white; + border: 1px solid gray; + border-radius: 4px 4px 4px 4px; + box-shadow: 1px 1px 7px gray; + display: none; + font-size: smaller; + max-width: 80%; + opacity: 0.9; + padding: 1ex 1em 1em; + position: absolute; + z-index: 2147483647; +} + +#powerTip div.ttdoc { + color: grey; + font-style: italic; +} + +#powerTip div.ttname a { + font-weight: bold; +} + +#powerTip div.ttname { + font-weight: bold; +} + +#powerTip div.ttdeci { + color: #006318; +} + +#powerTip div { + margin: 0px; + padding: 0px; + font: 12px/16px Roboto,sans-serif; +} + +#powerTip:before, #powerTip:after { + content: ""; + position: absolute; + margin: 0px; +} + +#powerTip.n:after, #powerTip.n:before, +#powerTip.s:after, #powerTip.s:before, +#powerTip.w:after, #powerTip.w:before, +#powerTip.e:after, #powerTip.e:before, +#powerTip.ne:after, #powerTip.ne:before, +#powerTip.se:after, #powerTip.se:before, +#powerTip.nw:after, #powerTip.nw:before, +#powerTip.sw:after, #powerTip.sw:before { + border: solid transparent; + content: " "; + height: 0; + width: 0; + position: absolute; +} + +#powerTip.n:after, #powerTip.s:after, +#powerTip.w:after, #powerTip.e:after, +#powerTip.nw:after, #powerTip.ne:after, +#powerTip.sw:after, #powerTip.se:after { + border-color: rgba(255, 255, 255, 0); +} + +#powerTip.n:before, #powerTip.s:before, +#powerTip.w:before, #powerTip.e:before, +#powerTip.nw:before, #powerTip.ne:before, +#powerTip.sw:before, #powerTip.se:before { + border-color: rgba(128, 128, 128, 0); +} + +#powerTip.n:after, #powerTip.n:before, +#powerTip.ne:after, #powerTip.ne:before, +#powerTip.nw:after, #powerTip.nw:before { + top: 100%; +} + +#powerTip.n:after, #powerTip.ne:after, #powerTip.nw:after { + border-top-color: #ffffff; + border-width: 10px; + margin: 0px -10px; +} +#powerTip.n:before { + border-top-color: #808080; + border-width: 11px; + margin: 0px -11px; +} +#powerTip.n:after, #powerTip.n:before { + left: 50%; +} + +#powerTip.nw:after, #powerTip.nw:before { + right: 14px; +} + +#powerTip.ne:after, #powerTip.ne:before { + left: 14px; +} + +#powerTip.s:after, #powerTip.s:before, +#powerTip.se:after, #powerTip.se:before, +#powerTip.sw:after, #powerTip.sw:before { + bottom: 100%; +} + +#powerTip.s:after, #powerTip.se:after, #powerTip.sw:after { + border-bottom-color: #ffffff; + border-width: 10px; + margin: 0px -10px; +} + +#powerTip.s:before, #powerTip.se:before, #powerTip.sw:before { + border-bottom-color: #808080; + border-width: 11px; + margin: 0px -11px; +} + +#powerTip.s:after, #powerTip.s:before { + left: 50%; +} + +#powerTip.sw:after, #powerTip.sw:before { + right: 14px; +} + +#powerTip.se:after, #powerTip.se:before { + left: 14px; +} + +#powerTip.e:after, #powerTip.e:before { + left: 100%; +} +#powerTip.e:after { + border-left-color: #ffffff; + border-width: 10px; + top: 50%; + margin-top: -10px; +} +#powerTip.e:before { + border-left-color: #808080; + border-width: 11px; + top: 50%; + margin-top: -11px; +} + +#powerTip.w:after, #powerTip.w:before { + right: 100%; +} +#powerTip.w:after { + border-right-color: #ffffff; + border-width: 10px; + top: 50%; + margin-top: -10px; +} +#powerTip.w:before { + border-right-color: #808080; + border-width: 11px; + top: 50%; + margin-top: -11px; +} + +@media print +{ + #top { display: none; } + #side-nav { display: none; } + #nav-path { display: none; } + body { overflow:visible; } + h1, h2, h3, h4, h5, h6 { page-break-after: avoid; } + .summary { display: none; } + .memitem { page-break-inside: avoid; } + #doc-content + { + margin-left:0 !important; + height:auto !important; + width:auto !important; + overflow:inherit; + display:inline; + } +} + diff --git a/docs/RuntimeAPI/html/doxygen.png b/docs/RuntimeAPI/html/doxygen.png new file mode 100644 index 0000000000000000000000000000000000000000..3ff17d807fd8aa003bed8bb2a69e8f0909592fd1 GIT binary patch literal 3779 zcmV;!4m|ORP)tMIv#Q0*~7*`IBSO7_x;@a8#Zk6_PeKR_s92J&)(m+);m9Iz3blw)z#Gi zP!9lj4$%+*>Hz@HCmM9L9|8c+0u=!H$O3?R0Kgx|#WP<6fKfC8fM-CQZT|_r@`>VO zX^Hgb|9cJqpdJA5$MCEK`F_2@2Y@s>^+;pF`~jdI0Pvr|vl4`=C)EH@1IFe7pdJ8F zH(qGi004~QnF)Ggga~8v08kGAs2hKTATxr7pwfNk|4#_AaT>w8P6TV+R2kbS$v==} zAjf`s0g#V8lB+b3)5oEI*q+{Yt$MZDruD2^;$+(_%Qn+%v0X-bJO=;@kiJ^ygLBnC z?1OVv_%aex1M@jKU|Z~$eI?PoF4Vj>fDzyo zAiLfpXY*a^Sj-S5D0S3@#V$sRW)g)_1e#$%8xdM>Jm7?!h zu0P2X=xoN>^!4DoPRgph2(2va07yfpXF+WH7EOg1GY%Zn z7~1A<(z7Q$ktEXhW_?GMpHp9l_UL18F3KOsxu81pqoBiNbFSGsof-W z6~eloMoz=4?OOnl2J268x5rOY`dCk0us(uS#Ud4yqOr@?=Q57a}tit|BhY>}~frH1sP`ScHS_d)oqH^lYy zZ%VP`#10MlE~P?cE(%(#(AUSv_T{+;t@$U}El}(1ig`vZo`Rm;+5&(AYzJ^Ae=h2X z@Re%vHwZU>|f0NI&%$*4eJweC5OROQrpPMA@*w|o z()A==l}(@bv^&>H1Ob3C=<^|hob?0+xJ?QQ3-ueQC}zy&JQNib!OqSO@-=>XzxlSF zAZ^U*1l6EEmg3r};_HY>&Jo_{dOPEFTWPmt=U&F#+0(O59^UIlHbNX+eF8UzyDR*T z(=5X$VF3!gm@RooS-&iiUYGG^`hMR(07zr_xP`d!^BH?uD>Phl8Rdifx3Af^Zr`Ku ztL+~HkVeL#bJ)7;`=>;{KNRvjmc}1}c58Sr#Treq=4{xo!ATy|c>iRSp4`dzMMVd@ zL8?uwXDY}Wqgh4mH`|$BTXpUIu6A1-cSq%hJw;@^Zr8TP=GMh*p(m(tN7@!^D~sl$ zz^tf4II4|};+irE$Fnm4NTc5%p{PRA`%}Zk`CE5?#h3|xcyQsS#iONZ z6H(@^i9td!$z~bZiJLTax$o>r(p}3o@< zyD7%(>ZYvy=6$U3e!F{Z`uSaYy`xQyl?b{}eg|G3&fz*`QH@mDUn)1%#5u`0m$%D} z?;tZ0u(mWeMV0QtzjgN!lT*pNRj;6510Wwx?Yi_=tYw|J#7@(Xe7ifDzXuK;JB;QO z#bg~K$cgm$@{QiL_3yr}y&~wuv=P=#O&Tj=Sr)aCUlYmZMcw?)T?c%0rUe1cS+o!qs_ zQ6Gp)-{)V!;=q}llyK3|^WeLKyjf%y;xHku;9(vM!j|~<7w1c*Mk-;P{T&yG) z@C-8E?QPynNQ<8f01D`2qexcVEIOU?y}MG)TAE6&VT5`rK8s(4PE;uQ92LTXUQ<>^ ztyQ@=@kRdh@ebUG^Z6NWWIL;_IGJ2ST>$t!$m$qvtj0Qmw8moN6GUV^!QKNK zHBXCtUH8)RY9++gH_TUV4^=-j$t}dD3qsN7GclJ^Zc&(j6&a_!$jCf}%c5ey`pm~1)@{yI3 zTdWyB+*X{JFw#z;PwRr5evb2!ueWF;v`B0HoUu4-(~aL=z;OXUUEtG`_$)Oxw6FKg zEzY`CyKaSBK3xt#8gA|r_|Kehn_HYVBMpEwbn9-fI*!u*eTA1ef8Mkl1=!jV4oYwWYM}i`A>_F4nhmlCIC6WLa zY%;4&@AlnaG11ejl61Jev21|r*m+?Kru3;1tFDl}#!OzUp6c>go4{C|^erwpG*&h6bspUPJag}oOkN2912Y3I?(eRc@U9>z#HPBHC?nps7H5!zP``90!Q1n80jo+B3TWXp!8Pe zwuKuLLI6l3Gv@+QH*Y}2wPLPQ1^EZhT#+Ed8q8Wo z1pTmIBxv14-{l&QVKxAyQF#8Q@NeJwWdKk>?cpiJLkJr+aZ!Me+Cfp!?FWSRf^j2k z73BRR{WSKaMkJ>1Nbx5dan5hg^_}O{Tj6u%iV%#QGz0Q@j{R^Ik)Z*+(YvY2ziBG)?AmJa|JV%4UT$k`hcOg5r9R?5>?o~JzK zJCrj&{i#hG>N7!B4kNX(%igb%kDj0fOQThC-8mtfap82PNRXr1D>lbgg)dYTQ(kbx z`Ee5kXG~Bh+BHQBf|kJEy6(ga%WfhvdQNDuOfQoe377l#ht&DrMGeIsI5C<&ai zWG$|hop2@@q5YDa)_-A?B02W;#fH!%k`daQLEItaJJ8Yf1L%8x;kg?)k)00P-lH+w z)5$QNV6r2$YtnV(4o=0^3{kmaXn*Dm0F*fU(@o)yVVjk|ln8ea6BMy%vZAhW9|wvA z8RoDkVoMEz1d>|5(k0Nw>22ZT){V<3$^C-cN+|~hKt2)){+l-?3m@-$c?-dlzQ)q- zZ)j%n^gerV{|+t}9m1_&&Ly!9$rtG4XX|WQ8`xYzGC~U@nYh~g(z9)bdAl#xH)xd5a=@|qql z|FzEil{P5(@gy!4ek05i$>`E^G~{;pnf6ftpLh$h#W?^#4UkPfa;;?bsIe&kz!+40 zI|6`F2n020)-r`pFaZ38F!S-lJM-o&inOw|66=GMeP@xQU5ghQH{~5Uh~TMTd;I9` z>YhVB`e^EVj*S7JF39ZgNf}A-0DwOcTT63ydN$I3b?yBQtUI*_fae~kPvzoD$zjX3 zoqBe#>12im4WzZ=f^4+u=!lA|#r%1`WB0-6*3BL#at`47#ebPpR|D1b)3BjT34nYY z%Ds%d?5$|{LgOIaRO{{oC&RK`O91$fqwM0(C_TALcozu*fWHb%%q&p-q{_8*2Zsi^ zh1ZCnr^UYa;4vQEtHk{~zi>wwMC5o{S=$P0X681y`SXwFH?Ewn{x-MOZynmc)JT5v zuHLwh;tLfxRrr%|k370}GofLl7thg>ACWWY&msqaVu&ry+`7+Ss>NL^%T1|z{IGMA zW-SKl=V-^{(f!Kf^#3(|T2W47d(%JVCI4JgRrT1pNz>+ietmFToNv^`gzC@&O-)+i zPQ~RwK8%C_vf%;%e>NyTp~dM5;!C|N0Q^6|CEb7Bw=Vz~$1#FA;Z*?mKSC)Hl-20s t8QyHj(g6VK0RYbl8UjE)0O0w=e*@m04r>stuEhWV002ovPDHLkV1hl;dM*F} literal 0 HcmV?d00001 diff --git a/docs/RuntimeAPI/html/dynsections.js b/docs/RuntimeAPI/html/dynsections.js new file mode 100644 index 0000000000..ed092c7f63 --- /dev/null +++ b/docs/RuntimeAPI/html/dynsections.js @@ -0,0 +1,97 @@ +function toggleVisibility(linkObj) +{ + var base = $(linkObj).attr('id'); + var summary = $('#'+base+'-summary'); + var content = $('#'+base+'-content'); + var trigger = $('#'+base+'-trigger'); + var src=$(trigger).attr('src'); + if (content.is(':visible')===true) { + content.hide(); + summary.show(); + $(linkObj).addClass('closed').removeClass('opened'); + $(trigger).attr('src',src.substring(0,src.length-8)+'closed.png'); + } else { + content.show(); + summary.hide(); + $(linkObj).removeClass('closed').addClass('opened'); + $(trigger).attr('src',src.substring(0,src.length-10)+'open.png'); + } + return false; +} + +function updateStripes() +{ + $('table.directory tr'). + removeClass('even').filter(':visible:even').addClass('even'); +} +function toggleLevel(level) +{ + $('table.directory tr').each(function(){ + var l = this.id.split('_').length-1; + var i = $('#img'+this.id.substring(3)); + var a = $('#arr'+this.id.substring(3)); + if (l + + + + + +HIP: Heterogenous-computing Interface for Portability: File List + + + + + + + + + +
+
+ + + + + + +
+
HIP: Heterogenous-computing Interface for Portability +
+
+
+ + + + + +
+ + + + +
+ +
+ +
+
+
File List
+
+
+
Here is a list of all documented files with brief descriptions:
+
[detail level 123]
+ + + + + + + + + + + + + + + + + + + + +
o-include
|o-hcc_detail
||o*hcc_acc.h
||o*hip_hcc.h
||o*hip_ldg.h
||o*hip_runtime.hContains definitions of APIs for HIP runtime
||o*hip_runtime_api.hContains C function APIs for HIP runtime. This file does not use any HCC builtin or special language extensions (-hc mode) ; those functions in hip_runtime.h
||o*hip_texture.hHIP C++ Texture API for hcc compiler
||o*hip_util.h
||o*hip_vector_types.hDefines the different newt vector types for HIP runtime
||o*host_defines.hTODO-doc
||o*staging_buffer.h
||\*trace_helper.h
|o*hcc.h
|o*hip_common.h
|o*hip_runtime.h
|o*hip_runtime_api.h
|\*hip_vector_types.h
\-src
 \*hip_hcc.cpp
+
+
+ + + + diff --git a/docs/RuntimeAPI/html/ftv2blank.png b/docs/RuntimeAPI/html/ftv2blank.png new file mode 100644 index 0000000000000000000000000000000000000000..63c605bb4c3d941c921a4b6cfa74951e946bcb48 GIT binary patch literal 86 zcmeAS@N?(olHy`uVBq!ia0vp^0zfRr!3HExu9B$%QnH>djv*C{Z|`mdau^P8_z}#X h?B8GEpdi4(BFDx$je&7RrDQEg&ePS;Wt~$(69Dh@6T1Ka literal 0 HcmV?d00001 diff --git a/docs/RuntimeAPI/html/ftv2cl.png b/docs/RuntimeAPI/html/ftv2cl.png new file mode 100644 index 0000000000000000000000000000000000000000..132f6577bf7f085344904602815a260d29f55d9b GIT binary patch literal 453 zcmV;$0XqJPP)VBF;ev;toEj8_OB0EQg5eYilIj#JZG_m^33l3^k4mtzx!TVD?g)Y$ zrvwRDSqT!wLIM$dWCIa$vtxE|mzbTzu-y&$FvF6WA2a{Wr1g}`WdPT-0JzEZ0IxAv z-Z+ejZc&H;I5-pb_SUB}04j0^V)3t{`z<7asDl2Tw3w3sP%)0^8$bhEg)IOTBcRXv zFfq~3&gvJ$F-U7mpBW8z1GY~HK&7h4^YI~Orv~wLnC0PP_dAkv;nzX{9Q|8Gv=2ca z@v)c9T;D#h`TZ2X&&$ff2wedmot995de~-s3I)yauahg;7qn*?1n?F$e+PwP37}~; z1NKUk7reVK^7A;$QRW7qAx40HHUZ<|k3U%nz(Ec`#i+q9K!dgcROAlCS?`L= v>#=f?wF5ZND!1uAfQsk;KN^4&*8~0npJiJ%2dj9(00000NkvXXu0mjfWVFf_ literal 0 HcmV?d00001 diff --git a/docs/RuntimeAPI/html/ftv2doc.png b/docs/RuntimeAPI/html/ftv2doc.png new file mode 100644 index 0000000000000000000000000000000000000000..17edabff95f7b8da13c9516a04efe05493c29501 GIT binary patch literal 746 zcmV7=@pnbNXRFEm&G8P!&WHG=d)>K?YZ1bzou)2{$)) zumDct!>4SyxL;zgaG>wy`^Hv*+}0kUfCrz~BCOViSb$_*&;{TGGn2^x9K*!Sf0=lV zpP=7O;GA0*Jm*tTYj$IoXvimpnV4S1Z5f$p*f$Db2iq2zrVGQUz~yq`ahn7ck(|CE z7Gz;%OP~J6)tEZWDzjhL9h2hdfoU2)Nd%T<5Kt;Y0XLt&<@6pQx!nw*5`@bq#?l*?3z{Hlzoc=Pr>oB5(9i6~_&-}A(4{Q$>c>%rV&E|a(r&;?i5cQB=} zYSDU5nXG)NS4HEs0it2AHe2>shCyr7`6@4*6{r@8fXRbTA?=IFVWAQJL&H5H{)DpM#{W(GL+Idzf^)uRV@oB8u$ z8v{MfJbTiiRg4bza<41NAzrl{=3fl_D+$t+^!xlQ8S}{UtY`e z;;&9UhyZqQRN%2pot{*Ei0*4~hSF_3AH2@fKU!$NSflS>{@tZpDT4`M2WRTTVH+D? z)GFlEGGHe?koB}i|1w45!BF}N_q&^HJ&-tyR{(afC6H7|aml|tBBbv}55C5DNP8p3 z)~jLEO4Z&2hZmP^i-e%(@d!(E|KRafiU8Q5u(wU((j8un3OR*Hvj+t literal 0 HcmV?d00001 diff --git a/docs/RuntimeAPI/html/ftv2folderclosed.png b/docs/RuntimeAPI/html/ftv2folderclosed.png new file mode 100644 index 0000000000000000000000000000000000000000..bb8ab35edce8e97554e360005ee9fc5bffb36e66 GIT binary patch literal 616 zcmV-u0+;=XP)a9#ETzayK)T~Jw&MMH>OIr#&;dC}is*2Mqdf&akCc=O@`qC+4i z5Iu3w#1M@KqXCz8TIZd1wli&kkl2HVcAiZ8PUn5z_kG@-y;?yK06=cA0U%H0PH+kU zl6dp}OR(|r8-RG+YLu`zbI}5TlOU6ToR41{9=uz^?dGTNL;wIMf|V3`d1Wj3y!#6` zBLZ?xpKR~^2x}?~zA(_NUu3IaDB$tKma*XUdOZN~c=dLt_h_k!dbxm_*ibDM zlFX`g{k$X}yIe%$N)cn1LNu=q9_CS)*>A zsX_mM4L@`(cSNQKMFc$RtYbx{79#j-J7hk*>*+ZZhM4Hw?I?rsXCi#mRWJ=-0LGV5a-WR0Qgt<|Nqf)C-@80`5gIz45^_20000IqP)X=#(TiCT&PiIIVc55T}TU}EUh*{q$|`3@{d>{Tc9Bo>e= zfmF3!f>fbI9#GoEHh0f`i5)wkLpva0ztf%HpZneK?w-7AK@b4Itw{y|Zd3k!fH?q2 zlhckHd_V2M_X7+)U&_Xcfvtw60l;--DgZmLSw-Y?S>)zIqMyJ1#FwLU*%bl38ok+! zh78H87n`ZTS;uhzAR$M`zZ`bVhq=+%u9^$5jDplgxd44}9;IRqUH1YHH|@6oFe%z( zo4)_>E$F&^P-f(#)>(TrnbE>Pefs9~@iN=|)Rz|V`sGfHNrJ)0gJb8xx+SBmRf@1l zvuzt=vGfI)<-F9!o&3l?>9~0QbUDT(wFdnQPv%xdD)m*g%!20>Bc9iYmGAp<9YAa( z0QgYgTWqf1qN++Gqp z8@AYPTB3E|6s=WLG?xw0tm|U!o=&zd+H0oRYE;Dbx+Na9s^STqX|Gnq%H8s(nGDGJ j8vwW|`Ts`)fSK|Kx=IK@RG@g200000NkvXXu0mjfauFEA literal 0 HcmV?d00001 diff --git a/docs/RuntimeAPI/html/ftv2lastnode.png b/docs/RuntimeAPI/html/ftv2lastnode.png new file mode 100644 index 0000000000000000000000000000000000000000..63c605bb4c3d941c921a4b6cfa74951e946bcb48 GIT binary patch literal 86 zcmeAS@N?(olHy`uVBq!ia0vp^0zfRr!3HExu9B$%QnH>djv*C{Z|`mdau^P8_z}#X h?B8GEpdi4(BFDx$je&7RrDQEg&ePS;Wt~$(69Dh@6T1Ka literal 0 HcmV?d00001 diff --git a/docs/RuntimeAPI/html/ftv2link.png b/docs/RuntimeAPI/html/ftv2link.png new file mode 100644 index 0000000000000000000000000000000000000000..17edabff95f7b8da13c9516a04efe05493c29501 GIT binary patch literal 746 zcmV7=@pnbNXRFEm&G8P!&WHG=d)>K?YZ1bzou)2{$)) zumDct!>4SyxL;zgaG>wy`^Hv*+}0kUfCrz~BCOViSb$_*&;{TGGn2^x9K*!Sf0=lV zpP=7O;GA0*Jm*tTYj$IoXvimpnV4S1Z5f$p*f$Db2iq2zrVGQUz~yq`ahn7ck(|CE z7Gz;%OP~J6)tEZWDzjhL9h2hdfoU2)Nd%T<5Kt;Y0XLt&<@6pQx!nw*5`@bq#?l*?3z{Hlzoc=Pr>oB5(9i6~_&-}A(4{Q$>c>%rV&E|a(r&;?i5cQB=} zYSDU5nXG)NS4HEs0it2AHe2>shCyr7`6@4*6{r@8fXRbTA?=IFVWAQJL&H5H{)DpM#{W(GL+Idzf^)uRV@oB8u$ z8v{MfJbTiiRg4bza<41NAzrl{=3fl_D+$t+^!xlQ8S}{UtY`e z;;&9UhyZqQRN%2pot{*Ei0*4~hSF_3AH2@fKU!$NSflS>{@tZpDT4`M2WRTTVH+D? z)GFlEGGHe?koB}i|1w45!BF}N_q&^HJ&-tyR{(afC6H7|aml|tBBbv}55C5DNP8p3 z)~jLEO4Z&2hZmP^i-e%(@d!(E|KRafiU8Q5u(wU((j8un3OR*Hvj+t literal 0 HcmV?d00001 diff --git a/docs/RuntimeAPI/html/ftv2mlastnode.png b/docs/RuntimeAPI/html/ftv2mlastnode.png new file mode 100644 index 0000000000000000000000000000000000000000..0b63f6d38c4b9ec907b820192ebe9724ed6eca22 GIT binary patch literal 246 zcmVkw!R34#Lv2LOS^S2tZA31X++9RY}n zChwn@Z)Wz*WWHH{)HDtJnq&A2hk$b-y(>?@z0iHr41EKCGp#T5?07*qoM6N<$f(V3Pvj6}9 literal 0 HcmV?d00001 diff --git a/docs/RuntimeAPI/html/ftv2mnode.png b/docs/RuntimeAPI/html/ftv2mnode.png new file mode 100644 index 0000000000000000000000000000000000000000..0b63f6d38c4b9ec907b820192ebe9724ed6eca22 GIT binary patch literal 246 zcmVkw!R34#Lv2LOS^S2tZA31X++9RY}n zChwn@Z)Wz*WWHH{)HDtJnq&A2hk$b-y(>?@z0iHr41EKCGp#T5?07*qoM6N<$f(V3Pvj6}9 literal 0 HcmV?d00001 diff --git a/docs/RuntimeAPI/html/ftv2mo.png b/docs/RuntimeAPI/html/ftv2mo.png new file mode 100644 index 0000000000000000000000000000000000000000..4bfb80f76e65815989a9350ad79d8ce45380e2b1 GIT binary patch literal 403 zcmV;E0c`$>P)${!fXv7NWJ%@%u4(KapRY>T6_x;E zxE7kt!}Tiw8@d9Sd`rTGum>z#Q14vIm`wm1#-byD1muMi02@YNO5LRF0o!Y{`a!Ya z{^&p0Su|s705&2QxmqdexG+-zNKL3f@8gTQSJrKByfo+oNJ^-{|Mn||Q5SDwjQVsS zr1}7o5-QMs>gYIMD>GRw@$lT`z4r-_m{5U#cR{urD_)TOeY)(UD|qZ^&y`IVijqk~ xs(9-kWFr7E^!lgi8GsFK5kOY_{Xbgf0^etEU%fLevs?fG002ovPDHLkV1nB&vX1}& literal 0 HcmV?d00001 diff --git a/docs/RuntimeAPI/html/ftv2node.png b/docs/RuntimeAPI/html/ftv2node.png new file mode 100644 index 0000000000000000000000000000000000000000..63c605bb4c3d941c921a4b6cfa74951e946bcb48 GIT binary patch literal 86 zcmeAS@N?(olHy`uVBq!ia0vp^0zfRr!3HExu9B$%QnH>djv*C{Z|`mdau^P8_z}#X h?B8GEpdi4(BFDx$je&7RrDQEg&ePS;Wt~$(69Dh@6T1Ka literal 0 HcmV?d00001 diff --git a/docs/RuntimeAPI/html/ftv2ns.png b/docs/RuntimeAPI/html/ftv2ns.png new file mode 100644 index 0000000000000000000000000000000000000000..72e3d71c2892d6f00e259facebc88b45f6db2e35 GIT binary patch literal 388 zcmV-~0ek+5P)f+++#cT|!CkD&4pnIkeMEUEM*>`*9>+Juji$!h-mW%M^8s9957{3nvbrz^&=u<~TAUrFROkmt%^F~Ez+-c53Lv%iH3d38!Rv?K zrb&MYAhp;Gf<}wS;9ZZq2@;!uYG;=Z>~GKE^{HD4keu}lnyqhc>kWX^tQn|warJ~h zT+rtMkdz6aHoN%z(o|&wpu@@OpJnF_z{PA)6(FHw02iHslz^(N{4*+K9)QJHR87wT iTyp>aXaF{u2lxRou|^4tux6eB0000^P)R?RzRoKvklcaQ%HF6%rK2&ZgO(-ihJ_C zzrKgp4jgO( fd_(yg|3PpEQb#9`a?Pz_00000NkvXXu0mjftR`5K literal 0 HcmV?d00001 diff --git a/docs/RuntimeAPI/html/ftv2pnode.png b/docs/RuntimeAPI/html/ftv2pnode.png new file mode 100644 index 0000000000000000000000000000000000000000..c6ee22f937a07d1dbfc27c669d11f8ed13e2f152 GIT binary patch literal 229 zcmV^P)R?RzRoKvklcaQ%HF6%rK2&ZgO(-ihJ_C zzrKgp4jgO( fd_(yg|3PpEQb#9`a?Pz_00000NkvXXu0mjftR`5K literal 0 HcmV?d00001 diff --git a/docs/RuntimeAPI/html/ftv2splitbar.png b/docs/RuntimeAPI/html/ftv2splitbar.png new file mode 100644 index 0000000000000000000000000000000000000000..fe895f2c58179b471a22d8320b39a4bd7312ec8e GIT binary patch literal 314 zcmeAS@N?(olHy`uVBq!ia0vp^Yzz!63>-{AmhX=Jf(#6djGiuzAr*{o?=JLmPLyc> z_*`QK&+BH@jWrYJ7>r6%keRM@)Qyv8R=enp0jiI>aWlGyB58O zFVR20d+y`K7vDw(hJF3;>dD*3-?v=<8M)@x|EEGLnJsniYK!2U1 Y!`|5biEc?d1`HDhPgg&ebxsLQ02F6;9RL6T literal 0 HcmV?d00001 diff --git a/docs/RuntimeAPI/html/ftv2vertline.png b/docs/RuntimeAPI/html/ftv2vertline.png new file mode 100644 index 0000000000000000000000000000000000000000..63c605bb4c3d941c921a4b6cfa74951e946bcb48 GIT binary patch literal 86 zcmeAS@N?(olHy`uVBq!ia0vp^0zfRr!3HExu9B$%QnH>djv*C{Z|`mdau^P8_z}#X h?B8GEpdi4(BFDx$je&7RrDQEg&ePS;Wt~$(69Dh@6T1Ka literal 0 HcmV?d00001 diff --git a/docs/RuntimeAPI/html/functions.html b/docs/RuntimeAPI/html/functions.html new file mode 100644 index 0000000000..80b29f9c89 --- /dev/null +++ b/docs/RuntimeAPI/html/functions.html @@ -0,0 +1,317 @@ + + + + + + +HIP: Heterogenous-computing Interface for Portability: Class Members + + + + + + + + + +
+
+ + + + + + +
+
HIP: Heterogenous-computing Interface for Portability +
+
+
+ + + + + + + +
+ + + + +
+ +
+ +
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- a -

+ + +

- c -

+ + +

- h -

+ + +

- i -

+ + +

- l -

+ + +

- m -

+ + +

- n -

+ + +

- p -

+ + +

- r -

+ + +

- s -

+ + +

- t -

+ + +

- w -

+ + +

- x -

+ + +

- y -

+ + +

- z -

+
+ + + + diff --git a/docs/RuntimeAPI/html/functions_vars.html b/docs/RuntimeAPI/html/functions_vars.html new file mode 100644 index 0000000000..8bc115dc48 --- /dev/null +++ b/docs/RuntimeAPI/html/functions_vars.html @@ -0,0 +1,317 @@ + + + + + + +HIP: Heterogenous-computing Interface for Portability: Class Members - Variables + + + + + + + + + +
+
+ + + + + + +
+
HIP: Heterogenous-computing Interface for Portability +
+
+
+ + + + + + + +
+ + + + +
+ +
+ +
+  + +

- a -

+ + +

- c -

+ + +

- h -

+ + +

- i -

+ + +

- l -

+ + +

- m -

+ + +

- n -

+ + +

- p -

+ + +

- r -

+ + +

- s -

+ + +

- t -

+ + +

- w -

+ + +

- x -

+ + +

- y -

+ + +

- z -

+
+ + + + diff --git a/docs/RuntimeAPI/html/globals.html b/docs/RuntimeAPI/html/globals.html new file mode 100644 index 0000000000..f956e2ad3e --- /dev/null +++ b/docs/RuntimeAPI/html/globals.html @@ -0,0 +1,382 @@ + + + + + + +HIP: Heterogenous-computing Interface for Portability: File Members + + + + + + + + + +
+
+ + + + + + +
+
HIP: Heterogenous-computing Interface for Portability +
+
+
+ + + + + + + +
+ + + + +
+ +
+ +
+
Here is a list of all documented file members with links to the documentation:
+ +

- _ -

+ + +

- d -

+ + +

- h -

+
+ + + + diff --git a/docs/RuntimeAPI/html/globals_defs.html b/docs/RuntimeAPI/html/globals_defs.html new file mode 100644 index 0000000000..285530312e --- /dev/null +++ b/docs/RuntimeAPI/html/globals_defs.html @@ -0,0 +1,146 @@ + + + + + + +HIP: Heterogenous-computing Interface for Portability: File Members + + + + + + + + + +
+
+ + + + + + +
+
HIP: Heterogenous-computing Interface for Portability +
+
+
+ + + + + + +
+ + + + +
+ +
+ +
+
+ + + + diff --git a/docs/RuntimeAPI/html/globals_enum.html b/docs/RuntimeAPI/html/globals_enum.html new file mode 100644 index 0000000000..e63602bb74 --- /dev/null +++ b/docs/RuntimeAPI/html/globals_enum.html @@ -0,0 +1,119 @@ + + + + + + +HIP: Heterogenous-computing Interface for Portability: File Members + + + + + + + + + +
+
+ + + + + + +
+
HIP: Heterogenous-computing Interface for Portability +
+
+
+ + + + + + +
+ + + + +
+ +
+ +
+
+ + + + diff --git a/docs/RuntimeAPI/html/globals_eval.html b/docs/RuntimeAPI/html/globals_eval.html new file mode 100644 index 0000000000..0449f01cbc --- /dev/null +++ b/docs/RuntimeAPI/html/globals_eval.html @@ -0,0 +1,146 @@ + + + + + + +HIP: Heterogenous-computing Interface for Portability: File Members + + + + + + + + + +
+
+ + + + + + +
+
HIP: Heterogenous-computing Interface for Portability +
+
+
+ + + + + + +
+ + + + +
+ +
+ +
+
+ + + + diff --git a/docs/RuntimeAPI/html/globals_func.html b/docs/RuntimeAPI/html/globals_func.html new file mode 100644 index 0000000000..2e0edc0fda --- /dev/null +++ b/docs/RuntimeAPI/html/globals_func.html @@ -0,0 +1,270 @@ + + + + + + +HIP: Heterogenous-computing Interface for Portability: File Members + + + + + + + + + +
+
+ + + + + + +
+
HIP: Heterogenous-computing Interface for Portability +
+
+
+ + + + + + + +
+ + + + +
+ +
+ +
+  + +

- h -

+
+ + + + diff --git a/docs/RuntimeAPI/html/globals_type.html b/docs/RuntimeAPI/html/globals_type.html new file mode 100644 index 0000000000..b72b8c5064 --- /dev/null +++ b/docs/RuntimeAPI/html/globals_type.html @@ -0,0 +1,116 @@ + + + + + + +HIP: Heterogenous-computing Interface for Portability: File Members + + + + + + + + + +
+
+ + + + + + +
+
HIP: Heterogenous-computing Interface for Portability +
+
+
+ + + + + + +
+ + + + +
+ +
+ +
+
+ + + + diff --git a/docs/RuntimeAPI/html/group__API.html b/docs/RuntimeAPI/html/group__API.html new file mode 100644 index 0000000000..3d038c64e6 --- /dev/null +++ b/docs/RuntimeAPI/html/group__API.html @@ -0,0 +1,118 @@ + + + + + + +HIP: Heterogenous-computing Interface for Portability: HIP API + + + + + + + + + +
+
+ + + + + + +
+
HIP: Heterogenous-computing Interface for Portability +
+
+
+ + + + +
+ + + + +
+ +
+ +
+ +
+
HIP API
+
+
+ + + + + + + + + + + + + + + + + + + + + + +

+Modules

 Device Management
 
 Error Handling
 
 Stream Management
 
 Event Management
 
 Memory Management
 
 Device Memory Access
 
 Management
 
 Control
 
 HCC-Specific Accessors
 
 Texture Reference Management
 
+

Detailed Description

+

Defines the HIP API. See the individual sections for more information.

+
+ + + + diff --git a/docs/RuntimeAPI/html/group__Device.html b/docs/RuntimeAPI/html/group__Device.html new file mode 100644 index 0000000000..9311987b7b --- /dev/null +++ b/docs/RuntimeAPI/html/group__Device.html @@ -0,0 +1,471 @@ + + + + + + +HIP: Heterogenous-computing Interface for Portability: Device Management + + + + + + + + + +
+
+ + + + + + +
+
HIP: Heterogenous-computing Interface for Portability +
+
+
+ + + + +
+ + + + +
+ +
+ +
+ +
+
Device Management
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Functions

hipError_t hipDeviceSynchronize (void)
 Blocks until the default device has completed all preceding requested tasks. More...
 
hipError_t hipDeviceReset (void)
 Destroy all resources and reset all state on the default device in the current process. More...
 
hipError_t hipSetDevice (int device)
 Set default device to be used for subsequent hip API calls from this thread. More...
 
hipError_t hipGetDevice (int *device)
 Return the default device id for the calling host thread. More...
 
hipError_t hipGetDeviceCount (int *count)
 Return number of compute-capable devices. More...
 
hipError_t hipDeviceGetAttribute (int *pi, hipDeviceAttribute_t attr, int device)
 Query device attribute. More...
 
hipError_t hipGetDeviceProperties (hipDeviceProp_t *prop, int device)
 Returns device properties. More...
 
hipError_t hipDeviceSetCacheConfig (hipFuncCache cacheConfig)
 Set L1/Shared cache partition. More...
 
hipError_t hipDeviceGetCacheConfig (hipFuncCache *cacheConfig)
 Set Cache configuration for a specific function. More...
 
hipError_t hipFuncSetCacheConfig (hipFuncCache config)
 Set Cache configuration for a specific function. More...
 
hipError_t hipDeviceGetSharedMemConfig (hipSharedMemConfig *pConfig)
 Get Shared memory bank configuration. More...
 
hipError_t hipDeviceSetSharedMemConfig (hipSharedMemConfig config)
 Set Shared memory bank configuration. More...
 
hipError_t hipSetDeviceFlags (unsigned flags)
 Set Device flags. More...
 
+

Detailed Description

+

----------------------------------------------------------------------------------------------—

+

Function Documentation

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
hipError_t hipDeviceGetAttribute (int * pi,
hipDeviceAttribute_t attr,
int device 
)
+
+ +

Query device attribute.

+
Parameters
+ + + + +
[out]pipointer to value to return
[in]attrattribute to query
[in]devicewhich device to query for information
+
+
+ +
+
+ +
+
+ + + + + + + + +
hipError_t hipDeviceGetCacheConfig (hipFuncCachecacheConfig)
+
+ +

Set Cache configuration for a specific function.

+

Note: AMD devices and recent Nvidia GPUS do not support reconfigurable cache. This hint is ignored on those architectures.

+
Returns
hipSuccess
+ +
+
+ +
+
+ + + + + + + + +
hipError_t hipDeviceGetSharedMemConfig (hipSharedMemConfigpConfig)
+
+ +

Get Shared memory bank configuration.

+

Note: AMD devices and recent Nvidia GPUS do not support shared cache banking, and the hint is ignored on those architectures.

+
Returns
hipSuccess
+ +
+
+ +
+
+ + + + + + + + +
hipError_t hipDeviceReset (void )
+
+ +

Destroy all resources and reset all state on the default device in the current process.

+

Explicity destroy all memory allocations, events, and queues associated with the default device in the current process.

+

This function will reset the device immmediately, and then return after all resources have been freed. The caller must ensure that the device is not being accessed by any other host threads from the active process when this function is called.

+
See Also
hipDeviceSynchronize
+
Returns
hipSuccess
+ +
+
+ +
+
+ + + + + + + + +
hipError_t hipDeviceSetCacheConfig (hipFuncCache cacheConfig)
+
+ +

Set L1/Shared cache partition.

+

Note: AMD devices and recent Nvidia GPUS do not support reconfigurable cache. This hint is ignored on those architectures.

+
Returns
hipSuccess
+ +
+
+ +
+
+ + + + + + + + +
hipError_t hipDeviceSetSharedMemConfig (hipSharedMemConfig config)
+
+ +

Set Shared memory bank configuration.

+

Note: AMD devices and recent Nvidia GPUS do not support shared cache banking, and the hint is ignored on those architectures.

+
Returns
hipSuccess
+ +
+
+ +
+
+ + + + + + + + +
hipError_t hipDeviceSynchronize (void )
+
+ +

Blocks until the default device has completed all preceding requested tasks.

+

This function waits for all streams on the default device to complete execution, and then returns.

+
See Also
hipSetDevice, hipDeviceReset
+
Returns
hipSuccess
+ +
+
+ +
+
+ + + + + + + + +
hipError_t hipFuncSetCacheConfig (hipFuncCache cacheConfig)
+
+ +

Set Cache configuration for a specific function.

+

Note: AMD devices and recent Nvidia GPUS do not support reconfigurable cache. This hint is ignored on those architectures.

+
Returns
hipSuccess
+ +
+
+ +
+
+ + + + + + + + +
hipError_t hipGetDevice (int * device)
+
+ +

Return the default device id for the calling host thread.

+
Parameters
+ + +
[out]device*device is written with the default device
+
+
+

HIP maintains an default device for each thread using thread-local-storage. This device is used implicitly for HIP runtime APIs called by this thread. hipGetDevice returns in * device the default device for the calling host thread.

+
See Also
hipSetDevice, hipGetDevicesizeBytes
+
Returns
hipSuccess
+ +
+
+ +
+
+ + + + + + + + +
hipError_t hipGetDeviceCount (int * count)
+
+ +

Return number of compute-capable devices.

+
Parameters
+ + +
[output]count Returns number of compute-capable devices.
+
+
+

Returns in *count the number of devices that have ability to run compute commands. If there are no such devices, then hipGetDeviceCount will return hipErrorNoDevice. If 1 or more devices can be found, then hipGetDeviceCount returns hipSuccess.

+
Returns
hipSuccess, hipErrorNoDevice
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
hipError_t hipGetDeviceProperties (hipDeviceProp_tprops,
int device 
)
+
+ +

Returns device properties.

+
Parameters
+ + + +
[out]propwritten with device properties
[in]devicewhich device to query for information
+
+
+

Populates hipGetDeviceProperties with information for the specified device.

+
Returns
hipSuccess, hipErrorInvalidDevice
+
Bug:

HCC always returns 0 for maxThreadsPerMultiProcessor

+

HCC always returns 0 for regsPerBlock

+

HCC always returns 0 for l2CacheSize

+
+ +
+
+ +
+
+ + + + + + + + +
hipError_t hipSetDevice (int device)
+
+ +

Set default device to be used for subsequent hip API calls from this thread.

+
Parameters
+ + +
[in]deviceValid device in range 0...hipGetDeviceCount().
+
+
+

Sets device as the default device for the calling host thread. Valid device id's are 0... (hipGetDeviceCount()-1).

+

Many HIP APIs implicitly use the "default device" :

+
    +
  • Any device memory subsequently allocated from this host thread (using hipMalloc) will be allocated on device.
  • +
  • Any streams or events created from this host thread will be associated with device.
  • +
  • Any kernels launched from this host thread (using hipLaunchKernel) will be executed on device (unless a specific stream is specified, in which case the device associated with that stream will be used).
  • +
+

This function may be called from any host thread. Multiple host threads may use the same device. This function does no synchronization with the previous or new device, and has very little runtime overhead. Applications can use hipSetDevice to quickly switch the default device before making a HIP runtime call which uses the default device.

+

The default device is stored in thread-local-storage for each thread. Thread-pool implementations may inherit the default device of the previous thread. A good practice is to always call hipSetDevice at the start of HIP coding sequency to establish a known standard device.

+
See Also
hipGetDevice, hipGetDeviceCount
+
Returns
hipSuccess, hipErrorInvalidDevice
+ +
+
+ +
+
+ + + + + + + + +
hipError_t hipSetDeviceFlags (unsigned flags)
+
+ +

Set Device flags.

+

Note: Only hipDeviceScheduleAuto and hipDeviceMapHost are supported

+ +
+
+
+ + + + diff --git a/docs/RuntimeAPI/html/group__Error.html b/docs/RuntimeAPI/html/group__Error.html new file mode 100644 index 0000000000..b23965499b --- /dev/null +++ b/docs/RuntimeAPI/html/group__Error.html @@ -0,0 +1,205 @@ + + + + + + +HIP: Heterogenous-computing Interface for Portability: Error Handling + + + + + + + + + +
+
+ + + + + + +
+
HIP: Heterogenous-computing Interface for Portability +
+
+
+ + + + +
+ + + + +
+ +
+ +
+ +
+
Error Handling
+
+
+ + + + + + + + + + + + + + +

+Functions

hipError_t hipGetLastError (void)
 Return last error returned by any HIP runtime API call and resets the stored error code to hipSuccess. More...
 
hipError_t hipPeekAtLastError (void)
 Return last error returned by any HIP runtime API call. More...
 
const char * hipGetErrorName (hipError_t hip_error)
 Return name of the specified error code in text form. More...
 
const char * hipGetErrorString (hipError_t hip_error)
 Return handy text string message to explain the error which occurred. More...
 
+

Detailed Description

+

----------------------------------------------------------------------------------------------—

+

Function Documentation

+ +
+
+ + + + + + + + +
const char* hipGetErrorName (hipError_t hip_error)
+
+ +

Return name of the specified error code in text form.

+
Parameters
+ + +
hip_errorError code to convert to name.
+
+
+
Returns
const char pointer to the NULL-terminated error name
+
See Also
hipGetErrorString, hipGetLastError, hipPeakAtLastError, hipError_t
+ +
+
+ +
+
+ + + + + + + + +
const char* hipGetErrorString (hipError_t hip_error)
+
+ +

Return handy text string message to explain the error which occurred.

+
Parameters
+ + +
hip_errorError code to convert to string.
+
+
+
Returns
const char pointer to the NULL-terminated error string
+
Warning
: on HCC, this function returns the name of the error (same as hipGetErrorName)
+
See Also
hipGetErrorName, hipGetLastError, hipPeakAtLastError, hipError_t
+
Warning
: hipGetErrorString returns string from hipGetErrorName
+ +
+
+ +
+
+ + + + + + + + +
hipError_t hipGetLastError (void )
+
+ +

Return last error returned by any HIP runtime API call and resets the stored error code to hipSuccess.

+

Returns the last error that has been returned by any of the runtime calls in the same host thread, and then resets the saved error to hipSuccess.

+
Returns
return code from last HIP called from the active host thread.
+ +
+
+ +
+
+ + + + + + + + +
hipError_t hipPeekAtLastError (void )
+
+ +

Return last error returned by any HIP runtime API call.

+
Returns
hipSuccess
+

Returns the last error that has been returned by any of the runtime calls in the same host thread. Unlike hipGetLastError, this function does not reset the saved error code.

+ +
+
+
+ + + + diff --git a/docs/RuntimeAPI/html/group__Event.html b/docs/RuntimeAPI/html/group__Event.html new file mode 100644 index 0000000000..9d91cf79ac --- /dev/null +++ b/docs/RuntimeAPI/html/group__Event.html @@ -0,0 +1,348 @@ + + + + + + +HIP: Heterogenous-computing Interface for Portability: Event Management + + + + + + + + + +
+
+ + + + + + +
+
HIP: Heterogenous-computing Interface for Portability +
+
+
+ + + + +
+ + + + +
+ +
+ +
+ +
+
Event Management
+
+
+ + + + + + + + + + + + + + + + + + + + + + +

+Functions

hipError_t hipEventCreateWithFlags (hipEvent_t *event, unsigned flags)
 Create an event with the specified flags. More...
 
hipError_t hipEventCreate (hipEvent_t *event)
 
hipError_t hipEventRecord (hipEvent_t event, hipStream_t stream)
 Record an event in the specified stream. More...
 
hipError_t hipEventDestroy (hipEvent_t event)
 Destroy the specified event. More...
 
hipError_t hipEventSynchronize (hipEvent_t event)
 : Wait for an event to complete. More...
 
hipError_t hipEventElapsedTime (float *ms, hipEvent_t start, hipEvent_t stop)
 Return the elapsed time between two events. More...
 
hipError_t hipEventQuery (hipEvent_t event)
 Query event status. More...
 
+

Detailed Description

+

----------------------------------------------------------------------------------------------—

+

Function Documentation

+ +
+
+ + + + + + + + +
hipError_t hipEventCreate (hipEvent_tevent)
+
+

Create an event

+
Parameters
+ + +
[in,out]eventReturns the newly created event.
+
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
hipError_t hipEventCreateWithFlags (hipEvent_tevent,
unsigned flags 
)
+
+ +

Create an event with the specified flags.

+
Parameters
+ + + +
[in,out]eventReturns the newly created event.
[in]flagsFlags to control event behavior. hipEventDefault, hipEventBlockingSync, hipEventDisableTiming, hipEventInterprocess
+
+
+
Warning
On HCC platform, hipEventInterprocess is not supported.
+
Returns
#cudaSuccess
+
Warning
: flags must be 0.
+ +
+
+ +
+
+ + + + + + + + +
hipError_t hipEventDestroy (hipEvent_t event)
+
+ +

Destroy the specified event.

+
Parameters
+ + +
[in]eventEvent to destroy.
+
+
+
Returns
: hipSuccess,
+

Releases memory associated with the event. If the event is recording but has not completed recording when hipEventDestroy is called, the function will return immediately and the completion_future resources will be released later, when the hipDevice is synchronized.

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
hipError_t hipEventElapsedTime (float * ms,
hipEvent_t start,
hipEvent_t stop 
)
+
+ +

Return the elapsed time between two events.

+
Parameters
+ + + + +
[out]ms : Return time between start and stop in ms.
[in]start: Start event.
[in]stop: Stop event.
+
+
+
Returns
: hipSuccess, hipErrorInvalidResourceHandle, hipErrorNotReady,
+

Computes the elapsed time between two events. Time is computed in ms, with a resolution of approximately 1 us.

+

Events which are recorded in a NULL stream will block until all commands on all other streams complete execution, and then record the timestamp.

+

Events which are recorded in a non-NULL stream will record their timestamp when they reach the head of the specified stream, after all previous commands in that stream have completed executing. Thus the time that the event recorded may be significantly after the host calls hipEventRecord.

+

If hipEventRecord has not been called on either event, then hipErrorInvalidResourceHandle is returned. If hipEventRecord has been called on both events, but the timestamp has not yet been recorded on one or both events (that is, hipEventQuery would return hipErrorNotReady on at least one of the events), then hipErrorNotReady is returned.

+ +
+
+ +
+
+ + + + + + + + +
hipError_t hipEventQuery (hipEvent_t event)
+
+ +

Query event status.

+
Parameters
+ + +
[in]eventEvent to query.
+
+
+
Returns
hipSuccess, hipEventNotReady
+

Query the status of the specified event. This function will return hipErrorNotReady if all commands in the appropriate stream (specified to hipEventRecord) have completed. If that work has not completed, or if hipEventRecord was not called on the event, then hipSuccess is returned.

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
hipError_t hipEventRecord (hipEvent_t event,
hipStream_t stream 
)
+
+ +

Record an event in the specified stream.

+
Parameters
+ + + +
[in]eventevent to record.
[in]streamstream in which to record event.
+
+
+
Returns
hipSuccess, hipErrorInvalidResourceHandle
+

hipEventQuery or hipEventSynchronize must be used to determine when the event transitions from "recording" (after eventRecord is called) to "recorded" (when timestamps are set, if requested).

+

Events which are recorded in a non-NULL stream will transition to from recording to "recorded" state when they reach the head of the specified stream, after all previous commands in that stream have completed executing.

+

If hipEventRecord has been previously called aon event, then this call will overwrite any existing state in event.

+

If this function is called on a an event that is currently being recorded, results are undefined - either outstanding recording may save state into the event, and the order is not guaranteed. This shoul be avoided.

+
See Also
hipEventElapsedTime
+ +
+
+ +
+
+ + + + + + + + +
hipError_t hipEventSynchronize (hipEvent_t event)
+
+ +

: Wait for an event to complete.

+

This function will block until the event is ready, waiting for all previous work in the stream specified when event was recorded with hipEventRecord.

+

If hipEventRecord has not been called on event, this function returns immediately.

+

TODO-hcc - This function needs to support hipEventBlockingSync parameter.

+
Parameters
+ + +
[in]eventEvent on which to wait.
+
+
+
Returns
hipSuccess, hipErrorInvalidResourceHandle,
+ +
+
+
+ + + + diff --git a/docs/RuntimeAPI/html/group__GlobalDefs.html b/docs/RuntimeAPI/html/group__GlobalDefs.html new file mode 100644 index 0000000000..70329585c7 --- /dev/null +++ b/docs/RuntimeAPI/html/group__GlobalDefs.html @@ -0,0 +1,631 @@ + + + + + + +HIP: Heterogenous-computing Interface for Portability: Global enum and defines + + + + + + + + + +
+
+ + + + + + +
+
HIP: Heterogenous-computing Interface for Portability +
+
+
+ + + + +
+ + + + +
+ +
+ +
+ +
+
Global enum and defines
+
+
+ + + + +

+Classes

struct  dim3
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Macros

#define hipStreamDefault   0x00
 Flags that can be used with hipStreamCreateWithFlags. More...
 
+#define hipStreamNonBlocking   0x01
 Stream does not implicitly synchronize with null stream.
 
#define hipEventDefault   0x0
 Flags that can be used with hipEventCreateWithFlags: More...
 
+#define hipEventBlockingSync   0x1
 Waiting will yield CPU. Power-friendly and usage-friendly but may increase latency.
 
+#define hipEventDisableTiming   0x2
 Disable event's capability to record timing information. May improve performance.
 
#define hipEventInterprocess   0x4
 Event can support IPC. More...
 
+#define hipHostMallocDefault   0x0
 Flags that can be used with hipHostMalloc.
 
+#define hipHostMallocPortable   0x1
 
+#define hipHostMallocMapped   0x2
 
+#define hipHostMallocWriteCombined   0x4
 
#define hipHostRegisterDefault   0x0
 Flags that can be used with hipHostRegister. More...
 
+#define hipHostRegisterPortable   0x1
 Memory is considered registered by all contexts. HIP only supports one context so this is always assumed true.
 
+#define hipHostRegisterMapped   0x2
 Map the allocation into the address space for the current device. The device pointer can be obtained with hipHostGetDevicePointer.
 
+#define hipHostRegisterIoMemory   0x4
 Not supported.
 
+#define hipDeviceScheduleAuto   0x0
 
+#define hipDeviceScheduleSpin   0x1
 
+#define hipDeviceScheduleYield   0x2
 
+#define hipDeviceBlockingSync   0x4
 
+#define hipDeviceMapHost   0x8
 
+#define hipDeviceLmemResizeToMax   0x16
 
+ + + + + + + + + + + + + +

+Typedefs

+typedef enum hipError_t hipError_t
 
+typedef enum hipDeviceAttribute_t hipDeviceAttribute_t
 
typedef enum hipFuncCache hipFuncCache
 
typedef enum hipSharedMemConfig hipSharedMemConfig
 
typedef struct dim3 dim3
 
typedef enum hipMemcpyKind hipMemcpyKind
 
+ + + + + + + + + + + +

+Enumerations

enum  hipError_t {
+  hipSuccess = 0, +hipErrorMemoryAllocation, +hipErrorLaunchOutOfResources, +hipErrorInvalidValue, +
+  hipErrorInvalidResourceHandle, +hipErrorInvalidDevice, +hipErrorInvalidMemcpyDirection, +hipErrorInvalidDevicePointer, +
+  hipErrorInitializationError, +hipErrorNoDevice, +hipErrorNotReady, +hipErrorUnknown, +
+  hipErrorPeerAccessNotEnabled, +hipErrorPeerAccessAlreadyEnabled, +hipErrorRuntimeMemory, +hipErrorRuntimeOther, +
+  hipErrorHostMemoryAlreadyRegistered, +hipErrorHostMemoryNotRegistered, +hipErrorTbd +
+ }
 
enum  hipDeviceAttribute_t {
+  hipDeviceAttributeMaxThreadsPerBlock, +hipDeviceAttributeMaxBlockDimX, +hipDeviceAttributeMaxBlockDimY, +hipDeviceAttributeMaxBlockDimZ, +
+  hipDeviceAttributeMaxGridDimX, +hipDeviceAttributeMaxGridDimY, +hipDeviceAttributeMaxGridDimZ, +hipDeviceAttributeMaxSharedMemoryPerBlock, +
+  hipDeviceAttributeTotalConstantMemory, +hipDeviceAttributeWarpSize, +hipDeviceAttributeMaxRegistersPerBlock, +hipDeviceAttributeClockRate, +
+  hipDeviceAttributeMemoryClockRate, +hipDeviceAttributeMemoryBusWidth, +hipDeviceAttributeMultiprocessorCount, +hipDeviceAttributeComputeMode, +
+  hipDeviceAttributeL2CacheSize, +hipDeviceAttributeMaxThreadsPerMultiProcessor, +hipDeviceAttributeComputeCapabilityMajor, +hipDeviceAttributeComputeCapabilityMinor, +
+  hipDeviceAttributeConcurrentKernels, +hipDeviceAttributePciBusId, +hipDeviceAttributePciDeviceId, +hipDeviceAttributeMaxSharedMemoryPerMultiprocessor, +
+  hipDeviceAttributeIsMultiGpuBoard +
+ }
 
enum  hipFuncCache { hipFuncCachePreferNone, +hipFuncCachePreferShared, +hipFuncCachePreferL1, +hipFuncCachePreferEqual + }
 
enum  hipSharedMemConfig { hipSharedMemBankSizeDefault, +hipSharedMemBankSizeFourByte, +hipSharedMemBankSizeEightByte + }
 
enum  hipMemcpyKind {
+  hipMemcpyHostToHost = 0, +hipMemcpyHostToDevice = 1, +hipMemcpyDeviceToHost = 2, +hipMemcpyDeviceToDevice =3, +
+  hipMemcpyDefault = 4 +
+ }
 
+

Detailed Description

+

Macro Definition Documentation

+ +
+
+ + + + +
#define hipEventDefault   0x0
+
+ +

Flags that can be used with hipEventCreateWithFlags:

+

Default flags

+ +
+
+ +
+
+ + + + +
#define hipEventInterprocess   0x4
+
+ +

Event can support IPC.

+
Warning
- not supported in HIP.
+ +
+
+ +
+
+ + + + +
#define hipHostRegisterDefault   0x0
+
+ +

Flags that can be used with hipHostRegister.

+

Memory is Mapped and Portable

+ +
+
+ +
+
+ + + + +
#define hipStreamDefault   0x00
+
+ +

Flags that can be used with hipStreamCreateWithFlags.

+

Default stream creation flags. These are used with hipStreamCreate().

+ +
+
+

Typedef Documentation

+ +
+
+ + + + +
typedef struct dim3 dim3
+
+

Struct for data in 3D

+ +
+
+ +
+
+ + + + +
typedef enum hipFuncCache hipFuncCache
+
+
Warning
On AMD devices and recent Nvidia devices, these hints and controls are ignored.
+ +
+
+ +
+
+ + + + +
typedef enum hipMemcpyKind hipMemcpyKind
+
+

Memory copy types

+ +
+
+ +
+
+ + + + +
typedef enum hipSharedMemConfig hipSharedMemConfig
+
+
Warning
On AMD devices and recent Nvidia devices, these hints and controls are ignored.
+ +
+
+

Enumeration Type Documentation

+ +
+
+ + + + +
enum hipDeviceAttribute_t
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Enumerator
hipDeviceAttributeMaxThreadsPerBlock  +

Maximum number of threads per block.

+
hipDeviceAttributeMaxBlockDimX  +

Maximum x-dimension of a block.

+
hipDeviceAttributeMaxBlockDimY  +

Maximum y-dimension of a block.

+
hipDeviceAttributeMaxBlockDimZ  +

Maximum z-dimension of a block.

+
hipDeviceAttributeMaxGridDimX  +

Maximum x-dimension of a grid.

+
hipDeviceAttributeMaxGridDimY  +

Maximum y-dimension of a grid.

+
hipDeviceAttributeMaxGridDimZ  +

Maximum z-dimension of a grid.

+
hipDeviceAttributeMaxSharedMemoryPerBlock  +

Maximum shared memory available per block in bytes.

+
hipDeviceAttributeTotalConstantMemory  +

Constant memory size in bytes.

+
hipDeviceAttributeWarpSize  +

Warp size in threads.

+
hipDeviceAttributeMaxRegistersPerBlock  +

Maximum number of 32-bit registers available to a thread block. This number is shared by all thread blocks simultaneously resident on a multiprocessor.

+
hipDeviceAttributeClockRate  +

Peak clock frequency in kilohertz.

+
hipDeviceAttributeMemoryClockRate  +

Peak memory clock frequency in kilohertz.

+
hipDeviceAttributeMemoryBusWidth  +

Global memory bus width in bits.

+
hipDeviceAttributeMultiprocessorCount  +

Number of multiprocessors on the device.

+
hipDeviceAttributeComputeMode  +

Compute mode that device is currently in.

+
hipDeviceAttributeL2CacheSize  +

Size of L2 cache in bytes. 0 if the device doesn't have L2 cache.

+
hipDeviceAttributeMaxThreadsPerMultiProcessor  +

Maximum resident threads per multiprocessor.

+
hipDeviceAttributeComputeCapabilityMajor  +

Major compute capability version number.

+
hipDeviceAttributeComputeCapabilityMinor  +

Minor compute capability version number.

+
hipDeviceAttributeConcurrentKernels  +

Device can possibly execute multiple kernels concurrently.

+
hipDeviceAttributePciBusId  +

PCI Bus ID.

+
hipDeviceAttributePciDeviceId  +

PCI Device ID.

+
hipDeviceAttributeMaxSharedMemoryPerMultiprocessor  +

Maximum Shared Memory Per Multiprocessor.

+
hipDeviceAttributeIsMultiGpuBoard  +

Multiple GPU devices.

+
+ +
+
+ +
+
+ + + + +
enum hipError_t
+
+ + + + + + + + + + + + + + + + + + + + +
Enumerator
hipSuccess  +

Successful completion.

+
hipErrorMemoryAllocation  +

Memory allocation error.

+
hipErrorLaunchOutOfResources  +

Out of resources error.

+
hipErrorInvalidValue  +

One or more of the parameters passed to the API call is NULL or not in an acceptable range.

+
hipErrorInvalidResourceHandle  +

Resource handle (hipEvent_t or hipStream_t) invalid.

+
hipErrorInvalidDevice  +

DeviceID must be in range 0...#compute-devices.

+
hipErrorInvalidMemcpyDirection  +

Invalid memory copy direction.

+
hipErrorInvalidDevicePointer  +

Invalid Device Pointer.

+
hipErrorInitializationError  +

TODO comment from hipErrorInitializationError.

+
hipErrorNoDevice  +

Call to hipGetDeviceCount returned 0 devices.

+
hipErrorNotReady  +

Indicates that asynchronous operations enqueued earlier are not ready. This is not actually an error, but is used to distinguish from hipSuccess (which indicates completion). APIs that return this error include hipEventQuery and hipStreamQuery.

+
hipErrorUnknown  +

Unknown error.

+
hipErrorPeerAccessNotEnabled  +

Peer access was never enabled from the current device.

+
hipErrorPeerAccessAlreadyEnabled  +

Peer access was already enabled from the current device.

+
hipErrorRuntimeMemory  +

HSA runtime memory call returned error. Typically not seen in production systems.

+
hipErrorRuntimeOther  +

HSA runtime call other than memory returned error. Typically not seen in production systems.

+
hipErrorHostMemoryAlreadyRegistered  +

Produced when trying to lock a page-locked memory.

+
hipErrorHostMemoryNotRegistered  +

Produced when trying to unlock a non-page-locked memory.

+
hipErrorTbd  +

Marker that more error codes are needed.

+
+ +
+
+ +
+
+ + + + +
enum hipFuncCache
+
+
Warning
On AMD devices and recent Nvidia devices, these hints and controls are ignored.
+ + + + + +
Enumerator
hipFuncCachePreferNone  +

no preference for shared memory or L1 (default)

+
hipFuncCachePreferShared  +

prefer larger shared memory and smaller L1 cache

+
hipFuncCachePreferL1  +

prefer larger L1 cache and smaller shared memory

+
hipFuncCachePreferEqual  +

prefer equal size L1 cache and shared memory

+
+ +
+
+ +
+
+ + + + +
enum hipMemcpyKind
+
+

Memory copy types

+ + + + + + +
Enumerator
hipMemcpyHostToHost  +

Host-to-Host Copy.

+
hipMemcpyHostToDevice  +

Host-to-Device Copy.

+
hipMemcpyDeviceToHost  +

Device-to-Host Copy.

+
hipMemcpyDeviceToDevice  +

Device-to-Device Copy.

+
hipMemcpyDefault  +

Runtime will automatically determine copy-kind based on virtual addresses.

+
+ +
+
+ +
+
+ + + + +
enum hipSharedMemConfig
+
+
Warning
On AMD devices and recent Nvidia devices, these hints and controls are ignored.
+ + + + +
Enumerator
hipSharedMemBankSizeDefault  +

The compiler selects a device-specific value for the banking.

+
hipSharedMemBankSizeFourByte  +

Shared mem is banked at 4-bytes intervals and performs best when adjacent threads access data 4 bytes apart.

+
hipSharedMemBankSizeEightByte  +

Shared mem is banked at 8-byte intervals and performs best when adjacent threads access data 4 bytes apart.

+
+ +
+
+
+ + + + diff --git a/docs/RuntimeAPI/html/group__HCC__Specific.html b/docs/RuntimeAPI/html/group__HCC__Specific.html new file mode 100644 index 0000000000..735bda40e9 --- /dev/null +++ b/docs/RuntimeAPI/html/group__HCC__Specific.html @@ -0,0 +1,96 @@ + + + + + + +HIP: Heterogenous-computing Interface for Portability: HCC-Specific Accessors + + + + + + + + + +
+
+ + + + + + +
+
HIP: Heterogenous-computing Interface for Portability +
+
+
+ + + + +
+ + + + +
+ +
+ +
+
+
HCC-Specific Accessors
+
+
+

----------------------------------------------------------------------------------------------—

+

The following calls are only supported when compiler HIP with HCC. To produce portable code, use of these calls must be guarded #ifdef checks:

+
#ifdef __HCC__
+
hc::accelerator acc;
+
hipError_t err = hipHccGetAccelerator(deviceId, &acc)
+
#endif
+
+ + + + diff --git a/docs/RuntimeAPI/html/group__HIP-ENV.html b/docs/RuntimeAPI/html/group__HIP-ENV.html new file mode 100644 index 0000000000..691dd285ec --- /dev/null +++ b/docs/RuntimeAPI/html/group__HIP-ENV.html @@ -0,0 +1,90 @@ + + + + + + +HIP: Heterogenous-computing Interface for Portability: HIP Environment Variables + + + + + + + + + +
+
+ + + + + + +
+
HIP: Heterogenous-computing Interface for Portability +
+
+
+ + + + +
+ + + + +
+ +
+ +
+
+
HIP Environment Variables
+
+
+
+ + + + diff --git a/docs/RuntimeAPI/html/group__Memory.html b/docs/RuntimeAPI/html/group__Memory.html new file mode 100644 index 0000000000..110b246e0d --- /dev/null +++ b/docs/RuntimeAPI/html/group__Memory.html @@ -0,0 +1,836 @@ + + + + + + +HIP: Heterogenous-computing Interface for Portability: Memory Management + + + + + + + + + +
+
+ + + + + + +
+
HIP: Heterogenous-computing Interface for Portability +
+
+
+ + + + +
+ + + + +
+ +
+ +
+ +
+
Memory Management
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Functions

hipError_t hipPointerGetAttributes (hipPointerAttribute_t *attributes, void *ptr)
 Return attributes for the specified pointer. More...
 
hipError_t hipMalloc (void **ptr, size_t size)
 Allocate memory on the default accelerator. More...
 
hipError_t hipMallocHost (void **ptr, size_t size) __attribute__((deprecated("use hipHostMalloc instead")))
 Allocate pinned host memory. More...
 
hipError_t hipHostMalloc (void **ptr, size_t size, unsigned int flags)
 Allocate device accessible page locked host memory. More...
 
+hipError_t hipHostAlloc (void **ptr, size_t size, unsigned int flags) __attribute__((deprecated("use hipHostMalloc instead")))
 
hipError_t hipHostGetDevicePointer (void **devPtr, void *hstPtr, unsigned int flags)
 Get Device pointer from Host Pointer allocated through hipHostAlloc. More...
 
hipError_t hipHostGetFlags (unsigned int *flagsPtr, void *hostPtr)
 Get flags associated with host pointer. More...
 
hipError_t hipHostRegister (void *hostPtr, size_t sizeBytes, unsigned int flags)
 Register host memory so it can be accessed from the current device. More...
 
hipError_t hipHostUnregister (void *hostPtr)
 Un-register host pointer. More...
 
hipError_t hipFree (void *ptr)
 Free memory allocated by the hcc hip memory allocation API. This API performs an implicit hipDeviceSynchronize() call. If pointer is NULL, the hip runtime is initialized and hipSuccess is returned. More...
 
hipError_t hipFreeHost (void *ptr) __attribute__((deprecated("use hipHostFree instead")))
 Free memory allocated by the hcc hip host memory allocation API. [Deprecated.]. More...
 
hipError_t hipHostFree (void *ptr)
 Free memory allocated by the hcc hip host memory allocation API This API performs an implicit hipDeviceSynchronize() call. If pointer is NULL, the hip runtime is initialized and hipSuccess is returned. More...
 
hipError_t hipMemcpy (void *dst, const void *src, size_t sizeBytes, hipMemcpyKind kind)
 Copy data from src to dst. More...
 
hipError_t hipMemcpyToSymbol (const char *symbolName, const void *src, size_t sizeBytes, size_t offset, hipMemcpyKind kind)
 Copies sizeBytes bytes from the memory area pointed to by src to the memory area pointed to by offset bytes from the start of symbol symbol. More...
 
hipError_t hipMemcpyAsync (void *dst, const void *src, size_t sizeBytes, hipMemcpyKind kind, hipStream_t stream)
 Copy data from src to dst asynchronously. More...
 
hipError_t hipMemset (void *dst, int value, size_t sizeBytes)
 Copy data from src to dst asynchronously. More...
 
hipError_t hipMemsetAsync (void *dst, int value, size_t sizeBytes, hipStream_t stream)
 Fills the first sizeBytes bytes of the memory area pointed to by dev with the constant byte value value. More...
 
hipError_t hipMemGetInfo (size_t *free, size_t *total)
 Query memory info. Return snapshot of free memory, and total allocatable memory on the device. More...
 
+

Detailed Description

+

----------------------------------------------------------------------------------------------—

+

The following CUDA APIs are not currently supported:

+
    +
  • cudaMalloc3D
  • +
  • cudaMalloc3DArray
  • +
  • TODO - more 2D, 3D, array APIs here.
  • +
+

Function Documentation

+ +
+
+ + + + + + + + +
hipError_t hipFree (void * ptr)
+
+ +

Free memory allocated by the hcc hip memory allocation API. This API performs an implicit hipDeviceSynchronize() call. If pointer is NULL, the hip runtime is initialized and hipSuccess is returned.

+
Parameters
+ + +
[in]ptrPointer to memory to be freed
+
+
+
Returns
hipSuccess
+
+hipErrorInvalidDevicePointer (if pointer is invalid, including host pointers allocated with hipHostMalloc)
+ +
+
+ +
+
+ + + + + + + + +
hipError_t hipFreeHost (void * ptr)
+
+ +

Free memory allocated by the hcc hip host memory allocation API. [Deprecated.].

+
See Also
hipHostFree
+ +
+
+ +
+
+ + + + + + + + +
hipError_t hipHostFree (void * ptr)
+
+ +

Free memory allocated by the hcc hip host memory allocation API This API performs an implicit hipDeviceSynchronize() call. If pointer is NULL, the hip runtime is initialized and hipSuccess is returned.

+
Parameters
+ + +
[in]ptrPointer to memory to be freed
+
+
+
Returns
hipSuccess, hipErrorInvalidValue (if pointer is invalid, including device pointers allocated with hipMalloc)
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
hipError_t hipHostGetDevicePointer (void ** devPtr,
void * hstPtr,
unsigned int flags 
)
+
+ +

Get Device pointer from Host Pointer allocated through hipHostAlloc.

+
Parameters
+ + + + +
[out]dstPtrDevice Pointer mapped to passed host pointer
[in]hstPtrHost Pointer allocated through hipHostAlloc
[in]flagsFlags to be passed for extension
+
+
+
Returns
Error code
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
hipError_t hipHostGetFlags (unsigned int * flagsPtr,
void * hostPtr 
)
+
+ +

Get flags associated with host pointer.

+
Parameters
+ + + +
[out]flagsPtrMemory location to store flags
[in]hostPtrHost Pointer allocated through hipHostMalloc
+
+
+
Returns
Error code
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
hipError_t hipHostMalloc (void ** ptr,
size_t size,
unsigned int flags 
)
+
+ +

Allocate device accessible page locked host memory.

+
Parameters
+ + + + +
[out]ptrPointer to the allocated host pinned memory
[in]sizeRequested memory size
[in]flagsType of host memory allocation
+
+
+
Returns
Error code
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
hipError_t hipHostRegister (void * hostPtr,
size_t sizeBytes,
unsigned int flags 
)
+
+ +

Register host memory so it can be accessed from the current device.

+
Parameters
+ + + + +
[out]hostPtrPointer to host memory to be registered.
[in]sizeBytessize of the host memory
[in]flags.See below.
+
+
+

Flags:

+ +

After registering the memory, use hipHostGetDevicePointer to obtain the mapped device pointer. On many systems, the mapped device pointer will have a different value than the mapped host pointer. Applications must use the device pointer in device code, and the host pointer in device code.

+

On some systems, registered memory is pinned. On some systems, registered memory may not be actually be pinned but uses OS or hardware facilities to all GPU access to the host memory.

+

Developers are strongly encouraged to register memory blocks which are aligned to the host cache-line size. (typically 64-bytes but can be obtains from the CPUID instruction).

+

If registering non-aligned pointers, the application must take care when register pointers from the same cache line on different devices. HIP's coarse-grained synchronization model does not guarantee correct results if different devices write to different parts of the same cache block - typically one of the writes will "win" and overwrite data from the other registered memory region.

+
Returns
hipSuccess, hipErrorMemoryAllocation
+ +
+
+ +
+
+ + + + + + + + +
hipError_t hipHostUnregister (void * hostPtr)
+
+ +

Un-register host pointer.

+
Parameters
+ + +
[in]hostPtrHost pointer previously registered with hipHostRegister
+
+
+
Returns
Error code
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
hipError_t hipMalloc (void ** ptr,
size_t sizeBytes 
)
+
+ +

Allocate memory on the default accelerator.

+
Parameters
+ + + +
[out]ptrPointer to the allocated memory
[in]sizeRequested memory size
+
+
+
Returns
hipSuccess
+
+hipSuccess hipErrorMemoryAllocation
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
hipError_t hipMallocHost (void ** ptr,
size_t size 
)
+
+ +

Allocate pinned host memory.

+
Parameters
+ + + +
[out]ptrPointer to the allocated host pinned memory
[in]sizeRequested memory size
+
+
+
Returns
Error code
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
hipError_t hipMemcpy (void * dst,
const void * src,
size_t sizeBytes,
hipMemcpyKind kind 
)
+
+ +

Copy data from src to dst.

+

It supports memory from host to device, device to host, device to device and host to host The src and dst must not overlap.

+

For hipMemcpy, the copy is always performed by the current device (set by hipSetDevice). For multi-gpu or peer-to-peer configurations, it is recommended to set the current device to the device where the src data is physically located. For optimal peer-to-peer copies, the copy device must be able to access the src and dst pointers (by calling hipDeviceEnablePeerAccess with copy agent as the current device and src/dest as the peerDevice argument. if this is not done, the hipMemcpy will still work, but will perform the copy using a staging buffer on the host.

+
Parameters
+ + + + + +
[out]dstData being copy to
[in]srcData being copy from
[in]sizeBytesData size in bytes
[in]copyTypeMemory copy type
+
+
+
Returns
hipSuccess, hipErrorInvalidValue, #hipErrorMemoryFree, hipErrorUnknown
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
hipError_t hipMemcpyAsync (void * dst,
const void * src,
size_t sizeBytes,
hipMemcpyKind kind,
hipStream_t stream 
)
+
+ +

Copy data from src to dst asynchronously.

+
Warning
If host or dest are not pinned, the memory copy will be performed synchronously. For best performance, use hipHostMalloc to allocate host memory that is transferred asynchronously.
+

For hipMemcpy, the copy is always performed by the device associated with the specified stream.

+

For multi-gpu or peer-to-peer configurations, it is recommended to use a stream which is a attached to the device where the src data is physically located. For optimal peer-to-peer copies, the copy device must be able to access the src and dst pointers (by calling hipDeviceEnablePeerAccess with copy agent as the current device and src/dest as the peerDevice argument. if this is not done, the hipMemcpy will still work, but will perform the copy using a staging buffer on the host.

+
Parameters
+ + + + + +
[out]dstData being copy to
[in]srcData being copy from
[in]sizeBytesData size in bytes
[in]accelerator_viewAccelerator view which the copy is being enqueued
+
+
+
Returns
hipSuccess, hipErrorInvalidValue, #hipErrorMemoryFree, hipErrorUnknown
+
+hipSuccess, hipErrorInvalidDevice, hipErrorInvalidMemcpyDirection,
+
+hipErrorInvalidValue : If dst==NULL or src==NULL, or other bad argument.
+
Warning
on HCC hipMemcpyAsync does not support overlapped H2D and D2H copies.
+
+on HCC hipMemcpyAsync requires that any host pointers are pinned (ie via the hipMallocHost call).
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
hipError_t hipMemcpyToSymbol (const char * symbolName,
const void * src,
size_t sizeBytes,
size_t offset,
hipMemcpyKind kind 
)
+
+ +

Copies sizeBytes bytes from the memory area pointed to by src to the memory area pointed to by offset bytes from the start of symbol symbol.

+

The memory areas may not overlap. Symbol can either be a variable that resides in global or constant memory space, or it can be a character string, naming a variable that resides in global or constant memory space. Kind can be either hipMemcpyHostToDevice or hipMemcpyDeviceToDevice TODO: cudaErrorInvalidSymbol and cudaErrorInvalidMemcpyDirection is not supported, use hipErrorUnknown for now.

+
Parameters
+ + + + + + +
[in]symbolName- Symbol destination on device
[in]src- Data being copy from
[in]sizeBytes- Data size in bytes
[in]offset- Offset from start of symbol in bytes
[in]kind- Type of transfer
+
+
+
Returns
hipSuccess, hipErrorInvalidValue, #hipErrorMemoryFree, hipErrorUnknown
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
hipError_t hipMemGetInfo (size_t * free,
size_t * total 
)
+
+ +

Query memory info. Return snapshot of free memory, and total allocatable memory on the device.

+

Returns in *free a snapshot of the current free memory o

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
hipError_t hipMemset (void * dst,
int value,
size_t sizeBytes 
)
+
+ +

Copy data from src to dst asynchronously.

+

It supports memory from host to device, device to host, device to device and host to host.

+
Parameters
+ + + + + +
[out]dstData being copy to
[in]srcData being copy from
[in]sizeBytesData size in bytes
[in]accelerator_viewAccelerator view which the copy is being enqueued
+
+
+
Returns
hipSuccess, hipErrorInvalidValue, #hipErrorMemoryFree
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
hipError_t hipMemsetAsync (void * dst,
int value,
size_t sizeBytes,
hipStream_t stream 
)
+
+ +

Fills the first sizeBytes bytes of the memory area pointed to by dev with the constant byte value value.

+

hipMemsetAsync() is asynchronous with respect to the host, so the call may return before the memset is complete. The operation can optionally be associated to a stream by passing a non-zero stream argument. If stream is non-zero, the operation may overlap with operations in other streams.

+
Parameters
+ + + + + +
[out]dstPointer to device memory
[in]value- Value to set for each byte of specified memory
[in]sizeBytes- Size in bytes to set
[in]stream- Stream identifier
+
+
+
Returns
hipSuccess, hipErrorInvalidValue, #hipErrorMemoryFree
+
+hipErrorInvalidValue
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
hipError_t hipPointerGetAttributes (hipPointerAttribute_tattributes,
void * ptr 
)
+
+ +

Return attributes for the specified pointer.

+
Returns
hipSuccess, hipErrorInvalidValue, hipErrorInvalidDevice
+ +
+
+
+ + + + diff --git a/docs/RuntimeAPI/html/group__PeerToPeer.html b/docs/RuntimeAPI/html/group__PeerToPeer.html new file mode 100644 index 0000000000..5f962a7bfe --- /dev/null +++ b/docs/RuntimeAPI/html/group__PeerToPeer.html @@ -0,0 +1,223 @@ + + + + + + +HIP: Heterogenous-computing Interface for Portability: Device Memory Access + + + + + + + + + +
+
+ + + + + + +
+
HIP: Heterogenous-computing Interface for Portability +
+
+
+ + + + +
+ + + + +
+ +
+ +
+ +
+
Device Memory Access
+
+
+ + + + + + + + + + + +

+Functions

hipError_t hipDeviceCanAccessPeer (int *canAccessPeer, int deviceId, int peerDeviceId)
 Determine if a device can access a peer's memory. More...
 
hipError_t hipDeviceEnablePeerAccess (int peerDeviceId, unsigned int flags)
 Enable direct access from current device's virtual address space to memory allocations physically located on a peer device. More...
 
hipError_t hipDeviceDisablePeerAccess (int peerDeviceId)
 Disable direct access from current device's virtual address space to memory allocations physically located on a peer device. More...
 
+

Detailed Description

+

----------------------------------------------------------------------------------------------—

+
Warning
PeerToPeer support is experimental.
+

Function Documentation

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
hipError_t hipDeviceCanAccessPeer (int * canAccessPeer,
int deviceId,
int peerDeviceId 
)
+
+ +

Determine if a device can access a peer's memory.

+
Parameters
+ + + + +
[out]canAccessPeerReturns the peer access capability (0 or 1)
[in]device- device from where memory may be accessed.
[in]peerDevice- device where memory is physically located
+
+
+

Returns "1" in canAccessPeer if the specified device is capable of directly accessing memory physically located on peerDevice , or "0" if not.

+

Returns "0" in canAccessPeer if deviceId == peerDeviceId, and both are valid devices : a device is not a peer of itself.

+
Returns
hipSuccess,
+
+hipErrorInvalidDevice if deviceId or peerDeviceId are not valid devices
+
Warning
PeerToPeer support is experimental.
+

HCC returns 0 in *canAccessPeer ; Need to update this function when RT supports P2P

+ +
+
+ +
+
+ + + + + + + + +
hipError_t hipDeviceDisablePeerAccess (int peerDeviceId)
+
+ +

Disable direct access from current device's virtual address space to memory allocations physically located on a peer device.

+

Returns hipErrorPeerAccessNotEnabled if direct access to memory on peerDevice has not yet been enabled from the current device.

+
Parameters
+ + +
[in]peerDeviceId
+
+
+
Returns
hipSuccess, hipErrorPeerAccessNotEnabled
+
Warning
PeerToPeer support is experimental.
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
hipError_t hipDeviceEnablePeerAccess (int peerDeviceId,
unsigned int flags 
)
+
+ +

Enable direct access from current device's virtual address space to memory allocations physically located on a peer device.

+

Memory which already allocated on peer device will be mapped into the address space of the current device. In addition, all future memory allocations on peerDeviceId will be mapped into the address space of the current device when the memory is allocated. The peer memory remains accessible from the current device until a call to hipDeviceDisablePeerAccess or hipDeviceReset.

+
Parameters
+ + + +
[in]peerDeviceId
[in]flagsReturns hipSuccess, hipErrorInvalidDevice, hipErrorInvalidValue,
+
+
+
Returns
hipErrorPeerAccessAlreadyEnabled if peer access is already enabled for this device.
+
Warning
PeerToPeer support is experimental.
+ +
+
+
+ + + + diff --git a/docs/RuntimeAPI/html/group__Profiler.html b/docs/RuntimeAPI/html/group__Profiler.html new file mode 100644 index 0000000000..2413ec7a3b --- /dev/null +++ b/docs/RuntimeAPI/html/group__Profiler.html @@ -0,0 +1,93 @@ + + + + + + +HIP: Heterogenous-computing Interface for Portability: Control + + + + + + + + + +
+
+ + + + + + +
+
HIP: Heterogenous-computing Interface for Portability +
+
+
+ + + + +
+ + + + +
+ +
+ +
+
+
Control
+
+
+

----------------------------------------------------------------------------------------------—

+
Warning
The cudaProfilerInitialize API format for "configFile" is not supported.
+

On AMD platforms, hipProfilerStart and hipProfilerStop require installation of AMD's GPU perf counter API and defining GPU_PERF

+
+ + + + diff --git a/docs/RuntimeAPI/html/group__Stream.html b/docs/RuntimeAPI/html/group__Stream.html new file mode 100644 index 0000000000..0d0226174a --- /dev/null +++ b/docs/RuntimeAPI/html/group__Stream.html @@ -0,0 +1,322 @@ + + + + + + +HIP: Heterogenous-computing Interface for Portability: Stream Management + + + + + + + + + +
+
+ + + + + + +
+
HIP: Heterogenous-computing Interface for Portability +
+
+
+ + + + +
+ + + + +
+ +
+ +
+ +
+
Stream Management
+
+
+ + + + + + + + + + + + + + + + + + + + +

+Functions

hipError_t hipStreamCreateWithFlags (hipStream_t *stream, unsigned int flags)
 Create an asynchronous stream. More...
 
hipError_t hipStreamCreate (hipStream_t *stream)
 Create an asynchronous stream. More...
 
hipError_t hipStreamWaitEvent (hipStream_t stream, hipEvent_t event, unsigned int flags)
 Make the specified compute stream wait for an event. More...
 
hipError_t hipStreamSynchronize (hipStream_t stream)
 Wait for all commands in stream to complete. More...
 
hipError_t hipStreamDestroy (hipStream_t stream)
 Destroys the specified stream. More...
 
hipError_t hipStreamGetFlags (hipStream_t stream, unsigned int *flags)
 Return flags associated with this stream. More...
 
+

Detailed Description

+

----------------------------------------------------------------------------------------------—

+

The following Stream APIs are not (yet) supported in HIP:

+
    +
  • cudaStreamCreateWithPriority
  • +
  • cudaStreamGetPriority
  • +
+

Function Documentation

+ +
+
+ + + + + + + + +
hipError_t hipStreamCreate (hipStream_t * stream)
+
+ +

Create an asynchronous stream.

+
Parameters
+ + +
[in,out]streamValid pointer to hipStream_t. This function writes the memory with the newly created stream.
+
+
+
Returns
hipSuccess, hipErrorInvalidValue
+

Create a new asynchronous stream. stream returns an opaque handle that can be used to reference the newly created stream in subsequent hipStream* commands. The stream is allocated on the heap and will remain allocated even if the handle goes out-of-scope. To release the memory used by the stream, applicaiton must call hipStreamDestroy.

+
See Also
hipStreamDestroy
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
hipError_t hipStreamCreateWithFlags (hipStream_t * stream,
unsigned int flags 
)
+
+ +

Create an asynchronous stream.

+
Parameters
+ + + +
[in,out]streamPointer to new stream
[in]flagsto control stream creation.
+
+
+
Returns
hipSuccess, hipErrorInvalidValue
+

Create a new asynchronous stream. stream returns an opaque handle that can be used to reference the newly created stream in subsequent hipStream* commands. The stream is allocated on the heap and will remain allocated

+

even if the handle goes out-of-scope. To release the memory used by the stream, applicaiton must call hipStreamDestroy. Flags controls behavior of the stream. See hipStreamDefault, hipStreamNonBlocking. hipStream_t are under development - with current HIP use the NULL stream.

+ +
+
+ +
+
+ + + + + + + + +
hipError_t hipStreamDestroy (hipStream_t stream)
+
+ +

Destroys the specified stream.

+
Parameters
+ + +
[in,out]streamValid pointer to hipStream_t. This function writes the memory with the newly created stream.
+
+
+
Returns
hipSuccess
+

Destroys the specified stream.

+

If commands are still executing on the specified stream, some may complete execution before the queue is deleted.

+

The queue may be destroyed while some commands are still inflight, or may wait for all commands queued to the stream before destroying it.

+
Returns
hipSuccess, hipErrorInvalidResourceHandle
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
hipError_t hipStreamGetFlags (hipStream_t stream,
unsigned int * flags 
)
+
+ +

Return flags associated with this stream.

+
Parameters
+ + + +
[in]stream
[in,out]flags
+
+
+
Returns
hipSuccess, hipErrorInvalidValue, hipErrorInvalidResourceHandle
+

Return flags associated with this stream in *flags.

+
See Also
hipStreamCreateWithFlags
+
Returns
hipSuccess
+ +
+
+ +
+
+ + + + + + + + +
hipError_t hipStreamSynchronize (hipStream_t stream)
+
+ +

Wait for all commands in stream to complete.

+

If the null stream is specified, this command blocks until all

+

This command honors the hipDeviceLaunchBlocking flag, which controls whether the wait is active or blocking.

+

This command is host-synchronous : the host will block until the stream is empty.

+

TODO

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
hipError_t hipStreamWaitEvent (hipStream_t stream,
hipEvent_t event,
unsigned int flags 
)
+
+ +

Make the specified compute stream wait for an event.

+
Parameters
+ + + + +
[in]streamstream to make wait.
[in]eventevent to wait on
[in]flagscontrol operation [must be 0]
+
+
+
Returns
hipSuccess, hipErrorInvalidResourceHandle
+

This function inserts a wait operation into the specified stream. All future work submitted to stream will wait until event reports completion before beginning execution. This function is host-asynchronous and the function may return before the wait has completed.

+
Bug:
This function conservatively waits for all work in the specified stream to complete.
+ +
+
+
+ + + + diff --git a/docs/RuntimeAPI/html/group__Texture.html b/docs/RuntimeAPI/html/group__Texture.html new file mode 100644 index 0000000000..27bc7ecbac --- /dev/null +++ b/docs/RuntimeAPI/html/group__Texture.html @@ -0,0 +1,129 @@ + + + + + + +HIP: Heterogenous-computing Interface for Portability: Texture Reference Management + + + + + + + + + +
+
+ + + + + + +
+
HIP: Heterogenous-computing Interface for Portability +
+
+
+ + + + +
+ + + + +
+ +
+ +
+ +
+
Texture Reference Management
+
+
+ + + + + + + + + + + + + + +

+Functions

+template<class T >
hipChannelFormatDesc hipCreateChannelDesc ()
 
+template<class T , int dim, enum hipTextureReadMode readMode>
hipError_t hipBindTexture (size_t *offset, struct texture< T, dim, readMode > &tex, const void *devPtr, const struct hipChannelFormatDesc *desc, size_t size=UINT_MAX)
 
+template<class T , int dim, enum hipTextureReadMode readMode>
hipError_t hipBindTexture (size_t *offset, struct texture< T, dim, readMode > &tex, const void *devPtr, size_t size=UINT_MAX)
 
+template<class T , int dim, enum hipTextureReadMode readMode>
hipError_t hipUnbindTexture (struct texture< T, dim, readMode > *tex)
 
+

Detailed Description

+

----------------------------------------------------------------------------------------------—

+
Warning
The HIP texture API implements a small subset of full texture API. Known limitations include:
    +
  • Only point sampling is supported.
  • +
  • Only C++ APIs are provided.
  • +
  • Many APIs and modes are not implemented.
  • +
+
+

The HIP texture support is intended to allow use of texture cache on hardware where this is beneficial.

+

The following CUDA APIs are not currently supported:

+
    +
  • cudaBindTexture2D
  • +
  • cudaBindTextureToArray
  • +
  • cudaBindTextureToMipmappedArray
  • +
  • cudaGetChannelDesc
  • +
  • cudaGetTextureReference
  • +
+
+ + + + diff --git a/docs/RuntimeAPI/html/group__Version.html b/docs/RuntimeAPI/html/group__Version.html new file mode 100644 index 0000000000..3ee1acbe46 --- /dev/null +++ b/docs/RuntimeAPI/html/group__Version.html @@ -0,0 +1,122 @@ + + + + + + +HIP: Heterogenous-computing Interface for Portability: Management + + + + + + + + + +
+
+ + + + + + +
+
HIP: Heterogenous-computing Interface for Portability +
+
+
+ + + + +
+ + + + +
+ +
+ +
+ +
+
Management
+
+
+ + + + + +

+Functions

hipError_t hipDriverGetVersion (int *driverVersion)
 Returns the approximate HIP driver version. More...
 
+

Detailed Description

+

----------------------------------------------------------------------------------------------—

+

Function Documentation

+ +
+
+ + + + + + + + +
hipError_t hipDriverGetVersion (int * driverVersion)
+
+ +

Returns the approximate HIP driver version.

+
Warning
The HIP feature set does not correspond to an exact CUDA SDK driver revision. This function always set *driverVersion to 4 as an approximation though HIP supports some features which were introduced in later CUDA SDK revisions. HIP apps code should not rely on the driver revision number here and should use arch feature flags to test device capabilities or conditional compilation.
+
Returns
hipSuccess
+ +
+
+
+ + + + diff --git a/docs/RuntimeAPI/html/hcc_8h_source.html b/docs/RuntimeAPI/html/hcc_8h_source.html new file mode 100644 index 0000000000..6d0ac0d35b --- /dev/null +++ b/docs/RuntimeAPI/html/hcc_8h_source.html @@ -0,0 +1,108 @@ + + + + + + +HIP: Heterogenous-computing Interface for Portability: /home/mangupta/git/hip/release_0.90.00/include/hcc.h Source File + + + + + + + + + +
+
+ + + + + + +
+
HIP: Heterogenous-computing Interface for Portability +
+
+
+ + + + + + + + + +
+ +
+ + +
+
+
+
hcc.h
+
+
+
1 #ifndef HCC_H
+
2 #define HCC_H
+
3 
+
4 #if defined(__HIP_PLATFORM_HCC__) && !defined (__HIP_PLATFORM_NVCC__)
+
5 #include <hcc_detail/hcc_acc.h>
+
6 #endif
+
7 
+
8 #endif
+
+ + + + diff --git a/docs/RuntimeAPI/html/hcc__acc_8h_source.html b/docs/RuntimeAPI/html/hcc__acc_8h_source.html new file mode 100644 index 0000000000..9494a6be4d --- /dev/null +++ b/docs/RuntimeAPI/html/hcc__acc_8h_source.html @@ -0,0 +1,117 @@ + + + + + + +HIP: Heterogenous-computing Interface for Portability: /home/mangupta/git/hip/release_0.90.00/include/hcc_detail/hcc_acc.h Source File + + + + + + + + + +
+
+ + + + + + +
+
HIP: Heterogenous-computing Interface for Portability +
+
+
+ + + + + + + + + +
+ +
+ + +
+
+
+
hcc_acc.h
+
+
+
1 #ifndef HCC_ACC_H
+
2 #define HCC_ACC_H
+
3 #include "hip/hip_runtime_api.h"
+
4 
+
5 #if __cplusplus
+
6 #ifdef __HCC__
+
7 #include <hc.hpp>
+
11 hipError_t hipHccGetAccelerator(int deviceId, hc::accelerator *acc);
+
12 
+
16 hipError_t hipHccGetAcceleratorView(hipStream_t stream, hc::accelerator_view **av);
+
17 #endif
+
18 #endif
+
19 
+
20 #endif
+
hipError_t hipHccGetAccelerator(int deviceId, hc::accelerator *acc)
Definition: hip_hcc.cpp:1559
+
hipError_t
Definition: hip_runtime_api.h:144
+
hipError_t hipHccGetAcceleratorView(hipStream_t stream, hc::accelerator_view **av)
Definition: hip_hcc.cpp:1579
+
+ + + + diff --git a/docs/RuntimeAPI/html/hcc__detail_2hip__runtime_8h.html b/docs/RuntimeAPI/html/hcc__detail_2hip__runtime_8h.html new file mode 100644 index 0000000000..bf1bc780d2 --- /dev/null +++ b/docs/RuntimeAPI/html/hcc__detail_2hip__runtime_8h.html @@ -0,0 +1,987 @@ + + + + + + +HIP: Heterogenous-computing Interface for Portability: /home/mangupta/git/hip/release_0.90.00/include/hcc_detail/hip_runtime.h File Reference + + + + + + + + + +
+
+ + + + + + +
+
HIP: Heterogenous-computing Interface for Portability +
+
+
+ + + + + + + + + +
+ +
+ + +
+
+ +
+
hip_runtime.h File Reference
+
+
+ +

Contains definitions of APIs for HIP runtime. +More...

+
#include <cmath>
+#include <string.h>
+#include <stddef.h>
+#include <hip/hip_runtime_api.h>
+#include <grid_launch.h>
+#include <hip/hcc_detail/host_defines.h>
+
+

Go to the source code of this file.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Macros

+#define CUDA_SUCCESS   hipSuccess
 
+#define hipLaunchParm   grid_launch_parm
 
+#define __launch_bounds__(requiredMaxThreadsPerBlock, minBlocksPerMultiprocessor)
 
+#define clock_t   long long int
 
#define hipThreadIdx_x   (amp_get_local_id(2))
 
+#define hipThreadIdx_y   (amp_get_local_id(1))
 
+#define hipThreadIdx_z   (amp_get_local_id(0))
 
+#define hipBlockIdx_x   (hc_get_group_id(2))
 
+#define hipBlockIdx_y   (hc_get_group_id(1))
 
+#define hipBlockIdx_z   (hc_get_group_id(0))
 
+#define hipBlockDim_x   (amp_get_local_size(2))
 
+#define hipBlockDim_y   (amp_get_local_size(1))
 
+#define hipBlockDim_z   (amp_get_local_size(0))
 
+#define hipGridDim_x   (hc_get_num_groups(2))
 
+#define hipGridDim_y   (hc_get_num_groups(1))
 
+#define hipGridDim_z   (hc_get_num_groups(0))
 
+#define __syncthreads()   hc_barrier(CLK_LOCAL_MEM_FENCE)
 
+#define HIP_KERNEL_NAME(...)   __VA_ARGS__
 
#define HIP_DYNAMIC_SHARED(type, var)
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Functions

+__device__ float acosf (float x)
 
+__device__ float acoshf (float x)
 
+__device__ float asinf (float x)
 
+__device__ float asinhf (float x)
 
+__device__ float atan2f (float y, float x)
 
+__device__ float atanf (float x)
 
+__device__ float atanhf (float x)
 
+__device__ float cbrtf (float x)
 
+__device__ float ceilf (float x)
 
+__device__ float copysignf (float x, float y)
 
+__device__ float cosf (float x)
 
+__device__ float coshf (float x)
 
+__device__ float cyl_bessel_i0f (float x)
 
+__device__ float cyl_bessel_i1f (float x)
 
+__device__ float erfcf (float x)
 
+__device__ float erfcinvf (float y)
 
+__device__ float erfcxf (float x)
 
+__device__ float erff (float x)
 
+__device__ float erfinvf (float y)
 
+__device__ float exp10f (float x)
 
+__device__ float exp2f (float x)
 
+__device__ float expf (float x)
 
+__device__ float expm1f (float x)
 
+__device__ float fabsf (float x)
 
+__device__ float fdimf (float x, float y)
 
+__device__ __host__ float fdividef (float x, float y)
 
+__device__ float floorf (float x)
 
+__device__ float fmaf (float x, float y, float z)
 
+__device__ float fmaxf (float x, float y)
 
+__device__ float fminf (float x, float y)
 
+__device__ float fmodf (float x, float y)
 
+__device__ float frexpf (float x, float y)
 
+__device__ float hypotf (float x, float y)
 
+__device__ float ilogbf (float x)
 
+__host__ __device__ unsigned isfinite (float a)
 
+__device__ unsigned isinf (float a)
 
+__device__ unsigned isnan (float a)
 
+__device__ float j0f (float x)
 
+__device__ float j1f (float x)
 
+__device__ float jnf (int n, float x)
 
+__device__ float ldexpf (float x, int exp)
 
+__device__ float lgammaf (float x)
 
+__device__ long long int llrintf (float x)
 
+__device__ long long int llroundf (float x)
 
+__device__ float log10f (float x)
 
+__device__ float log1pf (float x)
 
+__device__ float log2f (float x)
 
+__device__ float logbf (float x)
 
+__device__ float logf (float x)
 
+__device__ long int lrintf (float x)
 
+__device__ long int lroundf (float x)
 
+__device__ float modff (float x, float *iptr)
 
+__device__ float nanf (const char *tagp)
 
+__device__ float nearbyintf (float x)
 
+__device__ float nextafterf (float x, float y)
 
+__device__ float norm3df (float a, float b, float c)
 
+__device__ float norm4df (float a, float b, float c, float d)
 
+__device__ float normcdff (float y)
 
+__device__ float normcdfinvf (float y)
 
+__device__ float normf (int dim, const float *a)
 
+__device__ float powf (float x, float y)
 
+__device__ float rcbrtf (float x)
 
+__device__ float remainderf (float x, float y)
 
+__device__ float remquof (float x, float y, int *quo)
 
+__device__ float rhypotf (float x, float y)
 
+__device__ float rintf (float x)
 
+__device__ float rnorm3df (float a, float b, float c)
 
+__device__ float rnorm4df (float a, float b, float c, float d)
 
+__device__ float rnormf (int dim, const float *a)
 
+__device__ float roundf (float x)
 
+__device__ float rsqrtf (float x)
 
+__device__ float scalblnf (float x, long int n)
 
+__device__ float scalbnf (float x, int n)
 
+__host__ __device__ unsigned signbit (float a)
 
+__device__ void sincosf (float x, float *sptr, float *cptr)
 
+__device__ void sincospif (float x, float *sptr, float *cptr)
 
+__device__ float sinf (float x)
 
+__device__ float sinhf (float x)
 
+__device__ float sinpif (float x)
 
+__device__ float sqrtf (float x)
 
+__device__ float tanf (float x)
 
+__device__ float tanhf (float x)
 
+__device__ float tgammaf (float x)
 
+__device__ float truncf (float x)
 
+__device__ float y0f (float x)
 
+__device__ float y1f (float x)
 
+__device__ float ynf (int n, float x)
 
+__host__ __device__ float cospif (float x)
 
+__device__ double acos (double x)
 
+__device__ double acosh (double x)
 
+__device__ double asin (double x)
 
+__device__ double asinh (double x)
 
+__device__ double atan (double x)
 
+__device__ double atan2 (double y, double x)
 
+__device__ double atanh (double x)
 
+__device__ double cbrt (double x)
 
+__device__ double ceil (double x)
 
+__device__ double copysign (double x, double y)
 
+__device__ double cos (double x)
 
+__device__ double cosh (double x)
 
+__host__ __device__ double cospi (double x)
 
+__device__ double cyl_bessel_i0 (double x)
 
+__device__ double cyl_bessel_i1 (double x)
 
+__device__ double erf (double x)
 
+__device__ double erfc (double x)
 
+__device__ double erfcinv (double y)
 
+__device__ double erfcx (double x)
 
+__device__ double erfinv (double x)
 
+__device__ double exp (double x)
 
+__device__ double exp10 (double x)
 
+__device__ double exp2 (double x)
 
+__device__ double expm1 (double x)
 
+__device__ double fabs (double x)
 
+__device__ double fdim (double x, double y)
 
+__device__ double fdivide (double x, double y)
 
+__device__ double floor (double x)
 
+__device__ double fma (double x, double y, double z)
 
+__device__ double fmax (double x, double y)
 
+__device__ double fmin (double x, double y)
 
+__device__ double fmod (double x, double y)
 
+__device__ double frexp (double x, int *nptr)
 
+__device__ double hypot (double x, double y)
 
+__device__ double ilogb (double x)
 
+__host__ __device__ unsigned isfinite (double x)
 
+__device__ unsigned isinf (double x)
 
+__device__ unsigned isnan (double x)
 
+__device__ double j0 (double x)
 
+__device__ double j1 (double x)
 
+__device__ double jn (int n, double x)
 
+__device__ double ldexp (double x, int exp)
 
+__device__ double lgamma (double x)
 
+__device__ long long llrint (double x)
 
+__device__ long long llround (double x)
 
+__device__ double log (double x)
 
+__device__ double log10 (double x)
 
+__device__ double log1p (double x)
 
+__device__ double log2 (double x)
 
+__device__ double logb (double x)
 
+__device__ long int lrint (double x)
 
+__device__ long int lround (double x)
 
+__device__ double modf (double x, double *iptr)
 
+__device__ double nan (const char *tagp)
 
+__device__ double nearbyint (double x)
 
+__device__ double nextafter (double x, double y)
 
+__device__ double norm (int dim, const double *t)
 
+__device__ double norm3d (double a, double b, double c)
 
+__device__ double norm4d (double a, double b, double c, double d)
 
+__device__ double normcdf (double y)
 
+__device__ double normcdfinv (double y)
 
+__device__ double pow (double x, double y)
 
+__device__ double rcbrt (double x)
 
+__device__ double remainder (double x, double y)
 
+__device__ double remquo (double x, double y, int *quo)
 
+__device__ double rhypot (double x, double y)
 
+__device__ double rint (double x)
 
+__device__ double rnorm (int dim, const double *t)
 
+__device__ double rnorm3d (double a, double b, double c)
 
+__device__ double rnorm4d (double a, double b, double c, double d)
 
+__device__ double round (double x)
 
+__host__ __device__ double rsqrt (double x)
 
+__device__ double scalbln (double x, long int n)
 
+__device__ double scalbn (double x, int n)
 
+__host__ __device__ unsigned signbit (double a)
 
+__device__ double sin (double a)
 
+__device__ void sincos (double x, double *sptr, double *cptr)
 
+__device__ void sincospi (double x, double *sptr, double *cptr)
 
+__device__ double sinh (double x)
 
+__host__ __device__ double sinpi (double x)
 
+__device__ double sqrt (double x)
 
+__device__ double tan (double x)
 
+__device__ double tanh (double x)
 
+__device__ double tgamma (double x)
 
+__device__ double trunc (double x)
 
+__device__ double y0 (double x)
 
+__device__ double y1 (double y)
 
+__device__ double yn (int n, double x)
 
+__device__ long long int clock64 ()
 
+__device__ clock_t clock ()
 
+__device__ int atomicAdd (int *address, int val)
 
+__device__ unsigned int atomicAdd (unsigned int *address, unsigned int val)
 
+__device__ unsigned long long int atomicAdd (unsigned long long int *address, unsigned long long int val)
 
+__device__ float atomicAdd (float *address, float val)
 
+__device__ int atomicSub (int *address, int val)
 
+__device__ unsigned int atomicSub (unsigned int *address, unsigned int val)
 
+__device__ int atomicExch (int *address, int val)
 
+__device__ unsigned int atomicExch (unsigned int *address, unsigned int val)
 
+__device__ unsigned long long int atomicExch (unsigned long long int *address, unsigned long long int val)
 
+__device__ float atomicExch (float *address, float val)
 
+__device__ int atomicMin (int *address, int val)
 
+__device__ unsigned int atomicMin (unsigned int *address, unsigned int val)
 
+__device__ unsigned long long int atomicMin (unsigned long long int *address, unsigned long long int val)
 
+__device__ int atomicMax (int *address, int val)
 
+__device__ unsigned int atomicMax (unsigned int *address, unsigned int val)
 
+__device__ unsigned long long int atomicMax (unsigned long long int *address, unsigned long long int val)
 
+__device__ int atomicCAS (int *address, int compare, int val)
 
+__device__ unsigned int atomicCAS (unsigned int *address, unsigned int compare, unsigned int val)
 
+__device__ unsigned long long int atomicCAS (unsigned long long int *address, unsigned long long int compare, unsigned long long int val)
 
+__device__ int atomicAnd (int *address, int val)
 
+__device__ unsigned int atomicAnd (unsigned int *address, unsigned int val)
 
+__device__ unsigned long long int atomicAnd (unsigned long long int *address, unsigned long long int val)
 
+__device__ int atomicOr (int *address, int val)
 
+__device__ unsigned int atomicOr (unsigned int *address, unsigned int val)
 
+__device__ unsigned long long int atomicOr (unsigned long long int *address, unsigned long long int val)
 
+__device__ int atomicXor (int *address, int val)
 
+__device__ unsigned int atomicXor (unsigned int *address, unsigned int val)
 
+__device__ unsigned long long int atomicXor (unsigned long long int *address, unsigned long long int val)
 
+__device__ unsigned int atomicInc (unsigned int *address, unsigned int val)
 
+__device__ unsigned int atomicDec (unsigned int *address, unsigned int val)
 
+__device__ unsigned int __popc (unsigned int input)
 
+__device__ unsigned int __popcll (unsigned long long int input)
 
+__device__ unsigned int __clz (unsigned int input)
 
+__device__ unsigned int __clzll (unsigned long long int input)
 
+__device__ unsigned int __clz (int input)
 
+__device__ unsigned int __clzll (long long int input)
 
+__device__ unsigned int __ffs (unsigned int input)
 
+__device__ unsigned int __ffsll (unsigned long long int input)
 
+__device__ unsigned int __ffs (int input)
 
+__device__ unsigned int __ffsll (long long int input)
 
+__device__ unsigned int __brev (unsigned int input)
 
+__device__ unsigned long long int __brevll (unsigned long long int input)
 
+__device__ int __all (int input)
 
+__device__ int __any (int input)
 
+__device__ unsigned long long int __ballot (int input)
 
+__device__ int __shfl (int input, int lane, int width)
 
+__device__ int __shfl_up (int input, unsigned int lane_delta, int width)
 
+__device__ int __shfl_down (int input, unsigned int lane_delta, int width)
 
+__device__ int __shfl_xor (int input, int lane_mask, int width)
 
+__device__ float __shfl (float input, int lane, int width)
 
+__device__ float __shfl_up (float input, unsigned int lane_delta, int width)
 
+__device__ float __shfl_down (float input, unsigned int lane_delta, int width)
 
+__device__ float __shfl_xor (float input, int lane_mask, int width)
 
+__host__ __device__ int min (int arg1, int arg2)
 
+__host__ __device__ int max (int arg1, int arg2)
 
+__device__ __attribute__ ((address_space(3))) void *__get_dynamicgroupbaseptr()
 
+__device__ float __cosf (float x)
 
+__device__ float __expf (float x)
 
+__device__ float __frsqrt_rn (float x)
 
+__device__ float __fsqrt_rd (float x)
 
+__device__ float __fsqrt_rn (float x)
 
+__device__ float __fsqrt_ru (float x)
 
+__device__ float __fsqrt_rz (float x)
 
+__device__ float __log10f (float x)
 
+__device__ float __log2f (float x)
 
+__device__ float __logf (float x)
 
+__device__ float __powf (float base, float exponent)
 
+__device__ void __sincosf (float x, float *s, float *c)
 
+__device__ float __sinf (float x)
 
+__device__ float __tanf (float x)
 
+__device__ float __dsqrt_rd (double x)
 
+__device__ float __dsqrt_rn (double x)
 
+__device__ float __dsqrt_ru (double x)
 
+__device__ float __dsqrt_rz (double x)
 
+ + + + + +

+Variables

+int HIP_TRACE_API
 
+const int warpSize
 
+

Detailed Description

+

Contains definitions of APIs for HIP runtime.

+

Macro Definition Documentation

+ +
+
+ + + + + + + + + + + + + + + + + + +
#define HIP_DYNAMIC_SHARED( type,
 var 
)
+
+Value:
__attribute__((address_space(3))) type* var = \
+
(__attribute__((address_space(3))) type*)__get_dynamicgroupbaseptr(); \
+

extern shared

+ +
+
+ +
+
+ + + + +
#define hipThreadIdx_x   (amp_get_local_id(2))
+
+

Kernel launching

+ +
+
+
+ + + + diff --git a/docs/RuntimeAPI/html/hcc__detail_2hip__runtime_8h_source.html b/docs/RuntimeAPI/html/hcc__detail_2hip__runtime_8h_source.html new file mode 100644 index 0000000000..dfc4a3a667 --- /dev/null +++ b/docs/RuntimeAPI/html/hcc__detail_2hip__runtime_8h_source.html @@ -0,0 +1,695 @@ + + + + + + +HIP: Heterogenous-computing Interface for Portability: /home/mangupta/git/hip/release_0.90.00/include/hcc_detail/hip_runtime.h Source File + + + + + + + + + +
+
+ + + + + + +
+
HIP: Heterogenous-computing Interface for Portability +
+
+
+ + + + + + + + + +
+ +
+ + +
+
+
+
hip_runtime.h
+
+
+Go to the documentation of this file.
1 /*
+
2 Copyright (c) 2015-2016 Advanced Micro Devices, Inc. All rights reserved.
+
3 
+
4 Permission is hereby granted, free of charge, to any person obtaining a copy
+
5 of this software and associated documentation files (the "Software"), to deal
+
6 in the Software without restriction, including without limitation the rights
+
7 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+
8 copies of the Software, and to permit persons to whom the Software is
+
9 furnished to do so, subject to the following conditions:
+
10 
+
11 The above copyright notice and this permission notice shall be included in
+
12 all copies or substantial portions of the Software.
+
13 
+
14 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+
15 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+
16 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+
17 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+
18 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+
19 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+
20 THE SOFTWARE.
+
21 */
+
27 //#pragma once
+
28 #ifndef HIP_RUNTIME_H
+
29 #define HIP_RUNTIME_H
+
30 
+
31 //---
+
32 // Top part of file can be compiled with any compiler
+
33 
+
34 
+
35 //#include <cstring>
+
36 #include <cmath>
+
37 #include <string.h>
+
38 #include <stddef.h>
+
39 
+
40 
+
41 #define CUDA_SUCCESS hipSuccess
+
42 
+
43 #include <hip/hip_runtime_api.h>
+
44 //#include "hip/hcc_detail/hip_hcc.h"
+
45 //---
+
46 // Remainder of this file only compiles with HCC
+
47 #ifdef __HCC__
+
48 #include <grid_launch.h>
+
49 extern int HIP_TRACE_API;
+
50 
+
51 //TODO-HCC-GL - change this to typedef.
+
52 //typedef grid_launch_parm hipLaunchParm ;
+
53 #define hipLaunchParm grid_launch_parm
+
54 #ifdef __cplusplus
+
55 #include <hip/hcc_detail/hip_texture.h>
+
56 #include <hip/hcc_detail/hip_ldg.h>
+
57 #endif
+
58 #include <hip/hcc_detail/host_defines.h>
+
59 // TODO-HCC remove old definitions ; ~1602 hcc supports __HCC_ACCELERATOR__ define.
+
60 #if defined (__KALMAR_ACCELERATOR__) && !defined (__HCC_ACCELERATOR__)
+
61 #define __HCC_ACCELERATOR__ __KALMAR_ACCELERATOR__
+
62 #endif
+
63 
+
64 // Feature tests:
+
65 #if defined(__HCC_ACCELERATOR__) && (__HCC_ACCELERATOR__ != 0)
+
66 // Device compile and not host compile:
+
67 
+
68 //TODO-HCC enable __HIP_ARCH_HAS_ATOMICS__ when HCC supports these.
+
69  // 32-bit Atomics:
+
70 #define __HIP_ARCH_HAS_GLOBAL_INT32_ATOMICS__ (1)
+
71 #define __HIP_ARCH_HAS_GLOBAL_FLOAT_ATOMIC_EXCH__ (1)
+
72 #define __HIP_ARCH_HAS_SHARED_INT32_ATOMICS__ (1)
+
73 #define __HIP_ARCH_HAS_SHARED_FLOAT_ATOMIC_EXCH__ (1)
+
74 #define __HIP_ARCH_HAS_FLOAT_ATOMIC_ADD__ (0)
+
75 
+
76 // 64-bit Atomics:
+
77 #define __HIP_ARCH_HAS_GLOBAL_INT64_ATOMICS__ (1)
+
78 #define __HIP_ARCH_HAS_SHARED_INT64_ATOMICS__ (0)
+
79 
+
80 // Doubles
+
81 #define __HIP_ARCH_HAS_DOUBLES__ (1)
+
82 
+
83 //warp cross-lane operations:
+
84 #define __HIP_ARCH_HAS_WARP_VOTE__ (1)
+
85 #define __HIP_ARCH_HAS_WARP_BALLOT__ (1)
+
86 #define __HIP_ARCH_HAS_WARP_SHUFFLE__ (1)
+
87 #define __HIP_ARCH_HAS_WARP_FUNNEL_SHIFT__ (0)
+
88 
+
89 //sync
+
90 #define __HIP_ARCH_HAS_THREAD_FENCE_SYSTEM__ (0)
+
91 #define __HIP_ARCH_HAS_SYNC_THREAD_EXT__ (0)
+
92 
+
93 // misc
+
94 #define __HIP_ARCH_HAS_SURFACE_FUNCS__ (0)
+
95 #define __HIP_ARCH_HAS_3DGRID__ (1)
+
96 #define __HIP_ARCH_HAS_DYNAMIC_PARALLEL__ (0)
+
97 
+
98 #endif /* Device feature flags */
+
99 
+
100 
+
101 //TODO-HCC this is currently ignored by HCC target of HIP
+
102 #define __launch_bounds__(requiredMaxThreadsPerBlock, minBlocksPerMultiprocessor)
+
103 
+
104 // Detect if we are compiling C++ mode or C mode
+
105 #if defined(__cplusplus)
+
106 #define __HCC_CPP__
+
107 #elif defined(__STDC_VERSION__)
+
108 #define __HCC_C__
+
109 #endif
+
110 
+
111 __device__ float acosf(float x);
+
112 __device__ float acoshf(float x);
+
113 __device__ float asinf(float x);
+
114 __device__ float asinhf(float x);
+
115 __device__ float atan2f(float y, float x);
+
116 __device__ float atanf(float x);
+
117 __device__ float atanhf(float x);
+
118 __device__ float cbrtf(float x);
+
119 __device__ float ceilf(float x);
+
120 __device__ float copysignf(float x, float y);
+
121 __device__ float cosf(float x);
+
122 __device__ float coshf(float x);
+
123 __device__ float cyl_bessel_i0f(float x);
+
124 __device__ float cyl_bessel_i1f(float x);
+
125 __device__ float erfcf(float x);
+
126 __device__ float erfcinvf(float y);
+
127 __host__ float erfcinvf(float y);
+
128 __device__ float erfcxf(float x);
+
129 __host__ float erfcxf(float x);
+
130 __device__ float erff(float x);
+
131 __device__ float erfinvf(float y);
+
132 __host__ float erfinvf(float y);
+
133 __device__ float exp10f(float x);
+
134 __device__ float exp2f(float x);
+
135 __device__ float expf(float x);
+
136 __device__ float expm1f(float x);
+
137 __device__ float fabsf(float x);
+
138 __device__ float fdimf(float x, float y);
+
139 __device__ __host__ float fdividef(float x, float y);
+
140 __device__ float floorf(float x);
+
141 __device__ float fmaf(float x, float y, float z);
+
142 __device__ float fmaxf(float x, float y);
+
143 __device__ float fminf(float x, float y);
+
144 __device__ float fmodf(float x, float y);
+
145 __device__ float frexpf(float x, float y);
+
146 __device__ float hypotf(float x, float y);
+
147 __device__ float ilogbf(float x);
+
148 __host__ __device__ unsigned isfinite(float a);
+
149 __device__ unsigned isinf(float a);
+
150 __device__ unsigned isnan(float a);
+
151 __device__ float j0f(float x);
+
152 __device__ float j1f(float x);
+
153 __device__ float jnf(int n, float x);
+
154 __device__ float ldexpf(float x, int exp);
+
155 __device__ float lgammaf(float x);
+
156 __device__ long long int llrintf(float x);
+
157 __device__ long long int llroundf(float x);
+
158 __device__ float log10f(float x);
+
159 __device__ float log1pf(float x);
+
160 __device__ float log2f(float x);
+
161 __device__ float logbf(float x);
+
162 __device__ float logf(float x);
+
163 __device__ long int lrintf(float x);
+
164 __device__ long int lroundf(float x);
+
165 __device__ float modff(float x, float *iptr);
+
166 __device__ float nanf(const char* tagp);
+
167 __device__ float nearbyintf(float x);
+
168 __device__ float nextafterf(float x, float y);
+
169 __device__ float norm3df(float a, float b, float c);
+
170 __host__ float norm3df(float a, float b, float c);
+
171 __device__ float norm4df(float a, float b, float c, float d);
+
172 __host__ float norm4df(float a, float b, float c, float d);
+
173 __device__ float normcdff(float y);
+
174 __host__ float normcdff(float y);
+
175 __device__ float normcdfinvf(float y);
+
176 __host__ float normcdfinvf(float y);
+
177 __device__ float normf(int dim, const float *a);
+
178 __device__ float powf(float x, float y);
+
179 __device__ float rcbrtf(float x);
+
180 __host__ float rcbrtf(float x);
+
181 __device__ float remainderf(float x, float y);
+
182 __device__ float remquof(float x, float y, int *quo);
+
183 __device__ float rhypotf(float x, float y);
+
184 __host__ float rhypotf(float x, float y);
+
185 __device__ float rintf(float x);
+
186 __device__ float rnorm3df(float a, float b, float c);
+
187 __host__ float rnorm3df(float a, float b, float c);
+
188 __device__ float rnorm4df(float a, float b, float c, float d);
+
189 __host__ float rnorm4df(float a, float b, float c, float d);
+
190 __device__ float rnormf(int dim, const float* a);
+
191 __host__ float rnormf(int dim, const float* a);
+
192 __device__ float roundf(float x);
+
193 __device__ float rsqrtf(float x);
+
194 __device__ float scalblnf(float x, long int n);
+
195 __device__ float scalbnf(float x, int n);
+
196 __host__ __device__ unsigned signbit(float a);
+
197 __device__ void sincosf(float x, float *sptr, float *cptr);
+
198 __device__ void sincospif(float x, float *sptr, float *cptr);
+
199 __host__ void sincospif(float x, float *sptr, float *cptr);
+
200 __device__ float sinf(float x);
+
201 __device__ float sinhf(float x);
+
202 __device__ float sinpif(float x);
+
203 __device__ float sqrtf(float x);
+
204 __device__ float tanf(float x);
+
205 __device__ float tanhf(float x);
+
206 __device__ float tgammaf(float x);
+
207 __device__ float truncf(float x);
+
208 __device__ float y0f(float x);
+
209 __device__ float y1f(float x);
+
210 __device__ float ynf(int n, float x);
+
211 
+
212 __host__ __device__ float cospif(float x);
+
213 __host__ __device__ float sinpif(float x);
+
214 __device__ float sqrtf(float x);
+
215 __host__ __device__ float rsqrtf(float x);
+
216 
+
217 __device__ double acos(double x);
+
218 __device__ double acosh(double x);
+
219 __device__ double asin(double x);
+
220 __device__ double asinh(double x);
+
221 __device__ double atan(double x);
+
222 __device__ double atan2(double y, double x);
+
223 __device__ double atanh(double x);
+
224 __device__ double cbrt(double x);
+
225 __device__ double ceil(double x);
+
226 __device__ double copysign(double x, double y);
+
227 __device__ double cos(double x);
+
228 __device__ double cosh(double x);
+
229 __host__ __device__ double cospi(double x);
+
230 __device__ double cyl_bessel_i0(double x);
+
231 __device__ double cyl_bessel_i1(double x);
+
232 __device__ double erf(double x);
+
233 __device__ double erfc(double x);
+
234 __device__ double erfcinv(double y);
+
235 __device__ double erfcx(double x);
+
236 __device__ double erfinv(double x);
+
237 __device__ double exp(double x);
+
238 __device__ double exp10(double x);
+
239 __device__ double exp2(double x);
+
240 __device__ double expm1(double x);
+
241 __device__ double fabs(double x);
+
242 __device__ double fdim(double x, double y);
+
243 __device__ double fdivide(double x, double y);
+
244 __device__ double floor(double x);
+
245 __device__ double fma(double x, double y, double z);
+
246 __device__ double fmax(double x, double y);
+
247 __device__ double fmin(double x, double y);
+
248 __device__ double fmod(double x, double y);
+
249 __device__ double frexp(double x, int *nptr);
+
250 __device__ double hypot(double x, double y);
+
251 __device__ double ilogb(double x);
+
252 __host__ __device__ unsigned isfinite(double x);
+
253 __device__ unsigned isinf(double x);
+
254 __device__ unsigned isnan(double x);
+
255 __device__ double j0(double x);
+
256 __device__ double j1(double x);
+
257 __device__ double jn(int n, double x);
+
258 __device__ double ldexp(double x, int exp);
+
259 __device__ double lgamma(double x);
+
260 __device__ long long llrint(double x);
+
261 __device__ long long llround(double x);
+
262 __device__ double log(double x);
+
263 __device__ double log10(double x);
+
264 __device__ double log1p(double x);
+
265 __device__ double log2(double x);
+
266 __device__ double logb(double x);
+
267 __device__ long int lrint(double x);
+
268 __device__ long int lround(double x);
+
269 __device__ double modf(double x, double *iptr);
+
270 __device__ double nan(const char* tagp);
+
271 __device__ double nearbyint(double x);
+
272 __device__ double nextafter(double x, double y);
+
273 __device__ double norm(int dim, const double* t);
+
274 __device__ double norm3d(double a, double b, double c);
+
275 __host__ double norm3d(double a, double b, double c);
+
276 __device__ double norm4d(double a, double b, double c, double d);
+
277 __host__ double norm4d(double a, double b, double c, double d);
+
278 __device__ double normcdf(double y);
+
279 __host__ double normcdf(double y);
+
280 __device__ double normcdfinv(double y);
+
281 __host__ double normcdfinv(double y);
+
282 __device__ double pow(double x, double y);
+
283 __device__ double rcbrt(double x);
+
284 __host__ double rcbrt(double x);
+
285 __device__ double remainder(double x, double y);
+
286 __device__ double remquo(double x, double y, int *quo);
+
287 __device__ double rhypot(double x, double y);
+
288 __host__ double rhypot(double x, double y);
+
289 __device__ double rint(double x);
+
290 __device__ double rnorm(int dim, const double* t);
+
291 __host__ double rnorm(int dim, const double* t);
+
292 __device__ double rnorm3d(double a, double b, double c);
+
293 __host__ double rnorm3d(double a, double b, double c);
+
294 __device__ double rnorm4d(double a, double b, double c, double d);
+
295 __host__ double rnorm4d(double a, double b, double c, double d);
+
296 __device__ double round(double x);
+
297 __host__ __device__ double rsqrt(double x);
+
298 __device__ double scalbln(double x, long int n);
+
299 __device__ double scalbn(double x, int n);
+
300 __host__ __device__ unsigned signbit(double a);
+
301 __device__ double sin(double a);
+
302 __device__ void sincos(double x, double *sptr, double *cptr);
+
303 __device__ void sincospi(double x, double *sptr, double *cptr);
+
304 __host__ void sincospi(double x, double *sptr, double *cptr);
+
305 __device__ double sinh(double x);
+
306 __host__ __device__ double sinpi(double x);
+
307 __device__ double sqrt(double x);
+
308 __device__ double tan(double x);
+
309 __device__ double tanh(double x);
+
310 __device__ double tgamma(double x);
+
311 __device__ double trunc(double x);
+
312 __device__ double y0(double x);
+
313 __device__ double y1(double y);
+
314 __device__ double yn(int n, double x);
+
315 
+
316 __host__ double erfcinv(double y);
+
317 __host__ double erfcx(double x);
+
318 __host__ double erfinv(double y);
+
319 __host__ double fdivide(double x, double y);
+
320 
+
321 // TODO - hipify-clang - change to use the function call.
+
322 //#define warpSize hc::__wavesize()
+
323 extern const int warpSize;
+
324 
+
325 
+
326 #define clock_t long long int
+
327 __device__ long long int clock64();
+
328 __device__ clock_t clock();
+
329 
+
330 //atomicAdd()
+
331 __device__ int atomicAdd(int* address, int val);
+
332 __device__ unsigned int atomicAdd(unsigned int* address,
+
333  unsigned int val);
+
334 
+
335 __device__ unsigned long long int atomicAdd(unsigned long long int* address,
+
336  unsigned long long int val);
+
337 
+
338 __device__ float atomicAdd(float* address, float val);
+
339 
+
340 
+
341 //atomicSub()
+
342 __device__ int atomicSub(int* address, int val);
+
343 
+
344 __device__ unsigned int atomicSub(unsigned int* address,
+
345  unsigned int val);
+
346 
+
347 
+
348 //atomicExch()
+
349 __device__ int atomicExch(int* address, int val);
+
350 
+
351 __device__ unsigned int atomicExch(unsigned int* address,
+
352  unsigned int val);
+
353 
+
354 __device__ unsigned long long int atomicExch(unsigned long long int* address,
+
355  unsigned long long int val);
+
356 
+
357 __device__ float atomicExch(float* address, float val);
+
358 
+
359 
+
360 //atomicMin()
+
361 __device__ int atomicMin(int* address, int val);
+
362 __device__ unsigned int atomicMin(unsigned int* address,
+
363  unsigned int val);
+
364 __device__ unsigned long long int atomicMin(unsigned long long int* address,
+
365  unsigned long long int val);
+
366 
+
367 
+
368 //atomicMax()
+
369 __device__ int atomicMax(int* address, int val);
+
370 __device__ unsigned int atomicMax(unsigned int* address,
+
371  unsigned int val);
+
372 __device__ unsigned long long int atomicMax(unsigned long long int* address,
+
373  unsigned long long int val);
+
374 
+
375 
+
376 //atomicCAS()
+
377 __device__ int atomicCAS(int* address, int compare, int val);
+
378 __device__ unsigned int atomicCAS(unsigned int* address,
+
379  unsigned int compare,
+
380  unsigned int val);
+
381 __device__ unsigned long long int atomicCAS(unsigned long long int* address,
+
382  unsigned long long int compare,
+
383  unsigned long long int val);
+
384 
+
385 
+
386 //atomicAnd()
+
387 __device__ int atomicAnd(int* address, int val);
+
388 __device__ unsigned int atomicAnd(unsigned int* address,
+
389  unsigned int val);
+
390 __device__ unsigned long long int atomicAnd(unsigned long long int* address,
+
391  unsigned long long int val);
+
392 
+
393 
+
394 //atomicOr()
+
395 __device__ int atomicOr(int* address, int val);
+
396 __device__ unsigned int atomicOr(unsigned int* address,
+
397  unsigned int val);
+
398 __device__ unsigned long long int atomicOr(unsigned long long int* address,
+
399  unsigned long long int val);
+
400 
+
401 
+
402 //atomicXor()
+
403 __device__ int atomicXor(int* address, int val);
+
404 __device__ unsigned int atomicXor(unsigned int* address,
+
405  unsigned int val);
+
406 __device__ unsigned long long int atomicXor(unsigned long long int* address,
+
407  unsigned long long int val);
+
408 
+
409 //atomicInc()
+
410 __device__ unsigned int atomicInc(unsigned int* address,
+
411  unsigned int val);
+
412 
+
413 
+
414 //atomicDec()
+
415 __device__ unsigned int atomicDec(unsigned int* address,
+
416  unsigned int val);
+
417 
+
418 
+
419 // integer intrinsic function __poc __clz __ffs __brev
+
420 __device__ unsigned int __popc( unsigned int input);
+
421 __device__ unsigned int __popcll( unsigned long long int input);
+
422 __device__ unsigned int __clz(unsigned int input);
+
423 __device__ unsigned int __clzll(unsigned long long int input);
+
424 __device__ unsigned int __clz(int input);
+
425 __device__ unsigned int __clzll(long long int input);
+
426 __device__ unsigned int __ffs(unsigned int input);
+
427 __device__ unsigned int __ffsll(unsigned long long int input);
+
428 __device__ unsigned int __ffs(int input);
+
429 __device__ unsigned int __ffsll(long long int input);
+
430 __device__ unsigned int __brev( unsigned int input);
+
431 __device__ unsigned long long int __brevll( unsigned long long int input);
+
432 
+
433 
+
434 // warp vote function __all __any __ballot
+
435 __device__ int __all( int input);
+
436 __device__ int __any( int input);
+
437 __device__ unsigned long long int __ballot( int input);
+
438 
+
439 // warp shuffle functions
+
440 #ifdef __cplusplus
+
441 __device__ int __shfl(int input, int lane, int width=warpSize);
+
442 __device__ int __shfl_up(int input, unsigned int lane_delta, int width=warpSize);
+
443 __device__ int __shfl_down(int input, unsigned int lane_delta, int width=warpSize);
+
444 __device__ int __shfl_xor(int input, int lane_mask, int width=warpSize);
+
445 __device__ float __shfl(float input, int lane, int width=warpSize);
+
446 __device__ float __shfl_up(float input, unsigned int lane_delta, int width=warpSize);
+
447 __device__ float __shfl_down(float input, unsigned int lane_delta, int width=warpSize);
+
448 __device__ float __shfl_xor(float input, int lane_mask, int width=warpSize);
+
449 #else
+
450 __device__ int __shfl(int input, int lane, int width);
+
451 __device__ int __shfl_up(int input, unsigned int lane_delta, int width);
+
452 __device__ int __shfl_down(int input, unsigned int lane_delta, int width);
+
453 __device__ int __shfl_xor(int input, int lane_mask, int width);
+
454 __device__ float __shfl(float input, int lane, int width);
+
455 __device__ float __shfl_up(float input, unsigned int lane_delta, int width);
+
456 __device__ float __shfl_down(float input, unsigned int lane_delta, int width);
+
457 __device__ float __shfl_xor(float input, int lane_mask, int width);
+
458 #endif
+
459 
+
460 __host__ __device__ int min(int arg1, int arg2);
+
461 __host__ __device__ int max(int arg1, int arg2);
+
462 
+
463 __device__ __attribute__((address_space(3))) void* __get_dynamicgroupbaseptr();
+
464 
+
465 //TODO - add a couple fast math operations here, the set here will grow :
+
466 __device__ float __cosf(float x);
+
467 __device__ float __expf(float x);
+
468 __device__ float __frsqrt_rn(float x);
+
469 __device__ float __fsqrt_rd(float x);
+
470 __device__ float __fsqrt_rn(float x);
+
471 __device__ float __fsqrt_ru(float x);
+
472 __device__ float __fsqrt_rz(float x);
+
473 __device__ float __log10f(float x);
+
474 __device__ float __log2f(float x);
+
475 __device__ float __logf(float x);
+
476 __device__ float __powf(float base, float exponent);
+
477 __device__ void __sincosf(float x, float *s, float *c) ;
+
478 __device__ float __sinf(float x);
+
479 __device__ float __tanf(float x);
+
480 __device__ float __dsqrt_rd(double x);
+
481 __device__ float __dsqrt_rn(double x);
+
482 __device__ float __dsqrt_ru(double x);
+
483 __device__ float __dsqrt_rz(double x);
+
488 // Choose correct polarity of xyz/zyx ordering:
+
489 #if __hcc_workweek__ >= 16123
+
490 
+
491 #define hipThreadIdx_x (amp_get_local_id(0))
+
492 #define hipThreadIdx_y (amp_get_local_id(1))
+
493 #define hipThreadIdx_z (amp_get_local_id(2))
+
494 
+
495 #define hipBlockIdx_x (hc_get_group_id(0))
+
496 #define hipBlockIdx_y (hc_get_group_id(1))
+
497 #define hipBlockIdx_z (hc_get_group_id(2))
+
498 
+
499 #define hipBlockDim_x (amp_get_local_size(0))
+
500 #define hipBlockDim_y (amp_get_local_size(1))
+
501 #define hipBlockDim_z (amp_get_local_size(2))
+
502 
+
503 #define hipGridDim_x (hc_get_num_groups(0))
+
504 #define hipGridDim_y (hc_get_num_groups(1))
+
505 #define hipGridDim_z (hc_get_num_groups(2))
+
506 
+
507 #else
+
508 
+
509 #define hipThreadIdx_x (amp_get_local_id(2))
+
510 #define hipThreadIdx_y (amp_get_local_id(1))
+
511 #define hipThreadIdx_z (amp_get_local_id(0))
+
512 
+
513 #define hipBlockIdx_x (hc_get_group_id(2))
+
514 #define hipBlockIdx_y (hc_get_group_id(1))
+
515 #define hipBlockIdx_z (hc_get_group_id(0))
+
516 
+
517 #define hipBlockDim_x (amp_get_local_size(2))
+
518 #define hipBlockDim_y (amp_get_local_size(1))
+
519 #define hipBlockDim_z (amp_get_local_size(0))
+
520 
+
521 #define hipGridDim_x (hc_get_num_groups(2))
+
522 #define hipGridDim_y (hc_get_num_groups(1))
+
523 #define hipGridDim_z (hc_get_num_groups(0))
+
524 
+
525 #endif // __hcc_workweek__ check
+
526 
+
527 #define __syncthreads() hc_barrier(CLK_LOCAL_MEM_FENCE)
+
528 
+
529 #define HIP_KERNEL_NAME(...) __VA_ARGS__
+
530 
+
531 #ifdef __HCC_CPP__
+
532 hipStream_t ihipPreLaunchKernel(hipStream_t stream, dim3 grid, dim3 block, grid_launch_parm *lp);
+
533 hipStream_t ihipPreLaunchKernel(hipStream_t stream, dim3 grid, size_t block, grid_launch_parm *lp);
+
534 hipStream_t ihipPreLaunchKernel(hipStream_t stream, size_t grid, dim3 block, grid_launch_parm *lp);
+
535 hipStream_t ihipPreLaunchKernel(hipStream_t stream, size_t grid, size_t block, grid_launch_parm *lp);
+
536 void ihipPostLaunchKernel(hipStream_t stream, grid_launch_parm &lp);
+
537 
+
538 // TODO - move to common header file.
+
539 #define KNRM "\x1B[0m"
+
540 #define KGRN "\x1B[32m"
+
541 
+
542 #if not defined(DISABLE_GRID_LAUNCH)
+
543 #define hipLaunchKernel(_kernelName, _numBlocks3D, _blockDim3D, _groupMemBytes, _stream, ...) \
+
544 do {\
+
545  grid_launch_parm lp;\
+
546  lp.groupMemBytes = _groupMemBytes; \
+
547  hipStream_t trueStream = (ihipPreLaunchKernel(_stream, _numBlocks3D, _blockDim3D, &lp)); \
+
548  if (HIP_TRACE_API) {\
+
549  fprintf(stderr, KGRN "<<hip-api: hipLaunchKernel '%s' gridDim:(%d,%d,%d) groupDim:(%d,%d,%d) groupMem:+%d stream=%p\n" KNRM, \
+
550  #_kernelName, lp.gridDim.x, lp.gridDim.y, lp.gridDim.z, lp.groupDim.x, lp.groupDim.y, lp.groupDim.z, lp.groupMemBytes, (void*)(_stream));\
+
551  }\
+
552  _kernelName (lp, ##__VA_ARGS__);\
+
553  ihipPostLaunchKernel(trueStream, lp);\
+
554 } while(0)
+
555 
+
556 #else
+
557 #warning(DISABLE_GRID_LAUNCH set)
+
558 
+
559 #define hipLaunchKernel(_kernelName, _numBlocks3D, _blockDim3D, _groupMemBytes, _stream, ...) \
+
560 do {\
+
561  grid_launch_parm lp;\
+
562  lp.gridDim.x = _numBlocks3D.x * _blockDim3D.x;/*Convert from #blocks to #threads*/ \
+
563  lp.gridDim.y = _numBlocks3D.y * _blockDim3D.y;/*Convert from #blocks to #threads*/ \
+
564  lp.gridDim.z = _numBlocks3D.z * _blockDim3D.z;/*Convert from #blocks to #threads*/ \
+
565  lp.groupDim.x = _blockDim3D.x; \
+
566  lp.groupDim.y = _blockDim3D.y; \
+
567  lp.groupDim.z = _blockDim3D.z; \
+
568  lp.groupMemBytes = _groupMemBytes;\
+
569  hc::completion_future cf;\
+
570  lp.cf = &cf; \
+
571  hipStream_t trueStream = (ihipPreLaunchKernel(_stream, &lp.av)); \
+
572  if (HIP_TRACE_API) {\
+
573  fprintf(stderr, "==hip-api: launch '%s' gridDim:[%d.%d.%d] groupDim:[%d.%d.%d] groupMem:+%d stream=%p\n", \
+
574  #_kernelName, lp.gridDim.z, lp.gridDim.y, lp.gridDim.x, lp.groupDim.z, lp.groupDim.y, lp.groupDim.x, lp.groupMemBytes, (void*)(_stream));\
+
575  }\
+
576  _kernelName (lp, ##__VA_ARGS__);\
+
577  ihipPostLaunchKernel(trueStream, cf);\
+
578 } while(0)
+
579 /*end hipLaunchKernel */
+
580 #endif
+
581 
+
582 #elif defined (__HCC_C__)
+
583 
+
584 //TODO - develop C interface.
+
585 
+
586 #endif
+
587 
+
592 // Macro to replace extern __shared__ declarations
+
593 // to local variable definitions
+
594 #define HIP_DYNAMIC_SHARED(type, var) \
+
595  __attribute__((address_space(3))) type* var = \
+
596  (__attribute__((address_space(3))) type*)__get_dynamicgroupbaseptr(); \
+
597 
+
598 #endif // __HCC__
+
599 
+
600 
+
605 //extern int HIP_PRINT_ENV ; ///< Print all HIP-related environment variables.
+
606 //extern int HIP_TRACE_API; ///< Trace HIP APIs.
+
607 //extern int HIP_LAUNCH_BLOCKING ; ///< Make all HIP APIs host-synchronous
+
608 
+
614 // End doxygen API:
+
620 #endif
+
Definition: hip_runtime_api.h:114
+
#define __host__
Definition: host_defines.h:35
+
+ + + + diff --git a/docs/RuntimeAPI/html/hcc__detail_2hip__runtime__api_8h.html b/docs/RuntimeAPI/html/hcc__detail_2hip__runtime__api_8h.html new file mode 100644 index 0000000000..6d0b9e503d --- /dev/null +++ b/docs/RuntimeAPI/html/hcc__detail_2hip__runtime__api_8h.html @@ -0,0 +1,394 @@ + + + + + + +HIP: Heterogenous-computing Interface for Portability: /home/mangupta/git/hip/release_0.90.00/include/hcc_detail/hip_runtime_api.h File Reference + + + + + + + + + +
+
+ + + + + + +
+
HIP: Heterogenous-computing Interface for Portability +
+
+
+ + + + + + + + + +
+ +
+ + +
+
+ +
+
hip_runtime_api.h File Reference
+
+
+ +

Contains C function APIs for HIP runtime. This file does not use any HCC builtin or special language extensions (-hc mode) ; those functions in hip_runtime.h. +More...

+
#include <stdint.h>
+#include <stddef.h>
+#include <hip/hcc_detail/host_defines.h>
+#include <hip/hip_runtime_api.h>
+
+

Go to the source code of this file.

+ + + + + + +

+Classes

struct  hipEvent_t
 
struct  dim3
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Macros

#define hipStreamDefault   0x00
 Flags that can be used with hipStreamCreateWithFlags. More...
 
+#define hipStreamNonBlocking   0x01
 Stream does not implicitly synchronize with null stream.
 
#define hipEventDefault   0x0
 Flags that can be used with hipEventCreateWithFlags: More...
 
+#define hipEventBlockingSync   0x1
 Waiting will yield CPU. Power-friendly and usage-friendly but may increase latency.
 
+#define hipEventDisableTiming   0x2
 Disable event's capability to record timing information. May improve performance.
 
#define hipEventInterprocess   0x4
 Event can support IPC. More...
 
+#define hipHostMallocDefault   0x0
 Flags that can be used with hipHostMalloc.
 
+#define hipHostMallocPortable   0x1
 
+#define hipHostMallocMapped   0x2
 
+#define hipHostMallocWriteCombined   0x4
 
#define hipHostRegisterDefault   0x0
 Flags that can be used with hipHostRegister. More...
 
+#define hipHostRegisterPortable   0x1
 Memory is considered registered by all contexts. HIP only supports one context so this is always assumed true.
 
+#define hipHostRegisterMapped   0x2
 Map the allocation into the address space for the current device. The device pointer can be obtained with hipHostGetDevicePointer.
 
+#define hipHostRegisterIoMemory   0x4
 Not supported.
 
+#define hipDeviceScheduleAuto   0x0
 
+#define hipDeviceScheduleSpin   0x1
 
+#define hipDeviceScheduleYield   0x2
 
+#define hipDeviceBlockingSync   0x4
 
+#define hipDeviceMapHost   0x8
 
+#define hipDeviceLmemResizeToMax   0x16
 
+ + + + + + + + + + + + + +

+Typedefs

+typedef struct ihipStream_thipStream_t
 
+typedef struct hipEvent_t hipEvent_t
 
typedef enum hipFuncCache hipFuncCache
 
typedef enum hipSharedMemConfig hipSharedMemConfig
 
typedef struct dim3 dim3
 
typedef enum hipMemcpyKind hipMemcpyKind
 
+ + + + + + + +

+Enumerations

enum  hipFuncCache { hipFuncCachePreferNone, +hipFuncCachePreferShared, +hipFuncCachePreferL1, +hipFuncCachePreferEqual + }
 
enum  hipSharedMemConfig { hipSharedMemBankSizeDefault, +hipSharedMemBankSizeFourByte, +hipSharedMemBankSizeEightByte + }
 
enum  hipMemcpyKind {
+  hipMemcpyHostToHost = 0, +hipMemcpyHostToDevice = 1, +hipMemcpyDeviceToHost = 2, +hipMemcpyDeviceToDevice =3, +
+  hipMemcpyDefault = 4 +
+ }
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Functions

hipError_t hipDeviceSynchronize (void)
 Blocks until the default device has completed all preceding requested tasks. More...
 
hipError_t hipDeviceReset (void)
 Destroy all resources and reset all state on the default device in the current process. More...
 
hipError_t hipSetDevice (int device)
 Set default device to be used for subsequent hip API calls from this thread. More...
 
hipError_t hipGetDevice (int *device)
 Return the default device id for the calling host thread. More...
 
hipError_t hipGetDeviceCount (int *count)
 Return number of compute-capable devices. More...
 
hipError_t hipDeviceGetAttribute (int *pi, hipDeviceAttribute_t attr, int device)
 Query device attribute. More...
 
hipError_t hipGetDeviceProperties (hipDeviceProp_t *prop, int device)
 Returns device properties. More...
 
hipError_t hipDeviceSetCacheConfig (hipFuncCache cacheConfig)
 Set L1/Shared cache partition. More...
 
hipError_t hipDeviceGetCacheConfig (hipFuncCache *cacheConfig)
 Set Cache configuration for a specific function. More...
 
hipError_t hipFuncSetCacheConfig (hipFuncCache config)
 Set Cache configuration for a specific function. More...
 
hipError_t hipDeviceGetSharedMemConfig (hipSharedMemConfig *pConfig)
 Get Shared memory bank configuration. More...
 
hipError_t hipDeviceSetSharedMemConfig (hipSharedMemConfig config)
 Set Shared memory bank configuration. More...
 
hipError_t hipSetDeviceFlags (unsigned flags)
 Set Device flags. More...
 
hipError_t hipGetLastError (void)
 Return last error returned by any HIP runtime API call and resets the stored error code to hipSuccess. More...
 
hipError_t hipPeekAtLastError (void)
 Return last error returned by any HIP runtime API call. More...
 
const char * hipGetErrorName (hipError_t hip_error)
 Return name of the specified error code in text form. More...
 
const char * hipGetErrorString (hipError_t hip_error)
 Return handy text string message to explain the error which occurred. More...
 
hipError_t hipStreamCreateWithFlags (hipStream_t *stream, unsigned int flags)
 Create an asynchronous stream. More...
 
hipError_t hipStreamCreate (hipStream_t *stream)
 Create an asynchronous stream. More...
 
hipError_t hipStreamWaitEvent (hipStream_t stream, hipEvent_t event, unsigned int flags)
 Make the specified compute stream wait for an event. More...
 
hipError_t hipStreamSynchronize (hipStream_t stream)
 Wait for all commands in stream to complete. More...
 
hipError_t hipStreamDestroy (hipStream_t stream)
 Destroys the specified stream. More...
 
hipError_t hipStreamGetFlags (hipStream_t stream, unsigned int *flags)
 Return flags associated with this stream. More...
 
hipError_t hipEventCreateWithFlags (hipEvent_t *event, unsigned flags)
 Create an event with the specified flags. More...
 
hipError_t hipEventCreate (hipEvent_t *event)
 
hipError_t hipEventRecord (hipEvent_t event, hipStream_t stream)
 Record an event in the specified stream. More...
 
hipError_t hipEventDestroy (hipEvent_t event)
 Destroy the specified event. More...
 
hipError_t hipEventSynchronize (hipEvent_t event)
 : Wait for an event to complete. More...
 
hipError_t hipEventElapsedTime (float *ms, hipEvent_t start, hipEvent_t stop)
 Return the elapsed time between two events. More...
 
hipError_t hipEventQuery (hipEvent_t event)
 Query event status. More...
 
hipError_t hipPointerGetAttributes (hipPointerAttribute_t *attributes, void *ptr)
 Return attributes for the specified pointer. More...
 
hipError_t hipMalloc (void **ptr, size_t size)
 Allocate memory on the default accelerator. More...
 
hipError_t hipMallocHost (void **ptr, size_t size) __attribute__((deprecated("use hipHostMalloc instead")))
 Allocate pinned host memory. More...
 
hipError_t hipHostMalloc (void **ptr, size_t size, unsigned int flags)
 Allocate device accessible page locked host memory. More...
 
+hipError_t hipHostAlloc (void **ptr, size_t size, unsigned int flags) __attribute__((deprecated("use hipHostMalloc instead")))
 
hipError_t hipHostGetDevicePointer (void **devPtr, void *hstPtr, unsigned int flags)
 Get Device pointer from Host Pointer allocated through hipHostAlloc. More...
 
hipError_t hipHostGetFlags (unsigned int *flagsPtr, void *hostPtr)
 Get flags associated with host pointer. More...
 
hipError_t hipHostRegister (void *hostPtr, size_t sizeBytes, unsigned int flags)
 Register host memory so it can be accessed from the current device. More...
 
hipError_t hipHostUnregister (void *hostPtr)
 Un-register host pointer. More...
 
hipError_t hipFree (void *ptr)
 Free memory allocated by the hcc hip memory allocation API. This API performs an implicit hipDeviceSynchronize() call. If pointer is NULL, the hip runtime is initialized and hipSuccess is returned. More...
 
hipError_t hipFreeHost (void *ptr) __attribute__((deprecated("use hipHostFree instead")))
 Free memory allocated by the hcc hip host memory allocation API. [Deprecated.]. More...
 
hipError_t hipHostFree (void *ptr)
 Free memory allocated by the hcc hip host memory allocation API This API performs an implicit hipDeviceSynchronize() call. If pointer is NULL, the hip runtime is initialized and hipSuccess is returned. More...
 
hipError_t hipMemcpy (void *dst, const void *src, size_t sizeBytes, hipMemcpyKind kind)
 Copy data from src to dst. More...
 
hipError_t hipMemcpyToSymbol (const char *symbolName, const void *src, size_t sizeBytes, size_t offset, hipMemcpyKind kind)
 Copies sizeBytes bytes from the memory area pointed to by src to the memory area pointed to by offset bytes from the start of symbol symbol. More...
 
hipError_t hipMemcpyAsync (void *dst, const void *src, size_t sizeBytes, hipMemcpyKind kind, hipStream_t stream)
 Copy data from src to dst asynchronously. More...
 
hipError_t hipMemset (void *dst, int value, size_t sizeBytes)
 Copy data from src to dst asynchronously. More...
 
hipError_t hipMemsetAsync (void *dst, int value, size_t sizeBytes, hipStream_t stream)
 Fills the first sizeBytes bytes of the memory area pointed to by dev with the constant byte value value. More...
 
hipError_t hipMemGetInfo (size_t *free, size_t *total)
 Query memory info. Return snapshot of free memory, and total allocatable memory on the device. More...
 
hipError_t hipDeviceCanAccessPeer (int *canAccessPeer, int deviceId, int peerDeviceId)
 Determine if a device can access a peer's memory. More...
 
hipError_t hipDeviceEnablePeerAccess (int peerDeviceId, unsigned int flags)
 Enable direct access from current device's virtual address space to memory allocations physically located on a peer device. More...
 
hipError_t hipDeviceDisablePeerAccess (int peerDeviceId)
 Disable direct access from current device's virtual address space to memory allocations physically located on a peer device. More...
 
hipError_t hipDriverGetVersion (int *driverVersion)
 Returns the approximate HIP driver version. More...
 
+

Detailed Description

+

Contains C function APIs for HIP runtime. This file does not use any HCC builtin or special language extensions (-hc mode) ; those functions in hip_runtime.h.

+
+ + + + diff --git a/docs/RuntimeAPI/html/hcc__detail_2hip__runtime__api_8h_source.html b/docs/RuntimeAPI/html/hcc__detail_2hip__runtime__api_8h_source.html new file mode 100644 index 0000000000..7356be3ad0 --- /dev/null +++ b/docs/RuntimeAPI/html/hcc__detail_2hip__runtime__api_8h_source.html @@ -0,0 +1,501 @@ + + + + + + +HIP: Heterogenous-computing Interface for Portability: /home/mangupta/git/hip/release_0.90.00/include/hcc_detail/hip_runtime_api.h Source File + + + + + + + + + +
+
+ + + + + + +
+
HIP: Heterogenous-computing Interface for Portability +
+
+
+ + + + + + + + + +
+ +
+ + +
+
+
+
hip_runtime_api.h
+
+
+Go to the documentation of this file.
1 /*
+
2 Copyright (c) 2015-2016 Advanced Micro Devices, Inc. All rights reserved.
+
3 
+
4 Permission is hereby granted, free of charge, to any person obtaining a copy
+
5 of this software and associated documentation files (the "Software"), to deal
+
6 in the Software without restriction, including without limitation the rights
+
7 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+
8 copies of the Software, and to permit persons to whom the Software is
+
9 furnished to do so, subject to the following conditions:
+
10 
+
11 The above copyright notice and this permission notice shall be included in
+
12 all copies or substantial portions of the Software.
+
13 
+
14 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+
15 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+
16 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+
17 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+
18 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+
19 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+
20 THE SOFTWARE.
+
21 */
+
22 //#pragma once
+
23 #ifndef HIP_RUNTIME_API_H
+
24 #define HIP_RUNTIME_API_H
+
25 
+
30 #include <stdint.h>
+
31 #include <stddef.h>
+
32 
+
33 #include <hip/hcc_detail/host_defines.h>
+
34 #include <hip/hip_runtime_api.h>
+
35 //#include "hip/hip_hcc.h"
+
36 
+
37 #if defined (__HCC__) && (__hcc_workweek__ < 16155)
+
38 #error("This version of HIP requires a newer version of HCC.");
+
39 #endif
+
40 
+
41 // Structure definitions:
+
42 #ifdef __cplusplus
+
43 extern "C" {
+
44 #endif
+
45 
+
46 typedef struct ihipStream_t *hipStream_t;
+
47 typedef struct hipEvent_t {
+
48  struct ihipEvent_t *_handle;
+
49 } hipEvent_t;
+
50 
+
51 
+
56 #define hipStreamDefault 0x00
+
58 #define hipStreamNonBlocking 0x01
+
59 
+
60 
+
62 #define hipEventDefault 0x0
+
63 #define hipEventBlockingSync 0x1
+
64 #define hipEventDisableTiming 0x2
+
65 #define hipEventInterprocess 0x4
+
66 
+
67 
+
69 #define hipHostMallocDefault 0x0
+
70 #define hipHostMallocPortable 0x1
+
71 #define hipHostMallocMapped 0x2
+
72 #define hipHostMallocWriteCombined 0x4
+
73 
+
75 #define hipHostRegisterDefault 0x0
+
76 #define hipHostRegisterPortable 0x1
+
77 #define hipHostRegisterMapped 0x2
+
78 #define hipHostRegisterIoMemory 0x4
+
79 
+
80 
+
81 #define hipDeviceScheduleAuto 0x0
+
82 #define hipDeviceScheduleSpin 0x1
+
83 #define hipDeviceScheduleYield 0x2
+
84 #define hipDeviceBlockingSync 0x4
+
85 #define hipDeviceMapHost 0x8
+
86 #define hipDeviceLmemResizeToMax 0x16
+
87 
+
91 typedef enum hipFuncCache {
+ + + + +
96 } hipFuncCache;
+
97 
+
98 
+
102 typedef enum hipSharedMemConfig {
+ + + + +
107 
+
108 
+
109 
+
114 typedef struct dim3 {
+
115  uint32_t x;
+
116  uint32_t y;
+
117  uint32_t z;
+
118 #ifdef __cplusplus
+
119  dim3(uint32_t _x=1, uint32_t _y=1, uint32_t _z=1) : x(_x), y(_y), z(_z) {};
+
120 #endif
+
121 } dim3;
+
122 
+
123 
+
124 
+
129 typedef enum hipMemcpyKind {
+ + + + + +
135 } hipMemcpyKind;
+
136 
+
137 
+
138 
+
139 
+
140 // Doxygen end group GlobalDefs
+
144 //-------------------------------------------------------------------------------------------------
+
145 
+
146 
+
147 // The handle allows the async commands to use the stream even if the parent hipStream_t goes out-of-scope.
+
148 //typedef class ihipStream_t * hipStream_t;
+
149 
+
150 
+
151 /*
+
152  * Opaque structure allows the true event (pointed at by the handle) to remain "live" even if the surrounding hipEvent_t goes out-of-scope.
+
153  * This is handy for cases where the hipEvent_t goes out-of-scope but the true event is being written by some async queue or device */
+
154 //typedef struct hipEvent_t {
+
155 // struct ihipEvent_t *_handle;
+
156 //} hipEvent_t;
+
157 
+
158 
+
159 
+
160 
+
161 
+
162 
+
163 
+ +
188 
+
189 
+
190 
+ +
202 
+
203 
+
228 hipError_t hipSetDevice(int device);
+
229 
+
230 
+
242 hipError_t hipGetDevice(int *device);
+
243 
+
244 
+
252 hipError_t hipGetDeviceCount(int *count);
+
253 
+
260 hipError_t hipDeviceGetAttribute(int* pi, hipDeviceAttribute_t attr, int device);
+
261 
+ +
271 
+
272 
+
273 
+
274 //Cache partitioning functions:
+
275 
+ +
283 
+
284 
+ +
292 
+
293 
+ +
301 
+
302 //---
+
303 //Shared bank config functions:
+
304 
+ +
312 
+
313 
+ +
321 
+
328 hipError_t hipSetDeviceFlags ( unsigned flags);
+
329 
+
330 // end doxygen Device
+ +
351 
+
352 
+ +
365 
+
366 
+
367 
+
376 const char *hipGetErrorName(hipError_t hip_error);
+
377 
+
378 
+
389 const char *hipGetErrorString(hipError_t hip_error);
+
390 
+
391 // end doxygen Error
+
424 hipError_t hipStreamCreateWithFlags(hipStream_t *stream, unsigned int flags);
+
425 
+
426 
+
427 
+
442 hipError_t hipStreamCreate(hipStream_t *stream);
+
443 
+
444 
+
460 hipError_t hipStreamWaitEvent(hipStream_t stream, hipEvent_t event, unsigned int flags);
+
461 
+
462 
+
474 hipError_t hipStreamSynchronize(hipStream_t stream);
+
475 
+
476 
+
490 hipError_t hipStreamDestroy(hipStream_t stream);
+
491 
+
492 
+
506 hipError_t hipStreamGetFlags(hipStream_t stream, unsigned int *flags);
+
507 
+
508 
+
509 // end doxygen Stream
+
534 hipError_t hipEventCreateWithFlags(hipEvent_t* event, unsigned flags);
+
535 
+
536 
+ +
544 
+
545 
+
570 #ifdef __cplusplus
+
571 hipError_t hipEventRecord(hipEvent_t event, hipStream_t stream = NULL);
+
572 #else
+
573 hipError_t hipEventRecord(hipEvent_t event, hipStream_t stream);
+
574 #endif
+
575 
+ +
587 
+
588 
+ +
603 
+
604 
+
629 hipError_t hipEventElapsedTime(float *ms, hipEvent_t start, hipEvent_t stop);
+
630 
+
631 
+ +
645 
+
646 
+
647 // end doxygen Events
+ +
673 
+
681 hipError_t hipMalloc(void** ptr, size_t size) ;
+
682 
+
683 
+
691 hipError_t hipMallocHost(void** ptr, size_t size) __attribute__((deprecated("use hipHostMalloc instead"))) ;
+
692 
+
701 hipError_t hipHostMalloc(void** ptr, size_t size, unsigned int flags) ;
+
702 hipError_t hipHostAlloc(void** ptr, size_t size, unsigned int flags) __attribute__((deprecated("use hipHostMalloc instead"))) ;;
+
703 
+
712 hipError_t hipHostGetDevicePointer(void** devPtr, void* hstPtr, unsigned int flags) ;
+
713 
+
721 hipError_t hipHostGetFlags(unsigned int* flagsPtr, void* hostPtr) ;
+
722 
+
753 hipError_t hipHostRegister(void* hostPtr, size_t sizeBytes, unsigned int flags) ;
+
754 
+
761 hipError_t hipHostUnregister(void* hostPtr) ;
+
762 
+
763 
+
773 hipError_t hipFree(void* ptr);
+
774 
+
775 
+
776 
+
782 hipError_t hipFreeHost(void* ptr) __attribute__((deprecated("use hipHostFree instead"))) ;
+
783 
+
784 
+
794 hipError_t hipHostFree(void* ptr);
+
795 
+
796 
+
797 
+
817 hipError_t hipMemcpy(void* dst, const void* src, size_t sizeBytes, hipMemcpyKind kind);
+
818 
+
819 
+
834 hipError_t hipMemcpyToSymbol(const char* symbolName, const void *src, size_t sizeBytes, size_t offset, hipMemcpyKind kind);
+
835 
+
836 
+
856 #if __cplusplus
+
857 hipError_t hipMemcpyAsync(void* dst, const void* src, size_t sizeBytes, hipMemcpyKind kind, hipStream_t stream=0);
+
858 #else
+
859 hipError_t hipMemcpyAsync(void* dst, const void* src, size_t sizeBytes, hipMemcpyKind kind, hipStream_t stream);
+
860 #endif
+
861 
+
874 hipError_t hipMemset(void* dst, int value, size_t sizeBytes );
+
875 
+
876 
+
890 #if __cplusplus
+
891 hipError_t hipMemsetAsync(void* dst, int value, size_t sizeBytes, hipStream_t = 0 );
+
892 #else
+
893 hipError_t hipMemsetAsync(void* dst, int value, size_t sizeBytes, hipStream_t stream);
+
894 #endif
+
895 
+
902 hipError_t hipMemGetInfo (size_t * free, size_t * total) ;
+
903 
+
904 // doxygen end Memory
+
937 hipError_t hipDeviceCanAccessPeer (int* canAccessPeer, int deviceId, int peerDeviceId);
+
938 
+
939 
+
955 hipError_t hipDeviceEnablePeerAccess (int peerDeviceId, unsigned int flags);
+
956 
+
957 
+
968 hipError_t hipDeviceDisablePeerAccess (int peerDeviceId);
+
969 
+
970 
+
971 #ifdef PEER_NON_UNIFIED
+
972 
+
984 hipError_t hipMemcpyPeer (void* dst, int dstDeviceId, const void* src, int srcDeviceId, size_t sizeBytes);
+
985 
+
998 #if __cplusplus
+
999 hipError_t hipMemcpyPeerAsync ( void* dst, int dstDeviceId, const void* src, int srcDevice, size_t sizeBytes, hipStream_t stream=0 );
+
1000 #else
+
1001 hipError_t hipMemcpyPeerAsync(void* dst, int dstDevice, const void* src, int srcDevice, size_t sizeBytes, hipStream_t stream);
+
1002 #endif
+
1003 #endif
+
1004 
+
1005 
+
1006 // doxygen end PeerToPeer
+
1031 hipError_t hipDriverGetVersion(int *driverVersion) ;
+
1032 
+
1033 
+
1034 
+
1035 // doxygen end Version Management
+
1062 #ifdef __cplusplus
+
1063 } /* extern "c" */
+
1064 #endif
+
1065 
+
1066 
+
1084 // end-group HCC_Specific
+
1091 // doxygen end HIP API
+
1096 #endif
+
hipError_t hipHostFree(void *ptr)
Free memory allocated by the hcc hip host memory allocation API This API performs an implicit hipDevi...
Definition: hip_memory.cpp:535
+
hipError_t hipMemcpyAsync(void *dst, const void *src, size_t sizeBytes, hipMemcpyKind kind, hipStream_t stream)
Copy data from src to dst asynchronously.
Definition: hip_memory.cpp:342
+
hipError_t hipPeekAtLastError(void)
Return last error returned by any HIP runtime API call.
+
struct dim3 dim3
+
hipError_t hipGetDeviceProperties(hipDeviceProp_t *prop, int device)
Returns device properties.
Definition: hip_device.cpp:261
+
hipError_t hipMemcpyToSymbol(const char *symbolName, const void *src, size_t sizeBytes, size_t offset, hipMemcpyKind kind)
Copies sizeBytes bytes from the memory area pointed to by src to the memory area pointed to by offset...
Definition: hip_memory.cpp:290
+
hipError_t hipFuncSetCacheConfig(hipFuncCache config)
Set Cache configuration for a specific function.
Definition: hip_device.cpp:90
+
no preference for shared memory or L1 (default)
Definition: hip_runtime_api.h:92
+
uint32_t x
x
Definition: hip_runtime_api.h:115
+
Host-to-Device Copy.
Definition: hip_runtime_api.h:131
+
hipError_t hipDeviceEnablePeerAccess(int peerDeviceId, unsigned int flags)
Enable direct access from current device's virtual address space to memory allocations physically loc...
Definition: hip_peer.cpp:106
+
hipError_t hipDeviceGetSharedMemConfig(hipSharedMemConfig *pConfig)
Get Shared memory bank configuration.
Definition: hip_device.cpp:120
+
hipError_t hipSetDevice(int device)
Set default device to be used for subsequent hip API calls from this thread.
Definition: hip_device.cpp:133
+
Definition: hip_runtime_api.h:117
+
Device-to-Host Copy.
Definition: hip_runtime_api.h:132
+
hipError_t hipHostGetDevicePointer(void **devPtr, void *hstPtr, unsigned int flags)
Get Device pointer from Host Pointer allocated through hipHostAlloc.
+
hipError_t hipEventSynchronize(hipEvent_t event)
: Wait for an event to complete.
Definition: hip_event.cpp:120
+
hipError_t hipSetDeviceFlags(unsigned flags)
Set Device flags.
+
hipFuncCache
Definition: hip_runtime_api.h:91
+
hipError_t hipEventQuery(hipEvent_t event)
Query event status.
Definition: hip_event.cpp:194
+
hipError_t hipDeviceGetCacheConfig(hipFuncCache *cacheConfig)
Set Cache configuration for a specific function.
Definition: hip_device.cpp:76
+
hipError_t hipDeviceDisablePeerAccess(int peerDeviceId)
Disable direct access from current device's virtual address space to memory allocations physically lo...
Definition: hip_peer.cpp:63
+
hipError_t hipDeviceGetAttribute(int *pi, hipDeviceAttribute_t attr, int device)
Query device attribute.
Definition: hip_device.cpp:185
+
hipError_t hipMallocHost(void **ptr, size_t size) __attribute__((deprecated("use hipHostMalloc instead")))
Allocate pinned host memory.
Definition: hip_memory.cpp:196
+
hipError_t hipGetDevice(int *device)
Return the default device id for the calling host thread.
Definition: hip_device.cpp:31
+
hipError_t hipHostMalloc(void **ptr, size_t size, unsigned int flags)
Allocate device accessible page locked host memory.
Definition: hip_memory.cpp:149
+
hipDeviceAttribute_t
Definition: hip_runtime_api.h:172
+
hipError_t hipEventDestroy(hipEvent_t event)
Destroy the specified event.
Definition: hip_event.cpp:105
+
hipError_t hipStreamCreateWithFlags(hipStream_t *stream, unsigned int flags)
Create an asynchronous stream.
Definition: hip_stream.cpp:54
+
Definition: hip_runtime_api.h:114
+
uint32_t y
y
Definition: hip_runtime_api.h:116
+
prefer equal size L1 cache and shared memory
Definition: hip_runtime_api.h:95
+
hipError_t hipEventCreateWithFlags(hipEvent_t *event, unsigned flags)
Create an event with the specified flags.
Definition: hip_event.cpp:53
+
hipError_t hipEventElapsedTime(float *ms, hipEvent_t start, hipEvent_t stop)
Return the elapsed time between two events.
Definition: hip_event.cpp:149
+
hipError_t hipDeviceCanAccessPeer(int *canAccessPeer, int deviceId, int peerDeviceId)
Determine if a device can access a peer's memory.
Definition: hip_peer.cpp:30
+
hipError_t hipGetDeviceCount(int *count)
Return number of compute-capable devices.
Definition: hip_device.cpp:44
+
hipError_t hipMemset(void *dst, int value, size_t sizeBytes)
Copy data from src to dst asynchronously.
Definition: hip_memory.cpp:421
+
hipError_t hipStreamDestroy(hipStream_t stream)
Destroys the specified stream.
Definition: hip_stream.cpp:117
+
hipError_t hipHostGetFlags(unsigned int *flagsPtr, void *hostPtr)
Get flags associated with host pointer.
Definition: hip_memory.cpp:203
+
hipError_t hipStreamSynchronize(hipStream_t stream)
Wait for all commands in stream to complete.
Definition: hip_stream.cpp:94
+
Shared mem is banked at 4-bytes intervals and performs best when adjacent threads access data 4 bytes...
Definition: hip_runtime_api.h:104
+
hipError_t
Definition: hip_runtime_api.h:144
+
hipMemcpyKind
Definition: hip_runtime_api.h:129
+
prefer larger L1 cache and smaller shared memory
Definition: hip_runtime_api.h:94
+
hipError_t hipDriverGetVersion(int *driverVersion)
Returns the approximate HIP driver version.
Definition: hip_peer.cpp:163
+
hipError_t hipDeviceSynchronize(void)
Blocks until the default device has completed all preceding requested tasks.
Definition: hip_device.cpp:149
+
Definition: hip_runtime_api.h:47
+
hipError_t hipHostRegister(void *hostPtr, size_t sizeBytes, unsigned int flags)
Register host memory so it can be accessed from the current device.
Definition: hip_memory.cpp:229
+
hipError_t hipDeviceSetCacheConfig(hipFuncCache cacheConfig)
Set L1/Shared cache partition.
Definition: hip_device.cpp:62
+
hipError_t hipMalloc(void **ptr, size_t size)
Allocate memory on the default accelerator.
Definition: hip_memory.cpp:117
+
const char * hipGetErrorName(hipError_t hip_error)
Return name of the specified error code in text form.
Definition: hip_error.cpp:53
+
hipError_t hipGetLastError(void)
Return last error returned by any HIP runtime API call and resets the stored error code to hipSuccess...
Definition: hip_error.cpp:31
+
hipError_t hipStreamWaitEvent(hipStream_t stream, hipEvent_t event, unsigned int flags)
Make the specified compute stream wait for an event.
Definition: hip_stream.cpp:75
+
hipError_t hipStreamGetFlags(hipStream_t stream, unsigned int *flags)
Return flags associated with this stream.
Definition: hip_stream.cpp:146
+
hipError_t hipMemGetInfo(size_t *free, size_t *total)
Query memory info. Return snapshot of free memory, and total allocatable memory on the device...
Definition: hip_memory.cpp:477
+
hipError_t hipFree(void *ptr)
Free memory allocated by the hcc hip memory allocation API. This API performs an implicit hipDeviceSy...
Definition: hip_memory.cpp:507
+
uint32_t z
z
Definition: hip_runtime_api.h:117
+
hipError_t hipDeviceReset(void)
Destroy all resources and reset all state on the default device in the current process.
Definition: hip_device.cpp:163
+
Definition: hip_runtime_api.h:74
+
hipError_t hipMemsetAsync(void *dst, int value, size_t sizeBytes, hipStream_t stream)
Fills the first sizeBytes bytes of the memory area pointed to by dev with the constant byte value val...
Definition: hip_memory.cpp:371
+
The compiler selects a device-specific value for the banking.
Definition: hip_runtime_api.h:103
+
Device-to-Device Copy.
Definition: hip_runtime_api.h:133
+
Definition: hip_hcc.h:481
+
Runtime will automatically determine copy-kind based on virtual addresses.
Definition: hip_runtime_api.h:134
+
hipSharedMemConfig
Definition: hip_runtime_api.h:102
+
hipError_t hipHostUnregister(void *hostPtr)
Un-register host pointer.
Definition: hip_memory.cpp:272
+
Definition: hip_hcc.h:393
+
hipError_t hipStreamCreate(hipStream_t *stream)
Create an asynchronous stream.
Definition: hip_stream.cpp:63
+
hipError_t hipMemcpy(void *dst, const void *src, size_t sizeBytes, hipMemcpyKind kind)
Copy data from src to dst.
Definition: hip_memory.cpp:311
+
hipError_t hipEventCreate(hipEvent_t *event)
Definition: hip_event.cpp:61
+
hipError_t hipFreeHost(void *ptr) __attribute__((deprecated("use hipHostFree instead")))
Free memory allocated by the hcc hip host memory allocation API. [Deprecated.].
Definition: hip_memory.cpp:564
+
hipError_t hipDeviceSetSharedMemConfig(hipSharedMemConfig config)
Set Shared memory bank configuration.
Definition: hip_device.cpp:105
+
hipError_t hipEventRecord(hipEvent_t event, hipStream_t stream)
Record an event in the specified stream.
Definition: hip_event.cpp:70
+
prefer larger shared memory and smaller L1 cache
Definition: hip_runtime_api.h:93
+
Host-to-Host Copy.
Definition: hip_runtime_api.h:130
+
hipError_t hipPointerGetAttributes(hipPointerAttribute_t *attributes, void *ptr)
Return attributes for the specified pointer.
Definition: hip_memory.cpp:37
+
Shared mem is banked at 8-byte intervals and performs best when adjacent threads access data 4 bytes ...
Definition: hip_runtime_api.h:105
+
const char * hipGetErrorString(hipError_t hip_error)
Return handy text string message to explain the error which occurred.
Definition: hip_error.cpp:66
+
+ + + + diff --git a/docs/RuntimeAPI/html/hcc__detail_2hip__vector__types_8h.html b/docs/RuntimeAPI/html/hcc__detail_2hip__vector__types_8h.html new file mode 100644 index 0000000000..4b1623674a --- /dev/null +++ b/docs/RuntimeAPI/html/hcc__detail_2hip__vector__types_8h.html @@ -0,0 +1,417 @@ + + + + + + +HIP: Heterogenous-computing Interface for Portability: /home/mangupta/git/hip/release_0.90.00/include/hcc_detail/hip_vector_types.h File Reference + + + + + + + + + +
+
+ + + + + + +
+
HIP: Heterogenous-computing Interface for Portability +
+
+
+ + + + + + + + + +
+ +
+ + +
+
+ +
+
hip_vector_types.h File Reference
+
+
+ +

Defines the different newt vector types for HIP runtime. +More...

+
#include "hip/hcc_detail/host_defines.h"
+
+

Go to the source code of this file.

+ + + + +

+Macros

+#define __HIP_DEVICE__   __device__ __host__
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Typedefs

+typedef hc::short_vector::char1 char1
 
+typedef hc::short_vector::char2 char2
 
+typedef hc::short_vector::char3 char3
 
+typedef hc::short_vector::char4 char4
 
+typedef hc::short_vector::short1 short1
 
+typedef hc::short_vector::short2 short2
 
+typedef hc::short_vector::short3 short3
 
+typedef hc::short_vector::short4 short4
 
+typedef hc::short_vector::int1 int1
 
+typedef hc::short_vector::int2 int2
 
+typedef hc::short_vector::int3 int3
 
+typedef hc::short_vector::int4 int4
 
+typedef hc::short_vector::long1 long1
 
+typedef hc::short_vector::long2 long2
 
+typedef hc::short_vector::long3 long3
 
+typedef hc::short_vector::long4 long4
 
+typedef hc::short_vector::longlong1 longlong1
 
+typedef hc::short_vector::longlong2 longlong2
 
+typedef hc::short_vector::longlong3 longlong3
 
+typedef hc::short_vector::longlong4 longlong4
 
+typedef hc::short_vector::uchar1 uchar1
 
+typedef hc::short_vector::uchar2 uchar2
 
+typedef hc::short_vector::uchar3 uchar3
 
+typedef hc::short_vector::uchar4 uchar4
 
+typedef hc::short_vector::ushort1 ushort1
 
+typedef hc::short_vector::ushort2 ushort2
 
+typedef hc::short_vector::ushort3 ushort3
 
+typedef hc::short_vector::ushort4 ushort4
 
+typedef hc::short_vector::uint1 uint1
 
+typedef hc::short_vector::uint2 uint2
 
+typedef hc::short_vector::uint3 uint3
 
+typedef hc::short_vector::uint4 uint4
 
+typedef hc::short_vector::ulong1 ulong1
 
+typedef hc::short_vector::ulong2 ulong2
 
+typedef hc::short_vector::ulong3 ulong3
 
+typedef hc::short_vector::ulong4 ulong4
 
+typedef
+hc::short_vector::ulonglong1 
ulonglong1
 
+typedef
+hc::short_vector::ulonglong2 
ulonglong2
 
+typedef
+hc::short_vector::ulonglong3 
ulonglong3
 
+typedef
+hc::short_vector::ulonglong4 
ulonglong4
 
+typedef hc::short_vector::float1 float1
 
+typedef hc::short_vector::float2 float2
 
+typedef hc::short_vector::float3 float3
 
+typedef hc::short_vector::float4 float4
 
+typedef hc::short_vector::double1 double1
 
+typedef hc::short_vector::double2 double2
 
+typedef hc::short_vector::double3 double3
 
+typedef hc::short_vector::double4 double4
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Functions

+__HIP_DEVICE__ char1 make_char1 (signed char)
 
+__HIP_DEVICE__ char2 make_char2 (signed char, signed char)
 
+__HIP_DEVICE__ char3 make_char3 (signed char, signed char, signed char)
 
+__HIP_DEVICE__ char4 make_char4 (signed char, signed char, signed char, signed char)
 
+__HIP_DEVICE__ short1 make_short1 (short)
 
+__HIP_DEVICE__ short2 make_short2 (short, short)
 
+__HIP_DEVICE__ short3 make_short3 (short, short, short)
 
+__HIP_DEVICE__ short4 make_short4 (short, short, short, short)
 
+__HIP_DEVICE__ int1 make_int1 (int)
 
+__HIP_DEVICE__ int2 make_int2 (int, int)
 
+__HIP_DEVICE__ int3 make_int3 (int, int, int)
 
+__HIP_DEVICE__ int4 make_int4 (int, int, int, int)
 
+__HIP_DEVICE__ long1 make_long1 (long)
 
+__HIP_DEVICE__ long2 make_long2 (long, long)
 
+__HIP_DEVICE__ long3 make_long3 (long, long, long)
 
+__HIP_DEVICE__ long4 make_long4 (long, long, long, long)
 
+__HIP_DEVICE__ longlong1 make_longlong1 (long long)
 
+__HIP_DEVICE__ longlong2 make_longlong2 (long long, long long)
 
+__HIP_DEVICE__ longlong3 make_longlong3 (long long, long long, long long)
 
+__HIP_DEVICE__ longlong4 make_longlong4 (long long, long long, long long, long long)
 
+__HIP_DEVICE__ uchar1 make_uchar1 (unsigned char)
 
+__HIP_DEVICE__ uchar2 make_uchar2 (unsigned char, unsigned char)
 
+__HIP_DEVICE__ uchar3 make_uchar3 (unsigned char, unsigned char, unsigned char)
 
+__HIP_DEVICE__ uchar4 make_uchar4 (unsigned char, unsigned char, unsigned char, unsigned char)
 
+__HIP_DEVICE__ ushort1 make_ushort1 (unsigned short)
 
+__HIP_DEVICE__ ushort2 make_ushort2 (unsigned short, unsigned short)
 
+__HIP_DEVICE__ ushort3 make_ushort3 (unsigned short, unsigned short, unsigned short)
 
+__HIP_DEVICE__ ushort4 make_ushort4 (unsigned short, unsigned short, unsigned short, unsigned short)
 
+__HIP_DEVICE__ uint1 make_uint1 (unsigned int)
 
+__HIP_DEVICE__ uint2 make_uint2 (unsigned int, unsigned int)
 
+__HIP_DEVICE__ uint3 make_uint3 (unsigned int, unsigned int, unsigned int)
 
+__HIP_DEVICE__ uint4 make_uint4 (unsigned int, unsigned int, unsigned int, unsigned int)
 
+__HIP_DEVICE__ ulong1 make_ulong1 (unsigned long)
 
+__HIP_DEVICE__ ulong2 make_ulong2 (unsigned long, unsigned long)
 
+__HIP_DEVICE__ ulong3 make_ulong3 (unsigned long, unsigned long, unsigned long)
 
+__HIP_DEVICE__ ulong4 make_ulong4 (unsigned long, unsigned long, unsigned long, unsigned long)
 
+__HIP_DEVICE__ ulonglong1 make_ulonglong1 (unsigned long long)
 
+__HIP_DEVICE__ ulonglong2 make_ulonglong2 (unsigned long long, unsigned long long)
 
+__HIP_DEVICE__ ulonglong3 make_ulonglong3 (unsigned long long, unsigned long long, unsigned long long)
 
+__HIP_DEVICE__ ulonglong4 make_ulonglong4 (unsigned long long, unsigned long long, unsigned long long, unsigned long long)
 
+__HIP_DEVICE__ float1 make_float1 (float)
 
+__HIP_DEVICE__ float2 make_float2 (float, float)
 
+__HIP_DEVICE__ float3 make_float3 (float, float, float)
 
+__HIP_DEVICE__ float4 make_float4 (float, float, float, float)
 
+__HIP_DEVICE__ double1 make_double1 (double)
 
+__HIP_DEVICE__ double2 make_double2 (double, double)
 
+__HIP_DEVICE__ double3 make_double3 (double, double, double)
 
+__HIP_DEVICE__ double4 make_double4 (double, double, double, double)
 
+

Detailed Description

+

Defines the different newt vector types for HIP runtime.

+
+ + + + diff --git a/docs/RuntimeAPI/html/hcc__detail_2hip__vector__types_8h_source.html b/docs/RuntimeAPI/html/hcc__detail_2hip__vector__types_8h_source.html new file mode 100644 index 0000000000..ac062d54e8 --- /dev/null +++ b/docs/RuntimeAPI/html/hcc__detail_2hip__vector__types_8h_source.html @@ -0,0 +1,365 @@ + + + + + + +HIP: Heterogenous-computing Interface for Portability: /home/mangupta/git/hip/release_0.90.00/include/hcc_detail/hip_vector_types.h Source File + + + + + + + + + +
+
+ + + + + + +
+
HIP: Heterogenous-computing Interface for Portability +
+
+
+ + + + + + + + + +
+ +
+ + +
+
+
+
hip_vector_types.h
+
+
+Go to the documentation of this file.
1 /*
+
2 Copyright (c) 2015-2016 Advanced Micro Devices, Inc. All rights reserved.
+
3 
+
4 Permission is hereby granted, free of charge, to any person obtaining a copy
+
5 of this software and associated documentation files (the "Software"), to deal
+
6 in the Software without restriction, including without limitation the rights
+
7 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+
8 copies of the Software, and to permit persons to whom the Software is
+
9 furnished to do so, subject to the following conditions:
+
10 
+
11 The above copyright notice and this permission notice shall be included in
+
12 all copies or substantial portions of the Software.
+
13 
+
14 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+
15 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+
16 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+
17 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+
18 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+
19 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+
20 THE SOFTWARE.
+
21 */
+
22 
+
28 #ifndef HIP_VECTOR_TYPES_H
+
29 #define HIP_VECTOR_TYPES_H
+
30 
+
31 #if defined (__HCC__) && (__hcc_workweek__ < 16032)
+
32 #error("This version of HIP requires a newer version of HCC.");
+
33 #endif
+
34 
+
35 #if __cplusplus
+
36 #include <hc_short_vector.hpp>
+
37 
+
38 using namespace hc::short_vector;
+
39 #endif
+
40 
+
41 //-- Signed
+
42 // Define char vector types
+
43 typedef hc::short_vector::char1 char1;
+
44 typedef hc::short_vector::char2 char2;
+
45 typedef hc::short_vector::char3 char3;
+
46 typedef hc::short_vector::char4 char4;
+
47 
+
48 // Define short vector types
+
49 typedef hc::short_vector::short1 short1;
+
50 typedef hc::short_vector::short2 short2;
+
51 typedef hc::short_vector::short3 short3;
+
52 typedef hc::short_vector::short4 short4;
+
53 
+
54 // Define int vector types
+
55 typedef hc::short_vector::int1 int1;
+
56 typedef hc::short_vector::int2 int2;
+
57 typedef hc::short_vector::int3 int3;
+
58 typedef hc::short_vector::int4 int4;
+
59 
+
60 // Define long vector types
+
61 typedef hc::short_vector::long1 long1;
+
62 typedef hc::short_vector::long2 long2;
+
63 typedef hc::short_vector::long3 long3;
+
64 typedef hc::short_vector::long4 long4;
+
65 
+
66 // Define longlong vector types
+
67 typedef hc::short_vector::longlong1 longlong1;
+
68 typedef hc::short_vector::longlong2 longlong2;
+
69 typedef hc::short_vector::longlong3 longlong3;
+
70 typedef hc::short_vector::longlong4 longlong4;
+
71 
+
72 
+
73 //-- Unsigned
+
74 // Define uchar vector types
+
75 typedef hc::short_vector::uchar1 uchar1;
+
76 typedef hc::short_vector::uchar2 uchar2;
+
77 typedef hc::short_vector::uchar3 uchar3;
+
78 typedef hc::short_vector::uchar4 uchar4;
+
79 
+
80 // Define ushort vector types
+
81 typedef hc::short_vector::ushort1 ushort1;
+
82 typedef hc::short_vector::ushort2 ushort2;
+
83 typedef hc::short_vector::ushort3 ushort3;
+
84 typedef hc::short_vector::ushort4 ushort4;
+
85 
+
86 // Define uint vector types
+
87 typedef hc::short_vector::uint1 uint1;
+
88 typedef hc::short_vector::uint2 uint2;
+
89 typedef hc::short_vector::uint3 uint3;
+
90 typedef hc::short_vector::uint4 uint4;
+
91 
+
92 // Define ulong vector types
+
93 typedef hc::short_vector::ulong1 ulong1;
+
94 typedef hc::short_vector::ulong2 ulong2;
+
95 typedef hc::short_vector::ulong3 ulong3;
+
96 typedef hc::short_vector::ulong4 ulong4;
+
97 
+
98 // Define ulonglong vector types
+
99 typedef hc::short_vector::ulonglong1 ulonglong1;
+
100 typedef hc::short_vector::ulonglong2 ulonglong2;
+
101 typedef hc::short_vector::ulonglong3 ulonglong3;
+
102 typedef hc::short_vector::ulonglong4 ulonglong4;
+
103 
+
104 
+
105 //-- Floating point
+
106 // Define float vector types
+
107 typedef hc::short_vector::float1 float1;
+
108 typedef hc::short_vector::float2 float2;
+
109 typedef hc::short_vector::float3 float3;
+
110 typedef hc::short_vector::float4 float4;
+
111 
+
112 // Define double vector types
+
113 typedef hc::short_vector::double1 double1;
+
114 typedef hc::short_vector::double2 double2;
+
115 typedef hc::short_vector::double3 double3;
+
116 typedef hc::short_vector::double4 double4;
+
117 
+
118 #if __HCC__
+
119 #include"hip/hcc_detail/host_defines.h"
+
120 #define __HIP_DEVICE__ __device__ __host__
+
121 #else
+
122 #define __HIP_DEVICE__
+
123 #endif
+
124 
+
125 __HIP_DEVICE__ char1 make_char1(signed char );
+
126 __HIP_DEVICE__ char2 make_char2(signed char, signed char );
+
127 __HIP_DEVICE__ char3 make_char3(signed char, signed char, signed char );
+
128 __HIP_DEVICE__ char4 make_char4(signed char, signed char, signed char, signed char );
+
129 
+
130 __HIP_DEVICE__ short1 make_short1(short );
+
131 __HIP_DEVICE__ short2 make_short2(short, short );
+
132 __HIP_DEVICE__ short3 make_short3(short, short, short );
+
133 __HIP_DEVICE__ short4 make_short4(short, short, short, short );
+
134 
+
135 __HIP_DEVICE__ int1 make_int1(int );
+
136 __HIP_DEVICE__ int2 make_int2(int, int );
+
137 __HIP_DEVICE__ int3 make_int3(int, int, int );
+
138 __HIP_DEVICE__ int4 make_int4(int, int, int, int );
+
139 
+
140 __HIP_DEVICE__ long1 make_long1(long );
+
141 __HIP_DEVICE__ long2 make_long2(long, long );
+
142 __HIP_DEVICE__ long3 make_long3(long, long, long );
+
143 __HIP_DEVICE__ long4 make_long4(long, long, long, long );
+
144 
+
145 __HIP_DEVICE__ longlong1 make_longlong1(long long );
+
146 __HIP_DEVICE__ longlong2 make_longlong2(long long, long long );
+
147 __HIP_DEVICE__ longlong3 make_longlong3(long long, long long, long long );
+
148 __HIP_DEVICE__ longlong4 make_longlong4(long long, long long, long long, long long );
+
149 
+
150 __HIP_DEVICE__ uchar1 make_uchar1(unsigned char );
+
151 __HIP_DEVICE__ uchar2 make_uchar2(unsigned char, unsigned char );
+
152 __HIP_DEVICE__ uchar3 make_uchar3(unsigned char, unsigned char, unsigned char );
+
153 __HIP_DEVICE__ uchar4 make_uchar4(unsigned char, unsigned char, unsigned char, unsigned char );
+
154 
+
155 __HIP_DEVICE__ ushort1 make_ushort1(unsigned short );
+
156 __HIP_DEVICE__ ushort2 make_ushort2(unsigned short, unsigned short );
+
157 __HIP_DEVICE__ ushort3 make_ushort3(unsigned short, unsigned short, unsigned short );
+
158 __HIP_DEVICE__ ushort4 make_ushort4(unsigned short, unsigned short, unsigned short, unsigned short );
+
159 
+
160 __HIP_DEVICE__ uint1 make_uint1(unsigned int );
+
161 __HIP_DEVICE__ uint2 make_uint2(unsigned int, unsigned int );
+
162 __HIP_DEVICE__ uint3 make_uint3(unsigned int, unsigned int, unsigned int );
+
163 __HIP_DEVICE__ uint4 make_uint4(unsigned int, unsigned int, unsigned int, unsigned int );
+
164 
+
165 __HIP_DEVICE__ ulong1 make_ulong1(unsigned long );
+
166 __HIP_DEVICE__ ulong2 make_ulong2(unsigned long, unsigned long );
+
167 __HIP_DEVICE__ ulong3 make_ulong3(unsigned long, unsigned long, unsigned long );
+
168 __HIP_DEVICE__ ulong4 make_ulong4(unsigned long, unsigned long, unsigned long, unsigned long );
+
169 
+
170 __HIP_DEVICE__ ulonglong1 make_ulonglong1(unsigned long long );
+
171 __HIP_DEVICE__ ulonglong2 make_ulonglong2(unsigned long long, unsigned long long);
+
172 __HIP_DEVICE__ ulonglong3 make_ulonglong3(unsigned long long, unsigned long long, unsigned long long);
+
173 __HIP_DEVICE__ ulonglong4 make_ulonglong4(unsigned long long, unsigned long long, unsigned long long, unsigned long long );
+
174 
+
175 __HIP_DEVICE__ float1 make_float1(float );
+
176 __HIP_DEVICE__ float2 make_float2(float, float );
+
177 __HIP_DEVICE__ float3 make_float3(float, float, float );
+
178 __HIP_DEVICE__ float4 make_float4(float, float, float, float );
+
179 
+
180 __HIP_DEVICE__ double1 make_double1(double );
+
181 __HIP_DEVICE__ double2 make_double2(double, double );
+
182 __HIP_DEVICE__ double3 make_double3(double, double, double );
+
183 __HIP_DEVICE__ double4 make_double4(double, double, double, double );
+
184 
+
185 /*
+
187 // Inline functions for creating vector types from basic types
+
188 #define ONE_COMPONENT_ACCESS(T, VT) inline VT make_ ##VT [[hc]] [[cpu]] (T x) { VT t; t.x = x; return t; };
+
189 #define TWO_COMPONENT_ACCESS(T, VT) inline VT make_ ##VT [[hc]] [[cpu]] (T x, T y) { VT t; t.x=x; t.y=y; return t; };
+
190 #define THREE_COMPONENT_ACCESS(T, VT) inline VT make_ ##VT [[hc]] [[cpu]] (T x, T y, T z) { VT t; t.x=x; t.y=y; t.z=z; return t; };
+
191 #define FOUR_COMPONENT_ACCESS(T, VT) inline VT make_ ##VT [[hc]] [[cpu]] (T x, T y, T z, T w) { VT t; t.x=x; t.y=y; t.z=z; t.w=w; return t; };
+
192 
+
193 
+
194 //signed:
+
195 ONE_COMPONENT_ACCESS (signed char, char1);
+
196 TWO_COMPONENT_ACCESS (signed char, char2);
+
197 THREE_COMPONENT_ACCESS(signed char, char3);
+
198 FOUR_COMPONENT_ACCESS (signed char, char4);
+
199 
+
200 ONE_COMPONENT_ACCESS (short, short1);
+
201 TWO_COMPONENT_ACCESS (short, short2);
+
202 THREE_COMPONENT_ACCESS(short, short3);
+
203 FOUR_COMPONENT_ACCESS (short, short4);
+
204 
+
205 ONE_COMPONENT_ACCESS (int, int1);
+
206 TWO_COMPONENT_ACCESS (int, int2);
+
207 THREE_COMPONENT_ACCESS(int, int3);
+
208 FOUR_COMPONENT_ACCESS (int, int4);
+
209 
+
210 ONE_COMPONENT_ACCESS (long int, long1);
+
211 TWO_COMPONENT_ACCESS (long int, long2);
+
212 THREE_COMPONENT_ACCESS(long int, long3);
+
213 FOUR_COMPONENT_ACCESS (long int, long4);
+
214 
+
215 ONE_COMPONENT_ACCESS (long long int, ulong1);
+
216 TWO_COMPONENT_ACCESS (long long int, ulong2);
+
217 THREE_COMPONENT_ACCESS(long long int, ulong3);
+
218 FOUR_COMPONENT_ACCESS (long long int, ulong4);
+
219 
+
220 ONE_COMPONENT_ACCESS (long long int, longlong1);
+
221 TWO_COMPONENT_ACCESS (long long int, longlong2);
+
222 THREE_COMPONENT_ACCESS(long long int, longlong3);
+
223 FOUR_COMPONENT_ACCESS (long long int, longlong4);
+
224 
+
225 
+
226 // unsigned:
+
227 ONE_COMPONENT_ACCESS (unsigned char, uchar1);
+
228 TWO_COMPONENT_ACCESS (unsigned char, uchar2);
+
229 THREE_COMPONENT_ACCESS(unsigned char, uchar3);
+
230 FOUR_COMPONENT_ACCESS (unsigned char, uchar4);
+
231 
+
232 ONE_COMPONENT_ACCESS (unsigned short, ushort1);
+
233 TWO_COMPONENT_ACCESS (unsigned short, ushort2);
+
234 THREE_COMPONENT_ACCESS(unsigned short, ushort3);
+
235 FOUR_COMPONENT_ACCESS (unsigned short, ushort4);
+
236 
+
237 ONE_COMPONENT_ACCESS (unsigned int, uint1);
+
238 TWO_COMPONENT_ACCESS (unsigned int, uint2);
+
239 THREE_COMPONENT_ACCESS(unsigned int, uint3);
+
240 FOUR_COMPONENT_ACCESS (unsigned int, uint4);
+
241 
+
242 ONE_COMPONENT_ACCESS (unsigned long int, ulong1);
+
243 TWO_COMPONENT_ACCESS (unsigned long int, ulong2);
+
244 THREE_COMPONENT_ACCESS(unsigned long int, ulong3);
+
245 FOUR_COMPONENT_ACCESS (unsigned long int, ulong4);
+
246 
+
247 ONE_COMPONENT_ACCESS (unsigned long long int, ulong1);
+
248 TWO_COMPONENT_ACCESS (unsigned long long int, ulong2);
+
249 THREE_COMPONENT_ACCESS(unsigned long long int, ulong3);
+
250 FOUR_COMPONENT_ACCESS (unsigned long long int, ulong4);
+
251 
+
252 ONE_COMPONENT_ACCESS (unsigned long long int, ulonglong1);
+
253 TWO_COMPONENT_ACCESS (unsigned long long int, ulonglong2);
+
254 THREE_COMPONENT_ACCESS(unsigned long long int, ulonglong3);
+
255 FOUR_COMPONENT_ACCESS (unsigned long long int, ulonglong4);
+
256 
+
257 
+
258 //Floating point
+
259 ONE_COMPONENT_ACCESS (float, float1);
+
260 TWO_COMPONENT_ACCESS (float, float2);
+
261 THREE_COMPONENT_ACCESS(float, float3);
+
262 FOUR_COMPONENT_ACCESS (float, float4);
+
263 
+
264 ONE_COMPONENT_ACCESS (double, double1);
+
265 TWO_COMPONENT_ACCESS (double, double2);
+
266 THREE_COMPONENT_ACCESS(double, double3);
+
267 FOUR_COMPONENT_ACCESS (double, double4);
+
268 */
+
269 
+
270 #endif
+
271 
+
+ + + + diff --git a/docs/RuntimeAPI/html/hierarchy.html b/docs/RuntimeAPI/html/hierarchy.html new file mode 100644 index 0000000000..e9b9278171 --- /dev/null +++ b/docs/RuntimeAPI/html/hierarchy.html @@ -0,0 +1,125 @@ + + + + + + +HIP: Heterogenous-computing Interface for Portability: Class Hierarchy + + + + + + + + + +
+
+ + + + + + +
+
HIP: Heterogenous-computing Interface for Portability +
+
+
+ + + + + +
+ + + + +
+ +
+ +
+
+
Class Hierarchy
+
+ + + + + diff --git a/docs/RuntimeAPI/html/hip__common_8h_source.html b/docs/RuntimeAPI/html/hip__common_8h_source.html new file mode 100644 index 0000000000..8c57931dce --- /dev/null +++ b/docs/RuntimeAPI/html/hip__common_8h_source.html @@ -0,0 +1,189 @@ + + + + + + +HIP: Heterogenous-computing Interface for Portability: /home/mangupta/git/hip/release_0.90.00/include/hip_common.h Source File + + + + + + + + + +
+
+ + + + + + +
+
HIP: Heterogenous-computing Interface for Portability +
+
+
+ + + + + + + + + +
+ +
+ + +
+
+
+
hip_common.h
+
+
+
1 /*
+
2 Copyright (c) 2015-2016 Advanced Micro Devices, Inc. All rights reserved.
+
3 
+
4 Permission is hereby granted, free of charge, to any person obtaining a copy
+
5 of this software and associated documentation files (the "Software"), to deal
+
6 in the Software without restriction, including without limitation the rights
+
7 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+
8 copies of the Software, and to permit persons to whom the Software is
+
9 furnished to do so, subject to the following conditions:
+
10 
+
11 The above copyright notice and this permission notice shall be included in
+
12 all copies or substantial portions of the Software.
+
13 
+
14 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+
15 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+
16 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+
17 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+
18 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+
19 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+
20 THE SOFTWARE.
+
21 */
+
22 
+
23 #pragma once
+
24 
+
25 // Disable use of grid_launch feature in HCC compiler.
+
26 //#define DISABLE_GRID_LAUNCH
+
27 
+
28 // Common code included at start of every hip file.
+
29 // Auto enable __HIP_PLATFORM_HCC__ if compiling with HCC
+
30 // Other compiler (GCC,ICC,etc) need to set one of these macros explicitly
+
31 #if defined(__HCC__)
+
32 #define __HIP_PLATFORM_HCC__
+
33 #define __HIPCC__
+
34 
+
35 #if defined(__HCC_ACCELERATOR__) && (__HCC_ACCELERATOR__ != 0)
+
36 #define __HIP_DEVICE_COMPILE__ 1
+
37 #else
+
38 #define __HIP_DEVICE_COMPILE__ 0
+
39 #endif
+
40 #endif
+
41 
+
42 // Auto enable __HIP_PLATFORM_NVCC__ if compiling with NVCC
+
43 #if defined(__NVCC__)
+
44 #define __HIP_PLATFORM_NVCC__
+
45 # ifdef __CUDACC__
+
46 # define __HIPCC__
+
47 # endif
+
48 
+
49 #if defined(__CUDA_ARCH__) && (__CUDA_ARCH__ != 0)
+
50 #define __HIP_DEVICE_COMPILE__ 1
+
51 #else
+
52 #define __HIP_DEVICE_COMPILE__ 0
+
53 #endif
+
54 
+
55 #endif
+
56 
+
57 
+
58 
+
59 
+
60 #if __HIP_DEVICE_COMPILE__ == 0
+
61 // 32-bit Atomics
+
62 #define __HIP_ARCH_HAS_GLOBAL_INT32_ATOMICS__ (0)
+
63 #define __HIP_ARCH_HAS_GLOBAL_FLOAT_ATOMIC_EXCH__ (0)
+
64 #define __HIP_ARCH_HAS_SHARED_INT32_ATOMICS__ (0)
+
65 #define __HIP_ARCH_HAS_SHARED_FLOAT_ATOMIC_EXCH__ (0)
+
66 #define __HIP_ARCH_HAS_FLOAT_ATOMIC_ADD__ (0)
+
67 
+
68 // 64-bit Atomics
+
69 #define __HIP_ARCH_HAS_GLOBAL_INT64_ATOMICS__ (0)
+
70 #define __HIP_ARCH_HAS_SHARED_INT64_ATOMICS__ (0)
+
71 
+
72 // Doubles
+
73 #define __HIP_ARCH_HAS_DOUBLES__ (0)
+
74 
+
75 // Warp cross-lane operations
+
76 #define __HIP_ARCH_HAS_WARP_VOTE__ (0)
+
77 #define __HIP_ARCH_HAS_WARP_BALLOT__ (0)
+
78 #define __HIP_ARCH_HAS_WARP_SHUFFLE__ (0)
+
79 #define __HIP_ARCH_HAS_WARP_FUNNEL_SHIFT__ (0)
+
80 
+
81 // Sync
+
82 #define __HIP_ARCH_HAS_THREAD_FENCE_SYSTEM__ (0)
+
83 #define __HIP_ARCH_HAS_SYNC_THREAD_EXT__ (0)
+
84 
+
85 // Misc
+
86 #define __HIP_ARCH_HAS_SURFACE_FUNCS__ (0)
+
87 #define __HIP_ARCH_HAS_3DGRID__ (0)
+
88 #define __HIP_ARCH_HAS_DYNAMIC_PARALLEL__ (0)
+
89 #endif
+
+ + + + diff --git a/docs/RuntimeAPI/html/hip__hcc_8cpp.html b/docs/RuntimeAPI/html/hip__hcc_8cpp.html new file mode 100644 index 0000000000..1e6cadb628 --- /dev/null +++ b/docs/RuntimeAPI/html/hip__hcc_8cpp.html @@ -0,0 +1,353 @@ + + + + + + +HIP: Heterogenous-computing Interface for Portability: /home/mangupta/git/hip/release_0.90.00/src/hip_hcc.cpp File Reference + + + + + + + + + +
+
+ + + + + + +
+
HIP: Heterogenous-computing Interface for Portability +
+
+
+ + + + + + + + + +
+ +
+ + +
+
+ +
+
hip_hcc.cpp File Reference
+
+
+
#include <assert.h>
+#include <stdint.h>
+#include <iostream>
+#include <sstream>
+#include <list>
+#include <sys/types.h>
+#include <unistd.h>
+#include <deque>
+#include <vector>
+#include <algorithm>
+#include <hc.hpp>
+#include <hc_am.hpp>
+#include "hip_runtime.h"
+#include "hcc_detail/hip_hcc.h"
+#include "hsa_ext_amd.h"
+#include "hsakmt.h"
+#include "hcc_detail/trace_helper.h"
+
+ + + + + + + +

+Macros

+#define DeviceErrorCheck(x)   if (x != HSA_STATUS_SUCCESS) { return hipErrorInvalidDevice; }
 
+#define ErrorCheck(x)   error_check(x, __LINE__, __FILE__)
 
#define READ_ENV_I(_build, _ENV_VAR, _ENV_VAR2, _description)
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Functions

+const char * ihipErrorString (hipError_t hip_error)
 
+bool ihipIsValidDevice (unsigned deviceIndex)
 
+ihipDevice_tgetDevice (unsigned deviceIndex)
 
+void error_check (hsa_status_t hsa_error_code, int line_num, std::string str)
 
+hsa_status_t get_region_info (hsa_region_t region, void *data)
 
+void ihipReadEnv_I (int *var_ptr, const char *var_name1, const char *var_name2, const char *description)
 
+void ihipInit ()
 
+ihipDevice_tihipGetTlsDefaultDevice ()
 
+ihipDevice_tihipGetDevice (int deviceId)
 
+hipStream_t ihipSyncAndResolveStream (hipStream_t stream)
 
+hipStream_t ihipPreLaunchKernel (hipStream_t stream, dim3 grid, dim3 block, grid_launch_parm *lp)
 
+hipStream_t ihipPreLaunchKernel (hipStream_t stream, size_t grid, dim3 block, grid_launch_parm *lp)
 
+hipStream_t ihipPreLaunchKernel (hipStream_t stream, dim3 grid, size_t block, grid_launch_parm *lp)
 
+hipStream_t ihipPreLaunchKernel (hipStream_t stream, size_t grid, size_t block, grid_launch_parm *lp)
 
+void ihipPostLaunchKernel (hipStream_t stream, grid_launch_parm &lp)
 
+void ihipSetTs (hipEvent_t e)
 
hipError_t hipHccGetAccelerator (int deviceId, hc::accelerator *acc)
 
hipError_t hipHccGetAcceleratorView (hipStream_t stream, hc::accelerator_view **av)
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Variables

+const int release = 1
 
+int HIP_LAUNCH_BLOCKING = 0
 
+int HIP_PRINT_ENV = 0
 
+int HIP_TRACE_API = 0
 
+int HIP_ATP_MARKER = 0
 
+int HIP_DB = 0
 
+int HIP_STAGING_SIZE = 64
 
+int HIP_STAGING_BUFFERS = 2
 
+int HIP_PININPLACE = 0
 
+int HIP_STREAM_SIGNALS = 2
 
+int HIP_VISIBLE_DEVICES = 0
 
+int HIP_DISABLE_HW_KERNEL_DEP = 0
 
+int HIP_DISABLE_HW_COPY_DEP = 0
 
+thread_local int tls_defaultDevice = 0
 
+thread_local hipError_t tls_lastHipError = hipSuccess
 
+std::once_flag hip_initialized
 
+ihipDevice_tg_devices
 
+bool g_visible_device = false
 
+unsigned g_deviceCnt
 
+std::vector< int > g_hip_visible_devices
 
+hsa_agent_t g_cpu_agent
 
+

Detailed Description

+

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.

+

Macro Definition Documentation

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
#define READ_ENV_I( _build,
 _ENV_VAR,
 _ENV_VAR2,
 _description 
)
+
+Value:
if (_build == release) {\
+
ihipReadEnv_I(&_ENV_VAR, #_ENV_VAR, #_ENV_VAR2, _description);\
+
};
+
+
+
+

Function Documentation

+ +
+
+ + + + + + + + + + + + + + + + + + +
hipError_t hipHccGetAccelerator (int deviceId,
hc::accelerator * acc 
)
+
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
hipError_t hipHccGetAcceleratorView (hipStream_t stream,
hc::accelerator_view ** av 
)
+
+
Returns
hipSuccess
+ +
+
+
+ + + + diff --git a/docs/RuntimeAPI/html/hip__hcc_8h_source.html b/docs/RuntimeAPI/html/hip__hcc_8h_source.html new file mode 100644 index 0000000000..9b50e13b86 --- /dev/null +++ b/docs/RuntimeAPI/html/hip__hcc_8h_source.html @@ -0,0 +1,819 @@ + + + + + + +HIP: Heterogenous-computing Interface for Portability: /home/mangupta/git/hip/release_0.90.00/include/hcc_detail/hip_hcc.h Source File + + + + + + + + + +
+
+ + + + + + +
+
HIP: Heterogenous-computing Interface for Portability +
+
+
+ + + + + + + + + +
+ +
+ + +
+
+
+
hip_hcc.h
+
+
+
1 /*
+
2 Copyright (c) 2015-2016 Advanced Micro Devices, Inc. All rights reserved.
+
3 Permission is hereby granted, free of charge, to any person obtaining a copy
+
4 of this software and associated documentation files (the "Software"), to deal
+
5 in the Software without restriction, including without limitation the rights
+
6 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+
7 copies of the Software, and to permit persons to whom the Software is
+
8 furnished to do so, subject to the following conditions:
+
9 The above copyright notice and this permission notice shall be included in
+
10 all copies or substantial portions of the Software.
+
11 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANNTY OF ANY KIND, EXPRESS OR
+
12 IMPLIED, INNCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+
13 FITNNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+
14 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANNY CLAIM, DAMAGES OR OTHER
+
15 LIABILITY, WHETHER INN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+
16 OUT OF OR INN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+
17 THE SOFTWARE.
+
18 */
+
19 
+
20 #ifndef HIP_HCC_H
+
21 #define HIP_HCC_H
+
22 
+
23 #include <hc.hpp>
+
24 #include "hip/hcc_detail/hip_util.h"
+
25 #include "hip/hcc_detail/staging_buffer.h"
+
26 
+
27 
+
28 #if defined(__HCC__) && (__hcc_workweek__ < 16186)
+
29 #error("This version of HIP requires a newer version of HCC.");
+
30 #endif
+
31 
+
32 // #define USE_MEMCPYTOSYMBOL
+
33 //
+
34 //Use the new HCC accelerator_view::copy instead of am_copy
+
35 #define USE_AV_COPY 0
+
36 
+
37 // Compile peer-to-peer support.
+
38 // >= 2 : use HCC hc:accelerator::get_is_peer
+
39 // >= 3 : use hc::am_memtracker_update_peers(...)
+
40 #define USE_PEER_TO_PEER 3
+
41 
+
42 
+
43 //---
+
44 // Environment variables:
+
45 
+
46 // Intended to distinguish whether an environment variable should be visible only in debug mode, or in debug+release.
+
47 //static const int debug = 0;
+
48 extern const int release;
+
49 
+
50 extern int HIP_LAUNCH_BLOCKING;
+
51 
+
52 extern int HIP_PRINT_ENV;
+
53 extern int HIP_ATP_MARKER;
+
54 //extern int HIP_TRACE_API;
+
55 extern int HIP_ATP;
+
56 extern int HIP_DB;
+
57 extern int HIP_STAGING_SIZE; /* size of staging buffers, in KB */
+
58 extern int HIP_STAGING_BUFFERS; // TODO - remove, two buffers should be enough.
+
59 extern int HIP_PININPLACE;
+
60 extern int HIP_STREAM_SIGNALS; /* number of signals to allocate at stream creation */
+
61 extern int HIP_VISIBLE_DEVICES; /* Contains a comma-separated sequence of GPU identifiers */
+
62 
+
63 
+
64 //---
+
65 // Chicken bits for disabling functionality to work around potential issues:
+
66 extern int HIP_DISABLE_HW_KERNEL_DEP;
+
67 extern int HIP_DISABLE_HW_COPY_DEP;
+
68 
+
69 extern thread_local int tls_defaultDevice;
+
70 extern thread_local hipError_t tls_lastHipError;
+
71 class ihipStream_t;
+
72 class ihipDevice_t;
+
73 
+
74 
+
75 // Color defs for debug messages:
+
76 #define KNRM "\x1B[0m"
+
77 #define KRED "\x1B[31m"
+
78 #define KGRN "\x1B[32m"
+
79 #define KYEL "\x1B[33m"
+
80 #define KBLU "\x1B[34m"
+
81 #define KMAG "\x1B[35m"
+
82 #define KCYN "\x1B[36m"
+
83 #define KWHT "\x1B[37m"
+
84 
+
85 #define API_COLOR KGRN
+
86 
+
87 
+
88 // If set, thread-safety is enforced on all stream functions.
+
89 // Stream functions will acquire a mutex before entering critical sections.
+
90 #define STREAM_THREAD_SAFE 1
+
91 
+
92 
+
93 #define DEVICE_THREAD_SAFE 1
+
94 
+
95 // If FORCE_COPY_DEP=1 , HIP runtime will add
+
96 // synchronization for copy commands in the same stream, regardless of command type.
+
97 // If FORCE_COPY_DEP=0 data copies of the same kind (H2H, H2D, D2H, D2D) are assumed to be implicitly ordered.
+
98 // ROCR runtime implementation currently provides this guarantee when using SDMA queues but not
+
99 // when using shader queues.
+
100 // TODO - measure if this matters for performance, in particular for back-to-back small copies.
+
101 // If not, we can simplify the copy dependency tracking by collapsing to a single Copy type, and always forcing dependencies for copy commands.
+
102 #define FORCE_SAMEDIR_COPY_DEP 1
+
103 
+
104 
+
105 // Compile debug trace mode - this prints debug messages to stderr when env var HIP_DB is set.
+
106 // May be set to 0 to remove debug if checks - possible code size and performance difference?
+
107 #define COMPILE_HIP_DB 1
+
108 
+
109 
+
110 // Compile HIP tracing capability.
+
111 // 0x1 = print a string at function entry with arguments.
+
112 // 0x2 = prints a simple message with function name + return code when function exits.
+
113 // 0x3 = print both.
+
114 // Must be enabled at runtime with HIP_TRACE_API
+
115 #define COMPILE_HIP_TRACE_API 0x3
+
116 
+
117 
+
118 // Compile code that generates trace markers for CodeXL ATP at HIP function begin/end.
+
119 // ATP is standard CodeXL format that includes timestamps for kernels, HSA RT APIs, and HIP APIs.
+
120 #ifndef COMPILE_HIP_ATP_MARKER
+
121 #define COMPILE_HIP_ATP_MARKER 0
+
122 #endif
+
123 
+
124 
+
125 // #include CPP files to produce one object file
+
126 #define ONE_OBJECT_FILE 0
+
127 
+
128 
+
129 // Compile support for trace markers that are displayed on CodeXL GUI at start/stop of each function boundary.
+
130 // TODO - currently we print the trace message at the beginning. if we waited, we could also include return codes, and any values returned
+
131 // through ptr-to-args (ie the pointers allocated by hipMalloc).
+
132 #if COMPILE_HIP_ATP_MARKER
+
133 #include "AMDTActivityLogger.h"
+
134 #define SCOPED_MARKER(markerName,group,userString) amdtScopedMarker(markerName, group, userString)
+
135 #else
+
136 // Swallow scoped markers:
+
137 #define SCOPED_MARKER(markerName,group,userString)
+
138 #endif
+
139 
+
140 
+
141 #if COMPILE_HIP_ATP_MARKER || (COMPILE_HIP_TRACE_API & 0x1)
+
142 #define API_TRACE(...)\
+
143 {\
+
144  if (HIP_ATP_MARKER || (COMPILE_HIP_DB && HIP_TRACE_API)) {\
+
145  std::string s = std::string(__func__) + " (" + ToString(__VA_ARGS__) + ')';\
+
146  if (COMPILE_HIP_DB && HIP_TRACE_API) {\
+
147  fprintf (stderr, API_COLOR "<<hip-api: %s\n" KNRM, s.c_str());\
+
148  }\
+
149  SCOPED_MARKER(s.c_str(), "HIP", NULL);\
+
150  }\
+
151 }
+
152 #else
+
153 // Swallow API_TRACE
+
154 #define API_TRACE(...)
+
155 #endif
+
156 
+
157 
+
158 
+
159 // This macro should be called at the beginning of every HIP API.
+
160 // It initialies the hip runtime (exactly once), and
+
161 // generate trace string that can be output to stderr or to ATP file.
+
162 #define HIP_INIT_API(...) \
+
163  std::call_once(hip_initialized, ihipInit);\
+
164  API_TRACE(__VA_ARGS__);
+
165 
+
166 #define ihipLogStatus(_hip_status) \
+
167  ({\
+
168  hipError_t _local_hip_status = _hip_status; /*local copy so _hip_status only evaluated once*/ \
+
169  tls_lastHipError = _local_hip_status;\
+
170  \
+
171  if ((COMPILE_HIP_TRACE_API & 0x2) && HIP_TRACE_API) {\
+
172  fprintf(stderr, " %ship-api: %-30s ret=%2d (%s)>>\n" KNRM, (_local_hip_status == 0) ? API_COLOR:KRED, __func__, _local_hip_status, ihipErrorString(_local_hip_status));\
+
173  }\
+
174  _local_hip_status;\
+
175  })
+
176 
+
177 
+
178 
+
179 
+
180 //---
+
181 //HIP_DB Debug flags:
+
182 #define DB_API 0 /* 0x01 - shortcut to enable HIP_TRACE_API on single switch */
+
183 #define DB_SYNC 1 /* 0x02 - trace synchronization pieces */
+
184 #define DB_MEM 2 /* 0x04 - trace memory allocation / deallocation */
+
185 #define DB_COPY1 3 /* 0x08 - trace memory copy commands. . */
+
186 #define DB_SIGNAL 4 /* 0x10 - trace signal pool commands */
+
187 #define DB_COPY2 5 /* 0x20 - trace memory copy commands. Detailed. */
+
188 // When adding a new debug flag, also add to the char name table below.
+
189 
+
190 static const char *dbName [] =
+
191 {
+
192  KNRM "hip-api", // not used,
+
193  KYEL "hip-sync",
+
194  KCYN "hip-mem",
+
195  KMAG "hip-copy1",
+
196  KRED "hip-signal",
+
197  KNRM "hip-copy2",
+
198 };
+
199 
+
200 #if COMPILE_HIP_DB
+
201 #define tprintf(trace_level, ...) {\
+
202  if (HIP_DB & (1<<(trace_level))) {\
+
203  fprintf (stderr, " %s:", dbName[trace_level]); \
+
204  fprintf (stderr, __VA_ARGS__);\
+
205  fprintf (stderr, "%s", KNRM); \
+
206  }\
+
207 }
+
208 #else
+
209 /* Compile to empty code */
+
210 #define tprintf(trace_level, ...)
+
211 #endif
+
212 
+
213 class ihipException : public std::exception
+
214 {
+
215 public:
+
216  ihipException(hipError_t e) : _code(e) {};
+
217 
+
218  hipError_t _code;
+
219 };
+
220 
+
221 
+
222 #ifdef __cplusplus
+
223 extern "C" {
+
224 #endif
+
225 
+
226 typedef class ihipStream_t* hipStream_t;
+
227 //typedef struct hipEvent_t {
+
228 // struct ihipEvent_t *_handle;
+
229 //} hipEvent_t;
+
230 
+
231 #ifdef __cplusplus
+
232 }
+
233 #endif
+
234 
+
235 const hipStream_t hipStreamNull = 0x0;
+
236 
+
237 
+
238 enum ihipCommand_t {
+
239  ihipCommandCopyH2H,
+
240  ihipCommandCopyH2D,
+
241  ihipCommandCopyD2H,
+
242  ihipCommandCopyD2D,
+
243  ihipCommandCopyP2P,
+
244  ihipCommandKernel,
+
245 };
+
246 
+
247 static const char* ihipCommandName[] = {
+
248  "CopyH2H", "CopyH2D", "CopyD2H", "CopyD2D", "CopyP2P", "Kernel"
+
249 };
+
250 
+
251 
+
252 
+
253 typedef uint64_t SIGSEQNUM;
+
254 
+
255 //---
+
256 // Small wrapper around signals.
+
257 // Designed to be used from stream.
+
258 // TODO-someday refactor this class so it can be stored in a vector<>
+
259 // we already store the index here so we can use for garbage collection.
+
260 struct ihipSignal_t {
+
261  hsa_signal_t _hsa_signal; // hsa signal handle
+
262  int _index; // Index in pool, used for garbage collection.
+
263  SIGSEQNUM _sig_id; // unique sequentially increasing ID.
+
264 
+
265  ihipSignal_t();
+
266  ~ihipSignal_t();
+
267 
+
268  void release();
+
269 };
+
270 
+
271 
+
272 // Used to remove lock, for performance or stimulating bugs.
+ +
274 {
+
275  public:
+
276  void lock() { }
+
277  bool try_lock() {return true; }
+
278  void unlock() { }
+
279 };
+
280 
+
281 
+
282 #if STREAM_THREAD_SAFE
+
283 typedef std::mutex StreamMutex;
+
284 #else
+
285 #warning "Stream thread-safe disabled"
+
286 typedef FakeMutex StreamMutex;
+
287 #endif
+
288 
+
289 #if DEVICE_THREAD_SAFE
+
290 typedef std::mutex DeviceMutex;
+
291 #else
+
292 typedef FakeMutex DeviceMutex;
+
293 #warning "Device thread-safe disabled"
+
294 #endif
+
295 
+
296 //
+
297 //---
+
298 // Protects access to the member _data with a lock acquired on contruction/destruction.
+
299 // T must contain a _mutex field which meets the BasicLockable requirements (lock/unlock)
+
300 template<typename T>
+ +
302 {
+
303 public:
+
304  LockedAccessor(T &criticalData, bool autoUnlock=true) :
+
305  _criticalData(&criticalData),
+
306  _autoUnlock(autoUnlock)
+
307 
+
308  {
+
309  _criticalData->_mutex.lock();
+
310  };
+
311 
+
312  ~LockedAccessor()
+
313  {
+
314  if (_autoUnlock) {
+
315  _criticalData->_mutex.unlock();
+
316  }
+
317  }
+
318 
+
319  void unlock()
+
320  {
+
321  _criticalData->_mutex.unlock();
+
322  }
+
323 
+
324  // Syntactic sugar so -> can be used to get the underlying type.
+
325  T *operator->() { return _criticalData; };
+
326 
+
327 private:
+
328  T *_criticalData;
+
329  bool _autoUnlock;
+
330 };
+
331 
+
332 
+
333 template <typename MUTEX_TYPE>
+
334 struct LockedBase {
+
335 
+
336  // Experts-only interface for explicit locking.
+
337  // Most uses should use the lock-accessor.
+
338  void lock() { _mutex.lock(); }
+
339  void unlock() { _mutex.unlock(); }
+
340 
+
341  MUTEX_TYPE _mutex;
+
342 };
+
343 
+
344 
+
345 template <typename MUTEX_TYPE>
+
346 class ihipStreamCriticalBase_t : public LockedBase<MUTEX_TYPE>
+
347 {
+
348 public:
+ +
350  _last_command_type(ihipCommandCopyH2H),
+
351  _last_copy_signal(NULL),
+
352  _signalCursor(0),
+
353  _oldest_live_sig_id(1),
+
354  _stream_sig_id(0)
+
355  {
+
356  _signalPool.resize(HIP_STREAM_SIGNALS > 0 ? HIP_STREAM_SIGNALS : 1);
+
357  };
+
358 
+ +
360  _signalPool.clear();
+
361  }
+
362 
+ +
364 
+
365 
+
366 public:
+
367  // Critical Data:
+
368  ihipCommand_t _last_command_type; // type of the last command
+
369 
+
370  // signal of last copy command sent to the stream.
+
371  // May be NULL, indicating the previous command has completley finished and future commands don't need to create a dependency.
+
372  // Copy can be either H2D or D2H.
+
373  ihipSignal_t *_last_copy_signal;
+
374 
+
375  hc::completion_future _last_kernel_future; // Completion future of last kernel command sent to GPU.
+
376 
+
377  // Signal pool:
+
378  int _signalCursor;
+
379  SIGSEQNUM _oldest_live_sig_id; // oldest live seq_id, anything < this can be allocated.
+
380  std::deque<ihipSignal_t> _signalPool; // Pool of signals for use by this stream.
+
381 
+
382 
+
383  SIGSEQNUM _stream_sig_id; // Monotonically increasing unique signal id.
+
384 };
+
385 
+
386 
+ + +
389 
+
390 
+
391 
+
392 // Internal stream structure.
+ +
394 public:
+
395 typedef uint64_t SeqNum_t ;
+
396 
+
397  ihipStream_t(unsigned device_index, hc::accelerator_view av, unsigned int flags);
+
398  ~ihipStream_t();
+
399 
+
400  // kind is hipMemcpyKind
+
401  void copySync (LockedAccessor_StreamCrit_t &crit, void* dst, const void* src, size_t sizeBytes, unsigned kind);
+
402  void locked_copySync (void* dst, const void* src, size_t sizeBytes, unsigned kind);
+
403 
+
404  void copyAsync(void* dst, const void* src, size_t sizeBytes, unsigned kind);
+
405 
+
406  //---
+
407  // Thread-safe accessors - these acquire / release mutex:
+
408  bool lockopen_preKernelCommand();
+
409  void lockclose_postKernelCommand(hc::completion_future &kernel_future);
+
410 
+
411  int preCopyCommand(LockedAccessor_StreamCrit_t &crit, ihipSignal_t *lastCopy, hsa_signal_t *waitSignal, ihipCommand_t copyType);
+
412 
+
413  void locked_reclaimSignals(SIGSEQNUM sigNum);
+
414  void locked_wait(bool assertQueueEmpty=false);
+
415  SIGSEQNUM locked_lastCopySeqId() {LockedAccessor_StreamCrit_t crit(_criticalData); return lastCopySeqId(crit); };
+
416 
+
417  // Use this if we already have the stream critical data mutex:
+
418  void wait(LockedAccessor_StreamCrit_t &crit, bool assertQueueEmpty=false);
+
419 
+
420 
+
421 
+
422  // Non-threadsafe accessors - must be protected by high-level stream lock with accessor passed to function.
+
423  SIGSEQNUM lastCopySeqId (LockedAccessor_StreamCrit_t &crit) { return crit->_last_copy_signal ? crit->_last_copy_signal->_sig_id : 0; };
+
424  ihipSignal_t * allocSignal (LockedAccessor_StreamCrit_t &crit);
+
425 
+
426 
+
427  //-- Non-racy accessors:
+
428  // These functions access fields set at initialization time and are non-racy (so do not acquire mutex)
+
429  ihipDevice_t * getDevice() const;
+
430 
+
431 
+
432 public:
+
433  //---
+
434  //Public member vars - these are set at initialization and never change:
+
435  SeqNum_t _id; // monotonic sequence ID
+
436  hc::accelerator_view _av;
+
437  unsigned _flags;
+
438 
+
439 private:
+
440  // Critical Data. THis MUST be accessed through LockedAccessor_StreamCrit_t
+
441  ihipStreamCritical_t _criticalData;
+
442 
+
443  // Array of dependency completion_future.
+
444  std::vector<hc::completion_future> _depFutures;
+
445 
+
446 private:
+
447  void enqueueBarrier(hsa_queue_t* queue, ihipSignal_t *depSignal);
+
448  void waitCopy(LockedAccessor_StreamCrit_t &crit, ihipSignal_t *signal);
+
449 
+
450  // The unsigned return is hipMemcpyKind
+
451  unsigned resolveMemcpyDirection(bool srcTracked, bool dstTracked, bool srcInDeviceMem, bool dstInDeviceMem);
+
452  void setAsyncCopyAgents(unsigned kind, ihipCommand_t *commandType, hsa_agent_t *srcAgent, hsa_agent_t *dstAgent);
+
453 
+
454  unsigned _device_index; // index into the g_device array
+
455 
+
456  friend std::ostream& operator<<(std::ostream& os, const ihipStream_t& s);
+
457 };
+
458 
+
459 
+
460 inline std::ostream& operator<<(std::ostream& os, const ihipStream_t& s)
+
461 {
+
462  os << "stream#";
+
463  os << s._device_index;
+
464  os << '.';
+
465  os << s._id;
+
466  return os;
+
467 }
+
468 
+
469 
+
470 //----
+
471 // Internal event structure:
+
472 enum hipEventStatus_t {
+
473  hipEventStatusUnitialized = 0, // event is unutilized, must be "Created" before use.
+
474  hipEventStatusCreated = 1,
+
475  hipEventStatusRecording = 2, // event has been enqueued to record something.
+
476  hipEventStatusRecorded = 3, // event has been recorded - timestamps are valid.
+
477 } ;
+
478 
+
479 
+
480 // internal hip event structure.
+
481 struct ihipEvent_t {
+
482  hipEventStatus_t _state;
+
483 
+
484  hipStream_t _stream; // Stream where the event is recorded, or NULL if all streams.
+
485  unsigned _flags;
+
486 
+
487  hc::completion_future _marker;
+
488  uint64_t _timestamp; // store timestamp, may be set on host or by marker.
+
489 
+
490  SIGSEQNUM _copy_seq_id;
+
491 } ;
+
492 
+
493 
+
494 
+
495 
+
496 
+
497 //---
+
498 // Data that must be protected with thread-safe access
+
499 // All members are private - this class must be accessed through friend LockedAccessor which
+
500 // will lock the mutex on construction and unlock on destruction.
+
501 //
+
502 // MUTEX_TYPE is template argument so can easily convert to FakeMutex for performance or stress testing.
+
503 template <class MUTEX_TYPE>
+ +
505 {
+
506 public:
+
507  ihipDeviceCriticalBase_t() : _stream_id(0), _peerAgents(nullptr) {};
+
508 
+
509  void init(unsigned deviceCnt) {
+
510  assert(_peerAgents == nullptr);
+
511  _peerAgents = new hsa_agent_t[deviceCnt];
+
512  };
+
513 
+ +
515  if (_peerAgents != nullptr) {
+
516  delete _peerAgents;
+
517  _peerAgents = nullptr;
+
518  }
+
519  }
+
520  friend class LockedAccessor<ihipDeviceCriticalBase_t>;
+
521 
+
522  std::list<ihipStream_t*> &streams() { return _streams; };
+
523  const std::list<ihipStream_t*> &const_streams() const { return _streams; };
+
524 
+
525  // "Allocate" a stream ID:
+
526  ihipStream_t::SeqNum_t incStreamId() { return _stream_id++; };
+
527 
+
528  bool isPeer(const ihipDevice_t *peer); // returns Trus if peer has access to memory physically located on this device.
+
529  bool addPeer(ihipDevice_t *peer);
+
530  bool removePeer(ihipDevice_t *peer);
+
531  void resetPeers(ihipDevice_t *thisDevice);
+
532 
+
533 
+
534  void addStream(ihipStream_t *stream);
+
535 
+
536  uint32_t peerCnt() const { return _peerCnt; };
+
537  hsa_agent_t *peerAgents() const { return _peerAgents; };
+
538 
+
539 
+
540 private:
+
541  //std::list< std::shared_ptr<ihipStream_t> > _streams; // streams associated with this device. TODO - convert to shared_ptr.
+
542  std::list< ihipStream_t* > _streams; // streams associated with this device.
+
543  ihipStream_t::SeqNum_t _stream_id;
+
544 
+
545  // These reflect the currently Enabled set of peers for this GPU:
+
546  // Enabled peers have permissions to access the memory physically allocated on this device.
+
547  std::list<ihipDevice_t*> _peers; // list of enabled peer devices.
+
548  uint32_t _peerCnt; // number of enabled peers
+
549  hsa_agent_t *_peerAgents; // efficient packed array of enabled agents (to use for allocations.)
+
550 private:
+
551  void recomputePeerAgents();
+
552 };
+
553 
+
554 // Note Mutex selected based on DeviceMutex
+ +
556 
+
557 // This type is used by functions that need access to the critical device structures.
+ +
559 
+
560 
+
561 
+
562 //-------------------------------------------------------------------------------------------------
+
563 // Functions which read or write the critical data are named locked_.
+
564 // ihipDevice_t does not use recursive locks so the ihip implementation must avoid calling a locked_ function from within a locked_ function.
+
565 // External functions which call several locked_ functions will acquire and release the lock for each function. if this occurs in
+
566 // performance-sensitive code we may want to refactor by adding non-locked functions and creating a new locked_ member function to call them all.
+ +
568 {
+
569 public: // Functions:
+
570  ihipDevice_t() {}; // note: calls constructor for _criticalData
+
571  void init(unsigned device_index, unsigned deviceCnt, hc::accelerator &acc, unsigned flags);
+
572  ~ihipDevice_t();
+
573 
+
574  void locked_addStream(ihipStream_t *s);
+
575  void locked_removeStream(ihipStream_t *s);
+
576  void locked_reset();
+
577  void locked_waitAllStreams();
+
578  void locked_syncDefaultStream(bool waitOnSelf);
+
579 
+
580  ihipDeviceCritical_t &criticalData() { return _criticalData; }; // TODO, move private. Fix P2P.
+
581 
+
582 public: // Data, set at initialization:
+
583  unsigned _device_index; // index into g_devices.
+
584 
+
585  hipDeviceProp_t _props; // saved device properties.
+
586  hc::accelerator _acc;
+
587  hsa_agent_t _hsa_agent; // hsa agent handle
+
588 
+
589  // The NULL stream is used if no other stream is specified.
+
590  // NULL has special synchronization properties with other streams.
+
591  ihipStream_t *_default_stream;
+
592 
+
593 
+
594  unsigned _compute_units;
+
595 
+
596  StagingBuffer *_staging_buffer[2]; // one buffer for each direction.
+
597 
+
598 
+
599  unsigned _device_flags;
+
600 
+
601 private:
+
602  hipError_t getProperties(hipDeviceProp_t* prop);
+
603 
+
604 private: // Critical data, protected with locked access:
+
605  // Members of _protected data MUST be accessed through the LockedAccessor.
+
606  // Search for LockedAccessor<ihipDeviceCritical_t> for examples; do not access _criticalData directly.
+
607  ihipDeviceCritical_t _criticalData;
+
608 
+
609 };
+
610 
+
611 
+
612 
+
613 // Global variable definition:
+
614 extern std::once_flag hip_initialized;
+
615 extern ihipDevice_t *g_devices; // Array of all non-emulated (ie GPU) accelerators in the system.
+
616 extern bool g_visible_device; // Set the flag when HIP_VISIBLE_DEVICES is set
+
617 extern unsigned g_deviceCnt;
+
618 extern std::vector<int> g_hip_visible_devices; /* vector of integers that contains the visible device IDs */
+
619 extern hsa_agent_t g_cpu_agent ; // the CPU agent.
+
620 //=================================================================================================
+
621 void ihipInit();
+
622 const char *ihipErrorString(hipError_t);
+
623 ihipDevice_t *ihipGetTlsDefaultDevice();
+
624 ihipDevice_t *ihipGetDevice(int);
+
625 void ihipSetTs(hipEvent_t e);
+
626 
+
627 template<typename T>
+
628 hc::completion_future ihipMemcpyKernel(hipStream_t, T*, const T*, size_t);
+
629 
+
630 template<typename T>
+
631 hc::completion_future ihipMemsetKernel(hipStream_t, T*, T, size_t);
+
632 
+
633 hipStream_t ihipSyncAndResolveStream(hipStream_t);
+
634 template <typename T>
+
635 
+
636 hc::completion_future
+
637 ihipMemsetKernel(hipStream_t stream, T * ptr, T val, size_t sizeBytes)
+
638 {
+
639  int wg = std::min((unsigned)8, stream->getDevice()->_compute_units);
+
640  const int threads_per_wg = 256;
+
641 
+
642  int threads = wg * threads_per_wg;
+
643  if (threads > sizeBytes) {
+
644  threads = ((sizeBytes + threads_per_wg - 1) / threads_per_wg) * threads_per_wg;
+
645  }
+
646 
+
647 
+
648  hc::extent<1> ext(threads);
+
649  auto ext_tile = ext.tile(threads_per_wg);
+
650 
+
651  hc::completion_future cf =
+
652  hc::parallel_for_each(
+
653  stream->_av,
+
654  ext_tile,
+
655  [=] (hc::tiled_index<1> idx)
+
656  __attribute__((hc))
+
657  {
+
658  int offset = amp_get_global_id(0);
+
659  // TODO-HCC - change to hc_get_local_size()
+
660  int stride = amp_get_local_size(0) * hc_get_num_groups(0) ;
+
661 
+
662  for (int i=offset; i<sizeBytes; i+=stride) {
+
663  ptr[i] = val;
+
664  }
+
665  });
+
666 
+
667  return cf;
+
668 }
+
669 
+
670 template <typename T>
+
671 hc::completion_future
+
672 ihipMemcpyKernel(hipStream_t stream, T * c, const T * a, size_t sizeBytes)
+
673 {
+
674  int wg = std::min((unsigned)8, stream->getDevice()->_compute_units);
+
675  const int threads_per_wg = 256;
+
676 
+
677  int threads = wg * threads_per_wg;
+
678  if (threads > sizeBytes) {
+
679  threads = ((sizeBytes + threads_per_wg - 1) / threads_per_wg) * threads_per_wg;
+
680  }
+
681 
+
682 
+
683  hc::extent<1> ext(threads);
+
684  auto ext_tile = ext.tile(threads_per_wg);
+
685 
+
686  hc::completion_future cf =
+
687  hc::parallel_for_each(
+
688  stream->_av,
+
689  ext_tile,
+
690  [=] (hc::tiled_index<1> idx)
+
691  __attribute__((hc))
+
692  {
+
693  int offset = amp_get_global_id(0);
+
694  // TODO-HCC - change to hc_get_local_size()
+
695  int stride = amp_get_local_size(0) * hc_get_num_groups(0) ;
+
696 
+
697  for (int i=offset; i<sizeBytes; i+=stride) {
+
698  c[i] = a[i];
+
699  }
+
700  });
+
701 
+
702  return cf;
+
703 }
+
704 
+
705 #endif
+
Definition: hip_hcc.h:567
+
Definition: hip_hcc.h:334
+
Definition: hip_hcc.h:273
+
hipError_t
Definition: hip_runtime_api.h:144
+
Definition: hip_runtime_api.h:47
+
Definition: hip_hcc.h:504
+
Definition: hip_hcc.h:260
+
Definition: hip_runtime_api.h:74
+
Definition: staging_buffer.h:40
+
Definition: hip_hcc.h:481
+
Definition: hip_hcc.h:213
+
Definition: hip_hcc.h:393
+
Definition: hip_hcc.h:346
+
Definition: hip_hcc.h:301
+
+ + + + diff --git a/docs/RuntimeAPI/html/hip__ldg_8h_source.html b/docs/RuntimeAPI/html/hip__ldg_8h_source.html new file mode 100644 index 0000000000..b862830dc2 --- /dev/null +++ b/docs/RuntimeAPI/html/hip__ldg_8h_source.html @@ -0,0 +1,179 @@ + + + + + + +HIP: Heterogenous-computing Interface for Portability: /home/mangupta/git/hip/release_0.90.00/include/hcc_detail/hip_ldg.h Source File + + + + + + + + + +
+
+ + + + + + +
+
HIP: Heterogenous-computing Interface for Portability +
+
+
+ + + + + + + + + +
+ +
+ + +
+
+
+
hip_ldg.h
+
+
+
1 /*
+
2 Copyright (c) 2015-2016 Advanced Micro Devices, Inc. All rights reserved.
+
3 Permission is hereby granted, free of charge, to any person obtaining a copy
+
4 of this software and associated documentation files (the "Software"), to deal
+
5 in the Software without restriction, including without limitation the rights
+
6 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+
7 copies of the Software, and to permit persons to whom the Software is
+
8 furnished to do so, subject to the following conditions:
+
9 The above copyright notice and this permission notice shall be included in
+
10 all copies or substantial portions of the Software.
+
11 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+
12 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+
13 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+
14 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+
15 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+
16 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+
17 THE SOFTWARE.
+
18 */
+
19 
+
20 #ifndef HIP_LDG_H
+
21 #define HIP_LDG_H
+
22 
+
23 #if __HCC__
+
24 #include"hip_vector_types.h"
+
25 #include"host_defines.h"
+
26 #if __hcc_workweek__ >= 16164
+
27 #include"hip/hip_vector_types.h"
+
28 #include"hip/hcc_detail/host_defines.h"
+
29 
+
30 
+
31 __device__ char __ldg(const char* );
+
32 __device__ char2 __ldg(const char2* );
+
33 __device__ char4 __ldg(const char4* );
+
34 __device__ signed char __ldg(const signed char* );
+
35 __device__ unsigned char __ldg(const unsigned char* );
+
36 
+
37 __device__ short __ldg(const short* );
+
38 __device__ short2 __ldg(const short2* );
+
39 __device__ short4 __ldg(const short4* );
+
40 __device__ unsigned short __ldg(const unsigned short* );
+
41 
+
42 __device__ int __ldg(const int* );
+
43 __device__ int2 __ldg(const int2* );
+
44 __device__ int4 __ldg(const int4* );
+
45 __device__ unsigned int __ldg(const unsigned int* );
+
46 
+
47 
+
48 __device__ long __ldg(const long* );
+
49 __device__ unsigned long __ldg(const unsigned long* );
+
50 
+
51 __device__ long long __ldg(const long long* );
+
52 __device__ longlong2 __ldg(const longlong2* );
+
53 __device__ unsigned long long __ldg(const unsigned long long* );
+
54 
+
55 __device__ uchar2 __ldg(const uchar2* );
+
56 __device__ uchar4 __ldg(const uchar4* );
+
57 
+
58 __device__ ushort2 __ldg(const ushort2* );
+
59 
+
60 __device__ uint2 __ldg(const uint2* );
+
61 __device__ uint4 __ldg(const uint4* );
+
62 
+
63 __device__ ulonglong2 __ldg(const ulonglong2* );
+
64 
+
65 __device__ float __ldg(const float* );
+
66 __device__ float2 __ldg(const float2* );
+
67 __device__ float4 __ldg(const float4* );
+
68 
+
69 __device__ double __ldg(const double* );
+
70 __device__ double2 __ldg(const double2* );
+
71 
+
72 #endif // __hcc_workweek__
+
73 
+
74 #endif // __HCC__
+
75 
+
76 #endif // HIP_LDG_H
+
77 
+
TODO-doc.
+
Defines the different newt vector types for HIP runtime.
+
+ + + + diff --git a/docs/RuntimeAPI/html/hip__runtime_8h_source.html b/docs/RuntimeAPI/html/hip__runtime_8h_source.html new file mode 100644 index 0000000000..4c2f2585f9 --- /dev/null +++ b/docs/RuntimeAPI/html/hip__runtime_8h_source.html @@ -0,0 +1,154 @@ + + + + + + +HIP: Heterogenous-computing Interface for Portability: /home/mangupta/git/hip/release_0.90.00/include/hip_runtime.h Source File + + + + + + + + + +
+
+ + + + + + +
+
HIP: Heterogenous-computing Interface for Portability +
+
+
+ + + + + + + + + +
+ +
+ + +
+
+
+
hip_runtime.h
+
+
+
1 /*
+
2 Copyright (c) 2015-2016 Advanced Micro Devices, Inc. All rights reserved.
+
3 
+
4 Permission is hereby granted, free of charge, to any person obtaining a copy
+
5 of this software and associated documentation files (the "Software"), to deal
+
6 in the Software without restriction, including without limitation the rights
+
7 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+
8 copies of the Software, and to permit persons to whom the Software is
+
9 furnished to do so, subject to the following conditions:
+
10 
+
11 The above copyright notice and this permission notice shall be included in
+
12 all copies or substantial portions of the Software.
+
13 
+
14 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+
15 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+
16 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+
17 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+
18 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+
19 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+
20 THE SOFTWARE.
+
21 */
+
22 
+
28 //
+
32 //
+
35 
+
36 #pragma once
+
37 
+
38 // Some standard header files, these are included by hc.hpp and so want to make them avail on both
+
39 // paths to provide a consistent include env and avoid "missing symbol" errors that only appears
+
40 // on NVCC path:
+
41 #include <stdint.h>
+
42 #include <stdio.h>
+
43 #include <stdlib.h>
+
44 #include <assert.h>
+
45 
+
46 #if __cplusplus > 199711L
+
47 #include <thread>
+
48 #endif
+
49 
+
50 
+
51 #include <hip/hip_common.h>
+
52 
+
53 #if defined(__HIP_PLATFORM_HCC__) && !defined (__HIP_PLATFORM_NVCC__)
+
54 #include <hip/hcc_detail/hip_runtime.h>
+
55 #elif defined(__HIP_PLATFORM_NVCC__) && !defined (__HIP_PLATFORM_HCC__)
+
56 #include <hip/nvcc_detail/hip_runtime.h>
+
57 #else
+
58 #error("Must define exactly one of __HIP_PLATFORM_HCC__ or __HIP_PLATFORM_NVCC__");
+
59 #endif
+
60 
+
61 
+
62 #include <hip/hip_runtime_api.h>
+
63 #include <hip/hip_vector_types.h>
+
64 
+
+ + + + diff --git a/docs/RuntimeAPI/html/hip__runtime__api_8h_source.html b/docs/RuntimeAPI/html/hip__runtime__api_8h_source.html new file mode 100644 index 0000000000..6402c31f00 --- /dev/null +++ b/docs/RuntimeAPI/html/hip__runtime__api_8h_source.html @@ -0,0 +1,376 @@ + + + + + + +HIP: Heterogenous-computing Interface for Portability: /home/mangupta/git/hip/release_0.90.00/include/hip_runtime_api.h Source File + + + + + + + + + +
+
+ + + + + + +
+
HIP: Heterogenous-computing Interface for Portability +
+
+
+ + + + + + + + + +
+ +
+ + +
+
+
+
hip_runtime_api.h
+
+
+
1 /*
+
2 Copyright (c) 2015-2016 Advanced Micro Devices, Inc. All rights reserved.
+
3 
+
4 Permission is hereby granted, free of charge, to any person obtaining a copy
+
5 of this software and associated documentation files (the "Software"), to deal
+
6 in the Software without restriction, including without limitation the rights
+
7 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+
8 copies of the Software, and to permit persons to whom the Software is
+
9 furnished to do so, subject to the following conditions:
+
10 
+
11 The above copyright notice and this permission notice shall be included in
+
12 all copies or substantial portions of the Software.
+
13 
+
14 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+
15 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+
16 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+
17 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+
18 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+
19 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+
20 THE SOFTWARE.
+
21 */
+
29 #pragma once
+
30 
+
31 
+
32 #include <string.h> // for getDeviceProp
+
33 #include <hip/hip_common.h>
+
34 
+
35 typedef struct {
+
36  // 32-bit Atomics
+
37  unsigned hasGlobalInt32Atomics : 1;
+
38  unsigned hasGlobalFloatAtomicExch : 1;
+
39  unsigned hasSharedInt32Atomics : 1;
+
40  unsigned hasSharedFloatAtomicExch : 1;
+
41  unsigned hasFloatAtomicAdd : 1;
+
42 
+
43  // 64-bit Atomics
+
44  unsigned hasGlobalInt64Atomics : 1;
+
45  unsigned hasSharedInt64Atomics : 1;
+
46 
+
47  // Doubles
+
48  unsigned hasDoubles : 1;
+
49 
+
50  // Warp cross-lane operations
+
51  unsigned hasWarpVote : 1;
+
52  unsigned hasWarpBallot : 1;
+
53  unsigned hasWarpShuffle : 1;
+
54  unsigned hasFunnelShift : 1;
+
55 
+
56  // Sync
+
57  unsigned hasThreadFenceSystem : 1;
+
58  unsigned hasSyncThreadsExt : 1;
+
59 
+
60  // Misc
+
61  unsigned hasSurfaceFuncs : 1;
+
62  unsigned has3dGrid : 1;
+
63  unsigned hasDynamicParallelism : 1;
+ +
65 
+
66 
+
67 //---
+
68 // Common headers for both NVCC and HCC paths:
+
69 
+
74 typedef struct hipDeviceProp_t {
+
75  char name[256];
+
76  size_t totalGlobalMem;
+ + +
79  int warpSize;
+ +
81  int maxThreadsDim[3];
+
82  int maxGridSize[3];
+
83  int clockRate;
+ + +
86  size_t totalConstMem;
+
87  int major;
+
88  int minor;
+ + + + + + + +
96  int pciBusID;
+ + + + +
101  } hipDeviceProp_t;
+
102 
+
103 
+
107 enum hipMemoryType {
+
108  hipMemoryTypeHost,
+
109  hipMemoryTypeDevice
+
110 };
+
111 
+
112 
+
113 
+
117 typedef struct hipPointerAttribute_t {
+
118  enum hipMemoryType memoryType;
+
119  int device;
+
120  void *devicePointer;
+
121  void *hostPointer;
+
122  int isManaged;
+
123  unsigned allocationFlags; /* flags specified when memory was allocated*/
+
124  /* peers? */
+ +
126 
+
127 
+
128 // hack to get these to show up in Doxygen:
+
136 /*
+
137  asdasd* @brief hipError_t
+
138  * @enum
+
139  * @ingroup Enumerations
+
140  */
+
141 // Developer note - when updating these, update the hipErrorName and hipErrorString functions in NVCC and HCC paths
+
142 // Also update the hipCUDAErrorTohipError function in NVCC path.
+
143 
+
144 typedef enum hipError_t {
+ + + + + + + + + +
154 
+ + + + + + + + + + +
165 } hipError_t;
+
166 
+
167 /*
+
168  * @brief hipDeviceAttribute_t
+
169  * @enum
+
170  * @ingroup Enumerations
+
171  */
+
172 typedef enum hipDeviceAttribute_t {
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
199 
+
204 #if defined(__HIP_PLATFORM_HCC__) && !defined (__HIP_PLATFORM_NVCC__)
+
205 #include "hip/hcc_detail/hip_runtime_api.h"
+
206 #elif defined(__HIP_PLATFORM_NVCC__) && !defined (__HIP_PLATFORM_HCC__)
+
207 #include "hip/nvcc_detail/hip_runtime_api.h"
+
208 #else
+
209 #error("Must define exactly one of __HIP_PLATFORM_HCC__ or __HIP_PLATFORM_NVCC__");
+
210 #endif
+
211 
+
212 
+
220 #ifdef __cplusplus
+
221 template<class T>
+
222 static inline hipError_t hipMalloc ( T** devPtr, size_t size)
+
223 {
+
224  return hipMalloc((void**)devPtr, size);
+
225 }
+
226 
+
227 // Provide an override to automatically typecast the pointer type from void**, and also provide a default for the flags.
+
228 template<class T>
+
229 static inline hipError_t hipHostMalloc( T** ptr, size_t size, unsigned int flags = hipHostMallocDefault)
+
230 {
+
231  return hipHostMalloc((void**)ptr, size, flags);
+
232 }
+
233 #endif
+
Call to hipGetDeviceCount returned 0 devices.
Definition: hip_runtime_api.h:155
+
size_t totalConstMem
Size of shared memory region (in bytes).
Definition: hip_runtime_api.h:86
+
Maximum Shared Memory Per Multiprocessor.
Definition: hip_runtime_api.h:196
+
Maximum x-dimension of a block.
Definition: hip_runtime_api.h:174
+
Maximum x-dimension of a grid.
Definition: hip_runtime_api.h:177
+
Peer access was already enabled from the current device.
Definition: hip_runtime_api.h:159
+
HSA runtime memory call returned error. Typically not seen in production systems. ...
Definition: hip_runtime_api.h:160
+
Global memory bus width in bits.
Definition: hip_runtime_api.h:186
+
Successful completion.
Definition: hip_runtime_api.h:145
+
int minor
Minor compute capability. On HCC, this is an approximation and features may differ from CUDA CC...
Definition: hip_runtime_api.h:88
+
int canMapHostMemory
Check whether HIP can map host memory.
Definition: hip_runtime_api.h:100
+
Maximum number of 32-bit registers available to a thread block. This number is shared by all thread b...
Definition: hip_runtime_api.h:183
+
int regsPerBlock
Registers per block.
Definition: hip_runtime_api.h:78
+
Size of L2 cache in bytes. 0 if the device doesn't have L2 cache.
Definition: hip_runtime_api.h:189
+
#define hipHostMallocDefault
Flags that can be used with hipHostMalloc.
Definition: hip_runtime_api.h:69
+
HSA runtime call other than memory returned error. Typically not seen in production systems...
Definition: hip_runtime_api.h:161
+
int isMultiGpuBoard
1 if device is on a multi-GPU board, 0 if not.
Definition: hip_runtime_api.h:99
+
DeviceID must be in range 0...#compute-devices.
Definition: hip_runtime_api.h:150
+
Peak clock frequency in kilohertz.
Definition: hip_runtime_api.h:184
+
Definition: hip_runtime_api.h:117
+
int clockRate
Max clock frequency of the multiProcessors in khz.
Definition: hip_runtime_api.h:83
+
Maximum z-dimension of a grid.
Definition: hip_runtime_api.h:179
+
Minor compute capability version number.
Definition: hip_runtime_api.h:192
+
Maximum shared memory available per block in bytes.
Definition: hip_runtime_api.h:180
+
int pciBusID
PCI Bus ID.
Definition: hip_runtime_api.h:96
+
Maximum y-dimension of a grid.
Definition: hip_runtime_api.h:178
+
Multiple GPU devices.
Definition: hip_runtime_api.h:197
+
Unknown error.
Definition: hip_runtime_api.h:157
+
int maxThreadsPerBlock
Max work items per work group or workgroup max size.
Definition: hip_runtime_api.h:80
+
Maximum y-dimension of a block.
Definition: hip_runtime_api.h:175
+
hipError_t hipHostMalloc(void **ptr, size_t size, unsigned int flags)
Allocate device accessible page locked host memory.
Definition: hip_memory.cpp:149
+
size_t sharedMemPerBlock
Size of shared memory region (in bytes).
Definition: hip_runtime_api.h:77
+
int maxThreadsPerMultiProcessor
Maximum resident threads per multi-processor.
Definition: hip_runtime_api.h:91
+
Produced when trying to lock a page-locked memory.
Definition: hip_runtime_api.h:162
+
int l2CacheSize
L2 cache size.
Definition: hip_runtime_api.h:90
+
hipDeviceAttribute_t
Definition: hip_runtime_api.h:172
+
Major compute capability version number.
Definition: hip_runtime_api.h:191
+
Peer access was never enabled from the current device.
Definition: hip_runtime_api.h:158
+
Maximum number of threads per block.
Definition: hip_runtime_api.h:173
+
Resource handle (hipEvent_t or hipStream_t) invalid.
Definition: hip_runtime_api.h:149
+
Memory allocation error.
Definition: hip_runtime_api.h:146
+
hipDeviceArch_t arch
Architectural feature flags. New for HIP.
Definition: hip_runtime_api.h:94
+
int maxGridSize[3]
Max grid dimensions (XYZ).
Definition: hip_runtime_api.h:82
+
int computeMode
Compute mode.
Definition: hip_runtime_api.h:92
+
Maximum z-dimension of a block.
Definition: hip_runtime_api.h:176
+
PCI Bus ID.
Definition: hip_runtime_api.h:194
+
Invalid memory copy direction.
Definition: hip_runtime_api.h:151
+
Marker that more error codes are needed.
Definition: hip_runtime_api.h:164
+
Warp size in threads.
Definition: hip_runtime_api.h:182
+
int major
Major compute capability. On HCC, this is an approximation and features may differ from CUDA CC...
Definition: hip_runtime_api.h:87
+
Peak memory clock frequency in kilohertz.
Definition: hip_runtime_api.h:185
+
Maximum resident threads per multiprocessor.
Definition: hip_runtime_api.h:190
+
hipError_t
Definition: hip_runtime_api.h:144
+
int clockInstructionRate
Frequency in khz of the timer used by the device-side "clock*" instructions. New for HIP...
Definition: hip_runtime_api.h:93
+
Constant memory size in bytes.
Definition: hip_runtime_api.h:181
+
int warpSize
Warp size.
Definition: hip_runtime_api.h:79
+
int concurrentKernels
Device can possibly execute multiple kernels concurrently.
Definition: hip_runtime_api.h:95
+
size_t totalGlobalMem
Size of global memory region (in bytes).
Definition: hip_runtime_api.h:76
+
Invalid Device Pointer.
Definition: hip_runtime_api.h:152
+
hipError_t hipMalloc(void **ptr, size_t size)
Allocate memory on the default accelerator.
Definition: hip_memory.cpp:117
+
Compute mode that device is currently in.
Definition: hip_runtime_api.h:188
+
PCI Device ID.
Definition: hip_runtime_api.h:195
+
int maxThreadsDim[3]
Max number of threads in each dimension (XYZ) of a block.
Definition: hip_runtime_api.h:81
+
Number of multiprocessors on the device.
Definition: hip_runtime_api.h:187
+
int memoryBusWidth
Global memory bus width in bits.
Definition: hip_runtime_api.h:85
+
One or more of the parameters passed to the API call is NULL or not in an acceptable range...
Definition: hip_runtime_api.h:148
+
Definition: hip_runtime_api.h:74
+
Indicates that asynchronous operations enqueued earlier are not ready. This is not actually an error...
Definition: hip_runtime_api.h:156
+
size_t maxSharedMemoryPerMultiProcessor
Maximum Shared Memory Per Multiprocessor.
Definition: hip_runtime_api.h:98
+
int pciDeviceID
PCI Device ID.
Definition: hip_runtime_api.h:97
+
char name[256]
Device name.
Definition: hip_runtime_api.h:75
+
Produced when trying to unlock a non-page-locked memory.
Definition: hip_runtime_api.h:163
+
Definition: hip_runtime_api.h:35
+
int memoryClockRate
Max global memory clock frequency in khz.
Definition: hip_runtime_api.h:84
+
TODO comment from hipErrorInitializationError.
Definition: hip_runtime_api.h:153
+
Device can possibly execute multiple kernels concurrently.
Definition: hip_runtime_api.h:193
+
int multiProcessorCount
Number of multi-processors (compute units).
Definition: hip_runtime_api.h:89
+
Out of resources error.
Definition: hip_runtime_api.h:147
+
+ + + + diff --git a/docs/RuntimeAPI/html/hip__texture_8h.html b/docs/RuntimeAPI/html/hip__texture_8h.html new file mode 100644 index 0000000000..1b0b02fc1e --- /dev/null +++ b/docs/RuntimeAPI/html/hip__texture_8h.html @@ -0,0 +1,207 @@ + + + + + + +HIP: Heterogenous-computing Interface for Portability: /home/mangupta/git/hip/release_0.90.00/include/hcc_detail/hip_texture.h File Reference + + + + + + + + + +
+
+ + + + + + +
+
HIP: Heterogenous-computing Interface for Portability +
+
+
+ + + + + + + + + +
+ +
+ + +
+
+ +
+
hip_texture.h File Reference
+
+
+ +

HIP C++ Texture API for hcc compiler. +More...

+
#include <limits.h>
+#include <hip/hip_runtime.h>
+
+

Go to the source code of this file.

+ + + + + + +

+Classes

struct  hipChannelFormatDesc
 
struct  textureReference
 
+ + + + + +

+Macros

+#define hipTextureType1D   1
 
+#define tex1Dfetch(_tex, _addr)   (_tex._dataPtr[_addr])
 
+ + + + + + + +

+Typedefs

+typedef struct hipChannelFormatDesc hipChannelFormatDesc
 
+typedef enum hipTextureReadMode hipTextureReadMode
 
+typedef enum hipTextureFilterMode hipTextureFilterMode
 
+ + + + + +

+Enumerations

enum  hipTextureReadMode { hipReadModeElementType + }
 
enum  hipTextureFilterMode { hipFilterModePoint + }
 
+ + + + + + + + + + + + + +

+Functions

+template<class T >
hipChannelFormatDesc hipCreateChannelDesc ()
 
+template<class T , int dim, enum hipTextureReadMode readMode>
hipError_t hipBindTexture (size_t *offset, struct texture< T, dim, readMode > &tex, const void *devPtr, const struct hipChannelFormatDesc *desc, size_t size=UINT_MAX)
 
+template<class T , int dim, enum hipTextureReadMode readMode>
hipError_t hipBindTexture (size_t *offset, struct texture< T, dim, readMode > &tex, const void *devPtr, size_t size=UINT_MAX)
 
+template<class T , int dim, enum hipTextureReadMode readMode>
hipError_t hipUnbindTexture (struct texture< T, dim, readMode > *tex)
 
+

Detailed Description

+

HIP C++ Texture API for hcc compiler.

+

Enumeration Type Documentation

+ +
+
+ + + + +
enum hipTextureFilterMode
+
+ + +
Enumerator
hipFilterModePoint  +

Point filter mode.

+
+ +
+
+ +
+
+ + + + +
enum hipTextureReadMode
+
+ + +
Enumerator
hipReadModeElementType  +

Read texture as specified element type

+
+ +
+
+
+ + + + diff --git a/docs/RuntimeAPI/html/hip__texture_8h_source.html b/docs/RuntimeAPI/html/hip__texture_8h_source.html new file mode 100644 index 0000000000..4d64f9f1bc --- /dev/null +++ b/docs/RuntimeAPI/html/hip__texture_8h_source.html @@ -0,0 +1,273 @@ + + + + + + +HIP: Heterogenous-computing Interface for Portability: /home/mangupta/git/hip/release_0.90.00/include/hcc_detail/hip_texture.h Source File + + + + + + + + + +
+
+ + + + + + +
+
HIP: Heterogenous-computing Interface for Portability +
+
+
+ + + + + + + + + +
+ +
+ + +
+
+
+
hip_texture.h
+
+
+Go to the documentation of this file.
1 /*
+
2 Copyright (c) 2015-2016 Advanced Micro Devices, Inc. All rights reserved.
+
3 
+
4 Permission is hereby granted, free of charge, to any person obtaining a copy
+
5 of this software and associated documentation files (the "Software"), to deal
+
6 in the Software without restriction, including without limitation the rights
+
7 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+
8 copies of the Software, and to permit persons to whom the Software is
+
9 furnished to do so, subject to the following conditions:
+
10 
+
11 The above copyright notice and this permission notice shall be included in
+
12 all copies or substantial portions of the Software.
+
13 
+
14 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+
15 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+
16 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+
17 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+
18 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+
19 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+
20 THE SOFTWARE.
+
21 */
+
22 
+
23 //#pragma once
+
24 
+
25 #ifndef HIP_TEXTURE_H
+
26 #define HIP_TEXTURE_H
+
27 
+
33 #include <limits.h>
+
34 
+
35 #include <hip/hip_runtime.h>
+
36 
+
37 //----
+
38 //Texture - TODO - likely need to move this to a separate file only included with kernel compilation.
+
39 #define hipTextureType1D 1
+
40 
+
41 typedef struct hipChannelFormatDesc {
+
42  // TODO - this has 4-5 well-defined fields, we could just copy...
+
43  int _dummy;
+ +
45 
+
46 typedef enum hipTextureReadMode
+
47 {
+ + +
51 
+ +
53 {
+ + +
57 
+ +
59  hipTextureFilterMode filterMode;
+
60  bool normalized;
+
61  hipChannelFormatDesc channelDesc;
+
62 };
+
63 #if __cplusplus
+
64 template <class T, int texType=hipTextureType1D, enum hipTextureReadMode=hipReadModeElementType>
+
65 struct texture : public textureReference {
+
66 
+
67  const T * _dataPtr; // pointer to underlying data.
+
68 
+
69  //texture() : filterMode(hipFilterModePoint), normalized(false), _dataPtr(NULL) {};
+
70 };
+
71 #endif
+
72 
+
73 
+
74 
+
75 #define tex1Dfetch(_tex, _addr) (_tex._dataPtr[_addr])
+
76 
+
77 
+
78 
+
79 
+
87 // These are C++ APIs - maybe belong in separate file.
+
111 // C API:
+
112 #if 0
+
113 hipChannelFormatDesc hipBindTexture(size_t *offset, struct textureReference *tex, const void *devPtr, const struct hipChannelFormatDesc *desc, size_t size=UINT_MAX)
+
114 {
+
115  tex->_dataPtr = devPtr;
+
116 }
+
117 #endif
+
118 
+
119 /*
+
120  * @brief Returns a channel descriptor with format f and number of bits of each ocmponent x,y,z and w.
+
121  *
+
122  * @par Parameters
+
123  * None.
+
124  * @return Channel descriptor
+
125  *
+
126  *
+
127  **/
+
128 template <class T>
+
129 hipChannelFormatDesc hipCreateChannelDesc()
+
130 {
+ +
132  return desc;
+
133 }
+
134 
+
135 /*
+
136  * @brief hipBindTexture Binds size bytes of the memory area pointed to by @p devPtr to the texture reference tex.
+
137  *
+
138  * @p desc describes how the memory is interpreted when fetching values from the texture. The @p offset parameter is an optional byte offset as with the low-level
+
139  * hipBindTexture() function. Any memory previously bound to tex is unbound.
+
140  *
+
141  * @param[in] offset - Offset in bytes
+
142  * @param[out] tex - texture to bind
+
143  * @param[in] devPtr - Memory area on device
+
144  * @param[in] desc - Channel format
+
145  * @param[in] size - Size of the memory area pointed to by devPtr
+
146  * @return #hipSuccess, #hipErrorInvalidValue, #hipErrorMemoryFree, #hipErrorUnknown
+
147  **/
+
148 template <class T, int dim, enum hipTextureReadMode readMode>
+
149 hipError_t hipBindTexture(size_t *offset,
+
150  struct texture<T, dim, readMode> &tex,
+
151  const void *devPtr,
+
152  const struct hipChannelFormatDesc *desc,
+
153  size_t size=UINT_MAX)
+
154 {
+
155  tex._dataPtr = static_cast<const T*>(devPtr);
+
156 
+
157  return hipSuccess;
+
158 }
+
159 
+
160 /*
+
161  * @brief hipBindTexture Binds size bytes of the memory area pointed to by @p devPtr to the texture reference tex.
+
162  *
+
163  * @p desc describes how the memory is interpreted when fetching values from the texture. The @p offset parameter is an optional byte offset as with the low-level
+
164  * hipBindTexture() function. Any memory previously bound to tex is unbound.
+
165  *
+
166  * @param[in] offset - Offset in bytes
+
167  * @param[in] tex - texture to bind
+
168  * @param[in] devPtr - Memory area on device
+
169  * @param[in] size - Size of the memory area pointed to by devPtr
+
170  * @return #hipSuccess, #hipErrorInvalidValue, #hipErrorMemoryFree, #hipErrorUnknown
+
171  **/
+
172 template <class T, int dim, enum hipTextureReadMode readMode>
+
173 hipError_t hipBindTexture(size_t *offset,
+
174  struct texture<T, dim, readMode> &tex,
+
175  const void *devPtr,
+
176  size_t size=UINT_MAX)
+
177 {
+
178  return hipBindTexture(offset, tex, devPtr, &tex.channelDesc, size);
+
179 }
+
180 
+
181 
+
182 /*
+
183  * @brief Unbinds the textuer bound to @p tex
+
184  *
+
185  * @param[in] tex - texture to unbind
+
186  *
+
187  * @return #hipSuccess
+
188  **/
+
189 template <class T, int dim, enum hipTextureReadMode readMode>
+
190 hipError_t hipUnbindTexture(struct texture<T, dim, readMode> *tex)
+
191 {
+
192  tex->_dataPtr = NULL;
+
193 
+
194  return hipSuccess;
+
195 }
+
196 
+
197 
+
198 
+
199 // doxygen end Texture
+
205 // End doxygen API:
+
210 #endif
+
211 
+
Definition: hip_texture.h:48
+
Successful completion.
Definition: hip_runtime_api.h:145
+
Definition: hip_texture.h:54
+
Definition: hip_texture.h:58
+
hipError_t
Definition: hip_runtime_api.h:144
+
hipTextureReadMode
Definition: hip_texture.h:46
+
hipTextureFilterMode
Definition: hip_texture.h:52
+
Definition: hip_texture.h:41
+
+ + + + diff --git a/docs/RuntimeAPI/html/hip__util_8h_source.html b/docs/RuntimeAPI/html/hip__util_8h_source.html new file mode 100644 index 0000000000..8caac9c43b --- /dev/null +++ b/docs/RuntimeAPI/html/hip__util_8h_source.html @@ -0,0 +1,136 @@ + + + + + + +HIP: Heterogenous-computing Interface for Portability: /home/mangupta/git/hip/release_0.90.00/include/hcc_detail/hip_util.h Source File + + + + + + + + + +
+
+ + + + + + +
+
HIP: Heterogenous-computing Interface for Portability +
+
+
+ + + + + + + + + +
+ +
+ + +
+
+
+
hip_util.h
+
+
+
1 /*
+
2 Copyright (c) 2015-2016 Advanced Micro Devices, Inc. All rights reserved.
+
3 Permission is hereby granted, free of charge, to any person obtaining a copy
+
4 of this software and associated documentation files (the "Software"), to deal
+
5 in the Software without restriction, including without limitation the rights
+
6 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+
7 copies of the Software, and to permit persons to whom the Software is
+
8 furnished to do so, subject to the following conditions:
+
9 The above copyright notice and this permission notice shall be included in
+
10 all copies or substantial portions of the Software.
+
11 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANNTY OF ANY KIND, EXPRESS OR
+
12 IMPLIED, INNCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+
13 FITNNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+
14 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANNY CLAIM, DAMAGES OR OTHER
+
15 LIABILITY, WHETHER INN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+
16 OUT OF OR INN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+
17 THE SOFTWARE.
+
18 */
+
19 
+
20 
+
21 #ifndef HIP_UTIL_H
+
22 #define HIP_UTIL_H
+
23 
+
24 #include <assert.h>
+
25 #include <stdint.h>
+
26 #include <iostream>
+
27 #include <sstream>
+
28 #include <list>
+
29 #include <sys/types.h>
+
30 #include <unistd.h>
+
31 #include <deque>
+
32 #include <vector>
+
33 #include <algorithm>
+
34 
+
35 
+
36 #endif
+
+ + + + diff --git a/docs/RuntimeAPI/html/hip__vector__types_8h_source.html b/docs/RuntimeAPI/html/hip__vector__types_8h_source.html new file mode 100644 index 0000000000..2cac827abe --- /dev/null +++ b/docs/RuntimeAPI/html/hip__vector__types_8h_source.html @@ -0,0 +1,136 @@ + + + + + + +HIP: Heterogenous-computing Interface for Portability: /home/mangupta/git/hip/release_0.90.00/include/hip_vector_types.h Source File + + + + + + + + + +
+
+ + + + + + +
+
HIP: Heterogenous-computing Interface for Portability +
+
+
+ + + + + + + + + +
+ +
+ + +
+
+
+
hip_vector_types.h
+
+
+
1 /*
+
2 Copyright (c) 2015-2016 Advanced Micro Devices, Inc. All rights reserved.
+
3 
+
4 Permission is hereby granted, free of charge, to any person obtaining a copy
+
5 of this software and associated documentation files (the "Software"), to deal
+
6 in the Software without restriction, including without limitation the rights
+
7 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+
8 copies of the Software, and to permit persons to whom the Software is
+
9 furnished to do so, subject to the following conditions:
+
10 
+
11 The above copyright notice and this permission notice shall be included in
+
12 all copies or substantial portions of the Software.
+
13 
+
14 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+
15 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+
16 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+
17 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+
18 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+
19 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+
20 THE SOFTWARE.
+
21 */
+
23 
+
24 #pragma once
+
25 
+
26 #include <hip/hip_common.h>
+
27 
+
28 
+
29 #if defined(__HIP_PLATFORM_HCC__) && !defined (__HIP_PLATFORM_NVCC__)
+
30 #if __cplusplus
+
31 #include <hip/hcc_detail/hip_vector_types.h>
+
32 #endif
+
33 #elif defined(__HIP_PLATFORM_NVCC__) && !defined (__HIP_PLATFORM_HCC__)
+
34 #include <vector_types.h>
+
35 #else
+
36 #error("Must define exactly one of __HIP_PLATFORM_HCC__ or __HIP_PLATFORM_NVCC__");
+
37 #endif
+
+ + + + diff --git a/docs/RuntimeAPI/html/host__defines_8h.html b/docs/RuntimeAPI/html/host__defines_8h.html new file mode 100644 index 0000000000..68856a045a --- /dev/null +++ b/docs/RuntimeAPI/html/host__defines_8h.html @@ -0,0 +1,147 @@ + + + + + + +HIP: Heterogenous-computing Interface for Portability: /home/mangupta/git/hip/release_0.90.00/include/hcc_detail/host_defines.h File Reference + + + + + + + + + +
+
+ + + + + + +
+
HIP: Heterogenous-computing Interface for Portability +
+
+
+ + + + + + + + + +
+ +
+ + +
+
+ +
+
host_defines.h File Reference
+
+
+ +

TODO-doc. +More...

+ +

Go to the source code of this file.

+ + + + + + + + + + + + + + + + +

+Macros

#define __host__   __attribute__((cpu))
 
+#define __device__   __attribute__((hc))
 
+#define __global__   __attribute__((hc_grid_launch))
 
+#define __noinline__   __attribute__((noinline))
 
+#define __forceinline__   __attribute__((always_inline))
 
+#define __shared__   tile_static
 
+#define __constant__   __attribute__((address_space(2)))
 
+

Detailed Description

+

TODO-doc.

+

Macro Definition Documentation

+ +
+
+ + + + +
#define __host__   __attribute__((cpu))
+
+

Function and kernel markers

+ +
+
+
+ + + + diff --git a/docs/RuntimeAPI/html/host__defines_8h_source.html b/docs/RuntimeAPI/html/host__defines_8h_source.html new file mode 100644 index 0000000000..1fdfa2be55 --- /dev/null +++ b/docs/RuntimeAPI/html/host__defines_8h_source.html @@ -0,0 +1,164 @@ + + + + + + +HIP: Heterogenous-computing Interface for Portability: /home/mangupta/git/hip/release_0.90.00/include/hcc_detail/host_defines.h Source File + + + + + + + + + +
+
+ + + + + + +
+
HIP: Heterogenous-computing Interface for Portability +
+
+
+ + + + + + + + + +
+ +
+ + +
+
+
+
host_defines.h
+
+
+Go to the documentation of this file.
1 /*
+
2 Copyright (c) 2015-2016 Advanced Micro Devices, Inc. All rights reserved.
+
3 
+
4 Permission is hereby granted, free of charge, to any person obtaining a copy
+
5 of this software and associated documentation files (the "Software"), to deal
+
6 in the Software without restriction, including without limitation the rights
+
7 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+
8 copies of the Software, and to permit persons to whom the Software is
+
9 furnished to do so, subject to the following conditions:
+
10 
+
11 The above copyright notice and this permission notice shall be included in
+
12 all copies or substantial portions of the Software.
+
13 
+
14 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+
15 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+
16 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+
17 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+
18 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+
19 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+
20 THE SOFTWARE.
+
21 */
+
22 
+
28 #ifndef HOST_DEFINES_H
+
29 #define HOST_DEFINES_H
+
30 
+
31 #ifdef __HCC__
+
32 
+
35 #define __host__ __attribute__((cpu))
+
36 #define __device__ __attribute__((hc))
+
37 
+
38 #ifndef DISABLE_GRID_LAUNCH
+
39 #define __global__ __attribute__((hc_grid_launch))
+
40 #else
+
41 #define __global__
+
42 #endif
+
43 
+
44 #define __noinline__ __attribute__((noinline))
+
45 #define __forceinline__ __attribute__((always_inline))
+
46 
+
47 
+
48 
+
49 /*
+
50  * Variable Type Qualifiers:
+
51  */
+
52 // _restrict is supported by the compiler
+
53 #define __shared__ tile_static
+
54 #define __constant__ __attribute__((address_space(2)))
+
55 
+
56 #else
+
57 // Non-HCC compiler
+
61 #define __host__
+
62 #define __device__
+
63 
+
64 #define __global__
+
65 
+
66 #define __noinline__
+
67 #define __forceinline__
+
68 
+
69 #define __shared__
+
70 #define __constant__
+
71 
+
72 #endif
+
73 
+
74 #endif
+
+ + + + diff --git a/docs/RuntimeAPI/html/index.html b/docs/RuntimeAPI/html/index.html new file mode 100644 index 0000000000..0d7b6dd29c --- /dev/null +++ b/docs/RuntimeAPI/html/index.html @@ -0,0 +1,99 @@ + + + + + + +HIP: Heterogenous-computing Interface for Portability: Heterogeneous-computing Interface for Portability (HIP) + + + + + + + + + +
+
+ + + + + + +
+
HIP: Heterogenous-computing Interface for Portability +
+
+
+ + + + +
+ + + + +
+ +
+ +
+
+
Heterogeneous-computing Interface for Portability (HIP)
+
+
+

The HIP interface makes it very easy to port existing CUDA apps to run on AMD GPUs, or to develop new apps that can run on either CUDA or AMD GPUs from a common source base.

+
    +
  • HIP is very thin and has little or no performance impact over coding directly in CUDA NVCC or Kalmar HC mode.
  • +
  • HIP allows developers to use the "best" development environment and tools on each target platform.
  • +
  • HIP allows coding in a single-source C++ programming language including features such as templates, C++11 lambdas,and more.
  • +
  • "hipify" script automatically converts source from CUDA to HIP.
  • +
  • Developers can specialize for CUDA or Kalmar to tune for performance or handle tricky cases with #ifdef.
  • +
  • See the HIP API.
  • +
+
+ + + + diff --git a/docs/RuntimeAPI/html/jquery.js b/docs/RuntimeAPI/html/jquery.js new file mode 100644 index 0000000000..c197801c5d --- /dev/null +++ b/docs/RuntimeAPI/html/jquery.js @@ -0,0 +1,31 @@ +/*! + * jQuery JavaScript Library v1.7.1 + * http://jquery.com/ + * + * Copyright 2011, John Resig + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * Includes Sizzle.js + * http://sizzlejs.com/ + * Copyright 2011, The Dojo Foundation + * Released under the MIT, BSD, and GPL Licenses. + * + * Date: Mon Nov 21 21:11:03 2011 -0500 + */ +(function(bb,L){var av=bb.document,bu=bb.navigator,bl=bb.location;var b=(function(){var bF=function(b0,b1){return new bF.fn.init(b0,b1,bD)},bU=bb.jQuery,bH=bb.$,bD,bY=/^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,bM=/\S/,bI=/^\s+/,bE=/\s+$/,bA=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,bN=/^[\],:{}\s]*$/,bW=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,bP=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,bJ=/(?:^|:|,)(?:\s*\[)+/g,by=/(webkit)[ \/]([\w.]+)/,bR=/(opera)(?:.*version)?[ \/]([\w.]+)/,bQ=/(msie) ([\w.]+)/,bS=/(mozilla)(?:.*? rv:([\w.]+))?/,bB=/-([a-z]|[0-9])/ig,bZ=/^-ms-/,bT=function(b0,b1){return(b1+"").toUpperCase()},bX=bu.userAgent,bV,bC,e,bL=Object.prototype.toString,bG=Object.prototype.hasOwnProperty,bz=Array.prototype.push,bK=Array.prototype.slice,bO=String.prototype.trim,bv=Array.prototype.indexOf,bx={};bF.fn=bF.prototype={constructor:bF,init:function(b0,b4,b3){var b2,b5,b1,b6;if(!b0){return this}if(b0.nodeType){this.context=this[0]=b0;this.length=1;return this}if(b0==="body"&&!b4&&av.body){this.context=av;this[0]=av.body;this.selector=b0;this.length=1;return this}if(typeof b0==="string"){if(b0.charAt(0)==="<"&&b0.charAt(b0.length-1)===">"&&b0.length>=3){b2=[null,b0,null]}else{b2=bY.exec(b0)}if(b2&&(b2[1]||!b4)){if(b2[1]){b4=b4 instanceof bF?b4[0]:b4;b6=(b4?b4.ownerDocument||b4:av);b1=bA.exec(b0);if(b1){if(bF.isPlainObject(b4)){b0=[av.createElement(b1[1])];bF.fn.attr.call(b0,b4,true)}else{b0=[b6.createElement(b1[1])]}}else{b1=bF.buildFragment([b2[1]],[b6]);b0=(b1.cacheable?bF.clone(b1.fragment):b1.fragment).childNodes}return bF.merge(this,b0)}else{b5=av.getElementById(b2[2]);if(b5&&b5.parentNode){if(b5.id!==b2[2]){return b3.find(b0)}this.length=1;this[0]=b5}this.context=av;this.selector=b0;return this}}else{if(!b4||b4.jquery){return(b4||b3).find(b0)}else{return this.constructor(b4).find(b0)}}}else{if(bF.isFunction(b0)){return b3.ready(b0)}}if(b0.selector!==L){this.selector=b0.selector;this.context=b0.context}return bF.makeArray(b0,this)},selector:"",jquery:"1.7.1",length:0,size:function(){return this.length},toArray:function(){return bK.call(this,0)},get:function(b0){return b0==null?this.toArray():(b0<0?this[this.length+b0]:this[b0])},pushStack:function(b1,b3,b0){var b2=this.constructor();if(bF.isArray(b1)){bz.apply(b2,b1)}else{bF.merge(b2,b1)}b2.prevObject=this;b2.context=this.context;if(b3==="find"){b2.selector=this.selector+(this.selector?" ":"")+b0}else{if(b3){b2.selector=this.selector+"."+b3+"("+b0+")"}}return b2},each:function(b1,b0){return bF.each(this,b1,b0)},ready:function(b0){bF.bindReady();bC.add(b0);return this},eq:function(b0){b0=+b0;return b0===-1?this.slice(b0):this.slice(b0,b0+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(bK.apply(this,arguments),"slice",bK.call(arguments).join(","))},map:function(b0){return this.pushStack(bF.map(this,function(b2,b1){return b0.call(b2,b1,b2)}))},end:function(){return this.prevObject||this.constructor(null)},push:bz,sort:[].sort,splice:[].splice};bF.fn.init.prototype=bF.fn;bF.extend=bF.fn.extend=function(){var b9,b2,b0,b1,b6,b7,b5=arguments[0]||{},b4=1,b3=arguments.length,b8=false;if(typeof b5==="boolean"){b8=b5;b5=arguments[1]||{};b4=2}if(typeof b5!=="object"&&!bF.isFunction(b5)){b5={}}if(b3===b4){b5=this;--b4}for(;b40){return}bC.fireWith(av,[bF]);if(bF.fn.trigger){bF(av).trigger("ready").off("ready")}}},bindReady:function(){if(bC){return}bC=bF.Callbacks("once memory");if(av.readyState==="complete"){return setTimeout(bF.ready,1)}if(av.addEventListener){av.addEventListener("DOMContentLoaded",e,false);bb.addEventListener("load",bF.ready,false)}else{if(av.attachEvent){av.attachEvent("onreadystatechange",e);bb.attachEvent("onload",bF.ready);var b0=false;try{b0=bb.frameElement==null}catch(b1){}if(av.documentElement.doScroll&&b0){bw()}}}},isFunction:function(b0){return bF.type(b0)==="function"},isArray:Array.isArray||function(b0){return bF.type(b0)==="array"},isWindow:function(b0){return b0&&typeof b0==="object"&&"setInterval" in b0},isNumeric:function(b0){return !isNaN(parseFloat(b0))&&isFinite(b0)},type:function(b0){return b0==null?String(b0):bx[bL.call(b0)]||"object"},isPlainObject:function(b2){if(!b2||bF.type(b2)!=="object"||b2.nodeType||bF.isWindow(b2)){return false}try{if(b2.constructor&&!bG.call(b2,"constructor")&&!bG.call(b2.constructor.prototype,"isPrototypeOf")){return false}}catch(b1){return false}var b0;for(b0 in b2){}return b0===L||bG.call(b2,b0)},isEmptyObject:function(b1){for(var b0 in b1){return false}return true},error:function(b0){throw new Error(b0)},parseJSON:function(b0){if(typeof b0!=="string"||!b0){return null}b0=bF.trim(b0);if(bb.JSON&&bb.JSON.parse){return bb.JSON.parse(b0)}if(bN.test(b0.replace(bW,"@").replace(bP,"]").replace(bJ,""))){return(new Function("return "+b0))()}bF.error("Invalid JSON: "+b0)},parseXML:function(b2){var b0,b1;try{if(bb.DOMParser){b1=new DOMParser();b0=b1.parseFromString(b2,"text/xml")}else{b0=new ActiveXObject("Microsoft.XMLDOM");b0.async="false";b0.loadXML(b2)}}catch(b3){b0=L}if(!b0||!b0.documentElement||b0.getElementsByTagName("parsererror").length){bF.error("Invalid XML: "+b2)}return b0},noop:function(){},globalEval:function(b0){if(b0&&bM.test(b0)){(bb.execScript||function(b1){bb["eval"].call(bb,b1)})(b0)}},camelCase:function(b0){return b0.replace(bZ,"ms-").replace(bB,bT)},nodeName:function(b1,b0){return b1.nodeName&&b1.nodeName.toUpperCase()===b0.toUpperCase()},each:function(b3,b6,b2){var b1,b4=0,b5=b3.length,b0=b5===L||bF.isFunction(b3);if(b2){if(b0){for(b1 in b3){if(b6.apply(b3[b1],b2)===false){break}}}else{for(;b40&&b0[0]&&b0[b1-1])||b1===0||bF.isArray(b0));if(b3){for(;b21?aJ.call(arguments,0):bG;if(!(--bw)){bC.resolveWith(bC,bx)}}}function bz(bF){return function(bG){bB[bF]=arguments.length>1?aJ.call(arguments,0):bG;bC.notifyWith(bE,bB)}}if(e>1){for(;bv
a";bI=bv.getElementsByTagName("*");bF=bv.getElementsByTagName("a")[0];if(!bI||!bI.length||!bF){return{}}bG=av.createElement("select");bx=bG.appendChild(av.createElement("option"));bE=bv.getElementsByTagName("input")[0];bJ={leadingWhitespace:(bv.firstChild.nodeType===3),tbody:!bv.getElementsByTagName("tbody").length,htmlSerialize:!!bv.getElementsByTagName("link").length,style:/top/.test(bF.getAttribute("style")),hrefNormalized:(bF.getAttribute("href")==="/a"),opacity:/^0.55/.test(bF.style.opacity),cssFloat:!!bF.style.cssFloat,checkOn:(bE.value==="on"),optSelected:bx.selected,getSetAttribute:bv.className!=="t",enctype:!!av.createElement("form").enctype,html5Clone:av.createElement("nav").cloneNode(true).outerHTML!=="<:nav>",submitBubbles:true,changeBubbles:true,focusinBubbles:false,deleteExpando:true,noCloneEvent:true,inlineBlockNeedsLayout:false,shrinkWrapBlocks:false,reliableMarginRight:true};bE.checked=true;bJ.noCloneChecked=bE.cloneNode(true).checked;bG.disabled=true;bJ.optDisabled=!bx.disabled;try{delete bv.test}catch(bC){bJ.deleteExpando=false}if(!bv.addEventListener&&bv.attachEvent&&bv.fireEvent){bv.attachEvent("onclick",function(){bJ.noCloneEvent=false});bv.cloneNode(true).fireEvent("onclick")}bE=av.createElement("input");bE.value="t";bE.setAttribute("type","radio");bJ.radioValue=bE.value==="t";bE.setAttribute("checked","checked");bv.appendChild(bE);bD=av.createDocumentFragment();bD.appendChild(bv.lastChild);bJ.checkClone=bD.cloneNode(true).cloneNode(true).lastChild.checked;bJ.appendChecked=bE.checked;bD.removeChild(bE);bD.appendChild(bv);bv.innerHTML="";if(bb.getComputedStyle){bA=av.createElement("div");bA.style.width="0";bA.style.marginRight="0";bv.style.width="2px";bv.appendChild(bA);bJ.reliableMarginRight=(parseInt((bb.getComputedStyle(bA,null)||{marginRight:0}).marginRight,10)||0)===0}if(bv.attachEvent){for(by in {submit:1,change:1,focusin:1}){bB="on"+by;bw=(bB in bv);if(!bw){bv.setAttribute(bB,"return;");bw=(typeof bv[bB]==="function")}bJ[by+"Bubbles"]=bw}}bD.removeChild(bv);bD=bG=bx=bA=bv=bE=null;b(function(){var bM,bU,bV,bT,bN,bO,bL,bS,bR,e,bP,bQ=av.getElementsByTagName("body")[0];if(!bQ){return}bL=1;bS="position:absolute;top:0;left:0;width:1px;height:1px;margin:0;";bR="visibility:hidden;border:0;";e="style='"+bS+"border:5px solid #000;padding:0;'";bP="
";bM=av.createElement("div");bM.style.cssText=bR+"width:0;height:0;position:static;top:0;margin-top:"+bL+"px";bQ.insertBefore(bM,bQ.firstChild);bv=av.createElement("div");bM.appendChild(bv);bv.innerHTML="
t
";bz=bv.getElementsByTagName("td");bw=(bz[0].offsetHeight===0);bz[0].style.display="";bz[1].style.display="none";bJ.reliableHiddenOffsets=bw&&(bz[0].offsetHeight===0);bv.innerHTML="";bv.style.width=bv.style.paddingLeft="1px";b.boxModel=bJ.boxModel=bv.offsetWidth===2;if(typeof bv.style.zoom!=="undefined"){bv.style.display="inline";bv.style.zoom=1;bJ.inlineBlockNeedsLayout=(bv.offsetWidth===2);bv.style.display="";bv.innerHTML="
";bJ.shrinkWrapBlocks=(bv.offsetWidth!==2)}bv.style.cssText=bS+bR;bv.innerHTML=bP;bU=bv.firstChild;bV=bU.firstChild;bN=bU.nextSibling.firstChild.firstChild;bO={doesNotAddBorder:(bV.offsetTop!==5),doesAddBorderForTableAndCells:(bN.offsetTop===5)};bV.style.position="fixed";bV.style.top="20px";bO.fixedPosition=(bV.offsetTop===20||bV.offsetTop===15);bV.style.position=bV.style.top="";bU.style.overflow="hidden";bU.style.position="relative";bO.subtractsBorderForOverflowNotVisible=(bV.offsetTop===-5);bO.doesNotIncludeMarginInBodyOffset=(bQ.offsetTop!==bL);bQ.removeChild(bM);bv=bM=null;b.extend(bJ,bO)});return bJ})();var aS=/^(?:\{.*\}|\[.*\])$/,aA=/([A-Z])/g;b.extend({cache:{},uuid:0,expando:"jQuery"+(b.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:true,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:true},hasData:function(e){e=e.nodeType?b.cache[e[b.expando]]:e[b.expando];return !!e&&!S(e)},data:function(bx,bv,bz,by){if(!b.acceptData(bx)){return}var bG,bA,bD,bE=b.expando,bC=typeof bv==="string",bF=bx.nodeType,e=bF?b.cache:bx,bw=bF?bx[bE]:bx[bE]&&bE,bB=bv==="events";if((!bw||!e[bw]||(!bB&&!by&&!e[bw].data))&&bC&&bz===L){return}if(!bw){if(bF){bx[bE]=bw=++b.uuid}else{bw=bE}}if(!e[bw]){e[bw]={};if(!bF){e[bw].toJSON=b.noop}}if(typeof bv==="object"||typeof bv==="function"){if(by){e[bw]=b.extend(e[bw],bv)}else{e[bw].data=b.extend(e[bw].data,bv)}}bG=bA=e[bw];if(!by){if(!bA.data){bA.data={}}bA=bA.data}if(bz!==L){bA[b.camelCase(bv)]=bz}if(bB&&!bA[bv]){return bG.events}if(bC){bD=bA[bv];if(bD==null){bD=bA[b.camelCase(bv)]}}else{bD=bA}return bD},removeData:function(bx,bv,by){if(!b.acceptData(bx)){return}var bB,bA,bz,bC=b.expando,bD=bx.nodeType,e=bD?b.cache:bx,bw=bD?bx[bC]:bC;if(!e[bw]){return}if(bv){bB=by?e[bw]:e[bw].data;if(bB){if(!b.isArray(bv)){if(bv in bB){bv=[bv]}else{bv=b.camelCase(bv);if(bv in bB){bv=[bv]}else{bv=bv.split(" ")}}}for(bA=0,bz=bv.length;bA-1){return true}}return false},val:function(bx){var e,bv,by,bw=this[0];if(!arguments.length){if(bw){e=b.valHooks[bw.nodeName.toLowerCase()]||b.valHooks[bw.type];if(e&&"get" in e&&(bv=e.get(bw,"value"))!==L){return bv}bv=bw.value;return typeof bv==="string"?bv.replace(aU,""):bv==null?"":bv}return}by=b.isFunction(bx);return this.each(function(bA){var bz=b(this),bB;if(this.nodeType!==1){return}if(by){bB=bx.call(this,bA,bz.val())}else{bB=bx}if(bB==null){bB=""}else{if(typeof bB==="number"){bB+=""}else{if(b.isArray(bB)){bB=b.map(bB,function(bC){return bC==null?"":bC+""})}}}e=b.valHooks[this.nodeName.toLowerCase()]||b.valHooks[this.type];if(!e||!("set" in e)||e.set(this,bB,"value")===L){this.value=bB}})}});b.extend({valHooks:{option:{get:function(e){var bv=e.attributes.value;return !bv||bv.specified?e.value:e.text}},select:{get:function(e){var bA,bv,bz,bx,by=e.selectedIndex,bB=[],bC=e.options,bw=e.type==="select-one";if(by<0){return null}bv=bw?by:0;bz=bw?by+1:bC.length;for(;bv=0});if(!e.length){bv.selectedIndex=-1}return e}}},attrFn:{val:true,css:true,html:true,text:true,data:true,width:true,height:true,offset:true},attr:function(bA,bx,bB,bz){var bw,e,by,bv=bA.nodeType; +if(!bA||bv===3||bv===8||bv===2){return}if(bz&&bx in b.attrFn){return b(bA)[bx](bB)}if(typeof bA.getAttribute==="undefined"){return b.prop(bA,bx,bB)}by=bv!==1||!b.isXMLDoc(bA);if(by){bx=bx.toLowerCase();e=b.attrHooks[bx]||(ao.test(bx)?aY:be)}if(bB!==L){if(bB===null){b.removeAttr(bA,bx);return}else{if(e&&"set" in e&&by&&(bw=e.set(bA,bB,bx))!==L){return bw}else{bA.setAttribute(bx,""+bB);return bB}}}else{if(e&&"get" in e&&by&&(bw=e.get(bA,bx))!==null){return bw}else{bw=bA.getAttribute(bx);return bw===null?L:bw}}},removeAttr:function(bx,bz){var by,bA,bv,e,bw=0;if(bz&&bx.nodeType===1){bA=bz.toLowerCase().split(af);e=bA.length;for(;bw=0)}}})});var bd=/^(?:textarea|input|select)$/i,n=/^([^\.]*)?(?:\.(.+))?$/,J=/\bhover(\.\S+)?\b/,aO=/^key/,bf=/^(?:mouse|contextmenu)|click/,T=/^(?:focusinfocus|focusoutblur)$/,U=/^(\w*)(?:#([\w\-]+))?(?:\.([\w\-]+))?$/,Y=function(e){var bv=U.exec(e);if(bv){bv[1]=(bv[1]||"").toLowerCase();bv[3]=bv[3]&&new RegExp("(?:^|\\s)"+bv[3]+"(?:\\s|$)")}return bv},j=function(bw,e){var bv=bw.attributes||{};return((!e[1]||bw.nodeName.toLowerCase()===e[1])&&(!e[2]||(bv.id||{}).value===e[2])&&(!e[3]||e[3].test((bv["class"]||{}).value)))},bt=function(e){return b.event.special.hover?e:e.replace(J,"mouseenter$1 mouseleave$1")};b.event={add:function(bx,bC,bJ,bA,by){var bD,bB,bK,bI,bH,bF,e,bG,bv,bz,bw,bE;if(bx.nodeType===3||bx.nodeType===8||!bC||!bJ||!(bD=b._data(bx))){return}if(bJ.handler){bv=bJ;bJ=bv.handler}if(!bJ.guid){bJ.guid=b.guid++}bK=bD.events;if(!bK){bD.events=bK={}}bB=bD.handle;if(!bB){bD.handle=bB=function(bL){return typeof b!=="undefined"&&(!bL||b.event.triggered!==bL.type)?b.event.dispatch.apply(bB.elem,arguments):L};bB.elem=bx}bC=b.trim(bt(bC)).split(" ");for(bI=0;bI=0){bG=bG.slice(0,-1);bw=true}if(bG.indexOf(".")>=0){bx=bG.split(".");bG=bx.shift();bx.sort()}if((!bA||b.event.customEvent[bG])&&!b.event.global[bG]){return}bv=typeof bv==="object"?bv[b.expando]?bv:new b.Event(bG,bv):new b.Event(bG);bv.type=bG;bv.isTrigger=true;bv.exclusive=bw;bv.namespace=bx.join(".");bv.namespace_re=bv.namespace?new RegExp("(^|\\.)"+bx.join("\\.(?:.*\\.)?")+"(\\.|$)"):null;by=bG.indexOf(":")<0?"on"+bG:"";if(!bA){e=b.cache;for(bC in e){if(e[bC].events&&e[bC].events[bG]){b.event.trigger(bv,bD,e[bC].handle.elem,true)}}return}bv.result=L;if(!bv.target){bv.target=bA}bD=bD!=null?b.makeArray(bD):[];bD.unshift(bv);bF=b.event.special[bG]||{};if(bF.trigger&&bF.trigger.apply(bA,bD)===false){return}bB=[[bA,bF.bindType||bG]];if(!bJ&&!bF.noBubble&&!b.isWindow(bA)){bI=bF.delegateType||bG;bH=T.test(bI+bG)?bA:bA.parentNode;bz=null;for(;bH;bH=bH.parentNode){bB.push([bH,bI]);bz=bH}if(bz&&bz===bA.ownerDocument){bB.push([bz.defaultView||bz.parentWindow||bb,bI])}}for(bC=0;bCbA){bH.push({elem:this,matches:bz.slice(bA)})}for(bC=0;bC0?this.on(e,null,bx,bw):this.trigger(e)};if(b.attrFn){b.attrFn[e]=true}if(aO.test(e)){b.event.fixHooks[e]=b.event.keyHooks}if(bf.test(e)){b.event.fixHooks[e]=b.event.mouseHooks}}); +/*! + * Sizzle CSS Selector Engine + * Copyright 2011, The Dojo Foundation + * Released under the MIT, BSD, and GPL Licenses. + * More information: http://sizzlejs.com/ + */ +(function(){var bH=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,bC="sizcache"+(Math.random()+"").replace(".",""),bI=0,bL=Object.prototype.toString,bB=false,bA=true,bK=/\\/g,bO=/\r\n/g,bQ=/\W/;[0,0].sort(function(){bA=false;return 0});var by=function(bV,e,bY,bZ){bY=bY||[];e=e||av;var b1=e;if(e.nodeType!==1&&e.nodeType!==9){return[]}if(!bV||typeof bV!=="string"){return bY}var bS,b3,b6,bR,b2,b5,b4,bX,bU=true,bT=by.isXML(e),bW=[],b0=bV;do{bH.exec("");bS=bH.exec(b0);if(bS){b0=bS[3];bW.push(bS[1]);if(bS[2]){bR=bS[3];break}}}while(bS);if(bW.length>1&&bD.exec(bV)){if(bW.length===2&&bE.relative[bW[0]]){b3=bM(bW[0]+bW[1],e,bZ)}else{b3=bE.relative[bW[0]]?[e]:by(bW.shift(),e);while(bW.length){bV=bW.shift();if(bE.relative[bV]){bV+=bW.shift()}b3=bM(bV,b3,bZ)}}}else{if(!bZ&&bW.length>1&&e.nodeType===9&&!bT&&bE.match.ID.test(bW[0])&&!bE.match.ID.test(bW[bW.length-1])){b2=by.find(bW.shift(),e,bT);e=b2.expr?by.filter(b2.expr,b2.set)[0]:b2.set[0]}if(e){b2=bZ?{expr:bW.pop(),set:bF(bZ)}:by.find(bW.pop(),bW.length===1&&(bW[0]==="~"||bW[0]==="+")&&e.parentNode?e.parentNode:e,bT);b3=b2.expr?by.filter(b2.expr,b2.set):b2.set;if(bW.length>0){b6=bF(b3)}else{bU=false}while(bW.length){b5=bW.pop();b4=b5;if(!bE.relative[b5]){b5=""}else{b4=bW.pop()}if(b4==null){b4=e}bE.relative[b5](b6,b4,bT)}}else{b6=bW=[]}}if(!b6){b6=b3}if(!b6){by.error(b5||bV)}if(bL.call(b6)==="[object Array]"){if(!bU){bY.push.apply(bY,b6)}else{if(e&&e.nodeType===1){for(bX=0;b6[bX]!=null;bX++){if(b6[bX]&&(b6[bX]===true||b6[bX].nodeType===1&&by.contains(e,b6[bX]))){bY.push(b3[bX])}}}else{for(bX=0;b6[bX]!=null;bX++){if(b6[bX]&&b6[bX].nodeType===1){bY.push(b3[bX])}}}}}else{bF(b6,bY)}if(bR){by(bR,b1,bY,bZ);by.uniqueSort(bY)}return bY};by.uniqueSort=function(bR){if(bJ){bB=bA;bR.sort(bJ);if(bB){for(var e=1;e0};by.find=function(bX,e,bY){var bW,bS,bU,bT,bV,bR;if(!bX){return[]}for(bS=0,bU=bE.order.length;bS":function(bW,bR){var bV,bU=typeof bR==="string",bS=0,e=bW.length;if(bU&&!bQ.test(bR)){bR=bR.toLowerCase();for(;bS=0)){if(!bS){e.push(bV)}}else{if(bS){bR[bU]=false}}}}return false},ID:function(e){return e[1].replace(bK,"")},TAG:function(bR,e){return bR[1].replace(bK,"").toLowerCase()},CHILD:function(e){if(e[1]==="nth"){if(!e[2]){by.error(e[0])}e[2]=e[2].replace(/^\+|\s*/g,"");var bR=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(e[2]==="even"&&"2n"||e[2]==="odd"&&"2n+1"||!/\D/.test(e[2])&&"0n+"+e[2]||e[2]);e[2]=(bR[1]+(bR[2]||1))-0;e[3]=bR[3]-0}else{if(e[2]){by.error(e[0])}}e[0]=bI++;return e},ATTR:function(bU,bR,bS,e,bV,bW){var bT=bU[1]=bU[1].replace(bK,"");if(!bW&&bE.attrMap[bT]){bU[1]=bE.attrMap[bT]}bU[4]=(bU[4]||bU[5]||"").replace(bK,"");if(bU[2]==="~="){bU[4]=" "+bU[4]+" "}return bU},PSEUDO:function(bU,bR,bS,e,bV){if(bU[1]==="not"){if((bH.exec(bU[3])||"").length>1||/^\w/.test(bU[3])){bU[3]=by(bU[3],null,null,bR)}else{var bT=by.filter(bU[3],bR,bS,true^bV);if(!bS){e.push.apply(e,bT)}return false}}else{if(bE.match.POS.test(bU[0])||bE.match.CHILD.test(bU[0])){return true}}return bU},POS:function(e){e.unshift(true);return e}},filters:{enabled:function(e){return e.disabled===false&&e.type!=="hidden"},disabled:function(e){return e.disabled===true},checked:function(e){return e.checked===true},selected:function(e){if(e.parentNode){e.parentNode.selectedIndex}return e.selected===true},parent:function(e){return !!e.firstChild},empty:function(e){return !e.firstChild},has:function(bS,bR,e){return !!by(e[3],bS).length},header:function(e){return(/h\d/i).test(e.nodeName)},text:function(bS){var e=bS.getAttribute("type"),bR=bS.type;return bS.nodeName.toLowerCase()==="input"&&"text"===bR&&(e===bR||e===null)},radio:function(e){return e.nodeName.toLowerCase()==="input"&&"radio"===e.type},checkbox:function(e){return e.nodeName.toLowerCase()==="input"&&"checkbox"===e.type},file:function(e){return e.nodeName.toLowerCase()==="input"&&"file"===e.type},password:function(e){return e.nodeName.toLowerCase()==="input"&&"password"===e.type},submit:function(bR){var e=bR.nodeName.toLowerCase();return(e==="input"||e==="button")&&"submit"===bR.type},image:function(e){return e.nodeName.toLowerCase()==="input"&&"image"===e.type},reset:function(bR){var e=bR.nodeName.toLowerCase();return(e==="input"||e==="button")&&"reset"===bR.type},button:function(bR){var e=bR.nodeName.toLowerCase();return e==="input"&&"button"===bR.type||e==="button"},input:function(e){return(/input|select|textarea|button/i).test(e.nodeName)},focus:function(e){return e===e.ownerDocument.activeElement}},setFilters:{first:function(bR,e){return e===0},last:function(bS,bR,e,bT){return bR===bT.length-1},even:function(bR,e){return e%2===0},odd:function(bR,e){return e%2===1 +},lt:function(bS,bR,e){return bRe[3]-0},nth:function(bS,bR,e){return e[3]-0===bR},eq:function(bS,bR,e){return e[3]-0===bR}},filter:{PSEUDO:function(bS,bX,bW,bY){var e=bX[1],bR=bE.filters[e];if(bR){return bR(bS,bW,bX,bY)}else{if(e==="contains"){return(bS.textContent||bS.innerText||bw([bS])||"").indexOf(bX[3])>=0}else{if(e==="not"){var bT=bX[3];for(var bV=0,bU=bT.length;bV=0)}}},ID:function(bR,e){return bR.nodeType===1&&bR.getAttribute("id")===e},TAG:function(bR,e){return(e==="*"&&bR.nodeType===1)||!!bR.nodeName&&bR.nodeName.toLowerCase()===e},CLASS:function(bR,e){return(" "+(bR.className||bR.getAttribute("class"))+" ").indexOf(e)>-1},ATTR:function(bV,bT){var bS=bT[1],e=by.attr?by.attr(bV,bS):bE.attrHandle[bS]?bE.attrHandle[bS](bV):bV[bS]!=null?bV[bS]:bV.getAttribute(bS),bW=e+"",bU=bT[2],bR=bT[4];return e==null?bU==="!=":!bU&&by.attr?e!=null:bU==="="?bW===bR:bU==="*="?bW.indexOf(bR)>=0:bU==="~="?(" "+bW+" ").indexOf(bR)>=0:!bR?bW&&e!==false:bU==="!="?bW!==bR:bU==="^="?bW.indexOf(bR)===0:bU==="$="?bW.substr(bW.length-bR.length)===bR:bU==="|="?bW===bR||bW.substr(0,bR.length+1)===bR+"-":false},POS:function(bU,bR,bS,bV){var e=bR[2],bT=bE.setFilters[e];if(bT){return bT(bU,bS,bR,bV)}}}};var bD=bE.match.POS,bx=function(bR,e){return"\\"+(e-0+1)};for(var bz in bE.match){bE.match[bz]=new RegExp(bE.match[bz].source+(/(?![^\[]*\])(?![^\(]*\))/.source));bE.leftMatch[bz]=new RegExp(/(^(?:.|\r|\n)*?)/.source+bE.match[bz].source.replace(/\\(\d+)/g,bx))}var bF=function(bR,e){bR=Array.prototype.slice.call(bR,0);if(e){e.push.apply(e,bR);return e}return bR};try{Array.prototype.slice.call(av.documentElement.childNodes,0)[0].nodeType}catch(bP){bF=function(bU,bT){var bS=0,bR=bT||[];if(bL.call(bU)==="[object Array]"){Array.prototype.push.apply(bR,bU)}else{if(typeof bU.length==="number"){for(var e=bU.length;bS";e.insertBefore(bR,e.firstChild);if(av.getElementById(bS)){bE.find.ID=function(bU,bV,bW){if(typeof bV.getElementById!=="undefined"&&!bW){var bT=bV.getElementById(bU[1]);return bT?bT.id===bU[1]||typeof bT.getAttributeNode!=="undefined"&&bT.getAttributeNode("id").nodeValue===bU[1]?[bT]:L:[]}};bE.filter.ID=function(bV,bT){var bU=typeof bV.getAttributeNode!=="undefined"&&bV.getAttributeNode("id");return bV.nodeType===1&&bU&&bU.nodeValue===bT}}e.removeChild(bR);e=bR=null})();(function(){var e=av.createElement("div");e.appendChild(av.createComment(""));if(e.getElementsByTagName("*").length>0){bE.find.TAG=function(bR,bV){var bU=bV.getElementsByTagName(bR[1]);if(bR[1]==="*"){var bT=[];for(var bS=0;bU[bS];bS++){if(bU[bS].nodeType===1){bT.push(bU[bS])}}bU=bT}return bU}}e.innerHTML="";if(e.firstChild&&typeof e.firstChild.getAttribute!=="undefined"&&e.firstChild.getAttribute("href")!=="#"){bE.attrHandle.href=function(bR){return bR.getAttribute("href",2)}}e=null})();if(av.querySelectorAll){(function(){var e=by,bT=av.createElement("div"),bS="__sizzle__";bT.innerHTML="

";if(bT.querySelectorAll&&bT.querySelectorAll(".TEST").length===0){return}by=function(b4,bV,bZ,b3){bV=bV||av;if(!b3&&!by.isXML(bV)){var b2=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(b4);if(b2&&(bV.nodeType===1||bV.nodeType===9)){if(b2[1]){return bF(bV.getElementsByTagName(b4),bZ)}else{if(b2[2]&&bE.find.CLASS&&bV.getElementsByClassName){return bF(bV.getElementsByClassName(b2[2]),bZ)}}}if(bV.nodeType===9){if(b4==="body"&&bV.body){return bF([bV.body],bZ)}else{if(b2&&b2[3]){var bY=bV.getElementById(b2[3]);if(bY&&bY.parentNode){if(bY.id===b2[3]){return bF([bY],bZ)}}else{return bF([],bZ)}}}try{return bF(bV.querySelectorAll(b4),bZ)}catch(b0){}}else{if(bV.nodeType===1&&bV.nodeName.toLowerCase()!=="object"){var bW=bV,bX=bV.getAttribute("id"),bU=bX||bS,b6=bV.parentNode,b5=/^\s*[+~]/.test(b4);if(!bX){bV.setAttribute("id",bU)}else{bU=bU.replace(/'/g,"\\$&")}if(b5&&b6){bV=bV.parentNode}try{if(!b5||b6){return bF(bV.querySelectorAll("[id='"+bU+"'] "+b4),bZ)}}catch(b1){}finally{if(!bX){bW.removeAttribute("id")}}}}}return e(b4,bV,bZ,b3)};for(var bR in e){by[bR]=e[bR]}bT=null})()}(function(){var e=av.documentElement,bS=e.matchesSelector||e.mozMatchesSelector||e.webkitMatchesSelector||e.msMatchesSelector;if(bS){var bU=!bS.call(av.createElement("div"),"div"),bR=false;try{bS.call(av.documentElement,"[test!='']:sizzle")}catch(bT){bR=true}by.matchesSelector=function(bW,bY){bY=bY.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!by.isXML(bW)){try{if(bR||!bE.match.PSEUDO.test(bY)&&!/!=/.test(bY)){var bV=bS.call(bW,bY);if(bV||!bU||bW.document&&bW.document.nodeType!==11){return bV}}}catch(bX){}}return by(bY,null,null,[bW]).length>0}}})();(function(){var e=av.createElement("div");e.innerHTML="
";if(!e.getElementsByClassName||e.getElementsByClassName("e").length===0){return}e.lastChild.className="e";if(e.getElementsByClassName("e").length===1){return}bE.order.splice(1,0,"CLASS");bE.find.CLASS=function(bR,bS,bT){if(typeof bS.getElementsByClassName!=="undefined"&&!bT){return bS.getElementsByClassName(bR[1])}};e=null})();function bv(bR,bW,bV,bZ,bX,bY){for(var bT=0,bS=bZ.length;bT0){bU=e;break}}}e=e[bR]}bZ[bT]=bU}}}if(av.documentElement.contains){by.contains=function(bR,e){return bR!==e&&(bR.contains?bR.contains(e):true)}}else{if(av.documentElement.compareDocumentPosition){by.contains=function(bR,e){return !!(bR.compareDocumentPosition(e)&16)}}else{by.contains=function(){return false}}}by.isXML=function(e){var bR=(e?e.ownerDocument||e:0).documentElement;return bR?bR.nodeName!=="HTML":false};var bM=function(bS,e,bW){var bV,bX=[],bU="",bY=e.nodeType?[e]:e;while((bV=bE.match.PSEUDO.exec(bS))){bU+=bV[0];bS=bS.replace(bE.match.PSEUDO,"")}bS=bE.relative[bS]?bS+"*":bS;for(var bT=0,bR=bY.length;bT0){for(bB=bA;bB=0:b.filter(e,this).length>0:this.filter(e).length>0)},closest:function(by,bx){var bv=[],bw,e,bz=this[0];if(b.isArray(by)){var bB=1;while(bz&&bz.ownerDocument&&bz!==bx){for(bw=0;bw-1:b.find.matchesSelector(bz,by)){bv.push(bz);break}else{bz=bz.parentNode;if(!bz||!bz.ownerDocument||bz===bx||bz.nodeType===11){break}}}}bv=bv.length>1?b.unique(bv):bv;return this.pushStack(bv,"closest",by)},index:function(e){if(!e){return(this[0]&&this[0].parentNode)?this.prevAll().length:-1}if(typeof e==="string"){return b.inArray(this[0],b(e))}return b.inArray(e.jquery?e[0]:e,this)},add:function(e,bv){var bx=typeof e==="string"?b(e,bv):b.makeArray(e&&e.nodeType?[e]:e),bw=b.merge(this.get(),bx);return this.pushStack(C(bx[0])||C(bw[0])?bw:b.unique(bw))},andSelf:function(){return this.add(this.prevObject)}});function C(e){return !e||!e.parentNode||e.parentNode.nodeType===11}b.each({parent:function(bv){var e=bv.parentNode;return e&&e.nodeType!==11?e:null},parents:function(e){return b.dir(e,"parentNode")},parentsUntil:function(bv,e,bw){return b.dir(bv,"parentNode",bw)},next:function(e){return b.nth(e,2,"nextSibling")},prev:function(e){return b.nth(e,2,"previousSibling")},nextAll:function(e){return b.dir(e,"nextSibling")},prevAll:function(e){return b.dir(e,"previousSibling")},nextUntil:function(bv,e,bw){return b.dir(bv,"nextSibling",bw)},prevUntil:function(bv,e,bw){return b.dir(bv,"previousSibling",bw)},siblings:function(e){return b.sibling(e.parentNode.firstChild,e)},children:function(e){return b.sibling(e.firstChild)},contents:function(e){return b.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:b.makeArray(e.childNodes)}},function(e,bv){b.fn[e]=function(by,bw){var bx=b.map(this,bv,by);if(!ab.test(e)){bw=by}if(bw&&typeof bw==="string"){bx=b.filter(bw,bx)}bx=this.length>1&&!ay[e]?b.unique(bx):bx;if((this.length>1||a9.test(bw))&&aq.test(e)){bx=bx.reverse()}return this.pushStack(bx,e,P.call(arguments).join(","))}});b.extend({filter:function(bw,e,bv){if(bv){bw=":not("+bw+")"}return e.length===1?b.find.matchesSelector(e[0],bw)?[e[0]]:[]:b.find.matches(bw,e)},dir:function(bw,bv,by){var e=[],bx=bw[bv];while(bx&&bx.nodeType!==9&&(by===L||bx.nodeType!==1||!b(bx).is(by))){if(bx.nodeType===1){e.push(bx)}bx=bx[bv]}return e},nth:function(by,e,bw,bx){e=e||1;var bv=0;for(;by;by=by[bw]){if(by.nodeType===1&&++bv===e){break}}return by},sibling:function(bw,bv){var e=[];for(;bw;bw=bw.nextSibling){if(bw.nodeType===1&&bw!==bv){e.push(bw)}}return e}});function aG(bx,bw,e){bw=bw||0;if(b.isFunction(bw)){return b.grep(bx,function(bz,by){var bA=!!bw.call(bz,by,bz);return bA===e})}else{if(bw.nodeType){return b.grep(bx,function(bz,by){return(bz===bw)===e})}else{if(typeof bw==="string"){var bv=b.grep(bx,function(by){return by.nodeType===1});if(bp.test(bw)){return b.filter(bw,bv,!e)}else{bw=b.filter(bw,bv)}}}}return b.grep(bx,function(bz,by){return(b.inArray(bz,bw)>=0)===e})}function a(e){var bw=aR.split("|"),bv=e.createDocumentFragment();if(bv.createElement){while(bw.length){bv.createElement(bw.pop())}}return bv}var aR="abbr|article|aside|audio|canvas|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",ag=/ jQuery\d+="(?:\d+|null)"/g,ar=/^\s+/,R=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,d=/<([\w:]+)/,w=/",""],legend:[1,"
","
"],thead:[1,"","
"],tr:[2,"","
"],td:[3,"","
"],col:[2,"","
"],area:[1,"",""],_default:[0,"",""]},ac=a(av); +ax.optgroup=ax.option;ax.tbody=ax.tfoot=ax.colgroup=ax.caption=ax.thead;ax.th=ax.td;if(!b.support.htmlSerialize){ax._default=[1,"div
","
"]}b.fn.extend({text:function(e){if(b.isFunction(e)){return this.each(function(bw){var bv=b(this);bv.text(e.call(this,bw,bv.text()))})}if(typeof e!=="object"&&e!==L){return this.empty().append((this[0]&&this[0].ownerDocument||av).createTextNode(e))}return b.text(this)},wrapAll:function(e){if(b.isFunction(e)){return this.each(function(bw){b(this).wrapAll(e.call(this,bw))})}if(this[0]){var bv=b(e,this[0].ownerDocument).eq(0).clone(true);if(this[0].parentNode){bv.insertBefore(this[0])}bv.map(function(){var bw=this;while(bw.firstChild&&bw.firstChild.nodeType===1){bw=bw.firstChild}return bw}).append(this)}return this},wrapInner:function(e){if(b.isFunction(e)){return this.each(function(bv){b(this).wrapInner(e.call(this,bv))})}return this.each(function(){var bv=b(this),bw=bv.contents();if(bw.length){bw.wrapAll(e)}else{bv.append(e)}})},wrap:function(e){var bv=b.isFunction(e);return this.each(function(bw){b(this).wrapAll(bv?e.call(this,bw):e)})},unwrap:function(){return this.parent().each(function(){if(!b.nodeName(this,"body")){b(this).replaceWith(this.childNodes)}}).end()},append:function(){return this.domManip(arguments,true,function(e){if(this.nodeType===1){this.appendChild(e)}})},prepend:function(){return this.domManip(arguments,true,function(e){if(this.nodeType===1){this.insertBefore(e,this.firstChild)}})},before:function(){if(this[0]&&this[0].parentNode){return this.domManip(arguments,false,function(bv){this.parentNode.insertBefore(bv,this)})}else{if(arguments.length){var e=b.clean(arguments);e.push.apply(e,this.toArray());return this.pushStack(e,"before",arguments)}}},after:function(){if(this[0]&&this[0].parentNode){return this.domManip(arguments,false,function(bv){this.parentNode.insertBefore(bv,this.nextSibling)})}else{if(arguments.length){var e=this.pushStack(this,"after",arguments);e.push.apply(e,b.clean(arguments));return e}}},remove:function(e,bx){for(var bv=0,bw;(bw=this[bv])!=null;bv++){if(!e||b.filter(e,[bw]).length){if(!bx&&bw.nodeType===1){b.cleanData(bw.getElementsByTagName("*"));b.cleanData([bw])}if(bw.parentNode){bw.parentNode.removeChild(bw)}}}return this},empty:function(){for(var e=0,bv;(bv=this[e])!=null;e++){if(bv.nodeType===1){b.cleanData(bv.getElementsByTagName("*"))}while(bv.firstChild){bv.removeChild(bv.firstChild)}}return this},clone:function(bv,e){bv=bv==null?false:bv;e=e==null?bv:e;return this.map(function(){return b.clone(this,bv,e)})},html:function(bx){if(bx===L){return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(ag,""):null}else{if(typeof bx==="string"&&!ae.test(bx)&&(b.support.leadingWhitespace||!ar.test(bx))&&!ax[(d.exec(bx)||["",""])[1].toLowerCase()]){bx=bx.replace(R,"<$1>");try{for(var bw=0,bv=this.length;bw1&&bw0?this.clone(true):this).get();b(bC[bA])[bv](by);bz=bz.concat(by)}return this.pushStack(bz,e,bC.selector)}}});function bg(e){if(typeof e.getElementsByTagName!=="undefined"){return e.getElementsByTagName("*")}else{if(typeof e.querySelectorAll!=="undefined"){return e.querySelectorAll("*")}else{return[]}}}function az(e){if(e.type==="checkbox"||e.type==="radio"){e.defaultChecked=e.checked}}function E(e){var bv=(e.nodeName||"").toLowerCase();if(bv==="input"){az(e)}else{if(bv!=="script"&&typeof e.getElementsByTagName!=="undefined"){b.grep(e.getElementsByTagName("input"),az)}}}function al(e){var bv=av.createElement("div");ac.appendChild(bv);bv.innerHTML=e.outerHTML;return bv.firstChild}b.extend({clone:function(by,bA,bw){var e,bv,bx,bz=b.support.html5Clone||!ah.test("<"+by.nodeName)?by.cloneNode(true):al(by);if((!b.support.noCloneEvent||!b.support.noCloneChecked)&&(by.nodeType===1||by.nodeType===11)&&!b.isXMLDoc(by)){ai(by,bz);e=bg(by);bv=bg(bz);for(bx=0;e[bx];++bx){if(bv[bx]){ai(e[bx],bv[bx])}}}if(bA){t(by,bz);if(bw){e=bg(by);bv=bg(bz);for(bx=0;e[bx];++bx){t(e[bx],bv[bx])}}}e=bv=null;return bz},clean:function(bw,by,bH,bA){var bF;by=by||av;if(typeof by.createElement==="undefined"){by=by.ownerDocument||by[0]&&by[0].ownerDocument||av}var bI=[],bB;for(var bE=0,bz;(bz=bw[bE])!=null;bE++){if(typeof bz==="number"){bz+=""}if(!bz){continue}if(typeof bz==="string"){if(!W.test(bz)){bz=by.createTextNode(bz)}else{bz=bz.replace(R,"<$1>");var bK=(d.exec(bz)||["",""])[1].toLowerCase(),bx=ax[bK]||ax._default,bD=bx[0],bv=by.createElement("div");if(by===av){ac.appendChild(bv)}else{a(by).appendChild(bv)}bv.innerHTML=bx[1]+bz+bx[2];while(bD--){bv=bv.lastChild}if(!b.support.tbody){var e=w.test(bz),bC=bK==="table"&&!e?bv.firstChild&&bv.firstChild.childNodes:bx[1]===""&&!e?bv.childNodes:[];for(bB=bC.length-1;bB>=0;--bB){if(b.nodeName(bC[bB],"tbody")&&!bC[bB].childNodes.length){bC[bB].parentNode.removeChild(bC[bB])}}}if(!b.support.leadingWhitespace&&ar.test(bz)){bv.insertBefore(by.createTextNode(ar.exec(bz)[0]),bv.firstChild)}bz=bv.childNodes}}var bG;if(!b.support.appendChecked){if(bz[0]&&typeof(bG=bz.length)==="number"){for(bB=0;bB=0){return bx+"px"}}else{return bx}}}});if(!b.support.opacity){b.cssHooks.opacity={get:function(bv,e){return au.test((e&&bv.currentStyle?bv.currentStyle.filter:bv.style.filter)||"")?(parseFloat(RegExp.$1)/100)+"":e?"1":""},set:function(by,bz){var bx=by.style,bv=by.currentStyle,e=b.isNumeric(bz)?"alpha(opacity="+bz*100+")":"",bw=bv&&bv.filter||bx.filter||"";bx.zoom=1;if(bz>=1&&b.trim(bw.replace(ak,""))===""){bx.removeAttribute("filter");if(bv&&!bv.filter){return}}bx.filter=ak.test(bw)?bw.replace(ak,e):bw+" "+e}}}b(function(){if(!b.support.reliableMarginRight){b.cssHooks.marginRight={get:function(bw,bv){var e;b.swap(bw,{display:"inline-block"},function(){if(bv){e=Z(bw,"margin-right","marginRight")}else{e=bw.style.marginRight}});return e}}}});if(av.defaultView&&av.defaultView.getComputedStyle){aI=function(by,bw){var bv,bx,e;bw=bw.replace(z,"-$1").toLowerCase();if((bx=by.ownerDocument.defaultView)&&(e=bx.getComputedStyle(by,null))){bv=e.getPropertyValue(bw);if(bv===""&&!b.contains(by.ownerDocument.documentElement,by)){bv=b.style(by,bw)}}return bv}}if(av.documentElement.currentStyle){aX=function(bz,bw){var bA,e,by,bv=bz.currentStyle&&bz.currentStyle[bw],bx=bz.style;if(bv===null&&bx&&(by=bx[bw])){bv=by}if(!bc.test(bv)&&bn.test(bv)){bA=bx.left;e=bz.runtimeStyle&&bz.runtimeStyle.left;if(e){bz.runtimeStyle.left=bz.currentStyle.left}bx.left=bw==="fontSize"?"1em":(bv||0);bv=bx.pixelLeft+"px";bx.left=bA;if(e){bz.runtimeStyle.left=e}}return bv===""?"auto":bv}}Z=aI||aX;function p(by,bw,bv){var bA=bw==="width"?by.offsetWidth:by.offsetHeight,bz=bw==="width"?an:a1,bx=0,e=bz.length; +if(bA>0){if(bv!=="border"){for(;bx)<[^<]*)*<\/script>/gi,q=/^(?:select|textarea)/i,h=/\s+/,br=/([?&])_=[^&]*/,K=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,A=b.fn.load,aa={},r={},aE,s,aV=["*/"]+["*"];try{aE=bl.href}catch(aw){aE=av.createElement("a");aE.href="";aE=aE.href}s=K.exec(aE.toLowerCase())||[];function f(e){return function(by,bA){if(typeof by!=="string"){bA=by;by="*"}if(b.isFunction(bA)){var bx=by.toLowerCase().split(h),bw=0,bz=bx.length,bv,bB,bC;for(;bw=0){var e=bw.slice(by,bw.length);bw=bw.slice(0,by)}var bx="GET";if(bz){if(b.isFunction(bz)){bA=bz;bz=L}else{if(typeof bz==="object"){bz=b.param(bz,b.ajaxSettings.traditional);bx="POST"}}}var bv=this;b.ajax({url:bw,type:bx,dataType:"html",data:bz,complete:function(bC,bB,bD){bD=bC.responseText;if(bC.isResolved()){bC.done(function(bE){bD=bE});bv.html(e?b("
").append(bD.replace(a6,"")).find(e):bD)}if(bA){bv.each(bA,[bD,bB,bC])}}});return this},serialize:function(){return b.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?b.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||q.test(this.nodeName)||aZ.test(this.type))}).map(function(e,bv){var bw=b(this).val();return bw==null?null:b.isArray(bw)?b.map(bw,function(by,bx){return{name:bv.name,value:by.replace(bs,"\r\n")}}):{name:bv.name,value:bw.replace(bs,"\r\n")}}).get()}});b.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(e,bv){b.fn[bv]=function(bw){return this.on(bv,bw)}});b.each(["get","post"],function(e,bv){b[bv]=function(bw,by,bz,bx){if(b.isFunction(by)){bx=bx||bz;bz=by;by=L}return b.ajax({type:bv,url:bw,data:by,success:bz,dataType:bx})}});b.extend({getScript:function(e,bv){return b.get(e,L,bv,"script")},getJSON:function(e,bv,bw){return b.get(e,bv,bw,"json")},ajaxSetup:function(bv,e){if(e){am(bv,b.ajaxSettings)}else{e=bv;bv=b.ajaxSettings}am(bv,e);return bv},ajaxSettings:{url:aE,isLocal:aM.test(s[1]),global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":aV},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":bb.String,"text html":true,"text json":b.parseJSON,"text xml":b.parseXML},flatOptions:{context:true,url:true}},ajaxPrefilter:f(aa),ajaxTransport:f(r),ajax:function(bz,bx){if(typeof bz==="object"){bx=bz;bz=L}bx=bx||{};var bD=b.ajaxSetup({},bx),bS=bD.context||bD,bG=bS!==bD&&(bS.nodeType||bS instanceof b)?b(bS):b.event,bR=b.Deferred(),bN=b.Callbacks("once memory"),bB=bD.statusCode||{},bC,bH={},bO={},bQ,by,bL,bE,bI,bA=0,bw,bK,bJ={readyState:0,setRequestHeader:function(bT,bU){if(!bA){var e=bT.toLowerCase();bT=bO[e]=bO[e]||bT;bH[bT]=bU}return this},getAllResponseHeaders:function(){return bA===2?bQ:null},getResponseHeader:function(bT){var e;if(bA===2){if(!by){by={};while((e=aD.exec(bQ))){by[e[1].toLowerCase()]=e[2]}}e=by[bT.toLowerCase()]}return e===L?null:e},overrideMimeType:function(e){if(!bA){bD.mimeType=e}return this},abort:function(e){e=e||"abort";if(bL){bL.abort(e)}bF(0,e);return this}};function bF(bZ,bU,b0,bW){if(bA===2){return}bA=2;if(bE){clearTimeout(bE)}bL=L;bQ=bW||"";bJ.readyState=bZ>0?4:0;var bT,b4,b3,bX=bU,bY=b0?bj(bD,bJ,b0):L,bV,b2;if(bZ>=200&&bZ<300||bZ===304){if(bD.ifModified){if((bV=bJ.getResponseHeader("Last-Modified"))){b.lastModified[bC]=bV}if((b2=bJ.getResponseHeader("Etag"))){b.etag[bC]=b2}}if(bZ===304){bX="notmodified";bT=true}else{try{b4=G(bD,bY);bX="success";bT=true}catch(b1){bX="parsererror";b3=b1}}}else{b3=bX;if(!bX||bZ){bX="error";if(bZ<0){bZ=0}}}bJ.status=bZ;bJ.statusText=""+(bU||bX);if(bT){bR.resolveWith(bS,[b4,bX,bJ])}else{bR.rejectWith(bS,[bJ,bX,b3])}bJ.statusCode(bB);bB=L;if(bw){bG.trigger("ajax"+(bT?"Success":"Error"),[bJ,bD,bT?b4:b3])}bN.fireWith(bS,[bJ,bX]);if(bw){bG.trigger("ajaxComplete",[bJ,bD]);if(!(--b.active)){b.event.trigger("ajaxStop")}}}bR.promise(bJ);bJ.success=bJ.done;bJ.error=bJ.fail;bJ.complete=bN.add;bJ.statusCode=function(bT){if(bT){var e;if(bA<2){for(e in bT){bB[e]=[bB[e],bT[e]]}}else{e=bT[bJ.status];bJ.then(e,e)}}return this};bD.url=((bz||bD.url)+"").replace(bq,"").replace(c,s[1]+"//");bD.dataTypes=b.trim(bD.dataType||"*").toLowerCase().split(h);if(bD.crossDomain==null){bI=K.exec(bD.url.toLowerCase());bD.crossDomain=!!(bI&&(bI[1]!=s[1]||bI[2]!=s[2]||(bI[3]||(bI[1]==="http:"?80:443))!=(s[3]||(s[1]==="http:"?80:443))))}if(bD.data&&bD.processData&&typeof bD.data!=="string"){bD.data=b.param(bD.data,bD.traditional)}aW(aa,bD,bx,bJ);if(bA===2){return false}bw=bD.global;bD.type=bD.type.toUpperCase();bD.hasContent=!aQ.test(bD.type);if(bw&&b.active++===0){b.event.trigger("ajaxStart")}if(!bD.hasContent){if(bD.data){bD.url+=(M.test(bD.url)?"&":"?")+bD.data;delete bD.data}bC=bD.url;if(bD.cache===false){var bv=b.now(),bP=bD.url.replace(br,"$1_="+bv);bD.url=bP+((bP===bD.url)?(M.test(bD.url)?"&":"?")+"_="+bv:"")}}if(bD.data&&bD.hasContent&&bD.contentType!==false||bx.contentType){bJ.setRequestHeader("Content-Type",bD.contentType)}if(bD.ifModified){bC=bC||bD.url;if(b.lastModified[bC]){bJ.setRequestHeader("If-Modified-Since",b.lastModified[bC])}if(b.etag[bC]){bJ.setRequestHeader("If-None-Match",b.etag[bC])}}bJ.setRequestHeader("Accept",bD.dataTypes[0]&&bD.accepts[bD.dataTypes[0]]?bD.accepts[bD.dataTypes[0]]+(bD.dataTypes[0]!=="*"?", "+aV+"; q=0.01":""):bD.accepts["*"]);for(bK in bD.headers){bJ.setRequestHeader(bK,bD.headers[bK])}if(bD.beforeSend&&(bD.beforeSend.call(bS,bJ,bD)===false||bA===2)){bJ.abort();return false}for(bK in {success:1,error:1,complete:1}){bJ[bK](bD[bK])}bL=aW(r,bD,bx,bJ);if(!bL){bF(-1,"No Transport")}else{bJ.readyState=1;if(bw){bG.trigger("ajaxSend",[bJ,bD])}if(bD.async&&bD.timeout>0){bE=setTimeout(function(){bJ.abort("timeout")},bD.timeout)}try{bA=1;bL.send(bH,bF)}catch(bM){if(bA<2){bF(-1,bM)}else{throw bM}}}return bJ},param:function(e,bw){var bv=[],by=function(bz,bA){bA=b.isFunction(bA)?bA():bA;bv[bv.length]=encodeURIComponent(bz)+"="+encodeURIComponent(bA)};if(bw===L){bw=b.ajaxSettings.traditional}if(b.isArray(e)||(e.jquery&&!b.isPlainObject(e))){b.each(e,function(){by(this.name,this.value)})}else{for(var bx in e){v(bx,e[bx],bw,by)}}return bv.join("&").replace(k,"+")}});function v(bw,by,bv,bx){if(b.isArray(by)){b.each(by,function(bA,bz){if(bv||ap.test(bw)){bx(bw,bz)}else{v(bw+"["+(typeof bz==="object"||b.isArray(bz)?bA:"")+"]",bz,bv,bx)}})}else{if(!bv&&by!=null&&typeof by==="object"){for(var e in by){v(bw+"["+e+"]",by[e],bv,bx)}}else{bx(bw,by)}}}b.extend({active:0,lastModified:{},etag:{}});function bj(bD,bC,bz){var bv=bD.contents,bB=bD.dataTypes,bw=bD.responseFields,by,bA,bx,e;for(bA in bw){if(bA in bz){bC[bw[bA]]=bz[bA]}}while(bB[0]==="*"){bB.shift();if(by===L){by=bD.mimeType||bC.getResponseHeader("content-type")}}if(by){for(bA in bv){if(bv[bA]&&bv[bA].test(by)){bB.unshift(bA);break}}}if(bB[0] in bz){bx=bB[0]}else{for(bA in bz){if(!bB[0]||bD.converters[bA+" "+bB[0]]){bx=bA;break}if(!e){e=bA}}bx=bx||e}if(bx){if(bx!==bB[0]){bB.unshift(bx)}return bz[bx]}}function G(bH,bz){if(bH.dataFilter){bz=bH.dataFilter(bz,bH.dataType)}var bD=bH.dataTypes,bG={},bA,bE,bw=bD.length,bB,bC=bD[0],bx,by,bF,bv,e;for(bA=1;bA=bw.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();bw.animatedProperties[this.prop]=true;for(bA in bw.animatedProperties){if(bw.animatedProperties[bA]!==true){e=false}}if(e){if(bw.overflow!=null&&!b.support.shrinkWrapBlocks){b.each(["","X","Y"],function(bC,bD){bz.style["overflow"+bD]=bw.overflow[bC]})}if(bw.hide){b(bz).hide()}if(bw.hide||bw.show){for(bA in bw.animatedProperties){b.style(bz,bA,bw.orig[bA]);b.removeData(bz,"fxshow"+bA,true);b.removeData(bz,"toggle"+bA,true)}}bv=bw.complete;if(bv){bw.complete=false;bv.call(bz)}}return false}else{if(bw.duration==Infinity){this.now=bx}else{bB=bx-this.startTime;this.state=bB/bw.duration;this.pos=b.easing[bw.animatedProperties[this.prop]](this.state,bB,0,1,bw.duration);this.now=this.start+((this.end-this.start)*this.pos)}this.update()}return true}};b.extend(b.fx,{tick:function(){var bw,bv=b.timers,e=0;for(;e").appendTo(e),bw=bv.css("display");bv.remove();if(bw==="none"||bw===""){if(!a8){a8=av.createElement("iframe");a8.frameBorder=a8.width=a8.height=0}e.appendChild(a8);if(!m||!a8.createElement){m=(a8.contentWindow||a8.contentDocument).document;m.write((av.compatMode==="CSS1Compat"?"":"")+"");m.close()}bv=m.createElement(bx);m.body.appendChild(bv);bw=b.css(bv,"display");e.removeChild(a8)}Q[bx]=bw}return Q[bx]}var V=/^t(?:able|d|h)$/i,ad=/^(?:body|html)$/i;if("getBoundingClientRect" in av.documentElement){b.fn.offset=function(bI){var by=this[0],bB;if(bI){return this.each(function(e){b.offset.setOffset(this,bI,e)})}if(!by||!by.ownerDocument){return null}if(by===by.ownerDocument.body){return b.offset.bodyOffset(by)}try{bB=by.getBoundingClientRect()}catch(bF){}var bH=by.ownerDocument,bw=bH.documentElement;if(!bB||!b.contains(bw,by)){return bB?{top:bB.top,left:bB.left}:{top:0,left:0}}var bC=bH.body,bD=aK(bH),bA=bw.clientTop||bC.clientTop||0,bE=bw.clientLeft||bC.clientLeft||0,bv=bD.pageYOffset||b.support.boxModel&&bw.scrollTop||bC.scrollTop,bz=bD.pageXOffset||b.support.boxModel&&bw.scrollLeft||bC.scrollLeft,bG=bB.top+bv-bA,bx=bB.left+bz-bE;return{top:bG,left:bx}}}else{b.fn.offset=function(bF){var bz=this[0];if(bF){return this.each(function(bG){b.offset.setOffset(this,bF,bG)})}if(!bz||!bz.ownerDocument){return null}if(bz===bz.ownerDocument.body){return b.offset.bodyOffset(bz)}var bC,bw=bz.offsetParent,bv=bz,bE=bz.ownerDocument,bx=bE.documentElement,bA=bE.body,bB=bE.defaultView,e=bB?bB.getComputedStyle(bz,null):bz.currentStyle,bD=bz.offsetTop,by=bz.offsetLeft;while((bz=bz.parentNode)&&bz!==bA&&bz!==bx){if(b.support.fixedPosition&&e.position==="fixed"){break}bC=bB?bB.getComputedStyle(bz,null):bz.currentStyle;bD-=bz.scrollTop;by-=bz.scrollLeft;if(bz===bw){bD+=bz.offsetTop;by+=bz.offsetLeft;if(b.support.doesNotAddBorder&&!(b.support.doesAddBorderForTableAndCells&&V.test(bz.nodeName))){bD+=parseFloat(bC.borderTopWidth)||0;by+=parseFloat(bC.borderLeftWidth)||0}bv=bw;bw=bz.offsetParent}if(b.support.subtractsBorderForOverflowNotVisible&&bC.overflow!=="visible"){bD+=parseFloat(bC.borderTopWidth)||0;by+=parseFloat(bC.borderLeftWidth)||0}e=bC}if(e.position==="relative"||e.position==="static"){bD+=bA.offsetTop;by+=bA.offsetLeft}if(b.support.fixedPosition&&e.position==="fixed"){bD+=Math.max(bx.scrollTop,bA.scrollTop);by+=Math.max(bx.scrollLeft,bA.scrollLeft)}return{top:bD,left:by}}}b.offset={bodyOffset:function(e){var bw=e.offsetTop,bv=e.offsetLeft;if(b.support.doesNotIncludeMarginInBodyOffset){bw+=parseFloat(b.css(e,"marginTop"))||0;bv+=parseFloat(b.css(e,"marginLeft"))||0}return{top:bw,left:bv}},setOffset:function(bx,bG,bA){var bB=b.css(bx,"position");if(bB==="static"){bx.style.position="relative"}var bz=b(bx),bv=bz.offset(),e=b.css(bx,"top"),bE=b.css(bx,"left"),bF=(bB==="absolute"||bB==="fixed")&&b.inArray("auto",[e,bE])>-1,bD={},bC={},bw,by;if(bF){bC=bz.position();bw=bC.top;by=bC.left}else{bw=parseFloat(e)||0;by=parseFloat(bE)||0}if(b.isFunction(bG)){bG=bG.call(bx,bA,bv)}if(bG.top!=null){bD.top=(bG.top-bv.top)+bw}if(bG.left!=null){bD.left=(bG.left-bv.left)+by}if("using" in bG){bG.using.call(bx,bD)}else{bz.css(bD)}}};b.fn.extend({position:function(){if(!this[0]){return null}var bw=this[0],bv=this.offsetParent(),bx=this.offset(),e=ad.test(bv[0].nodeName)?{top:0,left:0}:bv.offset();bx.top-=parseFloat(b.css(bw,"marginTop"))||0;bx.left-=parseFloat(b.css(bw,"marginLeft"))||0;e.top+=parseFloat(b.css(bv[0],"borderTopWidth"))||0;e.left+=parseFloat(b.css(bv[0],"borderLeftWidth"))||0;return{top:bx.top-e.top,left:bx.left-e.left}},offsetParent:function(){return this.map(function(){var e=this.offsetParent||av.body;while(e&&(!ad.test(e.nodeName)&&b.css(e,"position")==="static")){e=e.offsetParent}return e})}});b.each(["Left","Top"],function(bv,e){var bw="scroll"+e;b.fn[bw]=function(bz){var bx,by;if(bz===L){bx=this[0];if(!bx){return null}by=aK(bx);return by?("pageXOffset" in by)?by[bv?"pageYOffset":"pageXOffset"]:b.support.boxModel&&by.document.documentElement[bw]||by.document.body[bw]:bx[bw]}return this.each(function(){by=aK(this);if(by){by.scrollTo(!bv?bz:b(by).scrollLeft(),bv?bz:b(by).scrollTop())}else{this[bw]=bz}})}});function aK(e){return b.isWindow(e)?e:e.nodeType===9?e.defaultView||e.parentWindow:false}b.each(["Height","Width"],function(bv,e){var bw=e.toLowerCase();b.fn["inner"+e]=function(){var bx=this[0];return bx?bx.style?parseFloat(b.css(bx,bw,"padding")):this[bw]():null};b.fn["outer"+e]=function(by){var bx=this[0];return bx?bx.style?parseFloat(b.css(bx,bw,by?"margin":"border")):this[bw]():null};b.fn[bw]=function(bz){var bA=this[0];if(!bA){return bz==null?null:this}if(b.isFunction(bz)){return this.each(function(bE){var bD=b(this);bD[bw](bz.call(this,bE,bD[bw]()))})}if(b.isWindow(bA)){var bB=bA.document.documentElement["client"+e],bx=bA.document.body;return bA.document.compatMode==="CSS1Compat"&&bB||bx&&bx["client"+e]||bB}else{if(bA.nodeType===9){return Math.max(bA.documentElement["client"+e],bA.body["scroll"+e],bA.documentElement["scroll"+e],bA.body["offset"+e],bA.documentElement["offset"+e])}else{if(bz===L){var bC=b.css(bA,bw),by=parseFloat(bC);return b.isNumeric(by)?by:bC}else{return this.css(bw,typeof bz==="string"?bz:bz+"px")}}}}});bb.jQuery=bb.$=b;if(typeof define==="function"&&define.amd&&define.amd.jQuery){define("jquery",[],function(){return b +})}})(window); diff --git a/docs/RuntimeAPI/html/modules.html b/docs/RuntimeAPI/html/modules.html new file mode 100644 index 0000000000..0d4807ebb8 --- /dev/null +++ b/docs/RuntimeAPI/html/modules.html @@ -0,0 +1,107 @@ + + + + + + +HIP: Heterogenous-computing Interface for Portability: Modules + + + + + + + + + +
+
+
+ + + + + +
+
HIP: Heterogenous-computing Interface for Portability +
+
+ + + + + + + + + + +
+ +
+ +
+
+
Modules
+
+ + + + + diff --git a/docs/RuntimeAPI/html/nav_f.png b/docs/RuntimeAPI/html/nav_f.png new file mode 100644 index 0000000000000000000000000000000000000000..72a58a529ed3a9ed6aa0c51a79cf207e026deee2 GIT binary patch literal 153 zcmeAS@N?(olHy`uVBq!ia0vp^j6iI`!2~2XGqLUlQVE_ejv*C{Z|{2ZH7M}7UYxc) zn!W8uqtnIQ>_z8U literal 0 HcmV?d00001 diff --git a/docs/RuntimeAPI/html/nav_g.png b/docs/RuntimeAPI/html/nav_g.png new file mode 100644 index 0000000000000000000000000000000000000000..2093a237a94f6c83e19ec6e5fd42f7ddabdafa81 GIT binary patch literal 95 zcmeAS@N?(olHy`uVBq!ia0vp^j6lrB!3HFm1ilyoDK$?Q$B+ufw|5PB85lU25BhtE tr?otc=hd~V+ws&_A@j8Fiv!KF$B+ufw|5=67#uj90@pIL wZ=Q8~_Ju`#59=RjDrmm`tMD@M=!-l18IR?&vFVdQ&MBb@0HFXL1|%O$WD@{VPM$7~Ar*{o?;hlAFyLXmaDC0y znK1_#cQqJWPES%4Uujug^TE?jMft$}Eq^WaR~)%f)vSNs&gek&x%A9X9sM + + + + + +HIP: Heterogenous-computing Interface for Portability: Related Pages + + + + + + + + + +
+
+ + + + + + +
+
HIP: Heterogenous-computing Interface for Portability +
+
+
+ + + + +
+ + + + +
+ +
+ +
+
+
Related Pages
+
+
+
Here is a list of all related documentation pages:
+
+ + + + diff --git a/docs/RuntimeAPI/html/search/all_0.html b/docs/RuntimeAPI/html/search/all_0.html new file mode 100644 index 0000000000..17b6da85df --- /dev/null +++ b/docs/RuntimeAPI/html/search/all_0.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/docs/RuntimeAPI/html/search/all_0.js b/docs/RuntimeAPI/html/search/all_0.js new file mode 100644 index 0000000000..00fe08ccff --- /dev/null +++ b/docs/RuntimeAPI/html/search/all_0.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['_5f_5fhost_5f_5f',['__host__',['../host__defines_8h.html#a803050db3c78e0db3ea59a0c35499622',1,'host_defines.h']]] +]; diff --git a/docs/RuntimeAPI/html/search/all_1.html b/docs/RuntimeAPI/html/search/all_1.html new file mode 100644 index 0000000000..e2906449f2 --- /dev/null +++ b/docs/RuntimeAPI/html/search/all_1.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/docs/RuntimeAPI/html/search/all_1.js b/docs/RuntimeAPI/html/search/all_1.js new file mode 100644 index 0000000000..2fba32867b --- /dev/null +++ b/docs/RuntimeAPI/html/search/all_1.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['arch',['arch',['../structhipDeviceProp__t.html#afc58158e44bef6ad26f2be401434b049',1,'hipDeviceProp_t']]] +]; diff --git a/docs/RuntimeAPI/html/search/all_10.html b/docs/RuntimeAPI/html/search/all_10.html new file mode 100644 index 0000000000..c55c8367e4 --- /dev/null +++ b/docs/RuntimeAPI/html/search/all_10.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/docs/RuntimeAPI/html/search/all_10.js b/docs/RuntimeAPI/html/search/all_10.js new file mode 100644 index 0000000000..bb8f6295d1 --- /dev/null +++ b/docs/RuntimeAPI/html/search/all_10.js @@ -0,0 +1,7 @@ +var searchData= +[ + ['texture_20reference_20management',['Texture Reference Management',['../group__Texture.html',1,'']]], + ['texturereference',['textureReference',['../structtextureReference.html',1,'']]], + ['totalconstmem',['totalConstMem',['../structhipDeviceProp__t.html#a29880232c56120be3455ce00d5379665',1,'hipDeviceProp_t']]], + ['totalglobalmem',['totalGlobalMem',['../structhipDeviceProp__t.html#acedd6a2d23423441e4bf51c4a1b719f9',1,'hipDeviceProp_t']]] +]; diff --git a/docs/RuntimeAPI/html/search/all_11.html b/docs/RuntimeAPI/html/search/all_11.html new file mode 100644 index 0000000000..6f3943a941 --- /dev/null +++ b/docs/RuntimeAPI/html/search/all_11.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/docs/RuntimeAPI/html/search/all_11.js b/docs/RuntimeAPI/html/search/all_11.js new file mode 100644 index 0000000000..46a1400a7b --- /dev/null +++ b/docs/RuntimeAPI/html/search/all_11.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['warpsize',['warpSize',['../structhipDeviceProp__t.html#af3357d33c004608bf05bc21a352be81b',1,'hipDeviceProp_t']]] +]; diff --git a/docs/RuntimeAPI/html/search/all_12.html b/docs/RuntimeAPI/html/search/all_12.html new file mode 100644 index 0000000000..3c7c89ef60 --- /dev/null +++ b/docs/RuntimeAPI/html/search/all_12.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/docs/RuntimeAPI/html/search/all_12.js b/docs/RuntimeAPI/html/search/all_12.js new file mode 100644 index 0000000000..250c203caf --- /dev/null +++ b/docs/RuntimeAPI/html/search/all_12.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['x',['x',['../structdim3.html#ac866c05f83a28dac20a153fc65b3b16c',1,'dim3']]] +]; diff --git a/docs/RuntimeAPI/html/search/all_13.html b/docs/RuntimeAPI/html/search/all_13.html new file mode 100644 index 0000000000..0bd629b86b --- /dev/null +++ b/docs/RuntimeAPI/html/search/all_13.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/docs/RuntimeAPI/html/search/all_13.js b/docs/RuntimeAPI/html/search/all_13.js new file mode 100644 index 0000000000..133dd9dc6e --- /dev/null +++ b/docs/RuntimeAPI/html/search/all_13.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['y',['y',['../structdim3.html#a83e60e072f7e8bdfde6ac05053cbb370',1,'dim3']]] +]; diff --git a/docs/RuntimeAPI/html/search/all_14.html b/docs/RuntimeAPI/html/search/all_14.html new file mode 100644 index 0000000000..2ad638b277 --- /dev/null +++ b/docs/RuntimeAPI/html/search/all_14.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/docs/RuntimeAPI/html/search/all_14.js b/docs/RuntimeAPI/html/search/all_14.js new file mode 100644 index 0000000000..e8bf38b99c --- /dev/null +++ b/docs/RuntimeAPI/html/search/all_14.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['z',['z',['../structdim3.html#a866e38993ecc4e76fd47311236c16b04',1,'dim3']]] +]; diff --git a/docs/RuntimeAPI/html/search/all_2.html b/docs/RuntimeAPI/html/search/all_2.html new file mode 100644 index 0000000000..95ded1222d --- /dev/null +++ b/docs/RuntimeAPI/html/search/all_2.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/docs/RuntimeAPI/html/search/all_2.js b/docs/RuntimeAPI/html/search/all_2.js new file mode 100644 index 0000000000..8d42650d49 --- /dev/null +++ b/docs/RuntimeAPI/html/search/all_2.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['bug_20list',['Bug List',['../bug.html',1,'']]] +]; diff --git a/docs/RuntimeAPI/html/search/all_3.html b/docs/RuntimeAPI/html/search/all_3.html new file mode 100644 index 0000000000..4d312d03dd --- /dev/null +++ b/docs/RuntimeAPI/html/search/all_3.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/docs/RuntimeAPI/html/search/all_3.js b/docs/RuntimeAPI/html/search/all_3.js new file mode 100644 index 0000000000..de790c0621 --- /dev/null +++ b/docs/RuntimeAPI/html/search/all_3.js @@ -0,0 +1,9 @@ +var searchData= +[ + ['canmaphostmemory',['canMapHostMemory',['../structhipDeviceProp__t.html#ac2143f5448607d1a02a9e8783fcf06a1',1,'hipDeviceProp_t']]], + ['clockinstructionrate',['clockInstructionRate',['../structhipDeviceProp__t.html#a6fbf3b08a1a08ae700f1a06265f6666b',1,'hipDeviceProp_t']]], + ['clockrate',['clockRate',['../structhipDeviceProp__t.html#a1dd15bee43692b8649dfbdc1adbaaf96',1,'hipDeviceProp_t']]], + ['computemode',['computeMode',['../structhipDeviceProp__t.html#ae7d9216f8583a703359d0b9373823f5d',1,'hipDeviceProp_t']]], + ['concurrentkernels',['concurrentKernels',['../structhipDeviceProp__t.html#ad8461a28caf9c38c58cf358583b5bee3',1,'hipDeviceProp_t']]], + ['control',['Control',['../group__Profiler.html',1,'']]] +]; diff --git a/docs/RuntimeAPI/html/search/all_4.html b/docs/RuntimeAPI/html/search/all_4.html new file mode 100644 index 0000000000..d72a9104cd --- /dev/null +++ b/docs/RuntimeAPI/html/search/all_4.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/docs/RuntimeAPI/html/search/all_4.js b/docs/RuntimeAPI/html/search/all_4.js new file mode 100644 index 0000000000..d715da215b --- /dev/null +++ b/docs/RuntimeAPI/html/search/all_4.js @@ -0,0 +1,6 @@ +var searchData= +[ + ['device_20management',['Device Management',['../group__Device.html',1,'']]], + ['dim3',['dim3',['../structdim3.html',1,'dim3'],['../group__GlobalDefs.html#gacb37281795c3567d0b10a61c056d512b',1,'dim3(): hip_runtime_api.h']]], + ['device_20memory_20access',['Device Memory Access',['../group__PeerToPeer.html',1,'']]] +]; diff --git a/docs/RuntimeAPI/html/search/all_5.html b/docs/RuntimeAPI/html/search/all_5.html new file mode 100644 index 0000000000..99ef726704 --- /dev/null +++ b/docs/RuntimeAPI/html/search/all_5.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/docs/RuntimeAPI/html/search/all_5.js b/docs/RuntimeAPI/html/search/all_5.js new file mode 100644 index 0000000000..c9fd17e83e --- /dev/null +++ b/docs/RuntimeAPI/html/search/all_5.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['error_20handling',['Error Handling',['../group__Error.html',1,'']]], + ['event_20management',['Event Management',['../group__Event.html',1,'']]] +]; diff --git a/docs/RuntimeAPI/html/search/all_6.html b/docs/RuntimeAPI/html/search/all_6.html new file mode 100644 index 0000000000..6133ab3af1 --- /dev/null +++ b/docs/RuntimeAPI/html/search/all_6.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/docs/RuntimeAPI/html/search/all_6.js b/docs/RuntimeAPI/html/search/all_6.js new file mode 100644 index 0000000000..16f0c6c8a5 --- /dev/null +++ b/docs/RuntimeAPI/html/search/all_6.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['fakemutex',['FakeMutex',['../classFakeMutex.html',1,'']]] +]; diff --git a/docs/RuntimeAPI/html/search/all_7.html b/docs/RuntimeAPI/html/search/all_7.html new file mode 100644 index 0000000000..574812594f --- /dev/null +++ b/docs/RuntimeAPI/html/search/all_7.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/docs/RuntimeAPI/html/search/all_7.js b/docs/RuntimeAPI/html/search/all_7.js new file mode 100644 index 0000000000..529e9394c3 --- /dev/null +++ b/docs/RuntimeAPI/html/search/all_7.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['global_20enum_20and_20defines',['Global enum and defines',['../group__GlobalDefs.html',1,'']]] +]; diff --git a/docs/RuntimeAPI/html/search/all_8.html b/docs/RuntimeAPI/html/search/all_8.html new file mode 100644 index 0000000000..0179bdd463 --- /dev/null +++ b/docs/RuntimeAPI/html/search/all_8.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/docs/RuntimeAPI/html/search/all_8.js b/docs/RuntimeAPI/html/search/all_8.js new file mode 100644 index 0000000000..590f503db9 --- /dev/null +++ b/docs/RuntimeAPI/html/search/all_8.js @@ -0,0 +1,166 @@ +var searchData= +[ + ['hip_20api',['HIP API',['../group__API.html',1,'']]], + ['has3dgrid',['has3dGrid',['../structhipDeviceArch__t.html#aa5e22d295cce0d9a34ee6e7e7e378c26',1,'hipDeviceArch_t']]], + ['hasdoubles',['hasDoubles',['../structhipDeviceArch__t.html#a2d624e3d85e615b71d1182f8912893b4',1,'hipDeviceArch_t']]], + ['hasdynamicparallelism',['hasDynamicParallelism',['../structhipDeviceArch__t.html#a9114bfc718bf0648b54ff9a319a36b35',1,'hipDeviceArch_t']]], + ['hasfloatatomicadd',['hasFloatAtomicAdd',['../structhipDeviceArch__t.html#a2321d6ef74aac91c044f3289d25b2d41',1,'hipDeviceArch_t']]], + ['hasfunnelshift',['hasFunnelShift',['../structhipDeviceArch__t.html#aaec4f2d983d4602858fae8e9ddeee3ff',1,'hipDeviceArch_t']]], + ['hasglobalfloatatomicexch',['hasGlobalFloatAtomicExch',['../structhipDeviceArch__t.html#a8f213ae9a4729dff1c636ac5de0e2fa2',1,'hipDeviceArch_t']]], + ['hasglobalint32atomics',['hasGlobalInt32Atomics',['../structhipDeviceArch__t.html#a8d00c3ab98869b602c714fe7abe68e93',1,'hipDeviceArch_t']]], + ['hasglobalint64atomics',['hasGlobalInt64Atomics',['../structhipDeviceArch__t.html#ad5aa54dbab22dbcd8cf98f57a96c6636',1,'hipDeviceArch_t']]], + ['hassharedfloatatomicexch',['hasSharedFloatAtomicExch',['../structhipDeviceArch__t.html#aff005558b4edabd27b27f286ac5b2f2b',1,'hipDeviceArch_t']]], + ['hassharedint32atomics',['hasSharedInt32Atomics',['../structhipDeviceArch__t.html#a1596330b1cb9cc73f142aee11b2ab853',1,'hipDeviceArch_t']]], + ['hassharedint64atomics',['hasSharedInt64Atomics',['../structhipDeviceArch__t.html#a00c2b930fcdcad9ea7b54b449db13966',1,'hipDeviceArch_t']]], + ['hassurfacefuncs',['hasSurfaceFuncs',['../structhipDeviceArch__t.html#a9eb2462148686d4c048b69b6e09f835e',1,'hipDeviceArch_t']]], + ['hassyncthreadsext',['hasSyncThreadsExt',['../structhipDeviceArch__t.html#ade6a3b21ad5f344dcd92c52102c274ba',1,'hipDeviceArch_t']]], + ['hasthreadfencesystem',['hasThreadFenceSystem',['../structhipDeviceArch__t.html#ac2818e3b91cba8beb36741e9867bb887',1,'hipDeviceArch_t']]], + ['haswarpballot',['hasWarpBallot',['../structhipDeviceArch__t.html#af1e934a8a5106995bcc256287585564c',1,'hipDeviceArch_t']]], + ['haswarpshuffle',['hasWarpShuffle',['../structhipDeviceArch__t.html#a3d922e8fc97ca1e8ecc39600b138fa2d',1,'hipDeviceArch_t']]], + ['haswarpvote',['hasWarpVote',['../structhipDeviceArch__t.html#a35bde017352eca1d4e0eceb3bf79f274',1,'hipDeviceArch_t']]], + ['hcc_2dspecific_20accessors',['HCC-Specific Accessors',['../group__HCC__Specific.html',1,'']]], + ['hip_20environment_20variables',['HIP Environment Variables',['../group__HIP-ENV.html',1,'']]], + ['hip_5fdynamic_5fshared',['HIP_DYNAMIC_SHARED',['../hcc__detail_2hip__runtime_8h.html#a1e7ec14fb6b74c03b6ec804d6ef7e0ea',1,'hip_runtime.h']]], + ['hip_5fhcc_2ecpp',['hip_hcc.cpp',['../hip__hcc_8cpp.html',1,'']]], + ['hip_5fruntime_2eh',['hip_runtime.h',['../hcc__detail_2hip__runtime_8h.html',1,'']]], + ['hip_5fruntime_5fapi_2eh',['hip_runtime_api.h',['../hcc__detail_2hip__runtime__api_8h.html',1,'']]], + ['hip_5ftexture_2eh',['hip_texture.h',['../hip__texture_8h.html',1,'']]], + ['hip_5fvector_5ftypes_2eh',['hip_vector_types.h',['../hcc__detail_2hip__vector__types_8h.html',1,'']]], + ['hipchannelformatdesc',['hipChannelFormatDesc',['../structhipChannelFormatDesc.html',1,'']]], + ['hipdevicearch_5ft',['hipDeviceArch_t',['../structhipDeviceArch__t.html',1,'']]], + ['hipdeviceattribute_5ft',['hipDeviceAttribute_t',['../group__GlobalDefs.html#gacc0acd7b9bda126c6bb3dfd6e2796d7c',1,'hip_runtime_api.h']]], + ['hipdeviceattributeclockrate',['hipDeviceAttributeClockRate',['../group__GlobalDefs.html#ggacc0acd7b9bda126c6bb3dfd6e2796d7ca2300e077e020e7967592065561373b00',1,'hip_runtime_api.h']]], + ['hipdeviceattributecomputecapabilitymajor',['hipDeviceAttributeComputeCapabilityMajor',['../group__GlobalDefs.html#ggacc0acd7b9bda126c6bb3dfd6e2796d7ca2735739cf977b7d303266f6781131e8d',1,'hip_runtime_api.h']]], + ['hipdeviceattributecomputecapabilityminor',['hipDeviceAttributeComputeCapabilityMinor',['../group__GlobalDefs.html#ggacc0acd7b9bda126c6bb3dfd6e2796d7ca38edc4fcae456e47160d349da3249b85',1,'hip_runtime_api.h']]], + ['hipdeviceattributecomputemode',['hipDeviceAttributeComputeMode',['../group__GlobalDefs.html#ggacc0acd7b9bda126c6bb3dfd6e2796d7ca4d0369a6ef7bd7890fdcabc16ed3385d',1,'hip_runtime_api.h']]], + ['hipdeviceattributeconcurrentkernels',['hipDeviceAttributeConcurrentKernels',['../group__GlobalDefs.html#ggacc0acd7b9bda126c6bb3dfd6e2796d7cad9f45254d0d048677f560032532d5504',1,'hip_runtime_api.h']]], + ['hipdeviceattributeismultigpuboard',['hipDeviceAttributeIsMultiGpuBoard',['../group__GlobalDefs.html#ggacc0acd7b9bda126c6bb3dfd6e2796d7ca6129311200a17dcc5fa8d2256874ae3d',1,'hip_runtime_api.h']]], + ['hipdeviceattributel2cachesize',['hipDeviceAttributeL2CacheSize',['../group__GlobalDefs.html#ggacc0acd7b9bda126c6bb3dfd6e2796d7ca582ae5a26a7148504878890028e4b64c',1,'hip_runtime_api.h']]], + ['hipdeviceattributemaxblockdimx',['hipDeviceAttributeMaxBlockDimX',['../group__GlobalDefs.html#ggacc0acd7b9bda126c6bb3dfd6e2796d7cac1e4ac589db0d8adbbc241e3d0fcd594',1,'hip_runtime_api.h']]], + ['hipdeviceattributemaxblockdimy',['hipDeviceAttributeMaxBlockDimY',['../group__GlobalDefs.html#ggacc0acd7b9bda126c6bb3dfd6e2796d7ca187dbffe12db09a56c0f75c340d879c9',1,'hip_runtime_api.h']]], + ['hipdeviceattributemaxblockdimz',['hipDeviceAttributeMaxBlockDimZ',['../group__GlobalDefs.html#ggacc0acd7b9bda126c6bb3dfd6e2796d7caf811f51e03d1ffb025d80ac1da088675',1,'hip_runtime_api.h']]], + ['hipdeviceattributemaxgriddimx',['hipDeviceAttributeMaxGridDimX',['../group__GlobalDefs.html#ggacc0acd7b9bda126c6bb3dfd6e2796d7ca03db8df0e7a9fbdaae683d97e8ac9c87',1,'hip_runtime_api.h']]], + ['hipdeviceattributemaxgriddimy',['hipDeviceAttributeMaxGridDimY',['../group__GlobalDefs.html#ggacc0acd7b9bda126c6bb3dfd6e2796d7ca5b5cc49972679c5ccf62b79425ee99df',1,'hip_runtime_api.h']]], + ['hipdeviceattributemaxgriddimz',['hipDeviceAttributeMaxGridDimZ',['../group__GlobalDefs.html#ggacc0acd7b9bda126c6bb3dfd6e2796d7ca6c206ac083999caf4640e5d91dae24f7',1,'hip_runtime_api.h']]], + ['hipdeviceattributemaxregistersperblock',['hipDeviceAttributeMaxRegistersPerBlock',['../group__GlobalDefs.html#ggacc0acd7b9bda126c6bb3dfd6e2796d7ca82289b170192b6ea742be0efc6f95107',1,'hip_runtime_api.h']]], + ['hipdeviceattributemaxsharedmemoryperblock',['hipDeviceAttributeMaxSharedMemoryPerBlock',['../group__GlobalDefs.html#ggacc0acd7b9bda126c6bb3dfd6e2796d7ca7bca3aa18b26d40eba043ae93e15c7e5',1,'hip_runtime_api.h']]], + ['hipdeviceattributemaxsharedmemorypermultiprocessor',['hipDeviceAttributeMaxSharedMemoryPerMultiprocessor',['../group__GlobalDefs.html#ggacc0acd7b9bda126c6bb3dfd6e2796d7cad3e7f3d01533b32e12211172fcf410ba',1,'hip_runtime_api.h']]], + ['hipdeviceattributemaxthreadsperblock',['hipDeviceAttributeMaxThreadsPerBlock',['../group__GlobalDefs.html#ggacc0acd7b9bda126c6bb3dfd6e2796d7ca8327aa23782d9c994bdef33a6d62e02e',1,'hip_runtime_api.h']]], + ['hipdeviceattributemaxthreadspermultiprocessor',['hipDeviceAttributeMaxThreadsPerMultiProcessor',['../group__GlobalDefs.html#ggacc0acd7b9bda126c6bb3dfd6e2796d7caddc08922b491eb1f6a583833cbf4e2f0',1,'hip_runtime_api.h']]], + ['hipdeviceattributememorybuswidth',['hipDeviceAttributeMemoryBusWidth',['../group__GlobalDefs.html#ggacc0acd7b9bda126c6bb3dfd6e2796d7ca848c1396fab6f20463c6aefb828b0870',1,'hip_runtime_api.h']]], + ['hipdeviceattributememoryclockrate',['hipDeviceAttributeMemoryClockRate',['../group__GlobalDefs.html#ggacc0acd7b9bda126c6bb3dfd6e2796d7ca6b68deafd65f036b30dc8051573eb000',1,'hip_runtime_api.h']]], + ['hipdeviceattributemultiprocessorcount',['hipDeviceAttributeMultiprocessorCount',['../group__GlobalDefs.html#ggacc0acd7b9bda126c6bb3dfd6e2796d7ca5c1519870733ccf0b83f722678240e5f',1,'hip_runtime_api.h']]], + ['hipdeviceattributepcibusid',['hipDeviceAttributePciBusId',['../group__GlobalDefs.html#ggacc0acd7b9bda126c6bb3dfd6e2796d7ca572b29c44f1322aa7657fdd784832f88',1,'hip_runtime_api.h']]], + ['hipdeviceattributepcideviceid',['hipDeviceAttributePciDeviceId',['../group__GlobalDefs.html#ggacc0acd7b9bda126c6bb3dfd6e2796d7ca955d90286e87be9e3528f0b817ab32ff',1,'hip_runtime_api.h']]], + ['hipdeviceattributetotalconstantmemory',['hipDeviceAttributeTotalConstantMemory',['../group__GlobalDefs.html#ggacc0acd7b9bda126c6bb3dfd6e2796d7cac6089ac3a0f9c77cc382fb0eaa73ae9c',1,'hip_runtime_api.h']]], + ['hipdeviceattributewarpsize',['hipDeviceAttributeWarpSize',['../group__GlobalDefs.html#ggacc0acd7b9bda126c6bb3dfd6e2796d7caffd94133e823247a6f1215343232f6ec',1,'hip_runtime_api.h']]], + ['hipdevicecanaccesspeer',['hipDeviceCanAccessPeer',['../group__PeerToPeer.html#ga0a1c9ccd775758d9d7d5b5a1f525b719',1,'hipDeviceCanAccessPeer(int *canAccessPeer, int deviceId, int peerDeviceId): hip_peer.cpp'],['../group__PeerToPeer.html#ga0a1c9ccd775758d9d7d5b5a1f525b719',1,'hipDeviceCanAccessPeer(int *canAccessPeer, int deviceId, int peerDeviceId): hip_peer.cpp']]], + ['hipdevicedisablepeeraccess',['hipDeviceDisablePeerAccess',['../group__PeerToPeer.html#ga85030c72824fb60aaddc7374ab60481b',1,'hipDeviceDisablePeerAccess(int peerDeviceId): hip_peer.cpp'],['../group__PeerToPeer.html#ga85030c72824fb60aaddc7374ab60481b',1,'hipDeviceDisablePeerAccess(int peerDeviceId): hip_peer.cpp']]], + ['hipdeviceenablepeeraccess',['hipDeviceEnablePeerAccess',['../group__PeerToPeer.html#ga0caca59034134d7a7bb893cc1caa653e',1,'hipDeviceEnablePeerAccess(int peerDeviceId, unsigned int flags): hip_peer.cpp'],['../group__PeerToPeer.html#ga0caca59034134d7a7bb893cc1caa653e',1,'hipDeviceEnablePeerAccess(int peerDeviceId, unsigned int flags): hip_peer.cpp']]], + ['hipdevicegetattribute',['hipDeviceGetAttribute',['../group__Device.html#gac49518ff2b26b98ea2ec9e9268761a24',1,'hipDeviceGetAttribute(int *pi, hipDeviceAttribute_t attr, int device): hip_device.cpp'],['../group__Device.html#gac49518ff2b26b98ea2ec9e9268761a24',1,'hipDeviceGetAttribute(int *pi, hipDeviceAttribute_t attr, int device): hip_device.cpp']]], + ['hipdevicegetcacheconfig',['hipDeviceGetCacheConfig',['../group__Device.html#gaeeffa2456c5430400bea75ecd6ad1e68',1,'hipDeviceGetCacheConfig(hipFuncCache *cacheConfig): hip_device.cpp'],['../group__Device.html#gaeeffa2456c5430400bea75ecd6ad1e68',1,'hipDeviceGetCacheConfig(hipFuncCache *cacheConfig): hip_device.cpp']]], + ['hipdevicegetsharedmemconfig',['hipDeviceGetSharedMemConfig',['../group__Device.html#ga1bb08f774a34a468d969a8a04791c9bb',1,'hipDeviceGetSharedMemConfig(hipSharedMemConfig *pConfig): hip_device.cpp'],['../group__Device.html#ga1bb08f774a34a468d969a8a04791c9bb',1,'hipDeviceGetSharedMemConfig(hipSharedMemConfig *pConfig): hip_device.cpp']]], + ['hipdeviceprop_5ft',['hipDeviceProp_t',['../structhipDeviceProp__t.html',1,'']]], + ['hipdevicereset',['hipDeviceReset',['../group__Device.html#ga8d57161ae56a8edc46eeda447417bf6c',1,'hipDeviceReset(void): hip_device.cpp'],['../group__Device.html#ga8d57161ae56a8edc46eeda447417bf6c',1,'hipDeviceReset(void): hip_device.cpp']]], + ['hipdevicesetcacheconfig',['hipDeviceSetCacheConfig',['../group__Device.html#gac2b282179f29c4c0ca7b5391242c6a4c',1,'hipDeviceSetCacheConfig(hipFuncCache cacheConfig): hip_device.cpp'],['../group__Device.html#gac2b282179f29c4c0ca7b5391242c6a4c',1,'hipDeviceSetCacheConfig(hipFuncCache cacheConfig): hip_device.cpp']]], + ['hipdevicesetsharedmemconfig',['hipDeviceSetSharedMemConfig',['../group__Device.html#ga9b1f279084e76691cedfbfadf9c717ee',1,'hipDeviceSetSharedMemConfig(hipSharedMemConfig config): hip_device.cpp'],['../group__Device.html#ga9b1f279084e76691cedfbfadf9c717ee',1,'hipDeviceSetSharedMemConfig(hipSharedMemConfig config): hip_device.cpp']]], + ['hipdevicesynchronize',['hipDeviceSynchronize',['../group__Device.html#gaefdc2847fb1d6c3fb1354e827a191ebd',1,'hipDeviceSynchronize(void): hip_device.cpp'],['../group__Device.html#gaefdc2847fb1d6c3fb1354e827a191ebd',1,'hipDeviceSynchronize(void): hip_device.cpp']]], + ['hipdrivergetversion',['hipDriverGetVersion',['../group__Version.html#gaf6c342f52d2a29a0aca5cdd89b4dd47c',1,'hipDriverGetVersion(int *driverVersion): hip_peer.cpp'],['../group__Version.html#gaf6c342f52d2a29a0aca5cdd89b4dd47c',1,'hipDriverGetVersion(int *driverVersion): hip_peer.cpp']]], + ['hiperror_5ft',['hipError_t',['../group__GlobalDefs.html#gadf5010f6e140a53ecbdf949e73e87594',1,'hip_runtime_api.h']]], + ['hiperrorhostmemoryalreadyregistered',['hipErrorHostMemoryAlreadyRegistered',['../group__GlobalDefs.html#ggadf5010f6e140a53ecbdf949e73e87594a9d7173cea72aace620a83d502569de1b',1,'hip_runtime_api.h']]], + ['hiperrorhostmemorynotregistered',['hipErrorHostMemoryNotRegistered',['../group__GlobalDefs.html#ggadf5010f6e140a53ecbdf949e73e87594a6901476ca88eed786fb8be003d9661d9',1,'hip_runtime_api.h']]], + ['hiperrorinitializationerror',['hipErrorInitializationError',['../group__GlobalDefs.html#ggadf5010f6e140a53ecbdf949e73e87594a7e935ae88ee1f9ff3920156ac6864520',1,'hip_runtime_api.h']]], + ['hiperrorinvaliddevice',['hipErrorInvalidDevice',['../group__GlobalDefs.html#ggadf5010f6e140a53ecbdf949e73e87594a07ab9b704ea693c1781a52741c60cd0d',1,'hip_runtime_api.h']]], + ['hiperrorinvaliddevicepointer',['hipErrorInvalidDevicePointer',['../group__GlobalDefs.html#ggadf5010f6e140a53ecbdf949e73e87594a37a93fcd2b0aed9bf52b82fa26031e6f',1,'hip_runtime_api.h']]], + ['hiperrorinvalidmemcpydirection',['hipErrorInvalidMemcpyDirection',['../group__GlobalDefs.html#ggadf5010f6e140a53ecbdf949e73e87594ae35ad9fb66b7c33f21a021efe89975b0',1,'hip_runtime_api.h']]], + ['hiperrorinvalidresourcehandle',['hipErrorInvalidResourceHandle',['../group__GlobalDefs.html#ggadf5010f6e140a53ecbdf949e73e87594a88e525a7c8f35552dfada58e9f2f6d3a',1,'hip_runtime_api.h']]], + ['hiperrorinvalidvalue',['hipErrorInvalidValue',['../group__GlobalDefs.html#ggadf5010f6e140a53ecbdf949e73e87594a1e8215fe1108a508bad3944bce7b4d83',1,'hip_runtime_api.h']]], + ['hiperrorlaunchoutofresources',['hipErrorLaunchOutOfResources',['../group__GlobalDefs.html#ggadf5010f6e140a53ecbdf949e73e87594a3ea57f211997a84fa1c582414bcabc47',1,'hip_runtime_api.h']]], + ['hiperrormemoryallocation',['hipErrorMemoryAllocation',['../group__GlobalDefs.html#ggadf5010f6e140a53ecbdf949e73e87594a8293288a10109874749afe2562db09f2',1,'hip_runtime_api.h']]], + ['hiperrornodevice',['hipErrorNoDevice',['../group__GlobalDefs.html#ggadf5010f6e140a53ecbdf949e73e87594ad4406972c318df36d231310a15131c24',1,'hip_runtime_api.h']]], + ['hiperrornotready',['hipErrorNotReady',['../group__GlobalDefs.html#ggadf5010f6e140a53ecbdf949e73e87594aa9638063c8746a9d1fda2b2069a0a9f1',1,'hip_runtime_api.h']]], + ['hiperrorpeeraccessalreadyenabled',['hipErrorPeerAccessAlreadyEnabled',['../group__GlobalDefs.html#ggadf5010f6e140a53ecbdf949e73e87594a5399c146f91246f8b77abcd4ea30e7ac',1,'hip_runtime_api.h']]], + ['hiperrorpeeraccessnotenabled',['hipErrorPeerAccessNotEnabled',['../group__GlobalDefs.html#ggadf5010f6e140a53ecbdf949e73e87594a2ee0bf2e64840f253e4a1b12bbaf2d09',1,'hip_runtime_api.h']]], + ['hiperrorruntimememory',['hipErrorRuntimeMemory',['../group__GlobalDefs.html#ggadf5010f6e140a53ecbdf949e73e87594a1159eb9a6be66bea740a8bfb61378723',1,'hip_runtime_api.h']]], + ['hiperrorruntimeother',['hipErrorRuntimeOther',['../group__GlobalDefs.html#ggadf5010f6e140a53ecbdf949e73e87594a44f847c5914be2177feac107dcb096d1',1,'hip_runtime_api.h']]], + ['hiperrortbd',['hipErrorTbd',['../group__GlobalDefs.html#ggadf5010f6e140a53ecbdf949e73e87594ab556409e11ddb0c4cf77a2f4fc91ea9e',1,'hip_runtime_api.h']]], + ['hiperrorunknown',['hipErrorUnknown',['../group__GlobalDefs.html#ggadf5010f6e140a53ecbdf949e73e87594aa74e64c5b2f5fb0d6a92681f5b234073',1,'hip_runtime_api.h']]], + ['hipevent_5ft',['hipEvent_t',['../structhipEvent__t.html',1,'']]], + ['hipeventblockingsync',['hipEventBlockingSync',['../group__GlobalDefs.html#gafa1c076a5b991763a98695063f1ea11d',1,'hip_runtime_api.h']]], + ['hipeventcreate',['hipEventCreate',['../group__Event.html#ga5df2309c9f29ca4c8e669db658d411b4',1,'hipEventCreate(hipEvent_t *event): hip_event.cpp'],['../group__Event.html#ga5df2309c9f29ca4c8e669db658d411b4',1,'hipEventCreate(hipEvent_t *event): hip_event.cpp']]], + ['hipeventcreatewithflags',['hipEventCreateWithFlags',['../group__Event.html#gae86a5acb1b22b61bc9ecb9c28fc71b75',1,'hipEventCreateWithFlags(hipEvent_t *event, unsigned flags): hip_event.cpp'],['../group__Event.html#gae86a5acb1b22b61bc9ecb9c28fc71b75',1,'hipEventCreateWithFlags(hipEvent_t *event, unsigned flags): hip_event.cpp']]], + ['hipeventdefault',['hipEventDefault',['../group__GlobalDefs.html#ga122a5853359eba97cf047ddd153740f0',1,'hip_runtime_api.h']]], + ['hipeventdestroy',['hipEventDestroy',['../group__Event.html#ga83260357dce0c39e8c6a3c74ec97484c',1,'hipEventDestroy(hipEvent_t event): hip_event.cpp'],['../group__Event.html#ga83260357dce0c39e8c6a3c74ec97484c',1,'hipEventDestroy(hipEvent_t event): hip_event.cpp']]], + ['hipeventdisabletiming',['hipEventDisableTiming',['../group__GlobalDefs.html#ga3c0f44a85e36a4c67671da6bcdad0351',1,'hip_runtime_api.h']]], + ['hipeventelapsedtime',['hipEventElapsedTime',['../group__Event.html#gad4128b815cb475c8e13c7e66ff6250b7',1,'hipEventElapsedTime(float *ms, hipEvent_t start, hipEvent_t stop): hip_event.cpp'],['../group__Event.html#gad4128b815cb475c8e13c7e66ff6250b7',1,'hipEventElapsedTime(float *ms, hipEvent_t start, hipEvent_t stop): hip_event.cpp']]], + ['hipeventinterprocess',['hipEventInterprocess',['../group__GlobalDefs.html#ga0f01d74059baa704e42aeff8222166bb',1,'hip_runtime_api.h']]], + ['hipeventquery',['hipEventQuery',['../group__Event.html#ga5d12d7b798b5ceb5932d1ac21f5ac776',1,'hipEventQuery(hipEvent_t event): hip_event.cpp'],['../group__Event.html#ga5d12d7b798b5ceb5932d1ac21f5ac776',1,'hipEventQuery(hipEvent_t event): hip_event.cpp']]], + ['hipeventrecord',['hipEventRecord',['../group__Event.html#ga553b6f7a8e7b7dd9536d8a64c24d7e29',1,'hipEventRecord(hipEvent_t event, hipStream_t stream): hip_event.cpp'],['../group__Event.html#ga553b6f7a8e7b7dd9536d8a64c24d7e29',1,'hipEventRecord(hipEvent_t event, hipStream_t stream): hip_event.cpp']]], + ['hipeventsynchronize',['hipEventSynchronize',['../group__Event.html#ga1f72d98ba5d6f7dc3da54e0c41fe38b1',1,'hipEventSynchronize(hipEvent_t event): hip_event.cpp'],['../group__Event.html#ga1f72d98ba5d6f7dc3da54e0c41fe38b1',1,'hipEventSynchronize(hipEvent_t event): hip_event.cpp']]], + ['hipfiltermodepoint',['hipFilterModePoint',['../hip__texture_8h.html#aa2f0b6002b81d0a43a808cb880bb21e6a56ede038ab7c805ec4b5b61d2b678dfc',1,'hip_texture.h']]], + ['hipfree',['hipFree',['../group__Memory.html#ga740d08da65cae1441ba32f8fedb863d1',1,'hipFree(void *ptr): hip_memory.cpp'],['../group__Memory.html#ga740d08da65cae1441ba32f8fedb863d1',1,'hipFree(void *ptr): hip_memory.cpp']]], + ['hipfreehost',['hipFreeHost',['../group__Memory.html#gad2164cc3d49da53052f4b83b789e90c9',1,'hipFreeHost(void *ptr) __attribute__((deprecated("use hipHostFree instead"))): hip_memory.cpp'],['../group__Memory.html#gad2164cc3d49da53052f4b83b789e90c9',1,'hipFreeHost(void *ptr): hip_memory.cpp']]], + ['hipfunccache',['hipFuncCache',['../group__GlobalDefs.html#gac7e4bfd88340fc06642136c839a3d822',1,'hipFuncCache(): hip_runtime_api.h'],['../group__GlobalDefs.html#gaad15dc7939a0a25b16e4aa161fb41eee',1,'hipFuncCache(): hip_runtime_api.h']]], + ['hipfunccachepreferequal',['hipFuncCachePreferEqual',['../group__GlobalDefs.html#ggac7e4bfd88340fc06642136c839a3d822a0ddab0e840107634a152033103be44d7',1,'hip_runtime_api.h']]], + ['hipfunccachepreferl1',['hipFuncCachePreferL1',['../group__GlobalDefs.html#ggac7e4bfd88340fc06642136c839a3d822a636a3c140db6b9d4a8bf7d5a61c398c5',1,'hip_runtime_api.h']]], + ['hipfunccacheprefernone',['hipFuncCachePreferNone',['../group__GlobalDefs.html#ggac7e4bfd88340fc06642136c839a3d822a0813fbaa008ce1231ff9fed3911eb3af',1,'hip_runtime_api.h']]], + ['hipfunccacheprefershared',['hipFuncCachePreferShared',['../group__GlobalDefs.html#ggac7e4bfd88340fc06642136c839a3d822a9b34337dfbadba25ed2aa270bbcabc43',1,'hip_runtime_api.h']]], + ['hipfuncsetcacheconfig',['hipFuncSetCacheConfig',['../group__Device.html#gadd94a910c2b840833cc325b1e5425702',1,'hipFuncSetCacheConfig(hipFuncCache config): hip_device.cpp'],['../group__Device.html#gadd94a910c2b840833cc325b1e5425702',1,'hipFuncSetCacheConfig(hipFuncCache cacheConfig): hip_device.cpp']]], + ['hipgetdevice',['hipGetDevice',['../group__Device.html#gaffc83567f2df3bbe2d37a19872d60f24',1,'hipGetDevice(int *device): hip_device.cpp'],['../group__Device.html#gaffc83567f2df3bbe2d37a19872d60f24',1,'hipGetDevice(int *device): hip_device.cpp']]], + ['hipgetdevicecount',['hipGetDeviceCount',['../group__Device.html#ga8555d5c76d88c50ddbf54ae70b568394',1,'hipGetDeviceCount(int *count): hip_device.cpp'],['../group__Device.html#ga8555d5c76d88c50ddbf54ae70b568394',1,'hipGetDeviceCount(int *count): hip_device.cpp']]], + ['hipgetdeviceproperties',['hipGetDeviceProperties',['../group__Device.html#ga77c20744e2a88c31440992d6c7754b5f',1,'hipGetDeviceProperties(hipDeviceProp_t *prop, int device): hip_device.cpp'],['../group__Device.html#ga77c20744e2a88c31440992d6c7754b5f',1,'hipGetDeviceProperties(hipDeviceProp_t *props, int device): hip_device.cpp']]], + ['hipgeterrorname',['hipGetErrorName',['../group__Error.html#ga88c474d77635523dbf6ca67be7b56999',1,'hipGetErrorName(hipError_t hip_error): hip_error.cpp'],['../group__Error.html#ga88c474d77635523dbf6ca67be7b56999',1,'hipGetErrorName(hipError_t hip_error): hip_error.cpp']]], + ['hipgeterrorstring',['hipGetErrorString',['../group__Error.html#ga5959779a654bbc98ffe6d36ab536740a',1,'hipGetErrorString(hipError_t hip_error): hip_error.cpp'],['../group__Error.html#ga5959779a654bbc98ffe6d36ab536740a',1,'hipGetErrorString(hipError_t hip_error): hip_error.cpp']]], + ['hipgetlasterror',['hipGetLastError',['../group__Error.html#ga533daeb9114d7fc2db8d867adf9e419b',1,'hipGetLastError(void): hip_error.cpp'],['../group__Error.html#ga533daeb9114d7fc2db8d867adf9e419b',1,'hipGetLastError(): hip_error.cpp']]], + ['hiphccgetaccelerator',['hipHccGetAccelerator',['../hip__hcc_8cpp.html#a0d24b3157fd1b16d38672bb157ec4cd4',1,'hip_hcc.cpp']]], + ['hiphccgetacceleratorview',['hipHccGetAcceleratorView',['../hip__hcc_8cpp.html#a1a7087ea9c3c3323270d7cce73650b44',1,'hip_hcc.cpp']]], + ['hiphostfree',['hipHostFree',['../group__Memory.html#ga2e543f58ee4544e317cd695d6d82e0a3',1,'hipHostFree(void *ptr): hip_memory.cpp'],['../group__Memory.html#ga2e543f58ee4544e317cd695d6d82e0a3',1,'hipHostFree(void *ptr): hip_memory.cpp']]], + ['hiphostgetdevicepointer',['hipHostGetDevicePointer',['../group__Memory.html#ga8fa7a0478020b835a24785cd6bb89725',1,'hip_runtime_api.h']]], + ['hiphostgetflags',['hipHostGetFlags',['../group__Memory.html#ga4d26915873b3e3534ceb4dc310f8709a',1,'hipHostGetFlags(unsigned int *flagsPtr, void *hostPtr): hip_memory.cpp'],['../group__Memory.html#ga4d26915873b3e3534ceb4dc310f8709a',1,'hipHostGetFlags(unsigned int *flagsPtr, void *hostPtr): hip_memory.cpp']]], + ['hiphostmalloc',['hipHostMalloc',['../group__Memory.html#gaad40bc7d97ccc799403ef5a9a8c246e1',1,'hipHostMalloc(void **ptr, size_t size, unsigned int flags): hip_memory.cpp'],['../group__Memory.html#gaad40bc7d97ccc799403ef5a9a8c246e1',1,'hipHostMalloc(void **ptr, size_t sizeBytes, unsigned int flags): hip_memory.cpp']]], + ['hiphostmallocdefault',['hipHostMallocDefault',['../group__GlobalDefs.html#gad594ec51cb5b5e946c1e354bf80bddc7',1,'hip_runtime_api.h']]], + ['hiphostregister',['hipHostRegister',['../group__Memory.html#gab8258f051e1a1f7385f794a15300e674',1,'hipHostRegister(void *hostPtr, size_t sizeBytes, unsigned int flags): hip_memory.cpp'],['../group__Memory.html#gab8258f051e1a1f7385f794a15300e674',1,'hipHostRegister(void *hostPtr, size_t sizeBytes, unsigned int flags): hip_memory.cpp']]], + ['hiphostregisterdefault',['hipHostRegisterDefault',['../group__GlobalDefs.html#gac7c100d241ff84ad10109bb00b7b25dc',1,'hip_runtime_api.h']]], + ['hiphostregisteriomemory',['hipHostRegisterIoMemory',['../group__GlobalDefs.html#gaefa79f1b4481d6a1d1091c14b24f33d0',1,'hip_runtime_api.h']]], + ['hiphostregistermapped',['hipHostRegisterMapped',['../group__GlobalDefs.html#gacfa4edcfcb39fc61bff6bdecb14d7618',1,'hip_runtime_api.h']]], + ['hiphostregisterportable',['hipHostRegisterPortable',['../group__GlobalDefs.html#ga2db444f2315d412d3c7ba80ec6049583',1,'hip_runtime_api.h']]], + ['hiphostunregister',['hipHostUnregister',['../group__Memory.html#ga4c9e1810b9f5858d36c4d28c91c86924',1,'hipHostUnregister(void *hostPtr): hip_memory.cpp'],['../group__Memory.html#ga4c9e1810b9f5858d36c4d28c91c86924',1,'hipHostUnregister(void *hostPtr): hip_memory.cpp']]], + ['hipmalloc',['hipMalloc',['../group__Memory.html#ga4c6fcfe80010069d2792780d00dcead2',1,'hipMalloc(void **ptr, size_t size): hip_memory.cpp'],['../group__Memory.html#ga4c6fcfe80010069d2792780d00dcead2',1,'hipMalloc(void **ptr, size_t sizeBytes): hip_memory.cpp']]], + ['hipmallochost',['hipMallocHost',['../group__Memory.html#gad3d3cdf82eb0058fc9eac1f939cd9d30',1,'hipMallocHost(void **ptr, size_t size) __attribute__((deprecated("use hipHostMalloc instead"))): hip_memory.cpp'],['../group__Memory.html#gad3d3cdf82eb0058fc9eac1f939cd9d30',1,'hipMallocHost(void **ptr, size_t sizeBytes): hip_memory.cpp']]], + ['hipmemcpy',['hipMemcpy',['../group__Memory.html#gac1a055d288302edd641c6d7416858e1e',1,'hipMemcpy(void *dst, const void *src, size_t sizeBytes, hipMemcpyKind kind): hip_memory.cpp'],['../group__Memory.html#gac1a055d288302edd641c6d7416858e1e',1,'hipMemcpy(void *dst, const void *src, size_t sizeBytes, hipMemcpyKind kind): hip_memory.cpp']]], + ['hipmemcpyasync',['hipMemcpyAsync',['../group__Memory.html#gad55fa9f5980b711bc93c52820149ba18',1,'hipMemcpyAsync(void *dst, const void *src, size_t sizeBytes, hipMemcpyKind kind, hipStream_t stream): hip_memory.cpp'],['../group__Memory.html#gad55fa9f5980b711bc93c52820149ba18',1,'hipMemcpyAsync(void *dst, const void *src, size_t sizeBytes, hipMemcpyKind kind, hipStream_t stream): hip_memory.cpp']]], + ['hipmemcpydefault',['hipMemcpyDefault',['../group__GlobalDefs.html#gga232e222db36b1fc672ba98054d036a18a4e37107e416f79a2edf2b6534163c823',1,'hip_runtime_api.h']]], + ['hipmemcpydevicetodevice',['hipMemcpyDeviceToDevice',['../group__GlobalDefs.html#gga232e222db36b1fc672ba98054d036a18abd05a09d3105e0ce25b34dd91cf83f88',1,'hip_runtime_api.h']]], + ['hipmemcpydevicetohost',['hipMemcpyDeviceToHost',['../group__GlobalDefs.html#gga232e222db36b1fc672ba98054d036a18aba2505e9ce1e5382f17730bc670917d1',1,'hip_runtime_api.h']]], + ['hipmemcpyhosttodevice',['hipMemcpyHostToDevice',['../group__GlobalDefs.html#gga232e222db36b1fc672ba98054d036a18aff32175ecb0c7113200286eff8211008',1,'hip_runtime_api.h']]], + ['hipmemcpyhosttohost',['hipMemcpyHostToHost',['../group__GlobalDefs.html#gga232e222db36b1fc672ba98054d036a18a9d66b705aa85a9c83f0f533cef70d0af',1,'hip_runtime_api.h']]], + ['hipmemcpykind',['hipMemcpyKind',['../group__GlobalDefs.html#ga232e222db36b1fc672ba98054d036a18',1,'hipMemcpyKind(): hip_runtime_api.h'],['../group__GlobalDefs.html#ga0c04e67413ce030817361f02673e5c85',1,'hipMemcpyKind(): hip_runtime_api.h']]], + ['hipmemcpytosymbol',['hipMemcpyToSymbol',['../group__Memory.html#ga131ac5c1ba04e186112491cb9bf964bc',1,'hipMemcpyToSymbol(const char *symbolName, const void *src, size_t sizeBytes, size_t offset, hipMemcpyKind kind): hip_memory.cpp'],['../group__Memory.html#ga131ac5c1ba04e186112491cb9bf964bc',1,'hipMemcpyToSymbol(const char *symbolName, const void *src, size_t count, size_t offset, hipMemcpyKind kind): hip_memory.cpp']]], + ['hipmemgetinfo',['hipMemGetInfo',['../group__Memory.html#ga311c3e246a21590de14478b8bd063be2',1,'hipMemGetInfo(size_t *free, size_t *total): hip_memory.cpp'],['../group__Memory.html#ga311c3e246a21590de14478b8bd063be2',1,'hipMemGetInfo(size_t *free, size_t *total): hip_memory.cpp']]], + ['hipmemset',['hipMemset',['../group__Memory.html#gac7441e74affcce4b8b69dba996c5ebc4',1,'hipMemset(void *dst, int value, size_t sizeBytes): hip_memory.cpp'],['../group__Memory.html#gac7441e74affcce4b8b69dba996c5ebc4',1,'hipMemset(void *dst, int value, size_t sizeBytes): hip_memory.cpp']]], + ['hipmemsetasync',['hipMemsetAsync',['../group__Memory.html#gae7d90e14c387e49f10db597f12915c54',1,'hipMemsetAsync(void *dst, int value, size_t sizeBytes, hipStream_t stream): hip_memory.cpp'],['../group__Memory.html#gae7d90e14c387e49f10db597f12915c54',1,'hipMemsetAsync(void *dst, int value, size_t sizeBytes, hipStream_t stream): hip_memory.cpp']]], + ['hippeekatlasterror',['hipPeekAtLastError',['../group__Error.html#ga1dd660bc739f7e13edd34615660f0148',1,'hip_runtime_api.h']]], + ['hippointerattribute_5ft',['hipPointerAttribute_t',['../structhipPointerAttribute__t.html',1,'']]], + ['hippointergetattributes',['hipPointerGetAttributes',['../group__Memory.html#ga3d68ba64959615d4ab84f10caa12433b',1,'hipPointerGetAttributes(hipPointerAttribute_t *attributes, void *ptr): hip_memory.cpp'],['../group__Memory.html#ga3d68ba64959615d4ab84f10caa12433b',1,'hipPointerGetAttributes(hipPointerAttribute_t *attributes, void *ptr): hip_memory.cpp']]], + ['hipreadmodeelementtype',['hipReadModeElementType',['../hip__texture_8h.html#a442e950774f7306dc33692e358c92c94a829645801202174d052d667ffa4e1b8d',1,'hip_texture.h']]], + ['hipsetdevice',['hipSetDevice',['../group__Device.html#ga8ec0b093af0adadc7fe98bf33fa21620',1,'hipSetDevice(int device): hip_device.cpp'],['../group__Device.html#ga8ec0b093af0adadc7fe98bf33fa21620',1,'hipSetDevice(int device): hip_device.cpp']]], + ['hipsetdeviceflags',['hipSetDeviceFlags',['../group__Device.html#ga6e54db382768827e84725632018307aa',1,'hip_runtime_api.h']]], + ['hipsharedmembanksizedefault',['hipSharedMemBankSizeDefault',['../group__GlobalDefs.html#gga2e17b71d94ac350f2ccd914fd49d104eaf5b325c9b7bde878913f768eaba5014d',1,'hip_runtime_api.h']]], + ['hipsharedmembanksizeeightbyte',['hipSharedMemBankSizeEightByte',['../group__GlobalDefs.html#gga2e17b71d94ac350f2ccd914fd49d104ea64518b4f5a25f536c883330167e79258',1,'hip_runtime_api.h']]], + ['hipsharedmembanksizefourbyte',['hipSharedMemBankSizeFourByte',['../group__GlobalDefs.html#gga2e17b71d94ac350f2ccd914fd49d104ea0a95a6e0c33106c42d66ab9476ff954a',1,'hip_runtime_api.h']]], + ['hipsharedmemconfig',['hipSharedMemConfig',['../group__GlobalDefs.html#ga2e17b71d94ac350f2ccd914fd49d104e',1,'hipSharedMemConfig(): hip_runtime_api.h'],['../group__GlobalDefs.html#ga6b1ca424fa26a5fb718937d662eaee7f',1,'hipSharedMemConfig(): hip_runtime_api.h']]], + ['hipstreamcreate',['hipStreamCreate',['../group__Stream.html#gaff5b62d6e9502d80879f7176f4d03102',1,'hipStreamCreate(hipStream_t *stream): hip_stream.cpp'],['../group__Stream.html#gaff5b62d6e9502d80879f7176f4d03102',1,'hipStreamCreate(hipStream_t *stream): hip_stream.cpp']]], + ['hipstreamcreatewithflags',['hipStreamCreateWithFlags',['../group__Stream.html#gaf2382e3cc6632332a8983a0f58e43494',1,'hipStreamCreateWithFlags(hipStream_t *stream, unsigned int flags): hip_stream.cpp'],['../group__Stream.html#gaf2382e3cc6632332a8983a0f58e43494',1,'hipStreamCreateWithFlags(hipStream_t *stream, unsigned int flags): hip_stream.cpp']]], + ['hipstreamdefault',['hipStreamDefault',['../group__GlobalDefs.html#ga6df5f70eb976836ab3598cacf0ffcdf9',1,'hip_runtime_api.h']]], + ['hipstreamdestroy',['hipStreamDestroy',['../group__Stream.html#ga3076a3499ed2c7821311006100bb95ec',1,'hipStreamDestroy(hipStream_t stream): hip_stream.cpp'],['../group__Stream.html#ga3076a3499ed2c7821311006100bb95ec',1,'hipStreamDestroy(hipStream_t stream): hip_stream.cpp']]], + ['hipstreamgetflags',['hipStreamGetFlags',['../group__Stream.html#ga3249555a26439591b8873f70b39bb116',1,'hipStreamGetFlags(hipStream_t stream, unsigned int *flags): hip_stream.cpp'],['../group__Stream.html#ga3249555a26439591b8873f70b39bb116',1,'hipStreamGetFlags(hipStream_t stream, unsigned int *flags): hip_stream.cpp']]], + ['hipstreamnonblocking',['hipStreamNonBlocking',['../group__GlobalDefs.html#gaaba9ae995d9b43b7d1ee70c6fa12c57d',1,'hip_runtime_api.h']]], + ['hipstreamsynchronize',['hipStreamSynchronize',['../group__Stream.html#gabbfb9f573a6ebe8c478605ecb5504a74',1,'hipStreamSynchronize(hipStream_t stream): hip_stream.cpp'],['../group__Stream.html#gabbfb9f573a6ebe8c478605ecb5504a74',1,'hipStreamSynchronize(hipStream_t stream): hip_stream.cpp']]], + ['hipstreamwaitevent',['hipStreamWaitEvent',['../group__Stream.html#gacdd84c8f8ef1539c96c57c1d5bcae633',1,'hipStreamWaitEvent(hipStream_t stream, hipEvent_t event, unsigned int flags): hip_stream.cpp'],['../group__Stream.html#gacdd84c8f8ef1539c96c57c1d5bcae633',1,'hipStreamWaitEvent(hipStream_t stream, hipEvent_t event, unsigned int flags): hip_stream.cpp']]], + ['hipsuccess',['hipSuccess',['../group__GlobalDefs.html#ggadf5010f6e140a53ecbdf949e73e87594aadfbdb847b149723c684ebd764556063',1,'hip_runtime_api.h']]], + ['hiptexturefiltermode',['hipTextureFilterMode',['../hip__texture_8h.html#aa2f0b6002b81d0a43a808cb880bb21e6',1,'hip_texture.h']]], + ['hiptexturereadmode',['hipTextureReadMode',['../hip__texture_8h.html#a442e950774f7306dc33692e358c92c94',1,'hip_texture.h']]], + ['hipthreadidx_5fx',['hipThreadIdx_x',['../hcc__detail_2hip__runtime_8h.html#a48f5f9da77c5fab1fbcf0205bb347d89',1,'hip_runtime.h']]], + ['host_5fdefines_2eh',['host_defines.h',['../host__defines_8h.html',1,'']]], + ['heterogeneous_2dcomputing_20interface_20for_20portability_20_28hip_29',['Heterogeneous-computing Interface for Portability (HIP)',['../index.html',1,'']]] +]; diff --git a/docs/RuntimeAPI/html/search/all_9.html b/docs/RuntimeAPI/html/search/all_9.html new file mode 100644 index 0000000000..cd46d44056 --- /dev/null +++ b/docs/RuntimeAPI/html/search/all_9.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/docs/RuntimeAPI/html/search/all_9.js b/docs/RuntimeAPI/html/search/all_9.js new file mode 100644 index 0000000000..ae0e44d79e --- /dev/null +++ b/docs/RuntimeAPI/html/search/all_9.js @@ -0,0 +1,13 @@ +var searchData= +[ + ['ihipdevice_5ft',['ihipDevice_t',['../classihipDevice__t.html',1,'']]], + ['ihipdevicecriticalbase_5ft',['ihipDeviceCriticalBase_t',['../classihipDeviceCriticalBase__t.html',1,'']]], + ['ihipdevicecriticalbase_5ft_3c_20devicemutex_20_3e',['ihipDeviceCriticalBase_t< DeviceMutex >',['../classihipDeviceCriticalBase__t.html',1,'']]], + ['ihipevent_5ft',['ihipEvent_t',['../structihipEvent__t.html',1,'']]], + ['ihipexception',['ihipException',['../classihipException.html',1,'']]], + ['ihipsignal_5ft',['ihipSignal_t',['../structihipSignal__t.html',1,'']]], + ['ihipstream_5ft',['ihipStream_t',['../classihipStream__t.html',1,'']]], + ['ihipstreamcriticalbase_5ft',['ihipStreamCriticalBase_t',['../classihipStreamCriticalBase__t.html',1,'']]], + ['ihipstreamcriticalbase_5ft_3c_20streammutex_20_3e',['ihipStreamCriticalBase_t< StreamMutex >',['../classihipStreamCriticalBase__t.html',1,'']]], + ['ismultigpuboard',['isMultiGpuBoard',['../structhipDeviceProp__t.html#a9bb19b2b0cdee8977ed63964532d639d',1,'hipDeviceProp_t']]] +]; diff --git a/docs/RuntimeAPI/html/search/all_a.html b/docs/RuntimeAPI/html/search/all_a.html new file mode 100644 index 0000000000..eab655301b --- /dev/null +++ b/docs/RuntimeAPI/html/search/all_a.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/docs/RuntimeAPI/html/search/all_a.js b/docs/RuntimeAPI/html/search/all_a.js new file mode 100644 index 0000000000..8cf55c56bd --- /dev/null +++ b/docs/RuntimeAPI/html/search/all_a.js @@ -0,0 +1,8 @@ +var searchData= +[ + ['l2cachesize',['l2CacheSize',['../structhipDeviceProp__t.html#a24404decccc16833973c803ced6f3a51',1,'hipDeviceProp_t']]], + ['lockedaccessor',['LockedAccessor',['../classLockedAccessor.html',1,'']]], + ['lockedbase',['LockedBase',['../structLockedBase.html',1,'']]], + ['lockedbase_3c_20devicemutex_20_3e',['LockedBase< DeviceMutex >',['../structLockedBase.html',1,'']]], + ['lockedbase_3c_20streammutex_20_3e',['LockedBase< StreamMutex >',['../structLockedBase.html',1,'']]] +]; diff --git a/docs/RuntimeAPI/html/search/all_b.html b/docs/RuntimeAPI/html/search/all_b.html new file mode 100644 index 0000000000..a2c161e0bd --- /dev/null +++ b/docs/RuntimeAPI/html/search/all_b.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/docs/RuntimeAPI/html/search/all_b.js b/docs/RuntimeAPI/html/search/all_b.js new file mode 100644 index 0000000000..08e347d70d --- /dev/null +++ b/docs/RuntimeAPI/html/search/all_b.js @@ -0,0 +1,15 @@ +var searchData= +[ + ['major',['major',['../structhipDeviceProp__t.html#aec9e4173c2e34cc232300c415dbd5e4f',1,'hipDeviceProp_t']]], + ['maxgridsize',['maxGridSize',['../structhipDeviceProp__t.html#ae529c23929f592120081fed31d877a55',1,'hipDeviceProp_t']]], + ['maxsharedmemorypermultiprocessor',['maxSharedMemoryPerMultiProcessor',['../structhipDeviceProp__t.html#aa1a32a7f387f6da845db7b228711fce8',1,'hipDeviceProp_t']]], + ['maxthreadsdim',['maxThreadsDim',['../structhipDeviceProp__t.html#a8ebba6fc12f80c9a9cf9b9193f0da465',1,'hipDeviceProp_t']]], + ['maxthreadsperblock',['maxThreadsPerBlock',['../structhipDeviceProp__t.html#af971cf1ca3ec1f68ad09036c0cc672e0',1,'hipDeviceProp_t']]], + ['maxthreadspermultiprocessor',['maxThreadsPerMultiProcessor',['../structhipDeviceProp__t.html#a23a39f4fd795addb3b125e9c3f6295ea',1,'hipDeviceProp_t']]], + ['memory_20management',['Memory Management',['../group__Memory.html',1,'']]], + ['memorybuswidth',['memoryBusWidth',['../structhipDeviceProp__t.html#a1d710ce8bd34daf66f892a66a2273132',1,'hipDeviceProp_t']]], + ['memoryclockrate',['memoryClockRate',['../structhipDeviceProp__t.html#a6db0ab8e7e8cc13c84d7bb7f70226d5e',1,'hipDeviceProp_t']]], + ['minor',['minor',['../structhipDeviceProp__t.html#abb51208e2509a7a1d107f0da69108938',1,'hipDeviceProp_t']]], + ['multiprocessorcount',['multiProcessorCount',['../structhipDeviceProp__t.html#add8d9d2ad52aece9fd1dbe25c18d9d57',1,'hipDeviceProp_t']]], + ['management',['Management',['../group__Version.html',1,'']]] +]; diff --git a/docs/RuntimeAPI/html/search/all_c.html b/docs/RuntimeAPI/html/search/all_c.html new file mode 100644 index 0000000000..bdd3ee2c50 --- /dev/null +++ b/docs/RuntimeAPI/html/search/all_c.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/docs/RuntimeAPI/html/search/all_c.js b/docs/RuntimeAPI/html/search/all_c.js new file mode 100644 index 0000000000..124bf0ddb8 --- /dev/null +++ b/docs/RuntimeAPI/html/search/all_c.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['name',['name',['../structhipDeviceProp__t.html#a5b44bf8fa46faefcde989942b1d11a5e',1,'hipDeviceProp_t']]] +]; diff --git a/docs/RuntimeAPI/html/search/all_d.html b/docs/RuntimeAPI/html/search/all_d.html new file mode 100644 index 0000000000..d51093367e --- /dev/null +++ b/docs/RuntimeAPI/html/search/all_d.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/docs/RuntimeAPI/html/search/all_d.js b/docs/RuntimeAPI/html/search/all_d.js new file mode 100644 index 0000000000..71b6a5df56 --- /dev/null +++ b/docs/RuntimeAPI/html/search/all_d.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['pcibusid',['pciBusID',['../structhipDeviceProp__t.html#a1350f64d49b717ed3a06458f7549ccb0',1,'hipDeviceProp_t']]], + ['pcideviceid',['pciDeviceID',['../structhipDeviceProp__t.html#ae6aa845dc2d540f85098ea30be35f4eb',1,'hipDeviceProp_t']]] +]; diff --git a/docs/RuntimeAPI/html/search/all_e.html b/docs/RuntimeAPI/html/search/all_e.html new file mode 100644 index 0000000000..3cda0172ed --- /dev/null +++ b/docs/RuntimeAPI/html/search/all_e.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/docs/RuntimeAPI/html/search/all_e.js b/docs/RuntimeAPI/html/search/all_e.js new file mode 100644 index 0000000000..44ba50e0b7 --- /dev/null +++ b/docs/RuntimeAPI/html/search/all_e.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['regsperblock',['regsPerBlock',['../structhipDeviceProp__t.html#a73c1c21648a901799ff6bef83c11135b',1,'hipDeviceProp_t']]] +]; diff --git a/docs/RuntimeAPI/html/search/all_f.html b/docs/RuntimeAPI/html/search/all_f.html new file mode 100644 index 0000000000..7419b0297e --- /dev/null +++ b/docs/RuntimeAPI/html/search/all_f.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/docs/RuntimeAPI/html/search/all_f.js b/docs/RuntimeAPI/html/search/all_f.js new file mode 100644 index 0000000000..7899428a20 --- /dev/null +++ b/docs/RuntimeAPI/html/search/all_f.js @@ -0,0 +1,6 @@ +var searchData= +[ + ['sharedmemperblock',['sharedMemPerBlock',['../structhipDeviceProp__t.html#a3b9138678a0795c2677eddcfb1c67156',1,'hipDeviceProp_t']]], + ['stagingbuffer',['StagingBuffer',['../structStagingBuffer.html',1,'']]], + ['stream_20management',['Stream Management',['../group__Stream.html',1,'']]] +]; diff --git a/docs/RuntimeAPI/html/search/classes_0.html b/docs/RuntimeAPI/html/search/classes_0.html new file mode 100644 index 0000000000..fabdc03679 --- /dev/null +++ b/docs/RuntimeAPI/html/search/classes_0.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/docs/RuntimeAPI/html/search/classes_0.js b/docs/RuntimeAPI/html/search/classes_0.js new file mode 100644 index 0000000000..258d3fc37d --- /dev/null +++ b/docs/RuntimeAPI/html/search/classes_0.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['dim3',['dim3',['../structdim3.html',1,'']]] +]; diff --git a/docs/RuntimeAPI/html/search/classes_1.html b/docs/RuntimeAPI/html/search/classes_1.html new file mode 100644 index 0000000000..800b6ae1bf --- /dev/null +++ b/docs/RuntimeAPI/html/search/classes_1.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/docs/RuntimeAPI/html/search/classes_1.js b/docs/RuntimeAPI/html/search/classes_1.js new file mode 100644 index 0000000000..16f0c6c8a5 --- /dev/null +++ b/docs/RuntimeAPI/html/search/classes_1.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['fakemutex',['FakeMutex',['../classFakeMutex.html',1,'']]] +]; diff --git a/docs/RuntimeAPI/html/search/classes_2.html b/docs/RuntimeAPI/html/search/classes_2.html new file mode 100644 index 0000000000..f65d263c0c --- /dev/null +++ b/docs/RuntimeAPI/html/search/classes_2.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/docs/RuntimeAPI/html/search/classes_2.js b/docs/RuntimeAPI/html/search/classes_2.js new file mode 100644 index 0000000000..5ea160d3cf --- /dev/null +++ b/docs/RuntimeAPI/html/search/classes_2.js @@ -0,0 +1,8 @@ +var searchData= +[ + ['hipchannelformatdesc',['hipChannelFormatDesc',['../structhipChannelFormatDesc.html',1,'']]], + ['hipdevicearch_5ft',['hipDeviceArch_t',['../structhipDeviceArch__t.html',1,'']]], + ['hipdeviceprop_5ft',['hipDeviceProp_t',['../structhipDeviceProp__t.html',1,'']]], + ['hipevent_5ft',['hipEvent_t',['../structhipEvent__t.html',1,'']]], + ['hippointerattribute_5ft',['hipPointerAttribute_t',['../structhipPointerAttribute__t.html',1,'']]] +]; diff --git a/docs/RuntimeAPI/html/search/classes_3.html b/docs/RuntimeAPI/html/search/classes_3.html new file mode 100644 index 0000000000..927e837f11 --- /dev/null +++ b/docs/RuntimeAPI/html/search/classes_3.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/docs/RuntimeAPI/html/search/classes_3.js b/docs/RuntimeAPI/html/search/classes_3.js new file mode 100644 index 0000000000..87ba8606aa --- /dev/null +++ b/docs/RuntimeAPI/html/search/classes_3.js @@ -0,0 +1,12 @@ +var searchData= +[ + ['ihipdevice_5ft',['ihipDevice_t',['../classihipDevice__t.html',1,'']]], + ['ihipdevicecriticalbase_5ft',['ihipDeviceCriticalBase_t',['../classihipDeviceCriticalBase__t.html',1,'']]], + ['ihipdevicecriticalbase_5ft_3c_20devicemutex_20_3e',['ihipDeviceCriticalBase_t< DeviceMutex >',['../classihipDeviceCriticalBase__t.html',1,'']]], + ['ihipevent_5ft',['ihipEvent_t',['../structihipEvent__t.html',1,'']]], + ['ihipexception',['ihipException',['../classihipException.html',1,'']]], + ['ihipsignal_5ft',['ihipSignal_t',['../structihipSignal__t.html',1,'']]], + ['ihipstream_5ft',['ihipStream_t',['../classihipStream__t.html',1,'']]], + ['ihipstreamcriticalbase_5ft',['ihipStreamCriticalBase_t',['../classihipStreamCriticalBase__t.html',1,'']]], + ['ihipstreamcriticalbase_5ft_3c_20streammutex_20_3e',['ihipStreamCriticalBase_t< StreamMutex >',['../classihipStreamCriticalBase__t.html',1,'']]] +]; diff --git a/docs/RuntimeAPI/html/search/classes_4.html b/docs/RuntimeAPI/html/search/classes_4.html new file mode 100644 index 0000000000..a447290ed6 --- /dev/null +++ b/docs/RuntimeAPI/html/search/classes_4.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/docs/RuntimeAPI/html/search/classes_4.js b/docs/RuntimeAPI/html/search/classes_4.js new file mode 100644 index 0000000000..09019c00b4 --- /dev/null +++ b/docs/RuntimeAPI/html/search/classes_4.js @@ -0,0 +1,7 @@ +var searchData= +[ + ['lockedaccessor',['LockedAccessor',['../classLockedAccessor.html',1,'']]], + ['lockedbase',['LockedBase',['../structLockedBase.html',1,'']]], + ['lockedbase_3c_20devicemutex_20_3e',['LockedBase< DeviceMutex >',['../structLockedBase.html',1,'']]], + ['lockedbase_3c_20streammutex_20_3e',['LockedBase< StreamMutex >',['../structLockedBase.html',1,'']]] +]; diff --git a/docs/RuntimeAPI/html/search/classes_5.html b/docs/RuntimeAPI/html/search/classes_5.html new file mode 100644 index 0000000000..63484c451e --- /dev/null +++ b/docs/RuntimeAPI/html/search/classes_5.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/docs/RuntimeAPI/html/search/classes_5.js b/docs/RuntimeAPI/html/search/classes_5.js new file mode 100644 index 0000000000..7708af376c --- /dev/null +++ b/docs/RuntimeAPI/html/search/classes_5.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['stagingbuffer',['StagingBuffer',['../structStagingBuffer.html',1,'']]] +]; diff --git a/docs/RuntimeAPI/html/search/classes_6.html b/docs/RuntimeAPI/html/search/classes_6.html new file mode 100644 index 0000000000..f3d70354c6 --- /dev/null +++ b/docs/RuntimeAPI/html/search/classes_6.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/docs/RuntimeAPI/html/search/classes_6.js b/docs/RuntimeAPI/html/search/classes_6.js new file mode 100644 index 0000000000..8ced671759 --- /dev/null +++ b/docs/RuntimeAPI/html/search/classes_6.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['texturereference',['textureReference',['../structtextureReference.html',1,'']]] +]; diff --git a/docs/RuntimeAPI/html/search/close.png b/docs/RuntimeAPI/html/search/close.png new file mode 100644 index 0000000000000000000000000000000000000000..9342d3dfeea7b7c4ee610987e717804b5a42ceb9 GIT binary patch literal 273 zcmV+s0q*{ZP)4(RlMby96)VwnbG{ zbe&}^BDn7x>$<{ck4zAK-=nT;=hHG)kmplIF${xqm8db3oX6wT3bvp`TE@m0cg;b) zBuSL}5?N7O(iZLdAlz@)b)Rd~DnSsSX&P5qC`XwuFwcAYLC+d2>+1(8on;wpt8QIC X2MT$R4iQDd00000NkvXXu0mjfia~GN literal 0 HcmV?d00001 diff --git a/docs/RuntimeAPI/html/search/defines_0.html b/docs/RuntimeAPI/html/search/defines_0.html new file mode 100644 index 0000000000..c2f0b46cfb --- /dev/null +++ b/docs/RuntimeAPI/html/search/defines_0.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/docs/RuntimeAPI/html/search/defines_0.js b/docs/RuntimeAPI/html/search/defines_0.js new file mode 100644 index 0000000000..00fe08ccff --- /dev/null +++ b/docs/RuntimeAPI/html/search/defines_0.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['_5f_5fhost_5f_5f',['__host__',['../host__defines_8h.html#a803050db3c78e0db3ea59a0c35499622',1,'host_defines.h']]] +]; diff --git a/docs/RuntimeAPI/html/search/defines_1.html b/docs/RuntimeAPI/html/search/defines_1.html new file mode 100644 index 0000000000..9e1d9fa116 --- /dev/null +++ b/docs/RuntimeAPI/html/search/defines_1.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/docs/RuntimeAPI/html/search/defines_1.js b/docs/RuntimeAPI/html/search/defines_1.js new file mode 100644 index 0000000000..c07942965b --- /dev/null +++ b/docs/RuntimeAPI/html/search/defines_1.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['hip_5fdynamic_5fshared',['HIP_DYNAMIC_SHARED',['../hcc__detail_2hip__runtime_8h.html#a1e7ec14fb6b74c03b6ec804d6ef7e0ea',1,'hip_runtime.h']]], + ['hipthreadidx_5fx',['hipThreadIdx_x',['../hcc__detail_2hip__runtime_8h.html#a48f5f9da77c5fab1fbcf0205bb347d89',1,'hip_runtime.h']]] +]; diff --git a/docs/RuntimeAPI/html/search/enums_0.html b/docs/RuntimeAPI/html/search/enums_0.html new file mode 100644 index 0000000000..b4cbe1e3ca --- /dev/null +++ b/docs/RuntimeAPI/html/search/enums_0.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/docs/RuntimeAPI/html/search/enums_0.js b/docs/RuntimeAPI/html/search/enums_0.js new file mode 100644 index 0000000000..8258fd4f05 --- /dev/null +++ b/docs/RuntimeAPI/html/search/enums_0.js @@ -0,0 +1,10 @@ +var searchData= +[ + ['hipdeviceattribute_5ft',['hipDeviceAttribute_t',['../group__GlobalDefs.html#gacc0acd7b9bda126c6bb3dfd6e2796d7c',1,'hip_runtime_api.h']]], + ['hiperror_5ft',['hipError_t',['../group__GlobalDefs.html#gadf5010f6e140a53ecbdf949e73e87594',1,'hip_runtime_api.h']]], + ['hipfunccache',['hipFuncCache',['../group__GlobalDefs.html#gac7e4bfd88340fc06642136c839a3d822',1,'hip_runtime_api.h']]], + ['hipmemcpykind',['hipMemcpyKind',['../group__GlobalDefs.html#ga232e222db36b1fc672ba98054d036a18',1,'hip_runtime_api.h']]], + ['hipsharedmemconfig',['hipSharedMemConfig',['../group__GlobalDefs.html#ga2e17b71d94ac350f2ccd914fd49d104e',1,'hip_runtime_api.h']]], + ['hiptexturefiltermode',['hipTextureFilterMode',['../hip__texture_8h.html#aa2f0b6002b81d0a43a808cb880bb21e6',1,'hip_texture.h']]], + ['hiptexturereadmode',['hipTextureReadMode',['../hip__texture_8h.html#a442e950774f7306dc33692e358c92c94',1,'hip_texture.h']]] +]; diff --git a/docs/RuntimeAPI/html/search/enumvalues_0.html b/docs/RuntimeAPI/html/search/enumvalues_0.html new file mode 100644 index 0000000000..3e00fcf61a --- /dev/null +++ b/docs/RuntimeAPI/html/search/enumvalues_0.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/docs/RuntimeAPI/html/search/enumvalues_0.js b/docs/RuntimeAPI/html/search/enumvalues_0.js new file mode 100644 index 0000000000..dd42b2deba --- /dev/null +++ b/docs/RuntimeAPI/html/search/enumvalues_0.js @@ -0,0 +1,61 @@ +var searchData= +[ + ['hipdeviceattributeclockrate',['hipDeviceAttributeClockRate',['../group__GlobalDefs.html#ggacc0acd7b9bda126c6bb3dfd6e2796d7ca2300e077e020e7967592065561373b00',1,'hip_runtime_api.h']]], + ['hipdeviceattributecomputecapabilitymajor',['hipDeviceAttributeComputeCapabilityMajor',['../group__GlobalDefs.html#ggacc0acd7b9bda126c6bb3dfd6e2796d7ca2735739cf977b7d303266f6781131e8d',1,'hip_runtime_api.h']]], + ['hipdeviceattributecomputecapabilityminor',['hipDeviceAttributeComputeCapabilityMinor',['../group__GlobalDefs.html#ggacc0acd7b9bda126c6bb3dfd6e2796d7ca38edc4fcae456e47160d349da3249b85',1,'hip_runtime_api.h']]], + ['hipdeviceattributecomputemode',['hipDeviceAttributeComputeMode',['../group__GlobalDefs.html#ggacc0acd7b9bda126c6bb3dfd6e2796d7ca4d0369a6ef7bd7890fdcabc16ed3385d',1,'hip_runtime_api.h']]], + ['hipdeviceattributeconcurrentkernels',['hipDeviceAttributeConcurrentKernels',['../group__GlobalDefs.html#ggacc0acd7b9bda126c6bb3dfd6e2796d7cad9f45254d0d048677f560032532d5504',1,'hip_runtime_api.h']]], + ['hipdeviceattributeismultigpuboard',['hipDeviceAttributeIsMultiGpuBoard',['../group__GlobalDefs.html#ggacc0acd7b9bda126c6bb3dfd6e2796d7ca6129311200a17dcc5fa8d2256874ae3d',1,'hip_runtime_api.h']]], + ['hipdeviceattributel2cachesize',['hipDeviceAttributeL2CacheSize',['../group__GlobalDefs.html#ggacc0acd7b9bda126c6bb3dfd6e2796d7ca582ae5a26a7148504878890028e4b64c',1,'hip_runtime_api.h']]], + ['hipdeviceattributemaxblockdimx',['hipDeviceAttributeMaxBlockDimX',['../group__GlobalDefs.html#ggacc0acd7b9bda126c6bb3dfd6e2796d7cac1e4ac589db0d8adbbc241e3d0fcd594',1,'hip_runtime_api.h']]], + ['hipdeviceattributemaxblockdimy',['hipDeviceAttributeMaxBlockDimY',['../group__GlobalDefs.html#ggacc0acd7b9bda126c6bb3dfd6e2796d7ca187dbffe12db09a56c0f75c340d879c9',1,'hip_runtime_api.h']]], + ['hipdeviceattributemaxblockdimz',['hipDeviceAttributeMaxBlockDimZ',['../group__GlobalDefs.html#ggacc0acd7b9bda126c6bb3dfd6e2796d7caf811f51e03d1ffb025d80ac1da088675',1,'hip_runtime_api.h']]], + ['hipdeviceattributemaxgriddimx',['hipDeviceAttributeMaxGridDimX',['../group__GlobalDefs.html#ggacc0acd7b9bda126c6bb3dfd6e2796d7ca03db8df0e7a9fbdaae683d97e8ac9c87',1,'hip_runtime_api.h']]], + ['hipdeviceattributemaxgriddimy',['hipDeviceAttributeMaxGridDimY',['../group__GlobalDefs.html#ggacc0acd7b9bda126c6bb3dfd6e2796d7ca5b5cc49972679c5ccf62b79425ee99df',1,'hip_runtime_api.h']]], + ['hipdeviceattributemaxgriddimz',['hipDeviceAttributeMaxGridDimZ',['../group__GlobalDefs.html#ggacc0acd7b9bda126c6bb3dfd6e2796d7ca6c206ac083999caf4640e5d91dae24f7',1,'hip_runtime_api.h']]], + ['hipdeviceattributemaxregistersperblock',['hipDeviceAttributeMaxRegistersPerBlock',['../group__GlobalDefs.html#ggacc0acd7b9bda126c6bb3dfd6e2796d7ca82289b170192b6ea742be0efc6f95107',1,'hip_runtime_api.h']]], + ['hipdeviceattributemaxsharedmemoryperblock',['hipDeviceAttributeMaxSharedMemoryPerBlock',['../group__GlobalDefs.html#ggacc0acd7b9bda126c6bb3dfd6e2796d7ca7bca3aa18b26d40eba043ae93e15c7e5',1,'hip_runtime_api.h']]], + ['hipdeviceattributemaxsharedmemorypermultiprocessor',['hipDeviceAttributeMaxSharedMemoryPerMultiprocessor',['../group__GlobalDefs.html#ggacc0acd7b9bda126c6bb3dfd6e2796d7cad3e7f3d01533b32e12211172fcf410ba',1,'hip_runtime_api.h']]], + ['hipdeviceattributemaxthreadsperblock',['hipDeviceAttributeMaxThreadsPerBlock',['../group__GlobalDefs.html#ggacc0acd7b9bda126c6bb3dfd6e2796d7ca8327aa23782d9c994bdef33a6d62e02e',1,'hip_runtime_api.h']]], + ['hipdeviceattributemaxthreadspermultiprocessor',['hipDeviceAttributeMaxThreadsPerMultiProcessor',['../group__GlobalDefs.html#ggacc0acd7b9bda126c6bb3dfd6e2796d7caddc08922b491eb1f6a583833cbf4e2f0',1,'hip_runtime_api.h']]], + ['hipdeviceattributememorybuswidth',['hipDeviceAttributeMemoryBusWidth',['../group__GlobalDefs.html#ggacc0acd7b9bda126c6bb3dfd6e2796d7ca848c1396fab6f20463c6aefb828b0870',1,'hip_runtime_api.h']]], + ['hipdeviceattributememoryclockrate',['hipDeviceAttributeMemoryClockRate',['../group__GlobalDefs.html#ggacc0acd7b9bda126c6bb3dfd6e2796d7ca6b68deafd65f036b30dc8051573eb000',1,'hip_runtime_api.h']]], + ['hipdeviceattributemultiprocessorcount',['hipDeviceAttributeMultiprocessorCount',['../group__GlobalDefs.html#ggacc0acd7b9bda126c6bb3dfd6e2796d7ca5c1519870733ccf0b83f722678240e5f',1,'hip_runtime_api.h']]], + ['hipdeviceattributepcibusid',['hipDeviceAttributePciBusId',['../group__GlobalDefs.html#ggacc0acd7b9bda126c6bb3dfd6e2796d7ca572b29c44f1322aa7657fdd784832f88',1,'hip_runtime_api.h']]], + ['hipdeviceattributepcideviceid',['hipDeviceAttributePciDeviceId',['../group__GlobalDefs.html#ggacc0acd7b9bda126c6bb3dfd6e2796d7ca955d90286e87be9e3528f0b817ab32ff',1,'hip_runtime_api.h']]], + ['hipdeviceattributetotalconstantmemory',['hipDeviceAttributeTotalConstantMemory',['../group__GlobalDefs.html#ggacc0acd7b9bda126c6bb3dfd6e2796d7cac6089ac3a0f9c77cc382fb0eaa73ae9c',1,'hip_runtime_api.h']]], + ['hipdeviceattributewarpsize',['hipDeviceAttributeWarpSize',['../group__GlobalDefs.html#ggacc0acd7b9bda126c6bb3dfd6e2796d7caffd94133e823247a6f1215343232f6ec',1,'hip_runtime_api.h']]], + ['hiperrorhostmemoryalreadyregistered',['hipErrorHostMemoryAlreadyRegistered',['../group__GlobalDefs.html#ggadf5010f6e140a53ecbdf949e73e87594a9d7173cea72aace620a83d502569de1b',1,'hip_runtime_api.h']]], + ['hiperrorhostmemorynotregistered',['hipErrorHostMemoryNotRegistered',['../group__GlobalDefs.html#ggadf5010f6e140a53ecbdf949e73e87594a6901476ca88eed786fb8be003d9661d9',1,'hip_runtime_api.h']]], + ['hiperrorinitializationerror',['hipErrorInitializationError',['../group__GlobalDefs.html#ggadf5010f6e140a53ecbdf949e73e87594a7e935ae88ee1f9ff3920156ac6864520',1,'hip_runtime_api.h']]], + ['hiperrorinvaliddevice',['hipErrorInvalidDevice',['../group__GlobalDefs.html#ggadf5010f6e140a53ecbdf949e73e87594a07ab9b704ea693c1781a52741c60cd0d',1,'hip_runtime_api.h']]], + ['hiperrorinvaliddevicepointer',['hipErrorInvalidDevicePointer',['../group__GlobalDefs.html#ggadf5010f6e140a53ecbdf949e73e87594a37a93fcd2b0aed9bf52b82fa26031e6f',1,'hip_runtime_api.h']]], + ['hiperrorinvalidmemcpydirection',['hipErrorInvalidMemcpyDirection',['../group__GlobalDefs.html#ggadf5010f6e140a53ecbdf949e73e87594ae35ad9fb66b7c33f21a021efe89975b0',1,'hip_runtime_api.h']]], + ['hiperrorinvalidresourcehandle',['hipErrorInvalidResourceHandle',['../group__GlobalDefs.html#ggadf5010f6e140a53ecbdf949e73e87594a88e525a7c8f35552dfada58e9f2f6d3a',1,'hip_runtime_api.h']]], + ['hiperrorinvalidvalue',['hipErrorInvalidValue',['../group__GlobalDefs.html#ggadf5010f6e140a53ecbdf949e73e87594a1e8215fe1108a508bad3944bce7b4d83',1,'hip_runtime_api.h']]], + ['hiperrorlaunchoutofresources',['hipErrorLaunchOutOfResources',['../group__GlobalDefs.html#ggadf5010f6e140a53ecbdf949e73e87594a3ea57f211997a84fa1c582414bcabc47',1,'hip_runtime_api.h']]], + ['hiperrormemoryallocation',['hipErrorMemoryAllocation',['../group__GlobalDefs.html#ggadf5010f6e140a53ecbdf949e73e87594a8293288a10109874749afe2562db09f2',1,'hip_runtime_api.h']]], + ['hiperrornodevice',['hipErrorNoDevice',['../group__GlobalDefs.html#ggadf5010f6e140a53ecbdf949e73e87594ad4406972c318df36d231310a15131c24',1,'hip_runtime_api.h']]], + ['hiperrornotready',['hipErrorNotReady',['../group__GlobalDefs.html#ggadf5010f6e140a53ecbdf949e73e87594aa9638063c8746a9d1fda2b2069a0a9f1',1,'hip_runtime_api.h']]], + ['hiperrorpeeraccessalreadyenabled',['hipErrorPeerAccessAlreadyEnabled',['../group__GlobalDefs.html#ggadf5010f6e140a53ecbdf949e73e87594a5399c146f91246f8b77abcd4ea30e7ac',1,'hip_runtime_api.h']]], + ['hiperrorpeeraccessnotenabled',['hipErrorPeerAccessNotEnabled',['../group__GlobalDefs.html#ggadf5010f6e140a53ecbdf949e73e87594a2ee0bf2e64840f253e4a1b12bbaf2d09',1,'hip_runtime_api.h']]], + ['hiperrorruntimememory',['hipErrorRuntimeMemory',['../group__GlobalDefs.html#ggadf5010f6e140a53ecbdf949e73e87594a1159eb9a6be66bea740a8bfb61378723',1,'hip_runtime_api.h']]], + ['hiperrorruntimeother',['hipErrorRuntimeOther',['../group__GlobalDefs.html#ggadf5010f6e140a53ecbdf949e73e87594a44f847c5914be2177feac107dcb096d1',1,'hip_runtime_api.h']]], + ['hiperrortbd',['hipErrorTbd',['../group__GlobalDefs.html#ggadf5010f6e140a53ecbdf949e73e87594ab556409e11ddb0c4cf77a2f4fc91ea9e',1,'hip_runtime_api.h']]], + ['hiperrorunknown',['hipErrorUnknown',['../group__GlobalDefs.html#ggadf5010f6e140a53ecbdf949e73e87594aa74e64c5b2f5fb0d6a92681f5b234073',1,'hip_runtime_api.h']]], + ['hipfiltermodepoint',['hipFilterModePoint',['../hip__texture_8h.html#aa2f0b6002b81d0a43a808cb880bb21e6a56ede038ab7c805ec4b5b61d2b678dfc',1,'hip_texture.h']]], + ['hipfunccachepreferequal',['hipFuncCachePreferEqual',['../group__GlobalDefs.html#ggac7e4bfd88340fc06642136c839a3d822a0ddab0e840107634a152033103be44d7',1,'hip_runtime_api.h']]], + ['hipfunccachepreferl1',['hipFuncCachePreferL1',['../group__GlobalDefs.html#ggac7e4bfd88340fc06642136c839a3d822a636a3c140db6b9d4a8bf7d5a61c398c5',1,'hip_runtime_api.h']]], + ['hipfunccacheprefernone',['hipFuncCachePreferNone',['../group__GlobalDefs.html#ggac7e4bfd88340fc06642136c839a3d822a0813fbaa008ce1231ff9fed3911eb3af',1,'hip_runtime_api.h']]], + ['hipfunccacheprefershared',['hipFuncCachePreferShared',['../group__GlobalDefs.html#ggac7e4bfd88340fc06642136c839a3d822a9b34337dfbadba25ed2aa270bbcabc43',1,'hip_runtime_api.h']]], + ['hipmemcpydefault',['hipMemcpyDefault',['../group__GlobalDefs.html#gga232e222db36b1fc672ba98054d036a18a4e37107e416f79a2edf2b6534163c823',1,'hip_runtime_api.h']]], + ['hipmemcpydevicetodevice',['hipMemcpyDeviceToDevice',['../group__GlobalDefs.html#gga232e222db36b1fc672ba98054d036a18abd05a09d3105e0ce25b34dd91cf83f88',1,'hip_runtime_api.h']]], + ['hipmemcpydevicetohost',['hipMemcpyDeviceToHost',['../group__GlobalDefs.html#gga232e222db36b1fc672ba98054d036a18aba2505e9ce1e5382f17730bc670917d1',1,'hip_runtime_api.h']]], + ['hipmemcpyhosttodevice',['hipMemcpyHostToDevice',['../group__GlobalDefs.html#gga232e222db36b1fc672ba98054d036a18aff32175ecb0c7113200286eff8211008',1,'hip_runtime_api.h']]], + ['hipmemcpyhosttohost',['hipMemcpyHostToHost',['../group__GlobalDefs.html#gga232e222db36b1fc672ba98054d036a18a9d66b705aa85a9c83f0f533cef70d0af',1,'hip_runtime_api.h']]], + ['hipreadmodeelementtype',['hipReadModeElementType',['../hip__texture_8h.html#a442e950774f7306dc33692e358c92c94a829645801202174d052d667ffa4e1b8d',1,'hip_texture.h']]], + ['hipsharedmembanksizedefault',['hipSharedMemBankSizeDefault',['../group__GlobalDefs.html#gga2e17b71d94ac350f2ccd914fd49d104eaf5b325c9b7bde878913f768eaba5014d',1,'hip_runtime_api.h']]], + ['hipsharedmembanksizeeightbyte',['hipSharedMemBankSizeEightByte',['../group__GlobalDefs.html#gga2e17b71d94ac350f2ccd914fd49d104ea64518b4f5a25f536c883330167e79258',1,'hip_runtime_api.h']]], + ['hipsharedmembanksizefourbyte',['hipSharedMemBankSizeFourByte',['../group__GlobalDefs.html#gga2e17b71d94ac350f2ccd914fd49d104ea0a95a6e0c33106c42d66ab9476ff954a',1,'hip_runtime_api.h']]], + ['hipsuccess',['hipSuccess',['../group__GlobalDefs.html#ggadf5010f6e140a53ecbdf949e73e87594aadfbdb847b149723c684ebd764556063',1,'hip_runtime_api.h']]] +]; diff --git a/docs/RuntimeAPI/html/search/files_0.html b/docs/RuntimeAPI/html/search/files_0.html new file mode 100644 index 0000000000..c7aa36c96f --- /dev/null +++ b/docs/RuntimeAPI/html/search/files_0.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/docs/RuntimeAPI/html/search/files_0.js b/docs/RuntimeAPI/html/search/files_0.js new file mode 100644 index 0000000000..c60cd7e29f --- /dev/null +++ b/docs/RuntimeAPI/html/search/files_0.js @@ -0,0 +1,9 @@ +var searchData= +[ + ['hip_5fhcc_2ecpp',['hip_hcc.cpp',['../hip__hcc_8cpp.html',1,'']]], + ['hip_5fruntime_2eh',['hip_runtime.h',['../hcc__detail_2hip__runtime_8h.html',1,'']]], + ['hip_5fruntime_5fapi_2eh',['hip_runtime_api.h',['../hcc__detail_2hip__runtime__api_8h.html',1,'']]], + ['hip_5ftexture_2eh',['hip_texture.h',['../hip__texture_8h.html',1,'']]], + ['hip_5fvector_5ftypes_2eh',['hip_vector_types.h',['../hcc__detail_2hip__vector__types_8h.html',1,'']]], + ['host_5fdefines_2eh',['host_defines.h',['../host__defines_8h.html',1,'']]] +]; diff --git a/docs/RuntimeAPI/html/search/functions_0.html b/docs/RuntimeAPI/html/search/functions_0.html new file mode 100644 index 0000000000..16a5a527a8 --- /dev/null +++ b/docs/RuntimeAPI/html/search/functions_0.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/docs/RuntimeAPI/html/search/functions_0.js b/docs/RuntimeAPI/html/search/functions_0.js new file mode 100644 index 0000000000..5299b02a40 --- /dev/null +++ b/docs/RuntimeAPI/html/search/functions_0.js @@ -0,0 +1,56 @@ +var searchData= +[ + ['hipdevicecanaccesspeer',['hipDeviceCanAccessPeer',['../group__PeerToPeer.html#ga0a1c9ccd775758d9d7d5b5a1f525b719',1,'hipDeviceCanAccessPeer(int *canAccessPeer, int deviceId, int peerDeviceId): hip_peer.cpp'],['../group__PeerToPeer.html#ga0a1c9ccd775758d9d7d5b5a1f525b719',1,'hipDeviceCanAccessPeer(int *canAccessPeer, int deviceId, int peerDeviceId): hip_peer.cpp']]], + ['hipdevicedisablepeeraccess',['hipDeviceDisablePeerAccess',['../group__PeerToPeer.html#ga85030c72824fb60aaddc7374ab60481b',1,'hipDeviceDisablePeerAccess(int peerDeviceId): hip_peer.cpp'],['../group__PeerToPeer.html#ga85030c72824fb60aaddc7374ab60481b',1,'hipDeviceDisablePeerAccess(int peerDeviceId): hip_peer.cpp']]], + ['hipdeviceenablepeeraccess',['hipDeviceEnablePeerAccess',['../group__PeerToPeer.html#ga0caca59034134d7a7bb893cc1caa653e',1,'hipDeviceEnablePeerAccess(int peerDeviceId, unsigned int flags): hip_peer.cpp'],['../group__PeerToPeer.html#ga0caca59034134d7a7bb893cc1caa653e',1,'hipDeviceEnablePeerAccess(int peerDeviceId, unsigned int flags): hip_peer.cpp']]], + ['hipdevicegetattribute',['hipDeviceGetAttribute',['../group__Device.html#gac49518ff2b26b98ea2ec9e9268761a24',1,'hipDeviceGetAttribute(int *pi, hipDeviceAttribute_t attr, int device): hip_device.cpp'],['../group__Device.html#gac49518ff2b26b98ea2ec9e9268761a24',1,'hipDeviceGetAttribute(int *pi, hipDeviceAttribute_t attr, int device): hip_device.cpp']]], + ['hipdevicegetcacheconfig',['hipDeviceGetCacheConfig',['../group__Device.html#gaeeffa2456c5430400bea75ecd6ad1e68',1,'hipDeviceGetCacheConfig(hipFuncCache *cacheConfig): hip_device.cpp'],['../group__Device.html#gaeeffa2456c5430400bea75ecd6ad1e68',1,'hipDeviceGetCacheConfig(hipFuncCache *cacheConfig): hip_device.cpp']]], + ['hipdevicegetsharedmemconfig',['hipDeviceGetSharedMemConfig',['../group__Device.html#ga1bb08f774a34a468d969a8a04791c9bb',1,'hipDeviceGetSharedMemConfig(hipSharedMemConfig *pConfig): hip_device.cpp'],['../group__Device.html#ga1bb08f774a34a468d969a8a04791c9bb',1,'hipDeviceGetSharedMemConfig(hipSharedMemConfig *pConfig): hip_device.cpp']]], + ['hipdevicereset',['hipDeviceReset',['../group__Device.html#ga8d57161ae56a8edc46eeda447417bf6c',1,'hipDeviceReset(void): hip_device.cpp'],['../group__Device.html#ga8d57161ae56a8edc46eeda447417bf6c',1,'hipDeviceReset(void): hip_device.cpp']]], + ['hipdevicesetcacheconfig',['hipDeviceSetCacheConfig',['../group__Device.html#gac2b282179f29c4c0ca7b5391242c6a4c',1,'hipDeviceSetCacheConfig(hipFuncCache cacheConfig): hip_device.cpp'],['../group__Device.html#gac2b282179f29c4c0ca7b5391242c6a4c',1,'hipDeviceSetCacheConfig(hipFuncCache cacheConfig): hip_device.cpp']]], + ['hipdevicesetsharedmemconfig',['hipDeviceSetSharedMemConfig',['../group__Device.html#ga9b1f279084e76691cedfbfadf9c717ee',1,'hipDeviceSetSharedMemConfig(hipSharedMemConfig config): hip_device.cpp'],['../group__Device.html#ga9b1f279084e76691cedfbfadf9c717ee',1,'hipDeviceSetSharedMemConfig(hipSharedMemConfig config): hip_device.cpp']]], + ['hipdevicesynchronize',['hipDeviceSynchronize',['../group__Device.html#gaefdc2847fb1d6c3fb1354e827a191ebd',1,'hipDeviceSynchronize(void): hip_device.cpp'],['../group__Device.html#gaefdc2847fb1d6c3fb1354e827a191ebd',1,'hipDeviceSynchronize(void): hip_device.cpp']]], + ['hipdrivergetversion',['hipDriverGetVersion',['../group__Version.html#gaf6c342f52d2a29a0aca5cdd89b4dd47c',1,'hipDriverGetVersion(int *driverVersion): hip_peer.cpp'],['../group__Version.html#gaf6c342f52d2a29a0aca5cdd89b4dd47c',1,'hipDriverGetVersion(int *driverVersion): hip_peer.cpp']]], + ['hipeventcreate',['hipEventCreate',['../group__Event.html#ga5df2309c9f29ca4c8e669db658d411b4',1,'hipEventCreate(hipEvent_t *event): hip_event.cpp'],['../group__Event.html#ga5df2309c9f29ca4c8e669db658d411b4',1,'hipEventCreate(hipEvent_t *event): hip_event.cpp']]], + ['hipeventcreatewithflags',['hipEventCreateWithFlags',['../group__Event.html#gae86a5acb1b22b61bc9ecb9c28fc71b75',1,'hipEventCreateWithFlags(hipEvent_t *event, unsigned flags): hip_event.cpp'],['../group__Event.html#gae86a5acb1b22b61bc9ecb9c28fc71b75',1,'hipEventCreateWithFlags(hipEvent_t *event, unsigned flags): hip_event.cpp']]], + ['hipeventdestroy',['hipEventDestroy',['../group__Event.html#ga83260357dce0c39e8c6a3c74ec97484c',1,'hipEventDestroy(hipEvent_t event): hip_event.cpp'],['../group__Event.html#ga83260357dce0c39e8c6a3c74ec97484c',1,'hipEventDestroy(hipEvent_t event): hip_event.cpp']]], + ['hipeventelapsedtime',['hipEventElapsedTime',['../group__Event.html#gad4128b815cb475c8e13c7e66ff6250b7',1,'hipEventElapsedTime(float *ms, hipEvent_t start, hipEvent_t stop): hip_event.cpp'],['../group__Event.html#gad4128b815cb475c8e13c7e66ff6250b7',1,'hipEventElapsedTime(float *ms, hipEvent_t start, hipEvent_t stop): hip_event.cpp']]], + ['hipeventquery',['hipEventQuery',['../group__Event.html#ga5d12d7b798b5ceb5932d1ac21f5ac776',1,'hipEventQuery(hipEvent_t event): hip_event.cpp'],['../group__Event.html#ga5d12d7b798b5ceb5932d1ac21f5ac776',1,'hipEventQuery(hipEvent_t event): hip_event.cpp']]], + ['hipeventrecord',['hipEventRecord',['../group__Event.html#ga553b6f7a8e7b7dd9536d8a64c24d7e29',1,'hipEventRecord(hipEvent_t event, hipStream_t stream): hip_event.cpp'],['../group__Event.html#ga553b6f7a8e7b7dd9536d8a64c24d7e29',1,'hipEventRecord(hipEvent_t event, hipStream_t stream): hip_event.cpp']]], + ['hipeventsynchronize',['hipEventSynchronize',['../group__Event.html#ga1f72d98ba5d6f7dc3da54e0c41fe38b1',1,'hipEventSynchronize(hipEvent_t event): hip_event.cpp'],['../group__Event.html#ga1f72d98ba5d6f7dc3da54e0c41fe38b1',1,'hipEventSynchronize(hipEvent_t event): hip_event.cpp']]], + ['hipfree',['hipFree',['../group__Memory.html#ga740d08da65cae1441ba32f8fedb863d1',1,'hipFree(void *ptr): hip_memory.cpp'],['../group__Memory.html#ga740d08da65cae1441ba32f8fedb863d1',1,'hipFree(void *ptr): hip_memory.cpp']]], + ['hipfreehost',['hipFreeHost',['../group__Memory.html#gad2164cc3d49da53052f4b83b789e90c9',1,'hipFreeHost(void *ptr) __attribute__((deprecated("use hipHostFree instead"))): hip_memory.cpp'],['../group__Memory.html#gad2164cc3d49da53052f4b83b789e90c9',1,'hipFreeHost(void *ptr): hip_memory.cpp']]], + ['hipfuncsetcacheconfig',['hipFuncSetCacheConfig',['../group__Device.html#gadd94a910c2b840833cc325b1e5425702',1,'hipFuncSetCacheConfig(hipFuncCache config): hip_device.cpp'],['../group__Device.html#gadd94a910c2b840833cc325b1e5425702',1,'hipFuncSetCacheConfig(hipFuncCache cacheConfig): hip_device.cpp']]], + ['hipgetdevice',['hipGetDevice',['../group__Device.html#gaffc83567f2df3bbe2d37a19872d60f24',1,'hipGetDevice(int *device): hip_device.cpp'],['../group__Device.html#gaffc83567f2df3bbe2d37a19872d60f24',1,'hipGetDevice(int *device): hip_device.cpp']]], + ['hipgetdevicecount',['hipGetDeviceCount',['../group__Device.html#ga8555d5c76d88c50ddbf54ae70b568394',1,'hipGetDeviceCount(int *count): hip_device.cpp'],['../group__Device.html#ga8555d5c76d88c50ddbf54ae70b568394',1,'hipGetDeviceCount(int *count): hip_device.cpp']]], + ['hipgetdeviceproperties',['hipGetDeviceProperties',['../group__Device.html#ga77c20744e2a88c31440992d6c7754b5f',1,'hipGetDeviceProperties(hipDeviceProp_t *prop, int device): hip_device.cpp'],['../group__Device.html#ga77c20744e2a88c31440992d6c7754b5f',1,'hipGetDeviceProperties(hipDeviceProp_t *props, int device): hip_device.cpp']]], + ['hipgeterrorname',['hipGetErrorName',['../group__Error.html#ga88c474d77635523dbf6ca67be7b56999',1,'hipGetErrorName(hipError_t hip_error): hip_error.cpp'],['../group__Error.html#ga88c474d77635523dbf6ca67be7b56999',1,'hipGetErrorName(hipError_t hip_error): hip_error.cpp']]], + ['hipgeterrorstring',['hipGetErrorString',['../group__Error.html#ga5959779a654bbc98ffe6d36ab536740a',1,'hipGetErrorString(hipError_t hip_error): hip_error.cpp'],['../group__Error.html#ga5959779a654bbc98ffe6d36ab536740a',1,'hipGetErrorString(hipError_t hip_error): hip_error.cpp']]], + ['hipgetlasterror',['hipGetLastError',['../group__Error.html#ga533daeb9114d7fc2db8d867adf9e419b',1,'hipGetLastError(void): hip_error.cpp'],['../group__Error.html#ga533daeb9114d7fc2db8d867adf9e419b',1,'hipGetLastError(): hip_error.cpp']]], + ['hiphccgetaccelerator',['hipHccGetAccelerator',['../hip__hcc_8cpp.html#a0d24b3157fd1b16d38672bb157ec4cd4',1,'hip_hcc.cpp']]], + ['hiphccgetacceleratorview',['hipHccGetAcceleratorView',['../hip__hcc_8cpp.html#a1a7087ea9c3c3323270d7cce73650b44',1,'hip_hcc.cpp']]], + ['hiphostfree',['hipHostFree',['../group__Memory.html#ga2e543f58ee4544e317cd695d6d82e0a3',1,'hipHostFree(void *ptr): hip_memory.cpp'],['../group__Memory.html#ga2e543f58ee4544e317cd695d6d82e0a3',1,'hipHostFree(void *ptr): hip_memory.cpp']]], + ['hiphostgetdevicepointer',['hipHostGetDevicePointer',['../group__Memory.html#ga8fa7a0478020b835a24785cd6bb89725',1,'hip_runtime_api.h']]], + ['hiphostgetflags',['hipHostGetFlags',['../group__Memory.html#ga4d26915873b3e3534ceb4dc310f8709a',1,'hipHostGetFlags(unsigned int *flagsPtr, void *hostPtr): hip_memory.cpp'],['../group__Memory.html#ga4d26915873b3e3534ceb4dc310f8709a',1,'hipHostGetFlags(unsigned int *flagsPtr, void *hostPtr): hip_memory.cpp']]], + ['hiphostmalloc',['hipHostMalloc',['../group__Memory.html#gaad40bc7d97ccc799403ef5a9a8c246e1',1,'hipHostMalloc(void **ptr, size_t size, unsigned int flags): hip_memory.cpp'],['../group__Memory.html#gaad40bc7d97ccc799403ef5a9a8c246e1',1,'hipHostMalloc(void **ptr, size_t sizeBytes, unsigned int flags): hip_memory.cpp']]], + ['hiphostregister',['hipHostRegister',['../group__Memory.html#gab8258f051e1a1f7385f794a15300e674',1,'hipHostRegister(void *hostPtr, size_t sizeBytes, unsigned int flags): hip_memory.cpp'],['../group__Memory.html#gab8258f051e1a1f7385f794a15300e674',1,'hipHostRegister(void *hostPtr, size_t sizeBytes, unsigned int flags): hip_memory.cpp']]], + ['hiphostunregister',['hipHostUnregister',['../group__Memory.html#ga4c9e1810b9f5858d36c4d28c91c86924',1,'hipHostUnregister(void *hostPtr): hip_memory.cpp'],['../group__Memory.html#ga4c9e1810b9f5858d36c4d28c91c86924',1,'hipHostUnregister(void *hostPtr): hip_memory.cpp']]], + ['hipmalloc',['hipMalloc',['../group__Memory.html#ga4c6fcfe80010069d2792780d00dcead2',1,'hipMalloc(void **ptr, size_t size): hip_memory.cpp'],['../group__Memory.html#ga4c6fcfe80010069d2792780d00dcead2',1,'hipMalloc(void **ptr, size_t sizeBytes): hip_memory.cpp']]], + ['hipmallochost',['hipMallocHost',['../group__Memory.html#gad3d3cdf82eb0058fc9eac1f939cd9d30',1,'hipMallocHost(void **ptr, size_t size) __attribute__((deprecated("use hipHostMalloc instead"))): hip_memory.cpp'],['../group__Memory.html#gad3d3cdf82eb0058fc9eac1f939cd9d30',1,'hipMallocHost(void **ptr, size_t sizeBytes): hip_memory.cpp']]], + ['hipmemcpy',['hipMemcpy',['../group__Memory.html#gac1a055d288302edd641c6d7416858e1e',1,'hipMemcpy(void *dst, const void *src, size_t sizeBytes, hipMemcpyKind kind): hip_memory.cpp'],['../group__Memory.html#gac1a055d288302edd641c6d7416858e1e',1,'hipMemcpy(void *dst, const void *src, size_t sizeBytes, hipMemcpyKind kind): hip_memory.cpp']]], + ['hipmemcpyasync',['hipMemcpyAsync',['../group__Memory.html#gad55fa9f5980b711bc93c52820149ba18',1,'hipMemcpyAsync(void *dst, const void *src, size_t sizeBytes, hipMemcpyKind kind, hipStream_t stream): hip_memory.cpp'],['../group__Memory.html#gad55fa9f5980b711bc93c52820149ba18',1,'hipMemcpyAsync(void *dst, const void *src, size_t sizeBytes, hipMemcpyKind kind, hipStream_t stream): hip_memory.cpp']]], + ['hipmemcpytosymbol',['hipMemcpyToSymbol',['../group__Memory.html#ga131ac5c1ba04e186112491cb9bf964bc',1,'hipMemcpyToSymbol(const char *symbolName, const void *src, size_t sizeBytes, size_t offset, hipMemcpyKind kind): hip_memory.cpp'],['../group__Memory.html#ga131ac5c1ba04e186112491cb9bf964bc',1,'hipMemcpyToSymbol(const char *symbolName, const void *src, size_t count, size_t offset, hipMemcpyKind kind): hip_memory.cpp']]], + ['hipmemgetinfo',['hipMemGetInfo',['../group__Memory.html#ga311c3e246a21590de14478b8bd063be2',1,'hipMemGetInfo(size_t *free, size_t *total): hip_memory.cpp'],['../group__Memory.html#ga311c3e246a21590de14478b8bd063be2',1,'hipMemGetInfo(size_t *free, size_t *total): hip_memory.cpp']]], + ['hipmemset',['hipMemset',['../group__Memory.html#gac7441e74affcce4b8b69dba996c5ebc4',1,'hipMemset(void *dst, int value, size_t sizeBytes): hip_memory.cpp'],['../group__Memory.html#gac7441e74affcce4b8b69dba996c5ebc4',1,'hipMemset(void *dst, int value, size_t sizeBytes): hip_memory.cpp']]], + ['hipmemsetasync',['hipMemsetAsync',['../group__Memory.html#gae7d90e14c387e49f10db597f12915c54',1,'hipMemsetAsync(void *dst, int value, size_t sizeBytes, hipStream_t stream): hip_memory.cpp'],['../group__Memory.html#gae7d90e14c387e49f10db597f12915c54',1,'hipMemsetAsync(void *dst, int value, size_t sizeBytes, hipStream_t stream): hip_memory.cpp']]], + ['hippeekatlasterror',['hipPeekAtLastError',['../group__Error.html#ga1dd660bc739f7e13edd34615660f0148',1,'hip_runtime_api.h']]], + ['hippointergetattributes',['hipPointerGetAttributes',['../group__Memory.html#ga3d68ba64959615d4ab84f10caa12433b',1,'hipPointerGetAttributes(hipPointerAttribute_t *attributes, void *ptr): hip_memory.cpp'],['../group__Memory.html#ga3d68ba64959615d4ab84f10caa12433b',1,'hipPointerGetAttributes(hipPointerAttribute_t *attributes, void *ptr): hip_memory.cpp']]], + ['hipsetdevice',['hipSetDevice',['../group__Device.html#ga8ec0b093af0adadc7fe98bf33fa21620',1,'hipSetDevice(int device): hip_device.cpp'],['../group__Device.html#ga8ec0b093af0adadc7fe98bf33fa21620',1,'hipSetDevice(int device): hip_device.cpp']]], + ['hipsetdeviceflags',['hipSetDeviceFlags',['../group__Device.html#ga6e54db382768827e84725632018307aa',1,'hip_runtime_api.h']]], + ['hipstreamcreate',['hipStreamCreate',['../group__Stream.html#gaff5b62d6e9502d80879f7176f4d03102',1,'hipStreamCreate(hipStream_t *stream): hip_stream.cpp'],['../group__Stream.html#gaff5b62d6e9502d80879f7176f4d03102',1,'hipStreamCreate(hipStream_t *stream): hip_stream.cpp']]], + ['hipstreamcreatewithflags',['hipStreamCreateWithFlags',['../group__Stream.html#gaf2382e3cc6632332a8983a0f58e43494',1,'hipStreamCreateWithFlags(hipStream_t *stream, unsigned int flags): hip_stream.cpp'],['../group__Stream.html#gaf2382e3cc6632332a8983a0f58e43494',1,'hipStreamCreateWithFlags(hipStream_t *stream, unsigned int flags): hip_stream.cpp']]], + ['hipstreamdestroy',['hipStreamDestroy',['../group__Stream.html#ga3076a3499ed2c7821311006100bb95ec',1,'hipStreamDestroy(hipStream_t stream): hip_stream.cpp'],['../group__Stream.html#ga3076a3499ed2c7821311006100bb95ec',1,'hipStreamDestroy(hipStream_t stream): hip_stream.cpp']]], + ['hipstreamgetflags',['hipStreamGetFlags',['../group__Stream.html#ga3249555a26439591b8873f70b39bb116',1,'hipStreamGetFlags(hipStream_t stream, unsigned int *flags): hip_stream.cpp'],['../group__Stream.html#ga3249555a26439591b8873f70b39bb116',1,'hipStreamGetFlags(hipStream_t stream, unsigned int *flags): hip_stream.cpp']]], + ['hipstreamsynchronize',['hipStreamSynchronize',['../group__Stream.html#gabbfb9f573a6ebe8c478605ecb5504a74',1,'hipStreamSynchronize(hipStream_t stream): hip_stream.cpp'],['../group__Stream.html#gabbfb9f573a6ebe8c478605ecb5504a74',1,'hipStreamSynchronize(hipStream_t stream): hip_stream.cpp']]], + ['hipstreamwaitevent',['hipStreamWaitEvent',['../group__Stream.html#gacdd84c8f8ef1539c96c57c1d5bcae633',1,'hipStreamWaitEvent(hipStream_t stream, hipEvent_t event, unsigned int flags): hip_stream.cpp'],['../group__Stream.html#gacdd84c8f8ef1539c96c57c1d5bcae633',1,'hipStreamWaitEvent(hipStream_t stream, hipEvent_t event, unsigned int flags): hip_stream.cpp']]] +]; diff --git a/docs/RuntimeAPI/html/search/groups_0.html b/docs/RuntimeAPI/html/search/groups_0.html new file mode 100644 index 0000000000..2090afa206 --- /dev/null +++ b/docs/RuntimeAPI/html/search/groups_0.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/docs/RuntimeAPI/html/search/groups_0.js b/docs/RuntimeAPI/html/search/groups_0.js new file mode 100644 index 0000000000..41450aa73c --- /dev/null +++ b/docs/RuntimeAPI/html/search/groups_0.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['control',['Control',['../group__Profiler.html',1,'']]] +]; diff --git a/docs/RuntimeAPI/html/search/groups_1.html b/docs/RuntimeAPI/html/search/groups_1.html new file mode 100644 index 0000000000..3ad8a3ba5e --- /dev/null +++ b/docs/RuntimeAPI/html/search/groups_1.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/docs/RuntimeAPI/html/search/groups_1.js b/docs/RuntimeAPI/html/search/groups_1.js new file mode 100644 index 0000000000..9f4a599ed0 --- /dev/null +++ b/docs/RuntimeAPI/html/search/groups_1.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['device_20management',['Device Management',['../group__Device.html',1,'']]], + ['device_20memory_20access',['Device Memory Access',['../group__PeerToPeer.html',1,'']]] +]; diff --git a/docs/RuntimeAPI/html/search/groups_2.html b/docs/RuntimeAPI/html/search/groups_2.html new file mode 100644 index 0000000000..361832c940 --- /dev/null +++ b/docs/RuntimeAPI/html/search/groups_2.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/docs/RuntimeAPI/html/search/groups_2.js b/docs/RuntimeAPI/html/search/groups_2.js new file mode 100644 index 0000000000..c9fd17e83e --- /dev/null +++ b/docs/RuntimeAPI/html/search/groups_2.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['error_20handling',['Error Handling',['../group__Error.html',1,'']]], + ['event_20management',['Event Management',['../group__Event.html',1,'']]] +]; diff --git a/docs/RuntimeAPI/html/search/groups_3.html b/docs/RuntimeAPI/html/search/groups_3.html new file mode 100644 index 0000000000..f42200a1c1 --- /dev/null +++ b/docs/RuntimeAPI/html/search/groups_3.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/docs/RuntimeAPI/html/search/groups_3.js b/docs/RuntimeAPI/html/search/groups_3.js new file mode 100644 index 0000000000..529e9394c3 --- /dev/null +++ b/docs/RuntimeAPI/html/search/groups_3.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['global_20enum_20and_20defines',['Global enum and defines',['../group__GlobalDefs.html',1,'']]] +]; diff --git a/docs/RuntimeAPI/html/search/groups_4.html b/docs/RuntimeAPI/html/search/groups_4.html new file mode 100644 index 0000000000..b07fdf95ae --- /dev/null +++ b/docs/RuntimeAPI/html/search/groups_4.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/docs/RuntimeAPI/html/search/groups_4.js b/docs/RuntimeAPI/html/search/groups_4.js new file mode 100644 index 0000000000..178e3f55de --- /dev/null +++ b/docs/RuntimeAPI/html/search/groups_4.js @@ -0,0 +1,6 @@ +var searchData= +[ + ['hip_20api',['HIP API',['../group__API.html',1,'']]], + ['hcc_2dspecific_20accessors',['HCC-Specific Accessors',['../group__HCC__Specific.html',1,'']]], + ['hip_20environment_20variables',['HIP Environment Variables',['../group__HIP-ENV.html',1,'']]] +]; diff --git a/docs/RuntimeAPI/html/search/groups_5.html b/docs/RuntimeAPI/html/search/groups_5.html new file mode 100644 index 0000000000..35324c03fa --- /dev/null +++ b/docs/RuntimeAPI/html/search/groups_5.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/docs/RuntimeAPI/html/search/groups_5.js b/docs/RuntimeAPI/html/search/groups_5.js new file mode 100644 index 0000000000..afbc383574 --- /dev/null +++ b/docs/RuntimeAPI/html/search/groups_5.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['memory_20management',['Memory Management',['../group__Memory.html',1,'']]], + ['management',['Management',['../group__Version.html',1,'']]] +]; diff --git a/docs/RuntimeAPI/html/search/groups_6.html b/docs/RuntimeAPI/html/search/groups_6.html new file mode 100644 index 0000000000..323140233c --- /dev/null +++ b/docs/RuntimeAPI/html/search/groups_6.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/docs/RuntimeAPI/html/search/groups_6.js b/docs/RuntimeAPI/html/search/groups_6.js new file mode 100644 index 0000000000..7cc1c54c23 --- /dev/null +++ b/docs/RuntimeAPI/html/search/groups_6.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['stream_20management',['Stream Management',['../group__Stream.html',1,'']]] +]; diff --git a/docs/RuntimeAPI/html/search/groups_7.html b/docs/RuntimeAPI/html/search/groups_7.html new file mode 100644 index 0000000000..27334b6a7d --- /dev/null +++ b/docs/RuntimeAPI/html/search/groups_7.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/docs/RuntimeAPI/html/search/groups_7.js b/docs/RuntimeAPI/html/search/groups_7.js new file mode 100644 index 0000000000..dec0aef6b9 --- /dev/null +++ b/docs/RuntimeAPI/html/search/groups_7.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['texture_20reference_20management',['Texture Reference Management',['../group__Texture.html',1,'']]] +]; diff --git a/docs/RuntimeAPI/html/search/mag_sel.png b/docs/RuntimeAPI/html/search/mag_sel.png new file mode 100644 index 0000000000000000000000000000000000000000..81f6040a2092402b4d98f9ffa8855d12a0d4ca17 GIT binary patch literal 563 zcmV-30?hr1P)zxx&tqG15pu7)IiiXFflOc2k;dXd>%13GZAy? zRz!q0=|E6a6vV)&ZBS~G9oe0kbqyw1*gvY`{Pop2oKq#FlzgXt@Xh-7fxh>}`Fxg> z$%N%{$!4=5nM{(;=c!aG1Ofr^Do{u%Ih{^&Fc@H2)+a-?TBXrw5DW&z%Nb6mQ!L9O zl}b@6mB?f=tX3;#vl)}ggh(Vpyh(IK z(Mb0D{l{U$FsRjP;!{($+bsaaVi8T#1c0V#qEIOCYa9@UVLV`f__E81L;?WEaRA;Y zUH;rZ;vb;mk7JX|$=i3O~&If0O@oZfLg8gfIjW=dcBsz;gI=!{-r4# z4%6v$&~;q^j7Fo67yJ(NJWuX+I~I!tj^nW3?}^9bq|<3^+vapS5sgM^x7!cs(+mMT z&y%j};&~po+YO)3hoUH4E*E;e9>?R6SS&`X)p`njycAVcg{rEb41T{~Hk(bl-7eSb zmFxA2uIqo#@R?lKm50ND`~6Nfn|-b1|L6O98vt3Tx@gKz#isxO002ovPDHLkV1kyW B_l^Jn literal 0 HcmV?d00001 diff --git a/docs/RuntimeAPI/html/search/nomatches.html b/docs/RuntimeAPI/html/search/nomatches.html new file mode 100644 index 0000000000..b1ded27e9a --- /dev/null +++ b/docs/RuntimeAPI/html/search/nomatches.html @@ -0,0 +1,12 @@ + + + + + + + +
+
No Matches
+
+ + diff --git a/docs/RuntimeAPI/html/search/pages_0.html b/docs/RuntimeAPI/html/search/pages_0.html new file mode 100644 index 0000000000..c51c834506 --- /dev/null +++ b/docs/RuntimeAPI/html/search/pages_0.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/docs/RuntimeAPI/html/search/pages_0.js b/docs/RuntimeAPI/html/search/pages_0.js new file mode 100644 index 0000000000..8d42650d49 --- /dev/null +++ b/docs/RuntimeAPI/html/search/pages_0.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['bug_20list',['Bug List',['../bug.html',1,'']]] +]; diff --git a/docs/RuntimeAPI/html/search/pages_1.html b/docs/RuntimeAPI/html/search/pages_1.html new file mode 100644 index 0000000000..2a98fce174 --- /dev/null +++ b/docs/RuntimeAPI/html/search/pages_1.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/docs/RuntimeAPI/html/search/pages_1.js b/docs/RuntimeAPI/html/search/pages_1.js new file mode 100644 index 0000000000..09f9fa0389 --- /dev/null +++ b/docs/RuntimeAPI/html/search/pages_1.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['heterogeneous_2dcomputing_20interface_20for_20portability_20_28hip_29',['Heterogeneous-computing Interface for Portability (HIP)',['../index.html',1,'']]] +]; diff --git a/docs/RuntimeAPI/html/search/search.css b/docs/RuntimeAPI/html/search/search.css new file mode 100644 index 0000000000..4d7612ff63 --- /dev/null +++ b/docs/RuntimeAPI/html/search/search.css @@ -0,0 +1,271 @@ +/*---------------- Search Box */ + +#FSearchBox { + float: left; +} + +#MSearchBox { + white-space : nowrap; + position: absolute; + float: none; + display: inline; + margin-top: 8px; + right: 0px; + width: 170px; + z-index: 102; + background-color: white; +} + +#MSearchBox .left +{ + display:block; + position:absolute; + left:10px; + width:20px; + height:19px; + background:url('search_l.png') no-repeat; + background-position:right; +} + +#MSearchSelect { + display:block; + position:absolute; + width:20px; + height:19px; +} + +.left #MSearchSelect { + left:4px; +} + +.right #MSearchSelect { + right:5px; +} + +#MSearchField { + display:block; + position:absolute; + height:19px; + background:url('search_m.png') repeat-x; + border:none; + width:111px; + margin-left:20px; + padding-left:4px; + color: #909090; + outline: none; + font: 9pt Arial, Verdana, sans-serif; +} + +#FSearchBox #MSearchField { + margin-left:15px; +} + +#MSearchBox .right { + display:block; + position:absolute; + right:10px; + top:0px; + width:20px; + height:19px; + background:url('search_r.png') no-repeat; + background-position:left; +} + +#MSearchClose { + display: none; + position: absolute; + top: 4px; + background : none; + border: none; + margin: 0px 4px 0px 0px; + padding: 0px 0px; + outline: none; +} + +.left #MSearchClose { + left: 6px; +} + +.right #MSearchClose { + right: 2px; +} + +.MSearchBoxActive #MSearchField { + color: #000000; +} + +/*---------------- Search filter selection */ + +#MSearchSelectWindow { + display: none; + position: absolute; + left: 0; top: 0; + border: 1px solid #90A5CE; + background-color: #F9FAFC; + z-index: 1; + padding-top: 4px; + padding-bottom: 4px; + -moz-border-radius: 4px; + -webkit-border-top-left-radius: 4px; + -webkit-border-top-right-radius: 4px; + -webkit-border-bottom-left-radius: 4px; + -webkit-border-bottom-right-radius: 4px; + -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); +} + +.SelectItem { + font: 8pt Arial, Verdana, sans-serif; + padding-left: 2px; + padding-right: 12px; + border: 0px; +} + +span.SelectionMark { + margin-right: 4px; + font-family: monospace; + outline-style: none; + text-decoration: none; +} + +a.SelectItem { + display: block; + outline-style: none; + color: #000000; + text-decoration: none; + padding-left: 6px; + padding-right: 12px; +} + +a.SelectItem:focus, +a.SelectItem:active { + color: #000000; + outline-style: none; + text-decoration: none; +} + +a.SelectItem:hover { + color: #FFFFFF; + background-color: #3D578C; + outline-style: none; + text-decoration: none; + cursor: pointer; + display: block; +} + +/*---------------- Search results window */ + +iframe#MSearchResults { + width: 60ex; + height: 15em; +} + +#MSearchResultsWindow { + display: none; + position: absolute; + left: 0; top: 0; + border: 1px solid #000; + background-color: #EEF1F7; +} + +/* ----------------------------------- */ + + +#SRIndex { + clear:both; + padding-bottom: 15px; +} + +.SREntry { + font-size: 10pt; + padding-left: 1ex; +} + +.SRPage .SREntry { + font-size: 8pt; + padding: 1px 5px; +} + +body.SRPage { + margin: 5px 2px; +} + +.SRChildren { + padding-left: 3ex; padding-bottom: .5em +} + +.SRPage .SRChildren { + display: none; +} + +.SRSymbol { + font-weight: bold; + color: #425E97; + font-family: Arial, Verdana, sans-serif; + text-decoration: none; + outline: none; +} + +a.SRScope { + display: block; + color: #425E97; + font-family: Arial, Verdana, sans-serif; + text-decoration: none; + outline: none; +} + +a.SRSymbol:focus, a.SRSymbol:active, +a.SRScope:focus, a.SRScope:active { + text-decoration: underline; +} + +span.SRScope { + padding-left: 4px; +} + +.SRPage .SRStatus { + padding: 2px 5px; + font-size: 8pt; + font-style: italic; +} + +.SRResult { + display: none; +} + +DIV.searchresults { + margin-left: 10px; + margin-right: 10px; +} + +/*---------------- External search page results */ + +.searchresult { + background-color: #F0F3F8; +} + +.pages b { + color: white; + padding: 5px 5px 3px 5px; + background-image: url("../tab_a.png"); + background-repeat: repeat-x; + text-shadow: 0 1px 1px #000000; +} + +.pages { + line-height: 17px; + margin-left: 4px; + text-decoration: none; +} + +.hl { + font-weight: bold; +} + +#searchresults { + margin-bottom: 20px; +} + +.searchpages { + margin-top: 10px; +} + diff --git a/docs/RuntimeAPI/html/search/search.js b/docs/RuntimeAPI/html/search/search.js new file mode 100644 index 0000000000..4b4647b86f --- /dev/null +++ b/docs/RuntimeAPI/html/search/search.js @@ -0,0 +1,813 @@ +// Search script generated by doxygen +// Copyright (C) 2009 by Dimitri van Heesch. + +// The code in this file is loosly based on main.js, part of Natural Docs, +// which is Copyright (C) 2003-2008 Greg Valure +// Natural Docs is licensed under the GPL. + +var indexSectionsWithContent = +{ + 0: "_abcdefghilmnprstwxyz", + 1: "dfhilst", + 2: "h", + 3: "h", + 4: "achilmnprstwxyz", + 5: "dh", + 6: "h", + 7: "h", + 8: "_h", + 9: "cdeghmst", + 10: "bh" +}; + +var indexSectionNames = +{ + 0: "all", + 1: "classes", + 2: "files", + 3: "functions", + 4: "variables", + 5: "typedefs", + 6: "enums", + 7: "enumvalues", + 8: "defines", + 9: "groups", + 10: "pages" +}; + +function convertToId(search) +{ + var result = ''; + for (i=0;i do a search + { + this.Search(); + } + } + + this.OnSearchSelectKey = function(evt) + { + var e = (evt) ? evt : window.event; // for IE + if (e.keyCode==40 && this.searchIndex0) // Up + { + this.searchIndex--; + this.OnSelectItem(this.searchIndex); + } + else if (e.keyCode==13 || e.keyCode==27) + { + this.OnSelectItem(this.searchIndex); + this.CloseSelectionWindow(); + this.DOMSearchField().focus(); + } + return false; + } + + // --------- Actions + + // Closes the results window. + this.CloseResultsWindow = function() + { + this.DOMPopupSearchResultsWindow().style.display = 'none'; + this.DOMSearchClose().style.display = 'none'; + this.Activate(false); + } + + this.CloseSelectionWindow = function() + { + this.DOMSearchSelectWindow().style.display = 'none'; + } + + // Performs a search. + this.Search = function() + { + this.keyTimeout = 0; + + // strip leading whitespace + var searchValue = this.DOMSearchField().value.replace(/^ +/, ""); + + var code = searchValue.toLowerCase().charCodeAt(0); + var idxChar = searchValue.substr(0, 1).toLowerCase(); + if ( 0xD800 <= code && code <= 0xDBFF && searchValue > 1) // surrogate pair + { + idxChar = searchValue.substr(0, 2); + } + + var resultsPage; + var resultsPageWithSearch; + var hasResultsPage; + + var idx = indexSectionsWithContent[this.searchIndex].indexOf(idxChar); + if (idx!=-1) + { + var hexCode=idx.toString(16); + resultsPage = this.resultsPath + '/' + indexSectionNames[this.searchIndex] + '_' + hexCode + '.html'; + resultsPageWithSearch = resultsPage+'?'+escape(searchValue); + hasResultsPage = true; + } + else // nothing available for this search term + { + resultsPage = this.resultsPath + '/nomatches.html'; + resultsPageWithSearch = resultsPage; + hasResultsPage = false; + } + + window.frames.MSearchResults.location = resultsPageWithSearch; + var domPopupSearchResultsWindow = this.DOMPopupSearchResultsWindow(); + + if (domPopupSearchResultsWindow.style.display!='block') + { + var domSearchBox = this.DOMSearchBox(); + this.DOMSearchClose().style.display = 'inline'; + if (this.insideFrame) + { + var domPopupSearchResults = this.DOMPopupSearchResults(); + domPopupSearchResultsWindow.style.position = 'relative'; + domPopupSearchResultsWindow.style.display = 'block'; + var width = document.body.clientWidth - 8; // the -8 is for IE :-( + domPopupSearchResultsWindow.style.width = width + 'px'; + domPopupSearchResults.style.width = width + 'px'; + } + else + { + var domPopupSearchResults = this.DOMPopupSearchResults(); + var left = getXPos(domSearchBox) + 150; // domSearchBox.offsetWidth; + var top = getYPos(domSearchBox) + 20; // domSearchBox.offsetHeight + 1; + domPopupSearchResultsWindow.style.display = 'block'; + left -= domPopupSearchResults.offsetWidth; + domPopupSearchResultsWindow.style.top = top + 'px'; + domPopupSearchResultsWindow.style.left = left + 'px'; + } + } + + this.lastSearchValue = searchValue; + this.lastResultsPage = resultsPage; + } + + // -------- Activation Functions + + // Activates or deactivates the search panel, resetting things to + // their default values if necessary. + this.Activate = function(isActive) + { + if (isActive || // open it + this.DOMPopupSearchResultsWindow().style.display == 'block' + ) + { + this.DOMSearchBox().className = 'MSearchBoxActive'; + + var searchField = this.DOMSearchField(); + + if (searchField.value == this.searchLabel) // clear "Search" term upon entry + { + searchField.value = ''; + this.searchActive = true; + } + } + else if (!isActive) // directly remove the panel + { + this.DOMSearchBox().className = 'MSearchBoxInactive'; + this.DOMSearchField().value = this.searchLabel; + this.searchActive = false; + this.lastSearchValue = '' + this.lastResultsPage = ''; + } + } +} + +// ----------------------------------------------------------------------- + +// The class that handles everything on the search results page. +function SearchResults(name) +{ + // The number of matches from the last run of . + this.lastMatchCount = 0; + this.lastKey = 0; + this.repeatOn = false; + + // Toggles the visibility of the passed element ID. + this.FindChildElement = function(id) + { + var parentElement = document.getElementById(id); + var element = parentElement.firstChild; + + while (element && element!=parentElement) + { + if (element.nodeName == 'DIV' && element.className == 'SRChildren') + { + return element; + } + + if (element.nodeName == 'DIV' && element.hasChildNodes()) + { + element = element.firstChild; + } + else if (element.nextSibling) + { + element = element.nextSibling; + } + else + { + do + { + element = element.parentNode; + } + while (element && element!=parentElement && !element.nextSibling); + + if (element && element!=parentElement) + { + element = element.nextSibling; + } + } + } + } + + this.Toggle = function(id) + { + var element = this.FindChildElement(id); + if (element) + { + if (element.style.display == 'block') + { + element.style.display = 'none'; + } + else + { + element.style.display = 'block'; + } + } + } + + // Searches for the passed string. If there is no parameter, + // it takes it from the URL query. + // + // Always returns true, since other documents may try to call it + // and that may or may not be possible. + this.Search = function(search) + { + if (!search) // get search word from URL + { + search = window.location.search; + search = search.substring(1); // Remove the leading '?' + search = unescape(search); + } + + search = search.replace(/^ +/, ""); // strip leading spaces + search = search.replace(/ +$/, ""); // strip trailing spaces + search = search.toLowerCase(); + search = convertToId(search); + + var resultRows = document.getElementsByTagName("div"); + var matches = 0; + + var i = 0; + while (i < resultRows.length) + { + var row = resultRows.item(i); + if (row.className == "SRResult") + { + var rowMatchName = row.id.toLowerCase(); + rowMatchName = rowMatchName.replace(/^sr\d*_/, ''); // strip 'sr123_' + + if (search.length<=rowMatchName.length && + rowMatchName.substr(0, search.length)==search) + { + row.style.display = 'block'; + matches++; + } + else + { + row.style.display = 'none'; + } + } + i++; + } + document.getElementById("Searching").style.display='none'; + if (matches == 0) // no results + { + document.getElementById("NoMatches").style.display='block'; + } + else // at least one result + { + document.getElementById("NoMatches").style.display='none'; + } + this.lastMatchCount = matches; + return true; + } + + // return the first item with index index or higher that is visible + this.NavNext = function(index) + { + var focusItem; + while (1) + { + var focusName = 'Item'+index; + focusItem = document.getElementById(focusName); + if (focusItem && focusItem.parentNode.parentNode.style.display=='block') + { + break; + } + else if (!focusItem) // last element + { + break; + } + focusItem=null; + index++; + } + return focusItem; + } + + this.NavPrev = function(index) + { + var focusItem; + while (1) + { + var focusName = 'Item'+index; + focusItem = document.getElementById(focusName); + if (focusItem && focusItem.parentNode.parentNode.style.display=='block') + { + break; + } + else if (!focusItem) // last element + { + break; + } + focusItem=null; + index--; + } + return focusItem; + } + + this.ProcessKeys = function(e) + { + if (e.type == "keydown") + { + this.repeatOn = false; + this.lastKey = e.keyCode; + } + else if (e.type == "keypress") + { + if (!this.repeatOn) + { + if (this.lastKey) this.repeatOn = true; + return false; // ignore first keypress after keydown + } + } + else if (e.type == "keyup") + { + this.lastKey = 0; + this.repeatOn = false; + } + return this.lastKey!=0; + } + + this.Nav = function(evt,itemIndex) + { + var e = (evt) ? evt : window.event; // for IE + if (e.keyCode==13) return true; + if (!this.ProcessKeys(e)) return false; + + if (this.lastKey==38) // Up + { + var newIndex = itemIndex-1; + var focusItem = this.NavPrev(newIndex); + if (focusItem) + { + var child = this.FindChildElement(focusItem.parentNode.parentNode.id); + if (child && child.style.display == 'block') // children visible + { + var n=0; + var tmpElem; + while (1) // search for last child + { + tmpElem = document.getElementById('Item'+newIndex+'_c'+n); + if (tmpElem) + { + focusItem = tmpElem; + } + else // found it! + { + break; + } + n++; + } + } + } + if (focusItem) + { + focusItem.focus(); + } + else // return focus to search field + { + parent.document.getElementById("MSearchField").focus(); + } + } + else if (this.lastKey==40) // Down + { + var newIndex = itemIndex+1; + var focusItem; + var item = document.getElementById('Item'+itemIndex); + var elem = this.FindChildElement(item.parentNode.parentNode.id); + if (elem && elem.style.display == 'block') // children visible + { + focusItem = document.getElementById('Item'+itemIndex+'_c0'); + } + if (!focusItem) focusItem = this.NavNext(newIndex); + if (focusItem) focusItem.focus(); + } + else if (this.lastKey==39) // Right + { + var item = document.getElementById('Item'+itemIndex); + var elem = this.FindChildElement(item.parentNode.parentNode.id); + if (elem) elem.style.display = 'block'; + } + else if (this.lastKey==37) // Left + { + var item = document.getElementById('Item'+itemIndex); + var elem = this.FindChildElement(item.parentNode.parentNode.id); + if (elem) elem.style.display = 'none'; + } + else if (this.lastKey==27) // Escape + { + parent.searchBox.CloseResultsWindow(); + parent.document.getElementById("MSearchField").focus(); + } + else if (this.lastKey==13) // Enter + { + return true; + } + return false; + } + + this.NavChild = function(evt,itemIndex,childIndex) + { + var e = (evt) ? evt : window.event; // for IE + if (e.keyCode==13) return true; + if (!this.ProcessKeys(e)) return false; + + if (this.lastKey==38) // Up + { + if (childIndex>0) + { + var newIndex = childIndex-1; + document.getElementById('Item'+itemIndex+'_c'+newIndex).focus(); + } + else // already at first child, jump to parent + { + document.getElementById('Item'+itemIndex).focus(); + } + } + else if (this.lastKey==40) // Down + { + var newIndex = childIndex+1; + var elem = document.getElementById('Item'+itemIndex+'_c'+newIndex); + if (!elem) // last child, jump to parent next parent + { + elem = this.NavNext(itemIndex+1); + } + if (elem) + { + elem.focus(); + } + } + else if (this.lastKey==27) // Escape + { + parent.searchBox.CloseResultsWindow(); + parent.document.getElementById("MSearchField").focus(); + } + else if (this.lastKey==13) // Enter + { + return true; + } + return false; + } +} + +function setKeyActions(elem,action) +{ + elem.setAttribute('onkeydown',action); + elem.setAttribute('onkeypress',action); + elem.setAttribute('onkeyup',action); +} + +function setClassAttr(elem,attr) +{ + elem.setAttribute('class',attr); + elem.setAttribute('className',attr); +} + +function createResults() +{ + var results = document.getElementById("SRResults"); + for (var e=0; ek7RCwB~R6VQOP#AvB$vH7i{6H{96zot$7cZT<7246EF5Np6N}+$IbiG6W zg#87A+NFaX+=_^xM1#gCtshC=E{%9^uQX_%?YwXvo{#q&MnpJ8uh(O?ZRc&~_1%^SsPxG@rfElJg-?U zm!Cz-IOn(qJP3kDp-^~qt+FGbl=5jNli^Wj_xIBG{Rc0en{!oFvyoNC7{V~T8}b>| z=jL2WIReZzX(YN(_9fV;BBD$VXQIxNasAL8ATvEu822WQ%mvv4FO#qs` BFGc_W literal 0 HcmV?d00001 diff --git a/docs/RuntimeAPI/html/search/search_r.png b/docs/RuntimeAPI/html/search/search_r.png new file mode 100644 index 0000000000000000000000000000000000000000..97ee8b439687084201b79c6f776a41f495c6392a GIT binary patch literal 612 zcmV-q0-ODbP)PbXFRCwB?)W514K@j&X?z2*SxFI6-@HT2E2K=9X9%Pb zEK*!TBw&g(DMC;|A)uGlRkOS9vd-?zNs%bR4d$w+ox_iFnE8fvIvv7^5<(>Te12Li z7C)9srCzmK{ZcNM{YIl9j{DePFgOWiS%xG@5CnnnJa4nvY<^glbz7^|-ZY!dUkAwd z{gaTC@_>b5h~;ug#R0wRL0>o5!hxm*s0VW?8dr}O#zXTRTnrQm_Z7z1Mrnx>&p zD4qifUjzLvbVVWi?l?rUzwt^sdb~d!f_LEhsRVIXZtQ=qSxuxqm zEX#tf>$?M_Y1-LSDT)HqG?`%-%ZpY!#{N!rcNIiL;G7F0`l?)mNGTD9;f9F5Up3Kg zw}a<-JylhG&;=!>B+fZaCX+?C+kHYrP%c?X2!Zu_olK|GcS4A70HEy;vn)I0>0kLH z`jc(WIaaHc7!HS@f*^R^Znx8W=_jIl2oWJoQ*h1^$FX!>*PqR1J8k|fw}w_y}TpE>7m8DqDO<3z`OzXt$ccSejbEZCg@0000 + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/docs/RuntimeAPI/html/search/typedefs_0.js b/docs/RuntimeAPI/html/search/typedefs_0.js new file mode 100644 index 0000000000..8cfe168754 --- /dev/null +++ b/docs/RuntimeAPI/html/search/typedefs_0.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['dim3',['dim3',['../group__GlobalDefs.html#gacb37281795c3567d0b10a61c056d512b',1,'hip_runtime_api.h']]] +]; diff --git a/docs/RuntimeAPI/html/search/typedefs_1.html b/docs/RuntimeAPI/html/search/typedefs_1.html new file mode 100644 index 0000000000..455fe2b2b9 --- /dev/null +++ b/docs/RuntimeAPI/html/search/typedefs_1.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/docs/RuntimeAPI/html/search/typedefs_1.js b/docs/RuntimeAPI/html/search/typedefs_1.js new file mode 100644 index 0000000000..d1f66c753c --- /dev/null +++ b/docs/RuntimeAPI/html/search/typedefs_1.js @@ -0,0 +1,6 @@ +var searchData= +[ + ['hipfunccache',['hipFuncCache',['../group__GlobalDefs.html#gaad15dc7939a0a25b16e4aa161fb41eee',1,'hip_runtime_api.h']]], + ['hipmemcpykind',['hipMemcpyKind',['../group__GlobalDefs.html#ga0c04e67413ce030817361f02673e5c85',1,'hip_runtime_api.h']]], + ['hipsharedmemconfig',['hipSharedMemConfig',['../group__GlobalDefs.html#ga6b1ca424fa26a5fb718937d662eaee7f',1,'hip_runtime_api.h']]] +]; diff --git a/docs/RuntimeAPI/html/search/variables_0.html b/docs/RuntimeAPI/html/search/variables_0.html new file mode 100644 index 0000000000..1b8adc9b33 --- /dev/null +++ b/docs/RuntimeAPI/html/search/variables_0.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/docs/RuntimeAPI/html/search/variables_0.js b/docs/RuntimeAPI/html/search/variables_0.js new file mode 100644 index 0000000000..2fba32867b --- /dev/null +++ b/docs/RuntimeAPI/html/search/variables_0.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['arch',['arch',['../structhipDeviceProp__t.html#afc58158e44bef6ad26f2be401434b049',1,'hipDeviceProp_t']]] +]; diff --git a/docs/RuntimeAPI/html/search/variables_1.html b/docs/RuntimeAPI/html/search/variables_1.html new file mode 100644 index 0000000000..78f63cd1eb --- /dev/null +++ b/docs/RuntimeAPI/html/search/variables_1.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/docs/RuntimeAPI/html/search/variables_1.js b/docs/RuntimeAPI/html/search/variables_1.js new file mode 100644 index 0000000000..82dc751418 --- /dev/null +++ b/docs/RuntimeAPI/html/search/variables_1.js @@ -0,0 +1,8 @@ +var searchData= +[ + ['canmaphostmemory',['canMapHostMemory',['../structhipDeviceProp__t.html#ac2143f5448607d1a02a9e8783fcf06a1',1,'hipDeviceProp_t']]], + ['clockinstructionrate',['clockInstructionRate',['../structhipDeviceProp__t.html#a6fbf3b08a1a08ae700f1a06265f6666b',1,'hipDeviceProp_t']]], + ['clockrate',['clockRate',['../structhipDeviceProp__t.html#a1dd15bee43692b8649dfbdc1adbaaf96',1,'hipDeviceProp_t']]], + ['computemode',['computeMode',['../structhipDeviceProp__t.html#ae7d9216f8583a703359d0b9373823f5d',1,'hipDeviceProp_t']]], + ['concurrentkernels',['concurrentKernels',['../structhipDeviceProp__t.html#ad8461a28caf9c38c58cf358583b5bee3',1,'hipDeviceProp_t']]] +]; diff --git a/docs/RuntimeAPI/html/search/variables_2.html b/docs/RuntimeAPI/html/search/variables_2.html new file mode 100644 index 0000000000..ea80d20140 --- /dev/null +++ b/docs/RuntimeAPI/html/search/variables_2.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/docs/RuntimeAPI/html/search/variables_2.js b/docs/RuntimeAPI/html/search/variables_2.js new file mode 100644 index 0000000000..0fba3440bc --- /dev/null +++ b/docs/RuntimeAPI/html/search/variables_2.js @@ -0,0 +1,20 @@ +var searchData= +[ + ['has3dgrid',['has3dGrid',['../structhipDeviceArch__t.html#aa5e22d295cce0d9a34ee6e7e7e378c26',1,'hipDeviceArch_t']]], + ['hasdoubles',['hasDoubles',['../structhipDeviceArch__t.html#a2d624e3d85e615b71d1182f8912893b4',1,'hipDeviceArch_t']]], + ['hasdynamicparallelism',['hasDynamicParallelism',['../structhipDeviceArch__t.html#a9114bfc718bf0648b54ff9a319a36b35',1,'hipDeviceArch_t']]], + ['hasfloatatomicadd',['hasFloatAtomicAdd',['../structhipDeviceArch__t.html#a2321d6ef74aac91c044f3289d25b2d41',1,'hipDeviceArch_t']]], + ['hasfunnelshift',['hasFunnelShift',['../structhipDeviceArch__t.html#aaec4f2d983d4602858fae8e9ddeee3ff',1,'hipDeviceArch_t']]], + ['hasglobalfloatatomicexch',['hasGlobalFloatAtomicExch',['../structhipDeviceArch__t.html#a8f213ae9a4729dff1c636ac5de0e2fa2',1,'hipDeviceArch_t']]], + ['hasglobalint32atomics',['hasGlobalInt32Atomics',['../structhipDeviceArch__t.html#a8d00c3ab98869b602c714fe7abe68e93',1,'hipDeviceArch_t']]], + ['hasglobalint64atomics',['hasGlobalInt64Atomics',['../structhipDeviceArch__t.html#ad5aa54dbab22dbcd8cf98f57a96c6636',1,'hipDeviceArch_t']]], + ['hassharedfloatatomicexch',['hasSharedFloatAtomicExch',['../structhipDeviceArch__t.html#aff005558b4edabd27b27f286ac5b2f2b',1,'hipDeviceArch_t']]], + ['hassharedint32atomics',['hasSharedInt32Atomics',['../structhipDeviceArch__t.html#a1596330b1cb9cc73f142aee11b2ab853',1,'hipDeviceArch_t']]], + ['hassharedint64atomics',['hasSharedInt64Atomics',['../structhipDeviceArch__t.html#a00c2b930fcdcad9ea7b54b449db13966',1,'hipDeviceArch_t']]], + ['hassurfacefuncs',['hasSurfaceFuncs',['../structhipDeviceArch__t.html#a9eb2462148686d4c048b69b6e09f835e',1,'hipDeviceArch_t']]], + ['hassyncthreadsext',['hasSyncThreadsExt',['../structhipDeviceArch__t.html#ade6a3b21ad5f344dcd92c52102c274ba',1,'hipDeviceArch_t']]], + ['hasthreadfencesystem',['hasThreadFenceSystem',['../structhipDeviceArch__t.html#ac2818e3b91cba8beb36741e9867bb887',1,'hipDeviceArch_t']]], + ['haswarpballot',['hasWarpBallot',['../structhipDeviceArch__t.html#af1e934a8a5106995bcc256287585564c',1,'hipDeviceArch_t']]], + ['haswarpshuffle',['hasWarpShuffle',['../structhipDeviceArch__t.html#a3d922e8fc97ca1e8ecc39600b138fa2d',1,'hipDeviceArch_t']]], + ['haswarpvote',['hasWarpVote',['../structhipDeviceArch__t.html#a35bde017352eca1d4e0eceb3bf79f274',1,'hipDeviceArch_t']]] +]; diff --git a/docs/RuntimeAPI/html/search/variables_3.html b/docs/RuntimeAPI/html/search/variables_3.html new file mode 100644 index 0000000000..0dca26f47b --- /dev/null +++ b/docs/RuntimeAPI/html/search/variables_3.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/docs/RuntimeAPI/html/search/variables_3.js b/docs/RuntimeAPI/html/search/variables_3.js new file mode 100644 index 0000000000..4ab03a0a54 --- /dev/null +++ b/docs/RuntimeAPI/html/search/variables_3.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['ismultigpuboard',['isMultiGpuBoard',['../structhipDeviceProp__t.html#a9bb19b2b0cdee8977ed63964532d639d',1,'hipDeviceProp_t']]] +]; diff --git a/docs/RuntimeAPI/html/search/variables_4.html b/docs/RuntimeAPI/html/search/variables_4.html new file mode 100644 index 0000000000..400e8e9b41 --- /dev/null +++ b/docs/RuntimeAPI/html/search/variables_4.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/docs/RuntimeAPI/html/search/variables_4.js b/docs/RuntimeAPI/html/search/variables_4.js new file mode 100644 index 0000000000..41a7c59602 --- /dev/null +++ b/docs/RuntimeAPI/html/search/variables_4.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['l2cachesize',['l2CacheSize',['../structhipDeviceProp__t.html#a24404decccc16833973c803ced6f3a51',1,'hipDeviceProp_t']]] +]; diff --git a/docs/RuntimeAPI/html/search/variables_5.html b/docs/RuntimeAPI/html/search/variables_5.html new file mode 100644 index 0000000000..7f1241f94b --- /dev/null +++ b/docs/RuntimeAPI/html/search/variables_5.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/docs/RuntimeAPI/html/search/variables_5.js b/docs/RuntimeAPI/html/search/variables_5.js new file mode 100644 index 0000000000..8fc226ebc6 --- /dev/null +++ b/docs/RuntimeAPI/html/search/variables_5.js @@ -0,0 +1,13 @@ +var searchData= +[ + ['major',['major',['../structhipDeviceProp__t.html#aec9e4173c2e34cc232300c415dbd5e4f',1,'hipDeviceProp_t']]], + ['maxgridsize',['maxGridSize',['../structhipDeviceProp__t.html#ae529c23929f592120081fed31d877a55',1,'hipDeviceProp_t']]], + ['maxsharedmemorypermultiprocessor',['maxSharedMemoryPerMultiProcessor',['../structhipDeviceProp__t.html#aa1a32a7f387f6da845db7b228711fce8',1,'hipDeviceProp_t']]], + ['maxthreadsdim',['maxThreadsDim',['../structhipDeviceProp__t.html#a8ebba6fc12f80c9a9cf9b9193f0da465',1,'hipDeviceProp_t']]], + ['maxthreadsperblock',['maxThreadsPerBlock',['../structhipDeviceProp__t.html#af971cf1ca3ec1f68ad09036c0cc672e0',1,'hipDeviceProp_t']]], + ['maxthreadspermultiprocessor',['maxThreadsPerMultiProcessor',['../structhipDeviceProp__t.html#a23a39f4fd795addb3b125e9c3f6295ea',1,'hipDeviceProp_t']]], + ['memorybuswidth',['memoryBusWidth',['../structhipDeviceProp__t.html#a1d710ce8bd34daf66f892a66a2273132',1,'hipDeviceProp_t']]], + ['memoryclockrate',['memoryClockRate',['../structhipDeviceProp__t.html#a6db0ab8e7e8cc13c84d7bb7f70226d5e',1,'hipDeviceProp_t']]], + ['minor',['minor',['../structhipDeviceProp__t.html#abb51208e2509a7a1d107f0da69108938',1,'hipDeviceProp_t']]], + ['multiprocessorcount',['multiProcessorCount',['../structhipDeviceProp__t.html#add8d9d2ad52aece9fd1dbe25c18d9d57',1,'hipDeviceProp_t']]] +]; diff --git a/docs/RuntimeAPI/html/search/variables_6.html b/docs/RuntimeAPI/html/search/variables_6.html new file mode 100644 index 0000000000..7536df8d5a --- /dev/null +++ b/docs/RuntimeAPI/html/search/variables_6.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/docs/RuntimeAPI/html/search/variables_6.js b/docs/RuntimeAPI/html/search/variables_6.js new file mode 100644 index 0000000000..124bf0ddb8 --- /dev/null +++ b/docs/RuntimeAPI/html/search/variables_6.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['name',['name',['../structhipDeviceProp__t.html#a5b44bf8fa46faefcde989942b1d11a5e',1,'hipDeviceProp_t']]] +]; diff --git a/docs/RuntimeAPI/html/search/variables_7.html b/docs/RuntimeAPI/html/search/variables_7.html new file mode 100644 index 0000000000..66186a6994 --- /dev/null +++ b/docs/RuntimeAPI/html/search/variables_7.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/docs/RuntimeAPI/html/search/variables_7.js b/docs/RuntimeAPI/html/search/variables_7.js new file mode 100644 index 0000000000..71b6a5df56 --- /dev/null +++ b/docs/RuntimeAPI/html/search/variables_7.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['pcibusid',['pciBusID',['../structhipDeviceProp__t.html#a1350f64d49b717ed3a06458f7549ccb0',1,'hipDeviceProp_t']]], + ['pcideviceid',['pciDeviceID',['../structhipDeviceProp__t.html#ae6aa845dc2d540f85098ea30be35f4eb',1,'hipDeviceProp_t']]] +]; diff --git a/docs/RuntimeAPI/html/search/variables_8.html b/docs/RuntimeAPI/html/search/variables_8.html new file mode 100644 index 0000000000..aa13bf24a5 --- /dev/null +++ b/docs/RuntimeAPI/html/search/variables_8.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/docs/RuntimeAPI/html/search/variables_8.js b/docs/RuntimeAPI/html/search/variables_8.js new file mode 100644 index 0000000000..44ba50e0b7 --- /dev/null +++ b/docs/RuntimeAPI/html/search/variables_8.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['regsperblock',['regsPerBlock',['../structhipDeviceProp__t.html#a73c1c21648a901799ff6bef83c11135b',1,'hipDeviceProp_t']]] +]; diff --git a/docs/RuntimeAPI/html/search/variables_9.html b/docs/RuntimeAPI/html/search/variables_9.html new file mode 100644 index 0000000000..78cc249f7d --- /dev/null +++ b/docs/RuntimeAPI/html/search/variables_9.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/docs/RuntimeAPI/html/search/variables_9.js b/docs/RuntimeAPI/html/search/variables_9.js new file mode 100644 index 0000000000..a582d60c6a --- /dev/null +++ b/docs/RuntimeAPI/html/search/variables_9.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['sharedmemperblock',['sharedMemPerBlock',['../structhipDeviceProp__t.html#a3b9138678a0795c2677eddcfb1c67156',1,'hipDeviceProp_t']]] +]; diff --git a/docs/RuntimeAPI/html/search/variables_a.html b/docs/RuntimeAPI/html/search/variables_a.html new file mode 100644 index 0000000000..592abaa33c --- /dev/null +++ b/docs/RuntimeAPI/html/search/variables_a.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/docs/RuntimeAPI/html/search/variables_a.js b/docs/RuntimeAPI/html/search/variables_a.js new file mode 100644 index 0000000000..b356d6e142 --- /dev/null +++ b/docs/RuntimeAPI/html/search/variables_a.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['totalconstmem',['totalConstMem',['../structhipDeviceProp__t.html#a29880232c56120be3455ce00d5379665',1,'hipDeviceProp_t']]], + ['totalglobalmem',['totalGlobalMem',['../structhipDeviceProp__t.html#acedd6a2d23423441e4bf51c4a1b719f9',1,'hipDeviceProp_t']]] +]; diff --git a/docs/RuntimeAPI/html/search/variables_b.html b/docs/RuntimeAPI/html/search/variables_b.html new file mode 100644 index 0000000000..78052a1e03 --- /dev/null +++ b/docs/RuntimeAPI/html/search/variables_b.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/docs/RuntimeAPI/html/search/variables_b.js b/docs/RuntimeAPI/html/search/variables_b.js new file mode 100644 index 0000000000..46a1400a7b --- /dev/null +++ b/docs/RuntimeAPI/html/search/variables_b.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['warpsize',['warpSize',['../structhipDeviceProp__t.html#af3357d33c004608bf05bc21a352be81b',1,'hipDeviceProp_t']]] +]; diff --git a/docs/RuntimeAPI/html/search/variables_c.html b/docs/RuntimeAPI/html/search/variables_c.html new file mode 100644 index 0000000000..b2260e465b --- /dev/null +++ b/docs/RuntimeAPI/html/search/variables_c.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/docs/RuntimeAPI/html/search/variables_c.js b/docs/RuntimeAPI/html/search/variables_c.js new file mode 100644 index 0000000000..250c203caf --- /dev/null +++ b/docs/RuntimeAPI/html/search/variables_c.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['x',['x',['../structdim3.html#ac866c05f83a28dac20a153fc65b3b16c',1,'dim3']]] +]; diff --git a/docs/RuntimeAPI/html/search/variables_d.html b/docs/RuntimeAPI/html/search/variables_d.html new file mode 100644 index 0000000000..f47799968f --- /dev/null +++ b/docs/RuntimeAPI/html/search/variables_d.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/docs/RuntimeAPI/html/search/variables_d.js b/docs/RuntimeAPI/html/search/variables_d.js new file mode 100644 index 0000000000..133dd9dc6e --- /dev/null +++ b/docs/RuntimeAPI/html/search/variables_d.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['y',['y',['../structdim3.html#a83e60e072f7e8bdfde6ac05053cbb370',1,'dim3']]] +]; diff --git a/docs/RuntimeAPI/html/search/variables_e.html b/docs/RuntimeAPI/html/search/variables_e.html new file mode 100644 index 0000000000..1165006622 --- /dev/null +++ b/docs/RuntimeAPI/html/search/variables_e.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/docs/RuntimeAPI/html/search/variables_e.js b/docs/RuntimeAPI/html/search/variables_e.js new file mode 100644 index 0000000000..e8bf38b99c --- /dev/null +++ b/docs/RuntimeAPI/html/search/variables_e.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['z',['z',['../structdim3.html#a866e38993ecc4e76fd47311236c16b04',1,'dim3']]] +]; diff --git a/docs/RuntimeAPI/html/staging__buffer_8h_source.html b/docs/RuntimeAPI/html/staging__buffer_8h_source.html new file mode 100644 index 0000000000..254d861aef --- /dev/null +++ b/docs/RuntimeAPI/html/staging__buffer_8h_source.html @@ -0,0 +1,168 @@ + + + + + + +HIP: Heterogenous-computing Interface for Portability: /home/mangupta/git/hip/release_0.90.00/include/hcc_detail/staging_buffer.h Source File + + + + + + + + + +
+
+ + + + + + +
+
HIP: Heterogenous-computing Interface for Portability +
+
+
+ + + + + + + + + +
+ +
+ + +
+
+
+
staging_buffer.h
+
+
+
1 /*
+
2 Copyright (c) 2015-2016 Advanced Micro Devices, Inc. All rights reserved.
+
3 Permission is hereby granted, free of charge, to any person obtaining a copy
+
4 of this software and associated documentation files (the "Software"), to deal
+
5 in the Software without restriction, including without limitation the rights
+
6 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+
7 copies of the Software, and to permit persons to whom the Software is
+
8 furnished to do so, subject to the following conditions:
+
9 The above copyright notice and this permission notice shall be included in
+
10 all copies or substantial portions of the Software.
+
11 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANNTY OF ANY KIND, EXPRESS OR
+
12 IMPLIED, INNCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+
13 FITNNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+
14 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANNY CLAIM, DAMAGES OR OTHER
+
15 LIABILITY, WHETHER INN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+
16 OUT OF OR INN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+
17 THE SOFTWARE.
+
18 */
+
19 
+
20 //#pragma once
+
21 #ifndef STAGING_BUFFER_H
+
22 #define STAGING_BUFFER_H
+
23 
+
24 #include "hsa.h"
+
25 
+
26 
+
27 //-------------------------------------------------------------------------------------------------
+
28 // An optimized "staging buffer" used to implement Host-To-Device and Device-To-Host copies.
+
29 // Some GPUs may not be able to directly access host memory, and in these cases we need to
+
30 // stage the copy through a pinned staging buffer. For example, the CopyHostToDevice
+
31 // uses the CPU to copy to a pinned "staging buffer", and then use the GPU DMA engine to copy
+
32 // from the staging buffer to the final destination. The copy is broken into buffer-sized chunks
+
33 // to limit the size of the buffer and also to provide better performance by overlapping the CPU copies
+
34 // with the DMA copies.
+
35 //
+
36 // PinInPlace is another algorithm which pins the host memory "in-place", and copies it with the DMA
+
37 // engine. This routine is under development.
+
38 //
+
39 // Staging buffer provides thread-safe access via a mutex.
+
40 struct StagingBuffer {
+
41 
+
42  static const int _max_buffers = 4;
+
43 
+
44  StagingBuffer(hsa_agent_t hsaAgent, hsa_region_t systemRegion, size_t bufferSize, int numBuffers) ;
+
45  ~StagingBuffer();
+
46 
+
47  void CopyHostToDevice(void* dst, const void* src, size_t sizeBytes, hsa_signal_t *waitFor);
+
48  void CopyHostToDevicePinInPlace(void* dst, const void* src, size_t sizeBytes, hsa_signal_t *waitFor);
+
49 
+
50  void CopyDeviceToHost (void* dst, const void* src, size_t sizeBytes, hsa_signal_t *waitFor);
+
51  void CopyDeviceToHostPinInPlace(void* dst, const void* src, size_t sizeBytes, hsa_signal_t *waitFor);
+
52 
+
53  void CopyPeerToPeer( void* dst, hsa_agent_t dstAgent, const void* src, hsa_agent_t srcAgent, size_t sizeBytes, hsa_signal_t *waitFor);
+
54 
+
55 
+
56 private:
+
57  hsa_agent_t _hsa_agent;
+
58  size_t _bufferSize; // Size of the buffers.
+
59  int _numBuffers;
+
60 
+
61  char *_pinnedStagingBuffer[_max_buffers];
+
62  hsa_signal_t _completion_signal[_max_buffers];
+
63  hsa_signal_t _completion_signal2[_max_buffers]; // P2P needs another set of signals.
+
64  std::mutex _copy_lock; // provide thread-safe access
+
65 };
+
66 
+
67 #endif
+
Definition: staging_buffer.h:40
+
+ + + + diff --git a/docs/RuntimeAPI/html/structLockedBase-members.html b/docs/RuntimeAPI/html/structLockedBase-members.html new file mode 100644 index 0000000000..9098b0eed4 --- /dev/null +++ b/docs/RuntimeAPI/html/structLockedBase-members.html @@ -0,0 +1,104 @@ + + + + + + +HIP: Heterogenous-computing Interface for Portability: Member List + + + + + + + + + +
+
+ + + + + + +
+
HIP: Heterogenous-computing Interface for Portability +
+
+
+ + + + + + + + + +
+ +
+ +
+
+
+
LockedBase< MUTEX_TYPE > Member List
+
+
+ +

This is the complete list of members for LockedBase< MUTEX_TYPE >, including all inherited members.

+ + + + +
_mutex (defined in LockedBase< MUTEX_TYPE >)LockedBase< MUTEX_TYPE >
lock() (defined in LockedBase< MUTEX_TYPE >)LockedBase< MUTEX_TYPE >inline
unlock() (defined in LockedBase< MUTEX_TYPE >)LockedBase< MUTEX_TYPE >inline
+ + + + diff --git a/docs/RuntimeAPI/html/structLockedBase.html b/docs/RuntimeAPI/html/structLockedBase.html new file mode 100644 index 0000000000..a13030320f --- /dev/null +++ b/docs/RuntimeAPI/html/structLockedBase.html @@ -0,0 +1,131 @@ + + + + + + +HIP: Heterogenous-computing Interface for Portability: LockedBase< MUTEX_TYPE > Struct Template Reference + + + + + + + + + +
+
+ + + + + + +
+
HIP: Heterogenous-computing Interface for Portability +
+
+
+ + + + + + + + + +
+ +
+ +
+
+ +
+
LockedBase< MUTEX_TYPE > Struct Template Reference
+
+
+
+Inheritance diagram for LockedBase< MUTEX_TYPE >:
+
+
+ + +ihipDeviceCriticalBase_t< MUTEX_TYPE > +ihipStreamCriticalBase_t< MUTEX_TYPE > + +
+ + + + + + +

+Public Member Functions

+void lock ()
 
+void unlock ()
 
+ + + +

+Public Attributes

+MUTEX_TYPE _mutex
 
+
The documentation for this struct was generated from the following file:
    +
  • /home/mangupta/git/hip/release_0.90.00/include/hcc_detail/hip_hcc.h
  • +
+
+ + + + diff --git a/docs/RuntimeAPI/html/structLockedBase.png b/docs/RuntimeAPI/html/structLockedBase.png new file mode 100644 index 0000000000000000000000000000000000000000..9677c74a19104743508958b80c33a8346628c6b0 GIT binary patch literal 1178 zcmeAS@N?(olHy`uVBq!ia0y~yU;?oNIGBN?|J1ejfs{mmPl)UP|Nnu^7jM3n_8*!6 zWP$O40|!_;@5lqW93?@1!3;n}AaM0mh!Fz=i>9ZGV@L(#+qrM2ZL;BUHGjEz&wuZ_ z&|ed$C>b5rdHVFsE6J@bm*(Y6+Rrfmx{2@QsjLcTH5g*TogCv{{9tf&Vsw}!4rS+8 z8}h{X+*4n6T>e0t*O|xDetxce{`cOWiOR2{z83voBE-KT*y*8vU`6rGIeTV(ei#2! zD6DAu-Q4{rmIwS`<@)*e^!sGL@R{5iTW)@P%pvk>O8|p~Pj%o22Al4x8J{alH`}cg z?JRoFEmCwwPvl!E*TMo0uD8AYJIi~mP5$f*D#?^vbYa?yZQXlV~|~P~*(Z z57WJXZjlk16w-C-->L^crRF`X1xh7q{3yG(@Ih76=~@1t)wuFL%4)38Vt8|1KVU^> ziTyN<7J>O1*FW~VB=U1OJxtfwa%@ihu8?Uv|154zvB~oI{$y3rPSZJ2Ub~hVIW4pk zN|@f#wCBP{#-?)*j{dp!|D<0lgxkW@prQ|zg0ep+&06;I5Yq$(yLHkHECr>UtPC&x z4*BXZcmRWPmZtzW!=wO)3271xDh;c>HNc`mTwpPv0W3chMHo~TGAICbd1^4!^yY29 z?OXMaF(&dqgUVDjpcv2-xj^jU3aYtj71M>bRY3QMgouJn+OlvJ)EJPK z8kyE9LAy5XJKh=XrCA%GV!ZkFsl^FtWwD&B3l&6Knr7})1d;&)TxrkTTobGM{^%z1|zK`;QK{-)E`sp`YCQGWhkU|4yG)Va%P}dFVuE(ShE( z^KW(ph`PX4uVhcCbDAGd6_W%dgzSFVu+~uZZD%Yt3dV+NJlUTA zRPbwgoKExA{o4Fo^B3?nzq%D0xPKYMF?{+jIC9YsmXN?cnP zZOzyF`7hbET+NM$4T*OC;X> zJsRnz@g==G_j2jV3wL+1{<_R7o6+5SJIgF>sq3}%+M$Uv<>STwE>kzQ_sc%ATVqP< zt|!lb^0H@5Sl|71#ocpED|Wh+|NXjl`ax-%y#Jri+}3EBe=mIV$==IS8y9O;nAL_x zY}ylLwQHBftJv=8iI*FvitT)O;M}SU?`ul7_=@bi-C-(HRq?z1c;7}2n+>jdn+jW) z&pp-^Ikr<;_U#k5HDRsmQd;w-=(qm-wA*BgU54APwzG_dy+`l;x+h~UI4d~Z+nw*o zuis`|xs#vTex04?UVPhXxgamAadxsuX4*IVD?&i#;~>A9c1GjX`zzl0i~leau}f=N z)wJqRw#bL@XVbZizftmiBEG@TslQ>&3}ejbF&pL1?S`f P3lauTS3j3^P6 + + + + + +HIP: Heterogenous-computing Interface for Portability: Member List + + + + + + + + + +
+
+ + + + + + +
+
HIP: Heterogenous-computing Interface for Portability +
+
+
+ + + + + + + + + +
+ +
+ +
+
+
+
StagingBuffer Member List
+
+
+ +

This is the complete list of members for StagingBuffer, including all inherited members.

+ + + + + + + + + +
_max_buffers (defined in StagingBuffer)StagingBufferstatic
CopyDeviceToHost(void *dst, const void *src, size_t sizeBytes, hsa_signal_t *waitFor) (defined in StagingBuffer)StagingBuffer
CopyDeviceToHostPinInPlace(void *dst, const void *src, size_t sizeBytes, hsa_signal_t *waitFor) (defined in StagingBuffer)StagingBuffer
CopyHostToDevice(void *dst, const void *src, size_t sizeBytes, hsa_signal_t *waitFor) (defined in StagingBuffer)StagingBuffer
CopyHostToDevicePinInPlace(void *dst, const void *src, size_t sizeBytes, hsa_signal_t *waitFor) (defined in StagingBuffer)StagingBuffer
CopyPeerToPeer(void *dst, hsa_agent_t dstAgent, const void *src, hsa_agent_t srcAgent, size_t sizeBytes, hsa_signal_t *waitFor) (defined in StagingBuffer)StagingBuffer
StagingBuffer(hsa_agent_t hsaAgent, hsa_region_t systemRegion, size_t bufferSize, int numBuffers) (defined in StagingBuffer)StagingBuffer
~StagingBuffer() (defined in StagingBuffer)StagingBuffer
+ + + + diff --git a/docs/RuntimeAPI/html/structStagingBuffer.html b/docs/RuntimeAPI/html/structStagingBuffer.html new file mode 100644 index 0000000000..2908101fc1 --- /dev/null +++ b/docs/RuntimeAPI/html/structStagingBuffer.html @@ -0,0 +1,134 @@ + + + + + + +HIP: Heterogenous-computing Interface for Portability: StagingBuffer Struct Reference + + + + + + + + + +
+
+ + + + + + +
+
HIP: Heterogenous-computing Interface for Portability +
+
+
+ + + + + + + + + +
+ +
+ +
+
+ +
+
StagingBuffer Struct Reference
+
+
+ + + + + + + + + + + + + + +

+Public Member Functions

StagingBuffer (hsa_agent_t hsaAgent, hsa_region_t systemRegion, size_t bufferSize, int numBuffers)
 
+void CopyHostToDevice (void *dst, const void *src, size_t sizeBytes, hsa_signal_t *waitFor)
 
+void CopyHostToDevicePinInPlace (void *dst, const void *src, size_t sizeBytes, hsa_signal_t *waitFor)
 
+void CopyDeviceToHost (void *dst, const void *src, size_t sizeBytes, hsa_signal_t *waitFor)
 
+void CopyDeviceToHostPinInPlace (void *dst, const void *src, size_t sizeBytes, hsa_signal_t *waitFor)
 
+void CopyPeerToPeer (void *dst, hsa_agent_t dstAgent, const void *src, hsa_agent_t srcAgent, size_t sizeBytes, hsa_signal_t *waitFor)
 
+ + + +

+Static Public Attributes

+static const int _max_buffers = 4
 
+
The documentation for this struct was generated from the following files:
    +
  • /home/mangupta/git/hip/release_0.90.00/include/hcc_detail/staging_buffer.h
  • +
  • /home/mangupta/git/hip/release_0.90.00/src/staging_buffer.cpp
  • +
+
+ + + + diff --git a/docs/RuntimeAPI/html/structdim3-members.html b/docs/RuntimeAPI/html/structdim3-members.html new file mode 100644 index 0000000000..7a8e2d1c9e --- /dev/null +++ b/docs/RuntimeAPI/html/structdim3-members.html @@ -0,0 +1,104 @@ + + + + + + +HIP: Heterogenous-computing Interface for Portability: Member List + + + + + + + + + +
+
+ + + + + + +
+
HIP: Heterogenous-computing Interface for Portability +
+
+
+ + + + + + + + + +
+ +
+ +
+
+
+
dim3 Member List
+
+
+ +

This is the complete list of members for dim3, including all inherited members.

+ + + + +
xdim3
ydim3
zdim3
+ + + + diff --git a/docs/RuntimeAPI/html/structdim3.html b/docs/RuntimeAPI/html/structdim3.html new file mode 100644 index 0000000000..8b35f15277 --- /dev/null +++ b/docs/RuntimeAPI/html/structdim3.html @@ -0,0 +1,124 @@ + + + + + + +HIP: Heterogenous-computing Interface for Portability: dim3 Struct Reference + + + + + + + + + +
+
+ + + + + + +
+
HIP: Heterogenous-computing Interface for Portability +
+
+
+ + + + + + + + + +
+ +
+ +
+ +
+ +

#include <hip_runtime_api.h>

+ + + + + + + + + + + +

+Public Attributes

+uint32_t x
 x
 
+uint32_t y
 y
 
+uint32_t z
 z
 
+

Detailed Description

+

Struct for data in 3D

+

The documentation for this struct was generated from the following file: +
+ + + + diff --git a/docs/RuntimeAPI/html/structhipChannelFormatDesc-members.html b/docs/RuntimeAPI/html/structhipChannelFormatDesc-members.html new file mode 100644 index 0000000000..f4a7703517 --- /dev/null +++ b/docs/RuntimeAPI/html/structhipChannelFormatDesc-members.html @@ -0,0 +1,102 @@ + + + + + + +HIP: Heterogenous-computing Interface for Portability: Member List + + + + + + + + + +
+
+ + + + + + +
+
HIP: Heterogenous-computing Interface for Portability +
+
+
+ + + + + + + + + +
+ +
+ +
+
+
+
hipChannelFormatDesc Member List
+
+
+ +

This is the complete list of members for hipChannelFormatDesc, including all inherited members.

+ + +
_dummy (defined in hipChannelFormatDesc)hipChannelFormatDesc
+ + + + diff --git a/docs/RuntimeAPI/html/structhipChannelFormatDesc.html b/docs/RuntimeAPI/html/structhipChannelFormatDesc.html new file mode 100644 index 0000000000..502d909062 --- /dev/null +++ b/docs/RuntimeAPI/html/structhipChannelFormatDesc.html @@ -0,0 +1,111 @@ + + + + + + +HIP: Heterogenous-computing Interface for Portability: hipChannelFormatDesc Struct Reference + + + + + + + + + +
+
+ + + + + + +
+
HIP: Heterogenous-computing Interface for Portability +
+
+
+ + + + + + + + + +
+ +
+ +
+
+ +
+
hipChannelFormatDesc Struct Reference
+
+
+ + + + +

+Public Attributes

+int _dummy
 
+
The documentation for this struct was generated from the following file:
    +
  • /home/mangupta/git/hip/release_0.90.00/include/hcc_detail/hip_texture.h
  • +
+
+ + + + diff --git a/docs/RuntimeAPI/html/structhipDeviceArch__t-members.html b/docs/RuntimeAPI/html/structhipDeviceArch__t-members.html new file mode 100644 index 0000000000..ed4b8ecc7e --- /dev/null +++ b/docs/RuntimeAPI/html/structhipDeviceArch__t-members.html @@ -0,0 +1,118 @@ + + + + + + +HIP: Heterogenous-computing Interface for Portability: Member List + + + + + + + + + +
+
+ + + + + + +
+
HIP: Heterogenous-computing Interface for Portability +
+
+
+ + + + + + + + + +
+ +
+ +
+
+
+
hipDeviceArch_t Member List
+
+ + + + + diff --git a/docs/RuntimeAPI/html/structhipDeviceArch__t.html b/docs/RuntimeAPI/html/structhipDeviceArch__t.html new file mode 100644 index 0000000000..05c44a9dc1 --- /dev/null +++ b/docs/RuntimeAPI/html/structhipDeviceArch__t.html @@ -0,0 +1,176 @@ + + + + + + +HIP: Heterogenous-computing Interface for Portability: hipDeviceArch_t Struct Reference + + + + + + + + + +
+
+ + + + + + +
+
HIP: Heterogenous-computing Interface for Portability +
+
+
+ + + + + + + + + +
+ +
+ +
+
+ +
+
hipDeviceArch_t Struct Reference
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Attributes

+unsigned hasGlobalInt32Atomics: 1
 32-bit integer atomics for global memory.
 
+unsigned hasGlobalFloatAtomicExch: 1
 32-bit float atomic exch for global memory.
 
+unsigned hasSharedInt32Atomics: 1
 32-bit integer atomics for shared memory.
 
+unsigned hasSharedFloatAtomicExch: 1
 32-bit float atomic exch for shared memory.
 
+unsigned hasFloatAtomicAdd: 1
 32-bit float atomic add in global and shared memory.
 
+unsigned hasGlobalInt64Atomics: 1
 64-bit integer atomics for global memory.
 
+unsigned hasSharedInt64Atomics: 1
 64-bit integer atomics for shared memory.
 
+unsigned hasDoubles: 1
 Double-precision floating point.
 
+unsigned hasWarpVote: 1
 Warp vote instructions (__any, __all).
 
+unsigned hasWarpBallot: 1
 Warp ballot instructions (__ballot).
 
+unsigned hasWarpShuffle: 1
 Warp shuffle operations. (__shfl_*).
 
+unsigned hasFunnelShift: 1
 Funnel two words into one with shift&mask caps.
 
+unsigned hasThreadFenceSystem: 1
 __threadfence_system.
 
+unsigned hasSyncThreadsExt: 1
 __syncthreads_count, syncthreads_and, syncthreads_or.
 
+unsigned hasSurfaceFuncs: 1
 Surface functions.
 
+unsigned has3dGrid: 1
 Grid and group dims are 3D (rather than 2D).
 
+unsigned hasDynamicParallelism: 1
 Dynamic parallelism.
 
+
The documentation for this struct was generated from the following file: +
+ + + + diff --git a/docs/RuntimeAPI/html/structhipDeviceProp__t-members.html b/docs/RuntimeAPI/html/structhipDeviceProp__t-members.html new file mode 100644 index 0000000000..03ce33c112 --- /dev/null +++ b/docs/RuntimeAPI/html/structhipDeviceProp__t-members.html @@ -0,0 +1,127 @@ + + + + + + +HIP: Heterogenous-computing Interface for Portability: Member List + + + + + + + + + +
+
+ + + + + + +
+
HIP: Heterogenous-computing Interface for Portability +
+
+
+ + + + + + + + + +
+ +
+ +
+
+
+
hipDeviceProp_t Member List
+
+ + + + + diff --git a/docs/RuntimeAPI/html/structhipDeviceProp__t.html b/docs/RuntimeAPI/html/structhipDeviceProp__t.html new file mode 100644 index 0000000000..aa62da575a --- /dev/null +++ b/docs/RuntimeAPI/html/structhipDeviceProp__t.html @@ -0,0 +1,216 @@ + + + + + + +HIP: Heterogenous-computing Interface for Portability: hipDeviceProp_t Struct Reference + + + + + + + + + +
+
+ + + + + + +
+
HIP: Heterogenous-computing Interface for Portability +
+
+
+ + + + + + + + + +
+ +
+ +
+
+ +
+
hipDeviceProp_t Struct Reference
+
+
+ +

#include <hip_runtime_api.h>

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Attributes

+char name [256]
 Device name.
 
+size_t totalGlobalMem
 Size of global memory region (in bytes).
 
+size_t sharedMemPerBlock
 Size of shared memory region (in bytes).
 
+int regsPerBlock
 Registers per block.
 
+int warpSize
 Warp size.
 
+int maxThreadsPerBlock
 Max work items per work group or workgroup max size.
 
+int maxThreadsDim [3]
 Max number of threads in each dimension (XYZ) of a block.
 
+int maxGridSize [3]
 Max grid dimensions (XYZ).
 
+int clockRate
 Max clock frequency of the multiProcessors in khz.
 
+int memoryClockRate
 Max global memory clock frequency in khz.
 
+int memoryBusWidth
 Global memory bus width in bits.
 
+size_t totalConstMem
 Size of shared memory region (in bytes).
 
+int major
 Major compute capability. On HCC, this is an approximation and features may differ from CUDA CC. See the arch feature flags for portable ways to query feature caps.
 
+int minor
 Minor compute capability. On HCC, this is an approximation and features may differ from CUDA CC. See the arch feature flags for portable ways to query feature caps.
 
+int multiProcessorCount
 Number of multi-processors (compute units).
 
+int l2CacheSize
 L2 cache size.
 
+int maxThreadsPerMultiProcessor
 Maximum resident threads per multi-processor.
 
+int computeMode
 Compute mode.
 
+int clockInstructionRate
 Frequency in khz of the timer used by the device-side "clock*" instructions. New for HIP.
 
+hipDeviceArch_t arch
 Architectural feature flags. New for HIP.
 
+int concurrentKernels
 Device can possibly execute multiple kernels concurrently.
 
+int pciBusID
 PCI Bus ID.
 
+int pciDeviceID
 PCI Device ID.
 
+size_t maxSharedMemoryPerMultiProcessor
 Maximum Shared Memory Per Multiprocessor.
 
+int isMultiGpuBoard
 1 if device is on a multi-GPU board, 0 if not.
 
+int canMapHostMemory
 Check whether HIP can map host memory.
 
+

Detailed Description

+

hipDeviceProp

+

The documentation for this struct was generated from the following file: +
+ + + + diff --git a/docs/RuntimeAPI/html/structhipEvent__t-members.html b/docs/RuntimeAPI/html/structhipEvent__t-members.html new file mode 100644 index 0000000000..6ff613eca3 --- /dev/null +++ b/docs/RuntimeAPI/html/structhipEvent__t-members.html @@ -0,0 +1,102 @@ + + + + + + +HIP: Heterogenous-computing Interface for Portability: Member List + + + + + + + + + +
+
+ + + + + + +
+
HIP: Heterogenous-computing Interface for Portability +
+
+
+ + + + + + + + + +
+ +
+ +
+
+
+
hipEvent_t Member List
+
+
+ +

This is the complete list of members for hipEvent_t, including all inherited members.

+ + +
_handle (defined in hipEvent_t)hipEvent_t
+ + + + diff --git a/docs/RuntimeAPI/html/structhipEvent__t.html b/docs/RuntimeAPI/html/structhipEvent__t.html new file mode 100644 index 0000000000..62a2086c22 --- /dev/null +++ b/docs/RuntimeAPI/html/structhipEvent__t.html @@ -0,0 +1,111 @@ + + + + + + +HIP: Heterogenous-computing Interface for Portability: hipEvent_t Struct Reference + + + + + + + + + +
+
+ + + + + + +
+
HIP: Heterogenous-computing Interface for Portability +
+
+
+ + + + + + + + + +
+ +
+ +
+
+ +
+
hipEvent_t Struct Reference
+
+
+ + + + +

+Public Attributes

+struct ihipEvent_t_handle
 
+
The documentation for this struct was generated from the following file: +
+ + + + diff --git a/docs/RuntimeAPI/html/structhipPointerAttribute__t-members.html b/docs/RuntimeAPI/html/structhipPointerAttribute__t-members.html new file mode 100644 index 0000000000..6b670bed04 --- /dev/null +++ b/docs/RuntimeAPI/html/structhipPointerAttribute__t-members.html @@ -0,0 +1,107 @@ + + + + + + +HIP: Heterogenous-computing Interface for Portability: Member List + + + + + + + + + +
+
+ + + + + + +
+
HIP: Heterogenous-computing Interface for Portability +
+
+
+ + + + + + + + + +
+ +
+ +
+
+
+
hipPointerAttribute_t Member List
+
+
+ +

This is the complete list of members for hipPointerAttribute_t, including all inherited members.

+ + + + + + + +
allocationFlags (defined in hipPointerAttribute_t)hipPointerAttribute_t
device (defined in hipPointerAttribute_t)hipPointerAttribute_t
devicePointer (defined in hipPointerAttribute_t)hipPointerAttribute_t
hostPointer (defined in hipPointerAttribute_t)hipPointerAttribute_t
isManaged (defined in hipPointerAttribute_t)hipPointerAttribute_t
memoryType (defined in hipPointerAttribute_t)hipPointerAttribute_t
+ + + + diff --git a/docs/RuntimeAPI/html/structhipPointerAttribute__t.html b/docs/RuntimeAPI/html/structhipPointerAttribute__t.html new file mode 100644 index 0000000000..8b7a3c327a --- /dev/null +++ b/docs/RuntimeAPI/html/structhipPointerAttribute__t.html @@ -0,0 +1,130 @@ + + + + + + +HIP: Heterogenous-computing Interface for Portability: hipPointerAttribute_t Struct Reference + + + + + + + + + +
+
+ + + + + + +
+
HIP: Heterogenous-computing Interface for Portability +
+
+
+ + + + + + + + + +
+ +
+ +
+
+ +
+
hipPointerAttribute_t Struct Reference
+
+
+ +

#include <hip_runtime_api.h>

+ + + + + + + + + + + + + + +

+Public Attributes

+enum hipMemoryType memoryType
 
+int device
 
+void * devicePointer
 
+void * hostPointer
 
+int isManaged
 
+unsigned allocationFlags
 
+

Detailed Description

+

Pointer attributes

+

The documentation for this struct was generated from the following file: +
+ + + + diff --git a/docs/RuntimeAPI/html/structihipEvent__t-members.html b/docs/RuntimeAPI/html/structihipEvent__t-members.html new file mode 100644 index 0000000000..52e7f2e35d --- /dev/null +++ b/docs/RuntimeAPI/html/structihipEvent__t-members.html @@ -0,0 +1,107 @@ + + + + + + +HIP: Heterogenous-computing Interface for Portability: Member List + + + + + + + + + +
+
+ + + + + + +
+
HIP: Heterogenous-computing Interface for Portability +
+
+
+ + + + + + + + + +
+ +
+ +
+
+
+
ihipEvent_t Member List
+
+
+ +

This is the complete list of members for ihipEvent_t, including all inherited members.

+ + + + + + + +
_copy_seq_id (defined in ihipEvent_t)ihipEvent_t
_flags (defined in ihipEvent_t)ihipEvent_t
_marker (defined in ihipEvent_t)ihipEvent_t
_state (defined in ihipEvent_t)ihipEvent_t
_stream (defined in ihipEvent_t)ihipEvent_t
_timestamp (defined in ihipEvent_t)ihipEvent_t
+ + + + diff --git a/docs/RuntimeAPI/html/structihipEvent__t.html b/docs/RuntimeAPI/html/structihipEvent__t.html new file mode 100644 index 0000000000..ee1d88b7ce --- /dev/null +++ b/docs/RuntimeAPI/html/structihipEvent__t.html @@ -0,0 +1,126 @@ + + + + + + +HIP: Heterogenous-computing Interface for Portability: ihipEvent_t Struct Reference + + + + + + + + + +
+
+ + + + + + +
+
HIP: Heterogenous-computing Interface for Portability +
+
+
+ + + + + + + + + +
+ +
+ +
+
+ +
+
ihipEvent_t Struct Reference
+
+
+ + + + + + + + + + + + + + +

+Public Attributes

+hipEventStatus_t _state
 
+hipStream_t _stream
 
+unsigned _flags
 
+hc::completion_future _marker
 
+uint64_t _timestamp
 
+SIGSEQNUM _copy_seq_id
 
+
The documentation for this struct was generated from the following file:
    +
  • /home/mangupta/git/hip/release_0.90.00/include/hcc_detail/hip_hcc.h
  • +
+
+ + + + diff --git a/docs/RuntimeAPI/html/structihipSignal__t-members.html b/docs/RuntimeAPI/html/structihipSignal__t-members.html new file mode 100644 index 0000000000..92dd0e54c6 --- /dev/null +++ b/docs/RuntimeAPI/html/structihipSignal__t-members.html @@ -0,0 +1,107 @@ + + + + + + +HIP: Heterogenous-computing Interface for Portability: Member List + + + + + + + + + +
+
+ + + + + + +
+
HIP: Heterogenous-computing Interface for Portability +
+
+
+ + + + + + + + + +
+ +
+ +
+
+
+
ihipSignal_t Member List
+
+
+ +

This is the complete list of members for ihipSignal_t, including all inherited members.

+ + + + + + + +
_hsa_signal (defined in ihipSignal_t)ihipSignal_t
_index (defined in ihipSignal_t)ihipSignal_t
_sig_id (defined in ihipSignal_t)ihipSignal_t
ihipSignal_t() (defined in ihipSignal_t)ihipSignal_t
release() (defined in ihipSignal_t)ihipSignal_t
~ihipSignal_t() (defined in ihipSignal_t)ihipSignal_t
+ + + + diff --git a/docs/RuntimeAPI/html/structihipSignal__t.html b/docs/RuntimeAPI/html/structihipSignal__t.html new file mode 100644 index 0000000000..be7eb10e71 --- /dev/null +++ b/docs/RuntimeAPI/html/structihipSignal__t.html @@ -0,0 +1,125 @@ + + + + + + +HIP: Heterogenous-computing Interface for Portability: ihipSignal_t Struct Reference + + + + + + + + + +
+
+ + + + + + +
+
HIP: Heterogenous-computing Interface for Portability +
+
+
+ + + + + + + + + +
+ +
+ +
+
+ +
+
ihipSignal_t Struct Reference
+
+
+ + + + +

+Public Member Functions

+void release ()
 
+ + + + + + + +

+Public Attributes

+hsa_signal_t _hsa_signal
 
+int _index
 
+SIGSEQNUM _sig_id
 
+
The documentation for this struct was generated from the following files:
    +
  • /home/mangupta/git/hip/release_0.90.00/include/hcc_detail/hip_hcc.h
  • +
  • /home/mangupta/git/hip/release_0.90.00/src/hip_hcc.cpp
  • +
+
+ + + + diff --git a/docs/RuntimeAPI/html/structtextureReference-members.html b/docs/RuntimeAPI/html/structtextureReference-members.html new file mode 100644 index 0000000000..4125dfaba5 --- /dev/null +++ b/docs/RuntimeAPI/html/structtextureReference-members.html @@ -0,0 +1,104 @@ + + + + + + +HIP: Heterogenous-computing Interface for Portability: Member List + + + + + + + + + +
+
+ + + + + + +
+
HIP: Heterogenous-computing Interface for Portability +
+
+
+ + + + + + + + + +
+ +
+ +
+
+
+
textureReference Member List
+
+
+ +

This is the complete list of members for textureReference, including all inherited members.

+ + + + +
channelDesc (defined in textureReference)textureReference
filterMode (defined in textureReference)textureReference
normalized (defined in textureReference)textureReference
+ + + + diff --git a/docs/RuntimeAPI/html/structtextureReference.html b/docs/RuntimeAPI/html/structtextureReference.html new file mode 100644 index 0000000000..15b8bafd9b --- /dev/null +++ b/docs/RuntimeAPI/html/structtextureReference.html @@ -0,0 +1,117 @@ + + + + + + +HIP: Heterogenous-computing Interface for Portability: textureReference Struct Reference + + + + + + + + + +
+
+ + + + + + +
+
HIP: Heterogenous-computing Interface for Portability +
+
+
+ + + + + + + + + +
+ +
+ +
+
+ +
+
textureReference Struct Reference
+
+
+ + + + + + + + +

+Public Attributes

+hipTextureFilterMode filterMode
 
+bool normalized
 
+hipChannelFormatDesc channelDesc
 
+
The documentation for this struct was generated from the following file:
    +
  • /home/mangupta/git/hip/release_0.90.00/include/hcc_detail/hip_texture.h
  • +
+
+ + + + diff --git a/docs/RuntimeAPI/html/sync_off.png b/docs/RuntimeAPI/html/sync_off.png new file mode 100644 index 0000000000000000000000000000000000000000..3b443fc62892114406e3d399421b2a881b897acc GIT binary patch literal 853 zcmV-b1FHOqP)oT|#XixUYy%lpuf3i8{fX!o zUyDD0jOrAiT^tq>fLSOOABs-#u{dV^F$b{L9&!2=9&RmV;;8s^x&UqB$PCj4FdKbh zoB1WTskPUPu05XzFbA}=KZ-GP1fPpAfSs>6AHb12UlR%-i&uOlTpFNS7{jm@mkU1V zh`nrXr~+^lsV-s1dkZOaI|kYyVj3WBpPCY{n~yd%u%e+d=f%`N0FItMPtdgBb@py; zq@v6NVArhyTC7)ULw-Jy8y42S1~4n(3LkrW8mW(F-4oXUP3E`e#g**YyqI7h-J2zK zK{m9##m4ri!7N>CqQqCcnI3hqo1I;Yh&QLNY4T`*ptiQGozK>FF$!$+84Z`xwmeMh zJ0WT+OH$WYFALEaGj2_l+#DC3t7_S`vHpSivNeFbP6+r50cO8iu)`7i%Z4BTPh@_m3Tk!nAm^)5Bqnr%Ov|Baunj#&RPtRuK& z4RGz|D5HNrW83-#ydk}tVKJrNmyYt-sTxLGlJY5nc&Re zU4SgHNPx8~Yxwr$bsju?4q&%T1874xxzq+_%?h8_ofw~(bld=o3iC)LUNR*BY%c0y zWd_jX{Y8`l%z+ol1$@Qa?Cy!(0CVIEeYpKZ`(9{z>3$CIe;pJDQk$m3p}$>xBm4lb zKo{4S)`wdU9Ba9jJbVJ0C=SOefZe%d$8=2r={nu<_^a3~>c#t_U6dye5)JrR(_a^E f@}b6j1K9lwFJq@>o)+Ry00000NkvXXu0mjfWa5j* literal 0 HcmV?d00001 diff --git a/docs/RuntimeAPI/html/sync_on.png b/docs/RuntimeAPI/html/sync_on.png new file mode 100644 index 0000000000000000000000000000000000000000..e08320fb64e6fa33b573005ed6d8fe294e19db76 GIT binary patch literal 845 zcmV-T1G4;yP)Y;xxyHF2B5Wzm| zOOGupOTn@c(JmBOl)e;XMNnZuiTJP>rM8<|Q`7I_))aP?*T)ow&n59{}X4$3Goat zgjs?*aasfbrokzG5cT4K=uG`E14xZl@z)F={P0Y^?$4t z>v!teRnNZym<6h{7sLyF1V0HsfEl+l6TrZpsfr1}luH~F7L}ktXu|*uVX^RG$L0`K zWs3j|0tIvVe(N%_?2{(iCPFGf#B6Hjy6o&}D$A%W%jfO8_W%ZO#-mh}EM$LMn7joJ z05dHr!5Y92g+31l<%i1(=L1a1pXX+OYnalY>31V4K}BjyRe3)9n#;-cCVRD_IG1fT zOKGeNY8q;TL@K{dj@D^scf&VCs*-Jb>8b>|`b*osv52-!A?BpbYtTQBns5EAU**$m zSnVSm(teh>tQi*S*A>#ySc=n;`BHz`DuG4&g4Kf8lLhca+zvZ7t7RflD6-i-mcK=M z!=^P$*u2)bkY5asG4gsss!Hn%u~>}kIW`vMs%lJLH+u*9<4PaV_c6U`KqWXQH%+Nu zTv41O(^ZVi@qhjQdG!fbZw&y+2o!iYymO^?ud3{P*HdoX83YV*Uu_HB=?U&W9%AU# z80}k1SS-CXTU7dcQlsm<^oYLxVSseqY6NO}dc`Nj?8vrhNuCdm@^{a3AQ_>6myOj+ z`1RsLUXF|dm|3k7s2jD(B{rzE>WI2scH8i1;=O5Cc9xB3^aJk%fQjqsu+kH#0=_5a z0nCE8@dbQa-|YIuUVvG0L_IwHMEhOj$Mj4Uq05 X8=0q~qBNan00000NkvXXu0mjfptF>5 literal 0 HcmV?d00001 diff --git a/docs/RuntimeAPI/html/tab_a.png b/docs/RuntimeAPI/html/tab_a.png new file mode 100644 index 0000000000000000000000000000000000000000..3b725c41c5a527a3a3e40097077d0e206a681247 GIT binary patch literal 142 zcmeAS@N?(olHy`uVBq!ia0vp^j6kfy!2~3aiye;!QlXwMjv*C{Z|8b*H5dputLHD# z=<0|*y7z(Vor?d;H&?EG&cXR}?!j-Lm&u1OOI7AIF5&c)RFE;&p0MYK>*Kl@eiymD r@|NpwKX@^z+;{u_Z~trSBfrMKa%3`zocFjEXaR$#tDnm{r-UW|TZ1%4 literal 0 HcmV?d00001 diff --git a/docs/RuntimeAPI/html/tab_b.png b/docs/RuntimeAPI/html/tab_b.png new file mode 100644 index 0000000000000000000000000000000000000000..e2b4a8638cb3496a016eaed9e16ffc12846dea18 GIT binary patch literal 169 zcmeAS@N?(olHy`uVBq!ia0vp^j6kfy!2~3aiye;!QU#tajv*C{Z}0l@H7kg?K0Lnr z!j&C6_(~HV9oQ0Pa6x{-v0AGV_E?vLn=ZI-;YrdjIl`U`uzuDWSP?o#Dmo{%SgM#oan kX~E1%D-|#H#QbHoIja2U-MgvsK&LQxy85}Sb4q9e0Efg%P5=M^ literal 0 HcmV?d00001 diff --git a/docs/RuntimeAPI/html/tabs.css b/docs/RuntimeAPI/html/tabs.css new file mode 100644 index 0000000000..9cf578f23a --- /dev/null +++ b/docs/RuntimeAPI/html/tabs.css @@ -0,0 +1,60 @@ +.tabs, .tabs2, .tabs3 { + background-image: url('tab_b.png'); + width: 100%; + z-index: 101; + font-size: 13px; + font-family: 'Lucida Grande',Geneva,Helvetica,Arial,sans-serif; +} + +.tabs2 { + font-size: 10px; +} +.tabs3 { + font-size: 9px; +} + +.tablist { + margin: 0; + padding: 0; + display: table; +} + +.tablist li { + float: left; + display: table-cell; + background-image: url('tab_b.png'); + line-height: 36px; + list-style: none; +} + +.tablist a { + display: block; + padding: 0 20px; + font-weight: bold; + background-image:url('tab_s.png'); + background-repeat:no-repeat; + background-position:right; + color: #283A5D; + text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.9); + text-decoration: none; + outline: none; +} + +.tabs3 .tablist a { + padding: 0 10px; +} + +.tablist a:hover { + background-image: url('tab_h.png'); + background-repeat:repeat-x; + color: #fff; + text-shadow: 0px 1px 1px rgba(0, 0, 0, 1.0); + text-decoration: none; +} + +.tablist li.current a { + background-image: url('tab_a.png'); + background-repeat:repeat-x; + color: #fff; + text-shadow: 0px 1px 1px rgba(0, 0, 0, 1.0); +} diff --git a/docs/RuntimeAPI/html/trace__helper_8h_source.html b/docs/RuntimeAPI/html/trace__helper_8h_source.html new file mode 100644 index 0000000000..114e538412 --- /dev/null +++ b/docs/RuntimeAPI/html/trace__helper_8h_source.html @@ -0,0 +1,231 @@ + + + + + + +HIP: Heterogenous-computing Interface for Portability: /home/mangupta/git/hip/release_0.90.00/include/hcc_detail/trace_helper.h Source File + + + + + + + + + +
+
+ + + + + + +
+
HIP: Heterogenous-computing Interface for Portability +
+
+
+ + + + + + + + + +
+ +
+ + +
+
+
+
trace_helper.h
+
+
+
1 /*
+
2 Copyright (c) 2015-2016 Advanced Micro Devices, Inc. All rights reserved.
+
3 Permission is hereby granted, free of charge, to any person obtaining a copy
+
4 of this software and associated documentation files (the "Software"), to deal
+
5 in the Software without restriction, including without limitation the rights
+
6 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+
7 copies of the Software, and to permit persons to whom the Software is
+
8 furnished to do so, subject to the following conditions:
+
9 The above copyright notice and this permission notice shall be included in
+
10 all copies or substantial portions of the Software.
+
11 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANNTY OF ANY KIND, EXPRESS OR
+
12 IMPLIED, INNCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+
13 FITNNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+
14 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANNY CLAIM, DAMAGES OR OTHER
+
15 LIABILITY, WHETHER INN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+
16 OUT OF OR INN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+
17 THE SOFTWARE.
+
18 */
+
19 //#pragma once
+
20 
+
21 #ifndef TRACE_HELPER_H
+
22 #define TRACE_HELPER_H
+
23 
+
24 #include <iostream>
+
25 #include <iomanip>
+
26 #include <string>
+
27 
+
28 //---
+
29 // Helper functions to convert HIP function arguments into strings.
+
30 // Handles POD data types as well as enumerations (ie hipMemcpyKind).
+
31 // The implementation uses C++11 variadic templates and template specialization.
+
32 // The hipMemcpyKind example below is a good example that shows how to implement conversion for a new HSA type.
+
33 
+
34 
+
35 // Handy macro to convert an enumeration to a stringified version of same:
+
36 #define CASE_STR(x) case x: return #x;
+
37 
+
38 
+
39 // Building block functions:
+
40 template <typename T>
+
41 inline std::string ToHexString(T v)
+
42 {
+
43  std::ostringstream ss;
+
44  ss << "0x" << std::hex << v;
+
45  return ss.str();
+
46 };
+
47 
+
48 
+
49 //---
+
50 // Template overloads for ToString to handle specific types
+
51 
+
52 // This is the default which works for most types:
+
53 template <typename T>
+
54 inline std::string ToString(T v)
+
55 {
+
56  std::ostringstream ss;
+
57  ss << v;
+
58  return ss.str();
+
59 };
+
60 
+
61 
+
62 // hipEvent_t specialization. TODO - maybe add an event ID for debug?
+
63 template <>
+
64 inline std::string ToString(hipEvent_t v)
+
65 {
+
66  return ToString(&v);
+
67 };
+
68 
+
69 
+
70 
+
71 // hipStream_t
+
72 template <>
+
73 inline std::string ToString(hipStream_t v)
+
74 {
+
75  std::ostringstream ss;
+
76  if (v == NULL) {
+
77  ss << "stream:<null>";
+
78  } else {
+
79  ss << *v;
+
80  }
+
81 
+
82  return ss.str();
+
83 };
+
84 
+
85 // hipMemcpyKind specialization
+
86 template <>
+
87 inline std::string ToString(hipMemcpyKind v)
+
88 {
+
89  switch(v) {
+
90  CASE_STR(hipMemcpyHostToHost);
+
91  CASE_STR(hipMemcpyHostToDevice);
+
92  CASE_STR(hipMemcpyDeviceToHost);
+
93  CASE_STR(hipMemcpyDeviceToDevice);
+
94  CASE_STR(hipMemcpyDefault);
+
95  default : return ToHexString(v);
+
96  };
+
97 };
+
98 
+
99 
+
100 template <>
+
101 inline std::string ToString(hipError_t v)
+
102 {
+
103  return ihipErrorString(v);
+
104 };
+
105 
+
106 
+
107 // Catch empty arguments case
+
108 inline std::string ToString()
+
109 {
+
110  return ("");
+
111 }
+
112 
+
113 
+
114 //---
+
115 // C++11 variadic template - peels off first argument, converts to string, and calls itself again to peel the next arg.
+
116 // Strings are automatically separated by comma+space.
+
117 template <typename T, typename... Args>
+
118 inline std::string ToString(T first, Args... args)
+
119 {
+
120  return ToString(first) + ", " + ToString(args...) ;
+
121 }
+
122 
+
123 #endif
+
Host-to-Device Copy.
Definition: hip_runtime_api.h:131
+
Device-to-Host Copy.
Definition: hip_runtime_api.h:132
+
hipError_t
Definition: hip_runtime_api.h:144
+
hipMemcpyKind
Definition: hip_runtime_api.h:129
+
Definition: hip_runtime_api.h:47
+
Device-to-Device Copy.
Definition: hip_runtime_api.h:133
+
Runtime will automatically determine copy-kind based on virtual addresses.
Definition: hip_runtime_api.h:134
+
Host-to-Host Copy.
Definition: hip_runtime_api.h:130
+
+ + + +