From 671128abb06db48b7cf49b230be710b4e56acaf0 Mon Sep 17 00:00:00 2001 From: scchan Date: Tue, 15 Mar 2016 23:53:21 -0500 Subject: [PATCH 1/3] fix builtins mapping for IDs and Dims --- hipamd/include/hcc_detail/hip_runtime.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/hipamd/include/hcc_detail/hip_runtime.h b/hipamd/include/hcc_detail/hip_runtime.h index b9a6981fee..f5219369c8 100644 --- a/hipamd/include/hcc_detail/hip_runtime.h +++ b/hipamd/include/hcc_detail/hip_runtime.h @@ -428,21 +428,21 @@ __device__ inline float __dsqrt_rz(double x) {return hc::fast_math::sqrt(x); }; /** * Kernel launching */ -#define hipThreadIdx_x (amp_get_local_id(2)) +#define hipThreadIdx_x (amp_get_local_id(0)) #define hipThreadIdx_y (amp_get_local_id(1)) -#define hipThreadIdx_z (amp_get_local_id(0)) +#define hipThreadIdx_z (amp_get_local_id(2)) -#define hipBlockIdx_x (hc_get_group_id(2)) +#define hipBlockIdx_x (hc_get_group_id(0)) #define hipBlockIdx_y (hc_get_group_id(1)) -#define hipBlockIdx_z (hc_get_group_id(0)) +#define hipBlockIdx_z (hc_get_group_id(2)) -#define hipBlockDim_x (amp_get_local_size(2)) +#define hipBlockDim_x (amp_get_local_size(0)) #define hipBlockDim_y (amp_get_local_size(1)) -#define hipBlockDim_z (amp_get_local_size(0)) +#define hipBlockDim_z (amp_get_local_size(2)) -#define hipGridDim_x (hc_get_num_groups(2)) +#define hipGridDim_x (hc_get_num_groups(0)) #define hipGridDim_y (hc_get_num_groups(1)) -#define hipGridDim_z (hc_get_num_groups(0)) +#define hipGridDim_z (hc_get_num_groups(2)) From 1313f1fb77774d68a4fa9c630183ee7763153c75 Mon Sep 17 00:00:00 2001 From: scchan Date: Wed, 23 Mar 2016 11:24:37 -0500 Subject: [PATCH 2/3] add compiler version guard to the grid launch fix --- hipamd/include/hcc_detail/hip_runtime.h | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/hipamd/include/hcc_detail/hip_runtime.h b/hipamd/include/hcc_detail/hip_runtime.h index f5219369c8..79aca00f9a 100644 --- a/hipamd/include/hcc_detail/hip_runtime.h +++ b/hipamd/include/hcc_detail/hip_runtime.h @@ -428,6 +428,9 @@ __device__ inline float __dsqrt_rz(double x) {return hc::fast_math::sqrt(x); }; /** * Kernel launching */ + +#if __hcc_workweek__ >= 16123 + #define hipThreadIdx_x (amp_get_local_id(0)) #define hipThreadIdx_y (amp_get_local_id(1)) #define hipThreadIdx_z (amp_get_local_id(2)) @@ -444,7 +447,25 @@ __device__ inline float __dsqrt_rz(double x) {return hc::fast_math::sqrt(x); }; #define hipGridDim_y (hc_get_num_groups(1)) #define hipGridDim_z (hc_get_num_groups(2)) +#else +#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)) + +#endif #define __syncthreads() hc_barrier(CLK_LOCAL_MEM_FENCE) From 3ca91cf3279b95bdf1fe45f259d30901ffcf3e9d Mon Sep 17 00:00:00 2001 From: Ben Sander Date: Wed, 23 Mar 2016 23:11:15 -0500 Subject: [PATCH 3/3] Update docs: - Some comments in hip_hcc.cpp - document hipHostRegister* flags. - expand docs on hipHostRegister/Unregister. Use "register" rather than "pin" to describe action these take. - change required CUDA version to 6 (require unified memory) - remake doxygen. --- .../docs/RuntimeAPI/html/Synchonization.html | 2 +- hipamd/docs/RuntimeAPI/html/annotated.html | 25 +- hipamd/docs/RuntimeAPI/html/bug.html | 10 +- hipamd/docs/RuntimeAPI/html/classes.html | 27 +- .../dir_68267d1309a1af8e8297ef4c3efbcdba.html | 8 +- .../dir_6d8604cb65fa6b83549668eb0ce09cac.html | 8 +- .../dir_d44c64559bbebec7f509842c48db8b23.html | 4 +- hipamd/docs/RuntimeAPI/html/files.html | 6 +- hipamd/docs/RuntimeAPI/html/functions.html | 25 +- .../docs/RuntimeAPI/html/functions_vars.html | 17 +- hipamd/docs/RuntimeAPI/html/globals.html | 65 +- hipamd/docs/RuntimeAPI/html/globals_defs.html | 17 +- hipamd/docs/RuntimeAPI/html/globals_enum.html | 2 +- hipamd/docs/RuntimeAPI/html/globals_eval.html | 2 +- hipamd/docs/RuntimeAPI/html/globals_func.html | 82 +- hipamd/docs/RuntimeAPI/html/globals_type.html | 2 +- hipamd/docs/RuntimeAPI/html/globals_vars.html | 2 +- hipamd/docs/RuntimeAPI/html/group__API.html | 2 +- .../docs/RuntimeAPI/html/group__Device.html | 96 +- hipamd/docs/RuntimeAPI/html/group__Error.html | 2 +- hipamd/docs/RuntimeAPI/html/group__Event.html | 6 +- .../RuntimeAPI/html/group__GlobalDefs.html | 92 +- .../RuntimeAPI/html/group__HCC__Specific.html | 6 +- .../docs/RuntimeAPI/html/group__HIP-ENV.html | 2 +- .../docs/RuntimeAPI/html/group__Memory.html | 368 ++++++- .../RuntimeAPI/html/group__PeerToPeer.html | 7 +- .../docs/RuntimeAPI/html/group__Profiler.html | 2 +- .../docs/RuntimeAPI/html/group__Stream.html | 26 +- .../docs/RuntimeAPI/html/group__Texture.html | 2 +- .../docs/RuntimeAPI/html/group__Version.html | 2 +- .../html/hcc__detail_2hip__runtime_8h.html | 62 +- .../hcc__detail_2hip__runtime_8h_source.html | 916 +++++++++--------- .../hcc__detail_2hip__runtime__api_8h.html | 104 +- ...__detail_2hip__runtime__api_8h_source.html | 624 ++++++------ .../hcc__detail_2hip__vector__types_8h.html | 4 +- ..._detail_2hip__vector__types_8h_source.html | 4 +- hipamd/docs/RuntimeAPI/html/hierarchy.html | 27 +- .../html/hip__common_8h_source.html | 4 +- .../docs/RuntimeAPI/html/hip__hcc_8cpp.html | 428 ++++++-- .../html/hip__runtime_8h_source.html | 37 +- .../html/hip__runtime__api_8h_source.html | 333 ++++--- .../docs/RuntimeAPI/html/hip__texture_8h.html | 4 +- .../html/hip__texture_8h_source.html | 142 +-- .../html/hip__vector__types_8h_source.html | 4 +- .../RuntimeAPI/html/host__defines_8h.html | 4 +- .../html/host__defines_8h_source.html | 4 +- hipamd/docs/RuntimeAPI/html/index.html | 2 +- hipamd/docs/RuntimeAPI/html/modules.html | 2 +- hipamd/docs/RuntimeAPI/html/pages.html | 2 +- hipamd/docs/RuntimeAPI/html/search/all_10.js | 7 +- hipamd/docs/RuntimeAPI/html/search/all_11.js | 5 +- hipamd/docs/RuntimeAPI/html/search/all_12.js | 2 +- hipamd/docs/RuntimeAPI/html/search/all_13.js | 2 +- hipamd/docs/RuntimeAPI/html/search/all_14.js | 2 +- hipamd/docs/RuntimeAPI/html/search/all_3.js | 1 + hipamd/docs/RuntimeAPI/html/search/all_6.js | 2 +- hipamd/docs/RuntimeAPI/html/search/all_7.js | 143 +-- hipamd/docs/RuntimeAPI/html/search/all_8.js | 165 +++- hipamd/docs/RuntimeAPI/html/search/all_9.js | 7 +- hipamd/docs/RuntimeAPI/html/search/all_a.js | 12 +- hipamd/docs/RuntimeAPI/html/search/all_b.js | 13 +- hipamd/docs/RuntimeAPI/html/search/all_c.js | 2 +- hipamd/docs/RuntimeAPI/html/search/all_d.js | 3 +- hipamd/docs/RuntimeAPI/html/search/all_e.js | 3 +- hipamd/docs/RuntimeAPI/html/search/all_f.js | 3 +- .../docs/RuntimeAPI/html/search/classes_1.js | 5 +- .../docs/RuntimeAPI/html/search/classes_2.js | 8 +- .../docs/RuntimeAPI/html/search/classes_3.js | 7 +- .../docs/RuntimeAPI/html/search/classes_4.js | 5 +- .../docs/RuntimeAPI/html/search/classes_5.js | 6 +- .../RuntimeAPI/html/search/enumvalues_0.js | 7 + .../RuntimeAPI/html/search/functions_0.js | 45 +- hipamd/docs/RuntimeAPI/html/search/search.js | 8 +- .../RuntimeAPI/html/search/variables_1.js | 1 + .../RuntimeAPI/html/search/variables_2.js | 6 +- .../RuntimeAPI/html/search/variables_3.js | 2 +- .../RuntimeAPI/html/search/variables_4.js | 10 +- .../RuntimeAPI/html/search/variables_5.js | 11 +- .../RuntimeAPI/html/search/variables_6.js | 3 +- .../RuntimeAPI/html/search/variables_7.js | 3 +- .../RuntimeAPI/html/search/variables_8.js | 2 +- .../RuntimeAPI/html/search/variables_9.js | 3 +- .../RuntimeAPI/html/search/variables_a.js | 3 +- .../RuntimeAPI/html/search/variables_b.js | 2 +- .../RuntimeAPI/html/search/variables_c.js | 2 +- .../RuntimeAPI/html/search/variables_d.js | 2 +- .../RuntimeAPI/html/structdim3-members.html | 2 +- hipamd/docs/RuntimeAPI/html/structdim3.html | 4 +- .../structhipChannelFormatDesc-members.html | 2 +- .../html/structhipChannelFormatDesc.html | 4 +- .../html/structhipDeviceArch__t-members.html | 2 +- .../html/structhipDeviceArch__t.html | 4 +- .../html/structhipDeviceProp__t-members.html | 35 +- .../html/structhipDeviceProp__t.html | 18 +- .../html/structhipEvent__t-members.html | 2 +- .../RuntimeAPI/html/structhipEvent__t.html | 4 +- .../html/structihipDevice__t-members.html | 18 +- .../RuntimeAPI/html/structihipDevice__t.html | 72 +- .../html/structihipEvent__t-members.html | 13 +- .../RuntimeAPI/html/structihipEvent__t.html | 12 +- .../html/structtexture-members.html | 2 +- .../docs/RuntimeAPI/html/structtexture.html | 4 +- .../html/structtextureReference-members.html | 2 +- .../html/structtextureReference.html | 4 +- hipamd/docs/markdown/hip_faq.md | 2 +- hipamd/include/hcc_detail/hip_runtime_api.h | 64 +- hipamd/src/hip_hcc.cpp | 5 +- 107 files changed, 2766 insertions(+), 1646 deletions(-) diff --git a/hipamd/docs/RuntimeAPI/html/Synchonization.html b/hipamd/docs/RuntimeAPI/html/Synchonization.html index f60f0cc1e4..d1d49391dd 100644 --- a/hipamd/docs/RuntimeAPI/html/Synchonization.html +++ b/hipamd/docs/RuntimeAPI/html/Synchonization.html @@ -109,7 +109,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/hipamd/docs/RuntimeAPI/html/annotated.html b/hipamd/docs/RuntimeAPI/html/annotated.html index 4a61698f75..1d7e7e2a5b 100644 --- a/hipamd/docs/RuntimeAPI/html/annotated.html +++ b/hipamd/docs/RuntimeAPI/html/annotated.html @@ -90,21 +90,26 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
Here are the classes, structs, unions and interfaces with brief descriptions:
diff --git a/hipamd/docs/RuntimeAPI/html/bug.html b/hipamd/docs/RuntimeAPI/html/bug.html index d9c64d7eb8..ef94caaa9f 100644 --- a/hipamd/docs/RuntimeAPI/html/bug.html +++ b/hipamd/docs/RuntimeAPI/html/bug.html @@ -80,22 +80,22 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
-
Member hipDeviceGetProperties (hipDeviceProp_t *prop, int device)
+
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 hipDeviceReset (void)
-
On HCC, hipDeviceReset is a nop and does not reset the device state.
Member hipMemcpyPeerAsync (void *dst, int dstDevice, const void *src, int srcDevice, size_t sizeBytes, hipStream_t stream=0)
This function uses a synchronous copy
Member hipStreamWaitEvent (hipStream_t stream, hipEvent_t event, unsigned int flags)
-
This function conservatively waits for all work in the specified stream to complete.
+
This function conservatively waits for all work in the specified stream to complete.
+
Member ihipDevice_t::getProperties (hipDeviceProp_t *prop)
+
: on HCC, isMultiGpuBoard returns True if system contains multiple GPUS (rather than if GPU is on a multi-ASIC board)
diff --git a/hipamd/docs/RuntimeAPI/html/classes.html b/hipamd/docs/RuntimeAPI/html/classes.html index 70491ef32f..205d994eda 100644 --- a/hipamd/docs/RuntimeAPI/html/classes.html +++ b/hipamd/docs/RuntimeAPI/html/classes.html @@ -87,25 +87,28 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
Class Index
-
D | H | I | T
+
D | F | H | I | S | T
- - - + + + - - - - + + +
  d  
+
  F  
+
  d  
hipDeviceArch_t   ihipEvent_t   textureReference   
hipDeviceProp_t   ihipStream_t   
dim3   hipEvent_t   
  t  
+
hipDeviceProp_t   ihipException   
FakeMutex   dim3   hipEvent_t   ihipSignal_t   
  S  
+
  h  
+
hipPointerAttribute_t   ihipStream_t   
  i  
+
  t  
  h  
-
  i  
-
texture   
hipChannelFormatDesc   ihipDevice_t   
StagingBuffer   hipChannelFormatDesc   
ihipDevice_t   texture   
-
D | H | I | T
+
D | F | H | I | S | T
diff --git a/hipamd/docs/RuntimeAPI/html/dir_68267d1309a1af8e8297ef4c3efbcdba.html b/hipamd/docs/RuntimeAPI/html/dir_68267d1309a1af8e8297ef4c3efbcdba.html index 7d6a9d0e72..71b55290ce 100644 --- a/hipamd/docs/RuntimeAPI/html/dir_68267d1309a1af8e8297ef4c3efbcdba.html +++ b/hipamd/docs/RuntimeAPI/html/dir_68267d1309a1af8e8297ef4c3efbcdba.html @@ -4,7 +4,7 @@ -HIP: Heterogenous-computing Interface for Portability: /home/bensander/HIP.public/src Directory Reference +HIP: Heterogenous-computing Interface for Portability: /home/bensander/HIP-privatestaging/src Directory Reference @@ -88,11 +88,15 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); Files file  hip_hcc.cpp   +file  hip_hcc2.cpp +  +file  staging_buffer.cpp diff --git a/hipamd/docs/RuntimeAPI/html/dir_6d8604cb65fa6b83549668eb0ce09cac.html b/hipamd/docs/RuntimeAPI/html/dir_6d8604cb65fa6b83549668eb0ce09cac.html index 9fb345b393..32a8932ad9 100644 --- a/hipamd/docs/RuntimeAPI/html/dir_6d8604cb65fa6b83549668eb0ce09cac.html +++ b/hipamd/docs/RuntimeAPI/html/dir_6d8604cb65fa6b83549668eb0ce09cac.html @@ -4,7 +4,7 @@ -HIP: Heterogenous-computing Interface for Portability: /home/bensander/HIP.public/include/hcc_detail Directory Reference +HIP: Heterogenous-computing Interface for Portability: /home/bensander/HIP-privatestaging/include/hcc_detail Directory Reference @@ -101,11 +101,15 @@ Files file  host_defines.h [code]  TODO-doc.
  +file  staging_buffer.h [code] +  +file  trace_helper.h [code] diff --git a/hipamd/docs/RuntimeAPI/html/dir_d44c64559bbebec7f509842c48db8b23.html b/hipamd/docs/RuntimeAPI/html/dir_d44c64559bbebec7f509842c48db8b23.html index 34ef4a1333..1eaa18e079 100644 --- a/hipamd/docs/RuntimeAPI/html/dir_d44c64559bbebec7f509842c48db8b23.html +++ b/hipamd/docs/RuntimeAPI/html/dir_d44c64559bbebec7f509842c48db8b23.html @@ -4,7 +4,7 @@ -HIP: Heterogenous-computing Interface for Portability: /home/bensander/HIP.public/include Directory Reference +HIP: Heterogenous-computing Interface for Portability: /home/bensander/HIP-privatestaging/include Directory Reference @@ -103,7 +103,7 @@ Files diff --git a/hipamd/docs/RuntimeAPI/html/files.html b/hipamd/docs/RuntimeAPI/html/files.html index bbb7037a0e..0e4f7bba8b 100644 --- a/hipamd/docs/RuntimeAPI/html/files.html +++ b/hipamd/docs/RuntimeAPI/html/files.html @@ -93,7 +93,9 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); ||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_vector_types.hDefines the different newt vector types for HIP runtime -||\*host_defines.hTODO-doc +||o*host_defines.hTODO-doc +||o*staging_buffer.h +||\*trace_helper.h |o*hip_common.h |o*hip_runtime.h |o*hip_runtime_api.h @@ -105,7 +107,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/hipamd/docs/RuntimeAPI/html/functions.html b/hipamd/docs/RuntimeAPI/html/functions.html index ce1f2c7bf7..e6a4e60528 100644 --- a/hipamd/docs/RuntimeAPI/html/functions.html +++ b/hipamd/docs/RuntimeAPI/html/functions.html @@ -70,6 +70,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); @@ -77,7 +78,9 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • a
  • c
  • +
  • g
  • h
  • +
  • i
  • l
  • m
  • n
  • @@ -117,6 +120,9 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');

    - c -

      +
    • canMapHostMemory +: hipDeviceProp_t +
    • clockInstructionRate : hipDeviceProp_t
    • @@ -132,6 +138,13 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    +

    - g -

    + +

    - h -

    • has3dGrid : hipDeviceArch_t @@ -187,6 +200,13 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    +

    - i -

    + +

    - l -

    • l2CacheSize : hipDeviceProp_t @@ -213,6 +233,9 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    • maxThreadsPerMultiProcessor : hipDeviceProp_t
    • +
    • memoryBusWidth +: hipDeviceProp_t +
    • memoryClockRate : hipDeviceProp_t
    • @@ -295,7 +318,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/hipamd/docs/RuntimeAPI/html/functions_vars.html b/hipamd/docs/RuntimeAPI/html/functions_vars.html index 9bc08863c4..a000c0d646 100644 --- a/hipamd/docs/RuntimeAPI/html/functions_vars.html +++ b/hipamd/docs/RuntimeAPI/html/functions_vars.html @@ -70,6 +70,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); @@ -78,6 +79,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    • a
    • c
    • h
    • +
    • i
    • l
    • m
    • n
    • @@ -117,6 +119,9 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');

      - c -

        +
      • canMapHostMemory +: hipDeviceProp_t +
      • clockInstructionRate : hipDeviceProp_t
      • @@ -187,6 +192,13 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
      +

      - i -

      + +

      - l -

      diff --git a/hipamd/docs/RuntimeAPI/html/globals_type.html b/hipamd/docs/RuntimeAPI/html/globals_type.html index 2c2504da8c..0310e6ead0 100644 --- a/hipamd/docs/RuntimeAPI/html/globals_type.html +++ b/hipamd/docs/RuntimeAPI/html/globals_type.html @@ -106,7 +106,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/hipamd/docs/RuntimeAPI/html/globals_vars.html b/hipamd/docs/RuntimeAPI/html/globals_vars.html index eb20781be3..8bc92d3188 100644 --- a/hipamd/docs/RuntimeAPI/html/globals_vars.html +++ b/hipamd/docs/RuntimeAPI/html/globals_vars.html @@ -109,7 +109,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/hipamd/docs/RuntimeAPI/html/group__API.html b/hipamd/docs/RuntimeAPI/html/group__API.html index 895c153259..f26e9091d5 100644 --- a/hipamd/docs/RuntimeAPI/html/group__API.html +++ b/hipamd/docs/RuntimeAPI/html/group__API.html @@ -110,7 +110,7 @@ Modules diff --git a/hipamd/docs/RuntimeAPI/html/group__Device.html b/hipamd/docs/RuntimeAPI/html/group__Device.html index 5f42bdb840..3332a36137 100644 --- a/hipamd/docs/RuntimeAPI/html/group__Device.html +++ b/hipamd/docs/RuntimeAPI/html/group__Device.html @@ -102,9 +102,9 @@ Functions hipError_t hipDeviceGetAttribute (int *pi, hipDeviceAttribute_t attr, int device)  Query device attribute. More...
        -hipError_t hipDeviceGetProperties (hipDeviceProp_t *prop, int device) - Returns device properties. More...
      -  +hipError_t hipGetDeviceProperties (hipDeviceProp_t *prop, int device) + Returns device properties. More...
      hipError_t hipDeviceSetCacheConfig (hipFuncCache cacheConfig)  Set L1/Shared cache partition. More...
        @@ -184,47 +184,6 @@ Functions

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

      Returns
      hipSuccess
      - - - -
      -
      - - - - - - - - - - - - - - - - - - -
      hipError_t hipDeviceGetProperties (hipDeviceProp_tprops,
      int device 
      )
      -
      - -

      Returns device properties.

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

      Populates hipDeviceGetProperties 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

      -
      -
      @@ -266,7 +225,6 @@ Functions

      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
      -
      Bug:
      On HCC, hipDeviceReset is a nop and does not reset the device state.
      @@ -402,6 +360,52 @@ Functions

      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

      +
      +
      Returns
      hipSuccess, hipErrorInvalidDevice
      +
      Bug:

      HCC always returns 0 for maxThreadsPerMultiProcessor

      +

      HCC always returns 0 for regsPerBlock

      +

      HCC always returns 0 for l2CacheSize

      +
      +
      @@ -442,7 +446,7 @@ Functions diff --git a/hipamd/docs/RuntimeAPI/html/group__Error.html b/hipamd/docs/RuntimeAPI/html/group__Error.html index f6aeb04eb5..1855472492 100644 --- a/hipamd/docs/RuntimeAPI/html/group__Error.html +++ b/hipamd/docs/RuntimeAPI/html/group__Error.html @@ -197,7 +197,7 @@ Functions diff --git a/hipamd/docs/RuntimeAPI/html/group__Event.html b/hipamd/docs/RuntimeAPI/html/group__Event.html index 3b54300dd3..3a2ff62eb2 100644 --- a/hipamd/docs/RuntimeAPI/html/group__Event.html +++ b/hipamd/docs/RuntimeAPI/html/group__Event.html @@ -87,7 +87,7 @@ Functions hipError_t hipEventCreateWithFlags (hipEvent_t *event, unsigned flags)  Create an event with the specified flags. More...
        -hipError_t hipEventRecord (hipEvent_t event, hipStream_t stream=NULL) +hipError_t hipEventRecord (hipEvent_t event, hipStream_t stream=NULL)  Record an event in the specified stream. More...
        hipError_t hipEventDestroy (hipEvent_t event) @@ -256,7 +256,7 @@ Functions - hipStream_t  + hipStream_t  stream = NULL  @@ -315,7 +315,7 @@ Functions diff --git a/hipamd/docs/RuntimeAPI/html/group__GlobalDefs.html b/hipamd/docs/RuntimeAPI/html/group__GlobalDefs.html index 53d57a58c1..b39c89dee4 100644 --- a/hipamd/docs/RuntimeAPI/html/group__GlobalDefs.html +++ b/hipamd/docs/RuntimeAPI/html/group__GlobalDefs.html @@ -113,6 +113,34 @@ Macros #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.
      +  @@ -142,10 +170,17 @@ EnumerationshipErrorInvalidResourceHandle, hipErrorInvalidDevice,
      -  hipErrorNoDevice, -hipErrorNotReady, +  hipErrorInvalidMemcpyDirection, +hipErrorInvalidDevicePointer, +hipErrorInitializationError, +hipErrorNoDevice, +
      +  hipErrorNotReady, hipErrorUnknown, -hipErrorTbd +hipErrorRuntimeMemory, +hipErrorRuntimeOther, +
      +  hipErrorTbd
      } @@ -166,18 +201,21 @@ EnumerationshipDeviceAttributeClockRate,
        hipDeviceAttributeMemoryClockRate, +hipDeviceAttributeMemoryBusWidth, hipDeviceAttributeMultiprocessorCount, hipDeviceAttributeComputeMode, -hipDeviceAttributeL2CacheSize,
      -  hipDeviceAttributeMaxThreadsPerMultiProcessor, +  hipDeviceAttributeL2CacheSize, +hipDeviceAttributeMaxThreadsPerMultiProcessor, hipDeviceAttributeComputeCapabilityMajor, hipDeviceAttributeComputeCapabilityMinor, -hipDeviceAttributeConcurrentKernels,
      -  hipDeviceAttributePciBusId, +  hipDeviceAttributeConcurrentKernels, +hipDeviceAttributePciBusId, hipDeviceAttributePciDeviceId, -hipDeviceAttributeMaxSharedMemoryPerMultiprocessor +hipDeviceAttributeMaxSharedMemoryPerMultiprocessor, +
      +  hipDeviceAttributeIsMultiGpuBoard
      } @@ -233,6 +271,21 @@ Enumerations

      Event can support IPC.

      Warning
      - not supported in HIP.
      + + + +
      +
      +

      Typedefs

       
       
      + + + +
      #define hipHostRegisterDefault   0x0
      +
      + +

      Flags that can be used with hipHostRegister.

      +

      Memory is Mapped and Portable

      +
      @@ -340,6 +393,9 @@ Enumerations hipDeviceAttributeMemoryClockRate 

      Peak memory clock frequency in kilohertz.

      +hipDeviceAttributeMemoryBusWidth  +

      Global memory bus width in bits.

      + hipDeviceAttributeMultiprocessorCount 

      Number of multiprocessors on the device.

      @@ -370,6 +426,9 @@ Enumerations hipDeviceAttributeMaxSharedMemoryPerMultiprocessor 

      Maximum Shared Memory Per Multiprocessor.

      +hipDeviceAttributeIsMultiGpuBoard  +

      Multiple GPU devices.

      + @@ -408,6 +467,15 @@ Enumerations 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.

      @@ -417,6 +485,12 @@ Enumerations hipErrorUnknown 

      Unknown error.

      +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.

      + hipErrorTbd 

      Marker that more error codes are needed.

      @@ -508,7 +582,7 @@ Enumerations diff --git a/hipamd/docs/RuntimeAPI/html/group__HCC__Specific.html b/hipamd/docs/RuntimeAPI/html/group__HCC__Specific.html index 10eb0d5298..7096290cc1 100644 --- a/hipamd/docs/RuntimeAPI/html/group__HCC__Specific.html +++ b/hipamd/docs/RuntimeAPI/html/group__HCC__Specific.html @@ -87,7 +87,7 @@ Functions hipError_t hipHccGetAccelerator (int deviceId, hc::accelerator *acc)  Return hc::accelerator associated with the specified deviceId. More...
        -hipError_t hipHccGetAcceleratorView (hipStream_t stream, hc::accelerator_view **av) +hipError_t hipHccGetAcceleratorView (hipStream_t stream, hc::accelerator_view **av)  Return hc::accelerator_view associated with the specified stream. More...
        @@ -135,7 +135,7 @@ Functions hipError_t hipHccGetAcceleratorView ( - hipStream_t  + hipStream_t  stream, @@ -160,7 +160,7 @@ Functions diff --git a/hipamd/docs/RuntimeAPI/html/group__HIP-ENV.html b/hipamd/docs/RuntimeAPI/html/group__HIP-ENV.html index b4f0537b8b..50e713459f 100644 --- a/hipamd/docs/RuntimeAPI/html/group__HIP-ENV.html +++ b/hipamd/docs/RuntimeAPI/html/group__HIP-ENV.html @@ -101,7 +101,7 @@ int  diff --git a/hipamd/docs/RuntimeAPI/html/group__Memory.html b/hipamd/docs/RuntimeAPI/html/group__Memory.html index 362fb6a8d8..1e2f0e1093 100644 --- a/hipamd/docs/RuntimeAPI/html/group__Memory.html +++ b/hipamd/docs/RuntimeAPI/html/group__Memory.html @@ -84,35 +84,59 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); + + + - - - + + + + + + + + + + + + + + + + + + + + - - - + + + + + + - + - + - + +

      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)
       Allocate pinned host memory. 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. More...
       
      hipError_t hipFreeHost (void *ptr)
       Free memory allocated by the hcc hip host memory allocation API. More...
       
      hipError_t hipFreeHost (void *ptr) __attribute__((deprecated("use hipHostFree instead")))
       Free memory allocated by the hcc hip host memory allocation API. More...
       
      hipError_t hipHostFree (void *ptr)
       Free memory allocated by the hcc hip host memory allocation API. 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=0)
      hipError_t hipMemcpyAsync (void *dst, const void *src, size_t sizeBytes, hipMemcpyKind kind, hipStream_t stream=0)
       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=0)
      hipError_t hipMemsetAsync (void *dst, int value, size_t sizeBytes, hipStream_t=0)
       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)
      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

      @@ -149,7 +173,7 @@ Functions - +
      @@ -172,6 +196,231 @@ Functions
      Returns
      hipSuccess, hipErrorMemoryFree
      + + + +
      +
      +
      + + + + + + + +
      hipError_t hipHostFree (void * ptr)
      +
      + +

      Free memory allocated by the hcc hip host memory allocation API.

      +
      Parameters
      + + +
      [in]ptrPointer to memory to be freed
      +
      +
      +
      Returns
      hipSuccess, hipErrorMemoryFree
      + +
      +
      + +
      +
      + + + + + + + + + + + + + + + + + + + + + + + + +
      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
      +
      @@ -188,7 +437,7 @@ Functions size_t  - size  + sizeBytes  @@ -206,11 +455,13 @@ Functions -
      Returns
      hipSuccess
      +
      Returns
      hipSuccess
      +
      +hipSuccess hipErrorMemoryAllocation
      - +
      @@ -283,7 +534,7 @@ Functions

      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. TODO: cudaErrorInvalidMemcpyDirection error code is not supported right now, use hipErrorUnknown for now

      +

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

      Parameters
      @@ -328,8 +579,8 @@ Functions - - + + @@ -340,7 +591,7 @@ Functions

      Copy data from src to dst asynchronously.

      -

      TODO: cudaErrorInvalidMemcpyDirection error code is not supported right now, use hipErrorUnknown for now

      +
      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.
      Parameters
      [out]dstData being copy to
      hipStream_t stream = 0 hipStream_t stream 
      @@ -350,7 +601,18 @@ Functions
      [out]dstData being copy to
      -
      Returns
      hipSuccess, hipErrorInvalidValue, hipErrorMemoryFree, hipErrorUnknown
      +
      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).
      +
      Returns
      hipSuccess, hipErrorInvalidDevice, hipErrorInvalidMemcpyDirection, hipErrorInvalidValue
      +
      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).
      @@ -410,6 +672,35 @@ Functions
      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

      +
      @@ -482,8 +773,8 @@ Functions - hipStream_t  - = 0  + hipStream_t  + stream  @@ -504,14 +795,45 @@ Functions -
      Returns
      hipSuccess, hipErrorInvalidValue, hipErrorMemoryFree
      +
      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/hipamd/docs/RuntimeAPI/html/group__PeerToPeer.html b/hipamd/docs/RuntimeAPI/html/group__PeerToPeer.html index c9417b25c0..befc6829cf 100644 --- a/hipamd/docs/RuntimeAPI/html/group__PeerToPeer.html +++ b/hipamd/docs/RuntimeAPI/html/group__PeerToPeer.html @@ -96,7 +96,7 @@ Functions hipError_t hipMemcpyPeer (void *dst, int dstDevice, const void *src, int srcDevice, size_t sizeBytes)  Copies memory from one device to memory on another device. More...
        -hipError_t hipMemcpyPeerAsync (void *dst, int dstDevice, const void *src, int srcDevice, size_t sizeBytes, hipStream_t stream=0) +hipError_t hipMemcpyPeerAsync (void *dst, int dstDevice, const void *src, int srcDevice, size_t sizeBytes, hipStream_t stream=0)  Copies memory from one device to memory on another device. More...
        @@ -302,7 +302,7 @@ Functions - hipStream_t  + hipStream_t  stream  @@ -327,13 +327,14 @@ Functions

      Returns hipSuccess, hipErrorInvalidValue, hipErrorInvalidDevice

      Bug:
      This function uses a synchronous copy
      +
      Bug:
      This function uses a synchronous copy
      diff --git a/hipamd/docs/RuntimeAPI/html/group__Profiler.html b/hipamd/docs/RuntimeAPI/html/group__Profiler.html index 30e28d3ac5..e79a0cf5b1 100644 --- a/hipamd/docs/RuntimeAPI/html/group__Profiler.html +++ b/hipamd/docs/RuntimeAPI/html/group__Profiler.html @@ -85,7 +85,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/hipamd/docs/RuntimeAPI/html/group__Stream.html b/hipamd/docs/RuntimeAPI/html/group__Stream.html index 7f54af7b00..bc69869054 100644 --- a/hipamd/docs/RuntimeAPI/html/group__Stream.html +++ b/hipamd/docs/RuntimeAPI/html/group__Stream.html @@ -84,19 +84,19 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); - + - + - + - + - +

      Functions

      hipError_t hipStreamCreateWithFlags (hipStream_t *stream, unsigned int flags)
      hipError_t hipStreamCreateWithFlags (hipStream_t *stream, unsigned int flags)
       Create an asynchronous stream. More...
       
      hipError_t hipStreamWaitEvent (hipStream_t stream, hipEvent_t event, unsigned int flags)
      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)
      hipError_t hipStreamSynchronize (hipStream_t stream)
       Wait for all commands in stream to complete. More...
       
      hipError_t hipStreamDestroy (hipStream_t stream)
      hipError_t hipStreamDestroy (hipStream_t stream)
       Destroys the specified stream. More...
       
      hipError_t hipStreamGetFlags (hipStream_t stream, unsigned int *flags)
      hipError_t hipStreamGetFlags (hipStream_t stream, unsigned int *flags)
       Return flags associated with this stream. More...
       
      @@ -115,7 +115,7 @@ Functions hipError_t hipStreamCreateWithFlags ( - hipStream_t *  + hipStream_t *  stream, @@ -141,7 +141,8 @@ Functions
      Returns
      hipSuccess, hipErrorInvalidValue
      -

      Create a new asynchronous stream. Flags controls behavior of the stream. See hipStreamDefault, hipStreamNonBlocking. hipStream_t are under development - with current HIP use the NULL stream.

      +

      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.

      @@ -152,7 +153,7 @@ Functions hipError_t hipStreamDestroy ( - hipStream_t  + hipStream_t  stream) @@ -181,7 +182,7 @@ Functions hipError_t hipStreamGetFlags ( - hipStream_t  + hipStream_t  stream, @@ -220,7 +221,7 @@ Functions hipError_t hipStreamSynchronize ( - hipStream_t  + hipStream_t  stream) @@ -242,7 +243,7 @@ Functions hipError_t hipStreamWaitEvent ( - hipStream_t  + hipStream_t  stream, @@ -277,13 +278,14 @@ Functions
      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.
      +
      Bug:
      This function conservatively waits for all work in the specified stream to complete.
      diff --git a/hipamd/docs/RuntimeAPI/html/group__Texture.html b/hipamd/docs/RuntimeAPI/html/group__Texture.html index 97808148e7..158b63a9ad 100644 --- a/hipamd/docs/RuntimeAPI/html/group__Texture.html +++ b/hipamd/docs/RuntimeAPI/html/group__Texture.html @@ -121,7 +121,7 @@ template<class T , int dim, enum hipTextureReadMode readMode> diff --git a/hipamd/docs/RuntimeAPI/html/group__Version.html b/hipamd/docs/RuntimeAPI/html/group__Version.html index 21f2a17ee4..e1639f5f88 100644 --- a/hipamd/docs/RuntimeAPI/html/group__Version.html +++ b/hipamd/docs/RuntimeAPI/html/group__Version.html @@ -114,7 +114,7 @@ Functions diff --git a/hipamd/docs/RuntimeAPI/html/hcc__detail_2hip__runtime_8h.html b/hipamd/docs/RuntimeAPI/html/hcc__detail_2hip__runtime_8h.html index 984fe07ceb..3b02f3756a 100644 --- a/hipamd/docs/RuntimeAPI/html/hcc__detail_2hip__runtime_8h.html +++ b/hipamd/docs/RuntimeAPI/html/hcc__detail_2hip__runtime_8h.html @@ -4,7 +4,7 @@ -HIP: Heterogenous-computing Interface for Portability: /home/bensander/HIP.public/include/hcc_detail/hip_runtime.h File Reference +HIP: Heterogenous-computing Interface for Portability: /home/bensander/HIP-privatestaging/include/hcc_detail/hip_runtime.h File Reference @@ -306,30 +306,30 @@ __device__ int __any ( __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) -  + +__device__ int __shfl (int input, int lane, int width=warpSize) +  + +__device__ int __shfl_up (int input, unsigned int lane_delta, int width=warpSize) +  + +__device__ int __shfl_down (int input, unsigned int lane_delta, int width=warpSize) +  + +__device__ int __shfl_xor (int input, int lane_mask, int width=warpSize) +  + +__device__ float __shfl (float input, int lane, int width=warpSize) +  + +__device__ float __shfl_up (float input, unsigned int lane_delta, int width=warpSize) +  + +__device__ float __shfl_down (float input, unsigned int lane_delta, int width=warpSize) +  + +__device__ float __shfl_xor (float input, int lane_mask, int width=warpSize) +  int min (int arg1, int arg2) __attribute((hc   @@ -393,11 +393,11 @@ __device__ float __dsqrt_r + + - - @@ -468,8 +468,8 @@ int  + + + + + + + + + + + + + + + + + + + + +

      Variables

      +const int warpSize = 64
       
      int cpu
       
      -int warpSize
       
      int HIP_PRINT_ENV
       Print all HIP-related environment variables.
      fprintf(stderr, "hiptrace1: ...completed.\n");\
      }\
      }
      -
      int HIP_TRACE_API
      Trace HIP APIs.
      Definition: hip_hcc.cpp:57
      -
      int HIP_LAUNCH_BLOCKING
      Make all HIP APIs host-synchronous.
      Definition: hip_hcc.cpp:58
      +
      int HIP_TRACE_API
      Trace HIP APIs.
      Definition: hip_hcc.cpp:73
      +
      int HIP_LAUNCH_BLOCKING
      Make all HIP APIs host-synchronous.
      Definition: hip_hcc.cpp:70
      @@ -491,7 +491,7 @@ int 
      diff --git a/hipamd/docs/RuntimeAPI/html/hcc__detail_2hip__runtime_8h_source.html b/hipamd/docs/RuntimeAPI/html/hcc__detail_2hip__runtime_8h_source.html index a6c1b5210d..4a9b0d1073 100644 --- a/hipamd/docs/RuntimeAPI/html/hcc__detail_2hip__runtime_8h_source.html +++ b/hipamd/docs/RuntimeAPI/html/hcc__detail_2hip__runtime_8h_source.html @@ -4,7 +4,7 @@ -HIP: Heterogenous-computing Interface for Portability: /home/bensander/HIP.public/include/hcc_detail/hip_runtime.h Source File +HIP: Heterogenous-computing Interface for Portability: /home/bensander/HIP-privatestaging/include/hcc_detail/hip_runtime.h Source File @@ -152,8 +152,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
      66  // 32-bit Atomics:
      67 #define __HIP_ARCH_HAS_GLOBAL_INT32_ATOMICS__ (1)
      68 #define __HIP_ARCH_HAS_GLOBAL_FLOAT_ATOMIC_EXCH__ (1)
      -
      69 #define __HIP_ARCH_HAS_SHARED_INT32_ATOMICS__ (0)
      -
      70 #define __HIP_ARCH_HAS_SHARED_FLOAT_ATOMIC_EXCH__ (0)
      +
      69 #define __HIP_ARCH_HAS_SHARED_INT32_ATOMICS__ (1)
      +
      70 #define __HIP_ARCH_HAS_SHARED_FLOAT_ATOMIC_EXCH__ (1)
      71 #define __HIP_ARCH_HAS_FLOAT_ATOMIC_ADD__ (0)
      72 
      73 // 64-bit Atomics:
      @@ -194,484 +194,496 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
      108 #define __HCC_C__
      109 #endif
      110 
      -
      111 #define clock_t long long int
      -
      112 __device__ inline long long int clock64() { return (long long int)hc::__clock_u64(); };
      -
      113 __device__ inline clock_t clock() { return (clock_t)hc::__clock_u64(); };
      -
      114 
      -
      115 //atomicAdd()
      -
      116 __device__ inline int atomicAdd(int* address, int val)
      -
      117 {
      -
      118  return hc::atomic_fetch_add(address,val);
      -
      119 }
      -
      120 __device__ inline unsigned int atomicAdd(unsigned int* address,
      -
      121  unsigned int val)
      -
      122 {
      -
      123  return hc::atomic_fetch_add(address,val);
      -
      124 }
      -
      125 __device__ inline unsigned long long int atomicAdd(unsigned long long int* address,
      -
      126  unsigned long long int val)
      -
      127 {
      -
      128  return (long long int)hc::atomic_fetch_add((uint64_t*)address,(uint64_t)val);
      -
      129 }
      -
      130 __device__ inline float atomicAdd(float* address, float val)
      -
      131 {
      -
      132  return hc::atomic_fetch_add(address,val);
      -
      133 }
      -
      134 
      -
      135 //atomicSub()
      -
      136 __device__ inline int atomicSub(int* address, int val)
      +
      111 
      +
      112 // TODO - hipify-clang - change to use the function call.
      +
      113 //#define warpSize hc::__wavesize()
      +
      114 const int warpSize = 64;
      +
      115 
      +
      116 
      +
      117 #define clock_t long long int
      +
      118 __device__ inline long long int clock64() { return (long long int)hc::__clock_u64(); };
      +
      119 __device__ inline clock_t clock() { return (clock_t)hc::__clock_u64(); };
      +
      120 
      +
      121 //atomicAdd()
      +
      122 __device__ inline int atomicAdd(int* address, int val)
      +
      123 {
      +
      124  return hc::atomic_fetch_add(address,val);
      +
      125 }
      +
      126 __device__ inline unsigned int atomicAdd(unsigned int* address,
      +
      127  unsigned int val)
      +
      128 {
      +
      129  return hc::atomic_fetch_add(address,val);
      +
      130 }
      +
      131 __device__ inline unsigned long long int atomicAdd(unsigned long long int* address,
      +
      132  unsigned long long int val)
      +
      133 {
      +
      134  return (long long int)hc::atomic_fetch_add((uint64_t*)address,(uint64_t)val);
      +
      135 }
      +
      136 __device__ inline float atomicAdd(float* address, float val)
      137 {
      -
      138  return hc::atomic_fetch_sub(address,val);
      +
      138  return hc::atomic_fetch_add(address,val);
      139 }
      -
      140 __device__ inline unsigned int atomicSub(unsigned int* address,
      -
      141  unsigned int val)
      -
      142 {
      -
      143  return hc::atomic_fetch_sub(address,val);
      -
      144 }
      -
      145 
      -
      146 //atomicExch()
      -
      147 __device__ inline int atomicExch(int* address, int val)
      +
      140 
      +
      141 //atomicSub()
      +
      142 __device__ inline int atomicSub(int* address, int val)
      +
      143 {
      +
      144  return hc::atomic_fetch_sub(address,val);
      +
      145 }
      +
      146 __device__ inline unsigned int atomicSub(unsigned int* address,
      +
      147  unsigned int val)
      148 {
      -
      149  return hc::atomic_exchange(address,val);
      +
      149  return hc::atomic_fetch_sub(address,val);
      150 }
      -
      151 __device__ inline unsigned int atomicExch(unsigned int* address,
      -
      152  unsigned int val)
      -
      153 {
      -
      154  return hc::atomic_exchange(address,val);
      -
      155 }
      -
      156 __device__ inline unsigned long long int atomicExch(unsigned long long int* address,
      -
      157  unsigned long long int val)
      -
      158 {
      -
      159  return (long long int)hc::atomic_exchange((uint64_t*)address,(uint64_t)val);
      -
      160 }
      -
      161 __device__ inline float atomicExch(float* address, float val)
      -
      162 {
      -
      163  return hc::atomic_exchange(address,val);
      -
      164 }
      -
      165 
      -
      166 //atomicMin()
      -
      167 __device__ inline int atomicMin(int* address, int val)
      +
      151 
      +
      152 //atomicExch()
      +
      153 __device__ inline int atomicExch(int* address, int val)
      +
      154 {
      +
      155  return hc::atomic_exchange(address,val);
      +
      156 }
      +
      157 __device__ inline unsigned int atomicExch(unsigned int* address,
      +
      158  unsigned int val)
      +
      159 {
      +
      160  return hc::atomic_exchange(address,val);
      +
      161 }
      +
      162 __device__ inline unsigned long long int atomicExch(unsigned long long int* address,
      +
      163  unsigned long long int val)
      +
      164 {
      +
      165  return (long long int)hc::atomic_exchange((uint64_t*)address,(uint64_t)val);
      +
      166 }
      +
      167 __device__ inline float atomicExch(float* address, float val)
      168 {
      -
      169  return hc::atomic_fetch_min(address,val);
      +
      169  return hc::atomic_exchange(address,val);
      170 }
      -
      171 __device__ inline unsigned int atomicMin(unsigned int* address,
      -
      172  unsigned int val)
      -
      173 {
      -
      174  return hc::atomic_fetch_min(address,val);
      -
      175 }
      -
      176 __device__ inline unsigned long long int atomicMin(unsigned long long int* address,
      -
      177  unsigned long long int val)
      -
      178 {
      -
      179  return (long long int)hc::atomic_fetch_min((uint64_t*)address,(uint64_t)val);
      -
      180 }
      -
      181 
      -
      182 //atomicMax()
      -
      183 __device__ inline int atomicMax(int* address, int val)
      +
      171 
      +
      172 //atomicMin()
      +
      173 __device__ inline int atomicMin(int* address, int val)
      +
      174 {
      +
      175  return hc::atomic_fetch_min(address,val);
      +
      176 }
      +
      177 __device__ inline unsigned int atomicMin(unsigned int* address,
      +
      178  unsigned int val)
      +
      179 {
      +
      180  return hc::atomic_fetch_min(address,val);
      +
      181 }
      +
      182 __device__ inline unsigned long long int atomicMin(unsigned long long int* address,
      +
      183  unsigned long long int val)
      184 {
      -
      185  return hc::atomic_fetch_max(address,val);
      +
      185  return (long long int)hc::atomic_fetch_min((uint64_t*)address,(uint64_t)val);
      186 }
      -
      187 __device__ inline unsigned int atomicMax(unsigned int* address,
      -
      188  unsigned int val)
      -
      189 {
      -
      190  return hc::atomic_fetch_max(address,val);
      -
      191 }
      -
      192 __device__ inline unsigned long long int atomicMax(unsigned long long int* address,
      -
      193  unsigned long long int val)
      -
      194 {
      -
      195  return (long long int)hc::atomic_fetch_max((uint64_t*)address,(uint64_t)val);
      -
      196 }
      -
      197 
      -
      198 //atomicCAS()
      -
      199 __device__ inline int atomicCAS(int* address, int compare, int val)
      +
      187 
      +
      188 //atomicMax()
      +
      189 __device__ inline int atomicMax(int* address, int val)
      +
      190 {
      +
      191  return hc::atomic_fetch_max(address,val);
      +
      192 }
      +
      193 __device__ inline unsigned int atomicMax(unsigned int* address,
      +
      194  unsigned int val)
      +
      195 {
      +
      196  return hc::atomic_fetch_max(address,val);
      +
      197 }
      +
      198 __device__ inline unsigned long long int atomicMax(unsigned long long int* address,
      +
      199  unsigned long long int val)
      200 {
      -
      201  hc::atomic_compare_exchange(address,&compare,val);
      -
      202  return *address;
      -
      203 }
      -
      204 __device__ inline unsigned int atomicCAS(unsigned int* address,
      -
      205  unsigned int compare,
      -
      206  unsigned int val)
      -
      207 {
      -
      208  hc::atomic_compare_exchange(address,&compare,val);
      -
      209  return *address;
      -
      210 }
      -
      211 __device__ inline unsigned long long int atomicCAS(unsigned long long int* address,
      -
      212  unsigned long long int compare,
      -
      213  unsigned long long int val)
      -
      214 {
      -
      215  hc::atomic_compare_exchange((uint64_t*)address,(uint64_t*)&compare,(uint64_t)val);
      -
      216  return *address;
      -
      217 }
      -
      218 
      -
      219 //atomicAnd()
      -
      220 __device__ inline int atomicAnd(int* address, int val)
      -
      221 {
      -
      222  return hc::atomic_fetch_and(address,val);
      +
      201  return (long long int)hc::atomic_fetch_max((uint64_t*)address,(uint64_t)val);
      +
      202 }
      +
      203 
      +
      204 //atomicCAS()
      +
      205 __device__ inline int atomicCAS(int* address, int compare, int val)
      +
      206 {
      +
      207  hc::atomic_compare_exchange(address,&compare,val);
      +
      208  return *address;
      +
      209 }
      +
      210 __device__ inline unsigned int atomicCAS(unsigned int* address,
      +
      211  unsigned int compare,
      +
      212  unsigned int val)
      +
      213 {
      +
      214  hc::atomic_compare_exchange(address,&compare,val);
      +
      215  return *address;
      +
      216 }
      +
      217 __device__ inline unsigned long long int atomicCAS(unsigned long long int* address,
      +
      218  unsigned long long int compare,
      +
      219  unsigned long long int val)
      +
      220 {
      +
      221  hc::atomic_compare_exchange((uint64_t*)address,(uint64_t*)&compare,(uint64_t)val);
      +
      222  return *address;
      223 }
      -
      224 __device__ inline unsigned int atomicAnd(unsigned int* address,
      -
      225  unsigned int val)
      -
      226 {
      -
      227  return hc::atomic_fetch_and(address,val);
      -
      228 }
      -
      229 __device__ inline unsigned long long int atomicAnd(unsigned long long int* address,
      -
      230  unsigned long long int val)
      -
      231 {
      -
      232  return (long long int)hc::atomic_fetch_and((uint64_t*)address,(uint64_t)val);
      -
      233 }
      -
      234 
      -
      235 //atomicOr()
      -
      236 __device__ inline int atomicOr(int* address, int val)
      +
      224 
      +
      225 //atomicAnd()
      +
      226 __device__ inline int atomicAnd(int* address, int val)
      +
      227 {
      +
      228  return hc::atomic_fetch_and(address,val);
      +
      229 }
      +
      230 __device__ inline unsigned int atomicAnd(unsigned int* address,
      +
      231  unsigned int val)
      +
      232 {
      +
      233  return hc::atomic_fetch_and(address,val);
      +
      234 }
      +
      235 __device__ inline unsigned long long int atomicAnd(unsigned long long int* address,
      +
      236  unsigned long long int val)
      237 {
      -
      238  return hc::atomic_fetch_or(address,val);
      +
      238  return (long long int)hc::atomic_fetch_and((uint64_t*)address,(uint64_t)val);
      239 }
      -
      240 __device__ inline unsigned int atomicOr(unsigned int* address,
      -
      241  unsigned int val)
      -
      242 {
      -
      243  return hc::atomic_fetch_or(address,val);
      -
      244 }
      -
      245 __device__ inline unsigned long long int atomicOr(unsigned long long int* address,
      -
      246  unsigned long long int val)
      -
      247 {
      -
      248  return (long long int)hc::atomic_fetch_or((uint64_t*)address,(uint64_t)val);
      -
      249 }
      -
      250 
      -
      251 //atomicXor()
      -
      252 __device__ inline int atomicXor(int* address, int val)
      +
      240 
      +
      241 //atomicOr()
      +
      242 __device__ inline int atomicOr(int* address, int val)
      +
      243 {
      +
      244  return hc::atomic_fetch_or(address,val);
      +
      245 }
      +
      246 __device__ inline unsigned int atomicOr(unsigned int* address,
      +
      247  unsigned int val)
      +
      248 {
      +
      249  return hc::atomic_fetch_or(address,val);
      +
      250 }
      +
      251 __device__ inline unsigned long long int atomicOr(unsigned long long int* address,
      +
      252  unsigned long long int val)
      253 {
      -
      254  return hc::atomic_fetch_xor(address,val);
      +
      254  return (long long int)hc::atomic_fetch_or((uint64_t*)address,(uint64_t)val);
      255 }
      -
      256 __device__ inline unsigned int atomicXor(unsigned int* address,
      -
      257  unsigned int val)
      -
      258 {
      -
      259  return hc::atomic_fetch_xor(address,val);
      -
      260 }
      -
      261 __device__ inline unsigned long long int atomicXor(unsigned long long int* address,
      -
      262  unsigned long long int val)
      -
      263 {
      -
      264  return (long long int)hc::atomic_fetch_xor((uint64_t*)address,(uint64_t)val);
      -
      265 }
      -
      266 
      -
      267 #include <hc.hpp>
      -
      268 // integer intrinsic function __poc __clz __ffs __brev
      -
      269 __device__ inline unsigned int __popc( unsigned int input)
      -
      270 {
      -
      271  return hc::__popcount_u32_b32( input);
      -
      272 }
      -
      273 
      -
      274 __device__ inline unsigned int __popcll( unsigned long long int input)
      -
      275 {
      -
      276  return hc::__popcount_u32_b64(input);
      -
      277 }
      -
      278 
      -
      279 __device__ inline unsigned int __clz(unsigned int input)
      -
      280 {
      -
      281  return hc::__firstbit_u32_u32( input);
      -
      282 }
      -
      283 
      -
      284 __device__ inline unsigned int __clzll(unsigned long long int input)
      -
      285 {
      -
      286  return hc::__firstbit_u32_u64( input);
      -
      287 }
      -
      288 
      -
      289 __device__ inline unsigned int __clz(int input)
      -
      290 {
      -
      291  return hc::__firstbit_u32_s32( input);
      -
      292 }
      -
      293 
      -
      294 __device__ inline unsigned int __clzll(long long int input)
      -
      295 {
      -
      296  return hc::__firstbit_u32_s64( input);
      -
      297 }
      -
      298 
      -
      299 __device__ inline unsigned int __ffs(unsigned int input)
      -
      300 {
      -
      301  return hc::__lastbit_u32_u32( input)+1;
      -
      302 }
      -
      303 
      -
      304 __device__ inline unsigned int __ffsll(unsigned long long int input)
      -
      305 {
      -
      306  return hc::__lastbit_u32_u64( input)+1;
      -
      307 }
      -
      308 
      -
      309 __device__ inline unsigned int __ffs(int input)
      -
      310 {
      -
      311  return hc::__lastbit_u32_s32( input)+1;
      -
      312 }
      -
      313 
      -
      314 __device__ inline unsigned int __ffsll(long long int input)
      -
      315 {
      -
      316  return hc::__lastbit_u32_s64( input)+1;
      -
      317 }
      -
      318 
      -
      319 __device__ inline unsigned int __brev( unsigned int input)
      -
      320 {
      -
      321  return hc::__bitrev_b32( input);
      -
      322 }
      -
      323 
      -
      324 __device__ inline unsigned long long int __brevll( unsigned long long int input)
      -
      325 {
      -
      326  return hc::__bitrev_b64( input);
      -
      327 }
      -
      328 
      -
      329 // warp vote function __all __any __ballot
      -
      330 __device__ inline int __all( int input)
      +
      256 
      +
      257 //atomicXor()
      +
      258 __device__ inline int atomicXor(int* address, int val)
      +
      259 {
      +
      260  return hc::atomic_fetch_xor(address,val);
      +
      261 }
      +
      262 __device__ inline unsigned int atomicXor(unsigned int* address,
      +
      263  unsigned int val)
      +
      264 {
      +
      265  return hc::atomic_fetch_xor(address,val);
      +
      266 }
      +
      267 __device__ inline unsigned long long int atomicXor(unsigned long long int* address,
      +
      268  unsigned long long int val)
      +
      269 {
      +
      270  return (long long int)hc::atomic_fetch_xor((uint64_t*)address,(uint64_t)val);
      +
      271 }
      +
      272 
      +
      273 #include <hc.hpp>
      +
      274 // integer intrinsic function __poc __clz __ffs __brev
      +
      275 __device__ inline unsigned int __popc( unsigned int input)
      +
      276 {
      +
      277  return hc::__popcount_u32_b32( input);
      +
      278 }
      +
      279 
      +
      280 __device__ inline unsigned int __popcll( unsigned long long int input)
      +
      281 {
      +
      282  return hc::__popcount_u32_b64(input);
      +
      283 }
      +
      284 
      +
      285 __device__ inline unsigned int __clz(unsigned int input)
      +
      286 {
      +
      287  return hc::__firstbit_u32_u32( input);
      +
      288 }
      +
      289 
      +
      290 __device__ inline unsigned int __clzll(unsigned long long int input)
      +
      291 {
      +
      292  return hc::__firstbit_u32_u64( input);
      +
      293 }
      +
      294 
      +
      295 __device__ inline unsigned int __clz(int input)
      +
      296 {
      +
      297  return hc::__firstbit_u32_s32( input);
      +
      298 }
      +
      299 
      +
      300 __device__ inline unsigned int __clzll(long long int input)
      +
      301 {
      +
      302  return hc::__firstbit_u32_s64( input);
      +
      303 }
      +
      304 
      +
      305 __device__ inline unsigned int __ffs(unsigned int input)
      +
      306 {
      +
      307  return hc::__lastbit_u32_u32( input)+1;
      +
      308 }
      +
      309 
      +
      310 __device__ inline unsigned int __ffsll(unsigned long long int input)
      +
      311 {
      +
      312  return hc::__lastbit_u32_u64( input)+1;
      +
      313 }
      +
      314 
      +
      315 __device__ inline unsigned int __ffs(int input)
      +
      316 {
      +
      317  return hc::__lastbit_u32_s32( input)+1;
      +
      318 }
      +
      319 
      +
      320 __device__ inline unsigned int __ffsll(long long int input)
      +
      321 {
      +
      322  return hc::__lastbit_u32_s64( input)+1;
      +
      323 }
      +
      324 
      +
      325 __device__ inline unsigned int __brev( unsigned int input)
      +
      326 {
      +
      327  return hc::__bitrev_b32( input);
      +
      328 }
      +
      329 
      +
      330 __device__ inline unsigned long long int __brevll( unsigned long long int input)
      331 {
      -
      332  return hc::__all( input);
      +
      332  return hc::__bitrev_b64( input);
      333 }
      334 
      -
      335 __device__ inline int __any( int input)
      -
      336 {
      -
      337  if( hc::__any( input)!=0) return 1;
      -
      338  else return 0;
      +
      335 // warp vote function __all __any __ballot
      +
      336 __device__ inline int __all( int input)
      +
      337 {
      +
      338  return hc::__all( input);
      339 }
      340 
      -
      341 __device__ inline unsigned long long int __ballot( int input)
      -
      342 {
      -
      343  return hc::__ballot( input);
      -
      344 }
      -
      345 
      -
      346 // warp shuffle functions
      -
      347 __device__ inline int __shfl(int input, int lane, int width)
      -
      348 {
      -
      349  return hc::__shfl(input,lane,width);
      -
      350 }
      -
      351 
      -
      352 __device__ inline int __shfl_up(int input, unsigned int lane_delta, int width)
      -
      353 {
      -
      354  return hc::__shfl_up(input,lane_delta,width);
      -
      355 }
      -
      356 
      -
      357 __device__ inline int __shfl_down(int input, unsigned int lane_delta, int width)
      -
      358 {
      -
      359  return hc::__shfl_down(input,lane_delta,width);
      -
      360 }
      -
      361 
      -
      362 __device__ inline int __shfl_xor(int input, int lane_mask, int width)
      -
      363 {
      -
      364  return hc::__shfl_xor(input,lane_mask,width);
      -
      365 }
      -
      366 
      -
      367 __device__ inline float __shfl(float input, int lane, int width)
      -
      368 {
      -
      369  return hc::__shfl(input,lane,width);
      -
      370 }
      -
      371 
      -
      372 __device__ inline float __shfl_up(float input, unsigned int lane_delta, int width)
      -
      373 {
      -
      374  return hc::__shfl_up(input,lane_delta,width);
      -
      375 }
      -
      376 
      -
      377 __device__ inline float __shfl_down(float input, unsigned int lane_delta, int width)
      -
      378 {
      -
      379  return hc::__shfl_down(input,lane_delta,width);
      -
      380 }
      -
      381 
      -
      382 __device__ inline float __shfl_xor(float input, int lane_mask, int width)
      -
      383 {
      -
      384  return hc::__shfl_xor(input,lane_mask,width);
      -
      385 }
      -
      386 
      -
      387 
      -
      388 #include <hc_math.hpp>
      -
      389 // TODO: Choose whether default is precise math or fast math based on compilation flag.
      -
      390 #ifdef __HCC_ACCELERATOR__
      -
      391 using namespace hc::precise_math;
      -
      392 #endif
      -
      393 
      -
      394 //TODO: Undo this once min/max functions are supported by hc
      -
      395 inline int min(int arg1, int arg2) __attribute((hc,cpu)) { \
      -
      396  return (int)(hc::precise_math::fmin((float)arg1, (float)arg2));}
      -
      397 inline int max(int arg1, int arg2) __attribute((hc,cpu)) { \
      -
      398  return (int)(hc::precise_math::fmax((float)arg1, (float)arg2));}
      -
      399 
      -
      400 
      -
      401 //TODO - add a couple fast math operations here, the set here will grow :
      -
      402 __device__ inline float __cosf(float x) {return hc::fast_math::cosf(x); };
      -
      403 __device__ inline float __expf(float x) {return hc::fast_math::expf(x); };
      -
      404 __device__ inline float __frsqrt_rn(float x) {return hc::fast_math::rsqrt(x); };
      -
      405 __device__ inline float __fsqrt_rd(float x) {return hc::fast_math::sqrt(x); };
      -
      406 __device__ inline float __fsqrt_rn(float x) {return hc::fast_math::sqrt(x); };
      -
      407 __device__ inline float __fsqrt_ru(float x) {return hc::fast_math::sqrt(x); };
      -
      408 __device__ inline float __fsqrt_rz(float x) {return hc::fast_math::sqrt(x); };
      -
      409 __device__ inline float __log10f(float x) {return hc::fast_math::log10f(x); };
      -
      410 __device__ inline float __log2f(float x) {return hc::fast_math::log2f(x); };
      -
      411 __device__ inline float __logf(float x) {return hc::fast_math::logf(x); };
      -
      412 __device__ inline float __powf(float base, float exponent) {return hc::fast_math::powf(base, exponent); };
      -
      413 __device__ inline void __sincosf(float x, float *s, float *c) {return hc::fast_math::sincosf(x, s, c); };
      -
      414 __device__ inline float __sinf(float x) {return hc::fast_math::sinf(x); };
      -
      415 __device__ inline float __tanf(float x) {return hc::fast_math::tanf(x); };
      -
      416 __device__ inline float __dsqrt_rd(double x) {return hc::fast_math::sqrt(x); };
      -
      417 __device__ inline float __dsqrt_rn(double x) {return hc::fast_math::sqrt(x); };
      -
      418 __device__ inline float __dsqrt_ru(double x) {return hc::fast_math::sqrt(x); };
      -
      419 __device__ inline float __dsqrt_rz(double x) {return hc::fast_math::sqrt(x); };
      -
      420 
      -
      424 #define hipThreadIdx_x (amp_get_local_id(2))
      -
      425 #define hipThreadIdx_y (amp_get_local_id(1))
      -
      426 #define hipThreadIdx_z (amp_get_local_id(0))
      -
      427 
      -
      428 #define hipBlockIdx_x (hc_get_group_id(2))
      -
      429 #define hipBlockIdx_y (hc_get_group_id(1))
      -
      430 #define hipBlockIdx_z (hc_get_group_id(0))
      -
      431 
      -
      432 #define hipBlockDim_x (amp_get_local_size(2))
      -
      433 #define hipBlockDim_y (amp_get_local_size(1))
      -
      434 #define hipBlockDim_z (amp_get_local_size(0))
      -
      435 
      -
      436 #define hipGridDim_x (hc_get_num_groups(2))
      -
      437 #define hipGridDim_y (hc_get_num_groups(1))
      -
      438 #define hipGridDim_z (hc_get_num_groups(0))
      -
      439 
      -
      440 
      -
      441 extern int warpSize ;
      -
      442 
      -
      443 
      -
      444 #define __syncthreads() hc_barrier(CLK_LOCAL_MEM_FENCE)
      -
      445 
      -
      446 
      -
      447 #if 0
      -
      448 #define KALMAR_PFE_BEGIN() \
      -
      449  hc::extent<3> ext(lp.gridDim.x, lp.gridDim.y, lp.gridDim.z);\
      -
      450  auto __hipExtTile = ext.tile(lp.groupDim.x, lp.groupDim.y, lp.groupDim.z);\
      -
      451  __hipExtTile.set_dynamic_group_segment_size(lp.groupMemBytes);\
      -
      452  \
      -
      453  hc::completion_future cf = hc::parallel_for_each (\
      -
      454  *lp.av,\
      -
      455  __hipExtTile,\
      -
      456  [=] (hc::tiled_index<3> __hipIdx) mutable [[hc]]
      -
      457 
      -
      458 
      -
      459 
      -
      460 #define KALMAR_PFE_END \
      -
      461  ); \
      -
      462  if (HIP_LAUNCH_BLOCKING) {\
      -
      463  if (HIP_TRACE_API) {\
      -
      464  fprintf(stderr, "hiptrace1: HIP_LAUNCH_BLOCKING ...\n");\
      -
      465  }\
      -
      466  cf.wait(); \
      -
      467  if (HIP_TRACE_API) {\
      -
      468  fprintf(stderr, "hiptrace1: ...completed.\n");\
      -
      469  }\
      -
      470  }
      -
      471 #endif
      -
      472 
      -
      473 
      -
      474 
      -
      475 #define HIP_KERNEL_NAME(...) __VA_ARGS__
      -
      476 
      -
      477 
      -
      478 #ifdef __HCC_CPP__
      -
      479 hc::accelerator_view *ihipLaunchKernel(hipStream_t stream);
      +
      341 
      +
      342 __device__ inline int __any( int input)
      +
      343 {
      +
      344  if( hc::__any( input)!=0) return 1;
      +
      345  else return 0;
      +
      346 }
      +
      347 
      +
      348 __device__ inline unsigned long long int __ballot( int input)
      +
      349 {
      +
      350  return hc::__ballot( input);
      +
      351 }
      +
      352 
      +
      353 // warp shuffle functions
      +
      354 __device__ inline int __shfl(int input, int lane, int width=warpSize)
      +
      355 {
      +
      356  return hc::__shfl(input,lane,width);
      +
      357 }
      +
      358 
      +
      359 __device__ inline int __shfl_up(int input, unsigned int lane_delta, int width=warpSize)
      +
      360 {
      +
      361  return hc::__shfl_up(input,lane_delta,width);
      +
      362 }
      +
      363 
      +
      364 __device__ inline int __shfl_down(int input, unsigned int lane_delta, int width=warpSize)
      +
      365 {
      +
      366  return hc::__shfl_down(input,lane_delta,width);
      +
      367 }
      +
      368 
      +
      369 __device__ inline int __shfl_xor(int input, int lane_mask, int width=warpSize)
      +
      370 {
      +
      371  return hc::__shfl_xor(input,lane_mask,width);
      +
      372 }
      +
      373 
      +
      374 __device__ inline float __shfl(float input, int lane, int width=warpSize)
      +
      375 {
      +
      376  return hc::__shfl(input,lane,width);
      +
      377 }
      +
      378 
      +
      379 __device__ inline float __shfl_up(float input, unsigned int lane_delta, int width=warpSize)
      +
      380 {
      +
      381  return hc::__shfl_up(input,lane_delta,width);
      +
      382 }
      +
      383 
      +
      384 __device__ inline float __shfl_down(float input, unsigned int lane_delta, int width=warpSize)
      +
      385 {
      +
      386  return hc::__shfl_down(input,lane_delta,width);
      +
      387 }
      +
      388 
      +
      389 __device__ inline float __shfl_xor(float input, int lane_mask, int width=warpSize)
      +
      390 {
      +
      391  return hc::__shfl_xor(input,lane_mask,width);
      +
      392 }
      +
      393 
      +
      394 
      +
      395 #include <hc_math.hpp>
      +
      396 // TODO: Choose whether default is precise math or fast math based on compilation flag.
      +
      397 #ifdef __HCC_ACCELERATOR__
      +
      398 using namespace hc::precise_math;
      +
      399 #endif
      +
      400 
      +
      401 //TODO: Undo this once min/max functions are supported by hc
      +
      402 inline int min(int arg1, int arg2) __attribute((hc,cpu)) { \
      +
      403  return (int)(hc::precise_math::fmin((float)arg1, (float)arg2));}
      +
      404 inline int max(int arg1, int arg2) __attribute((hc,cpu)) { \
      +
      405  return (int)(hc::precise_math::fmax((float)arg1, (float)arg2));}
      +
      406 
      +
      407 
      +
      408 //TODO - add a couple fast math operations here, the set here will grow :
      +
      409 __device__ inline float __cosf(float x) {return hc::fast_math::cosf(x); };
      +
      410 __device__ inline float __expf(float x) {return hc::fast_math::expf(x); };
      +
      411 __device__ inline float __frsqrt_rn(float x) {return hc::fast_math::rsqrt(x); };
      +
      412 __device__ inline float __fsqrt_rd(float x) {return hc::fast_math::sqrt(x); };
      +
      413 __device__ inline float __fsqrt_rn(float x) {return hc::fast_math::sqrt(x); };
      +
      414 __device__ inline float __fsqrt_ru(float x) {return hc::fast_math::sqrt(x); };
      +
      415 __device__ inline float __fsqrt_rz(float x) {return hc::fast_math::sqrt(x); };
      +
      416 __device__ inline float __log10f(float x) {return hc::fast_math::log10f(x); };
      +
      417 __device__ inline float __log2f(float x) {return hc::fast_math::log2f(x); };
      +
      418 __device__ inline float __logf(float x) {return hc::fast_math::logf(x); };
      +
      419 __device__ inline float __powf(float base, float exponent) {return hc::fast_math::powf(base, exponent); };
      +
      420 __device__ inline void __sincosf(float x, float *s, float *c) {return hc::fast_math::sincosf(x, s, c); };
      +
      421 __device__ inline float __sinf(float x) {return hc::fast_math::sinf(x); };
      +
      422 __device__ inline float __tanf(float x) {return hc::fast_math::tanf(x); };
      +
      423 __device__ inline float __dsqrt_rd(double x) {return hc::fast_math::sqrt(x); };
      +
      424 __device__ inline float __dsqrt_rn(double x) {return hc::fast_math::sqrt(x); };
      +
      425 __device__ inline float __dsqrt_ru(double x) {return hc::fast_math::sqrt(x); };
      +
      426 __device__ inline float __dsqrt_rz(double x) {return hc::fast_math::sqrt(x); };
      +
      427 
      +
      431 #define hipThreadIdx_x (amp_get_local_id(2))
      +
      432 #define hipThreadIdx_y (amp_get_local_id(1))
      +
      433 #define hipThreadIdx_z (amp_get_local_id(0))
      +
      434 
      +
      435 #define hipBlockIdx_x (hc_get_group_id(2))
      +
      436 #define hipBlockIdx_y (hc_get_group_id(1))
      +
      437 #define hipBlockIdx_z (hc_get_group_id(0))
      +
      438 
      +
      439 #define hipBlockDim_x (amp_get_local_size(2))
      +
      440 #define hipBlockDim_y (amp_get_local_size(1))
      +
      441 #define hipBlockDim_z (amp_get_local_size(0))
      +
      442 
      +
      443 #define hipGridDim_x (hc_get_num_groups(2))
      +
      444 #define hipGridDim_y (hc_get_num_groups(1))
      +
      445 #define hipGridDim_z (hc_get_num_groups(0))
      +
      446 
      +
      447 
      +
      448 
      +
      449 
      +
      450 #define __syncthreads() hc_barrier(CLK_LOCAL_MEM_FENCE)
      +
      451 
      +
      452 
      +
      453 #if 0
      +
      454 #define KALMAR_PFE_BEGIN() \
      +
      455  hc::extent<3> ext(lp.gridDim.x, lp.gridDim.y, lp.gridDim.z);\
      +
      456  auto __hipExtTile = ext.tile(lp.groupDim.x, lp.groupDim.y, lp.groupDim.z);\
      +
      457  __hipExtTile.set_dynamic_group_segment_size(lp.groupMemBytes);\
      +
      458  \
      +
      459  hc::completion_future cf = hc::parallel_for_each (\
      +
      460  *lp.av,\
      +
      461  __hipExtTile,\
      +
      462  [=] (hc::tiled_index<3> __hipIdx) mutable [[hc]]
      +
      463 
      +
      464 
      +
      465 
      +
      466 #define KALMAR_PFE_END \
      +
      467  ); \
      +
      468  if (HIP_LAUNCH_BLOCKING) {\
      +
      469  if (HIP_TRACE_API) {\
      +
      470  fprintf(stderr, "hiptrace1: HIP_LAUNCH_BLOCKING ...\n");\
      +
      471  }\
      +
      472  cf.wait(); \
      +
      473  if (HIP_TRACE_API) {\
      +
      474  fprintf(stderr, "hiptrace1: ...completed.\n");\
      +
      475  }\
      +
      476  }
      +
      477 #endif
      +
      478 
      +
      479 
      480 
      -
      481 #if not defined(DISABLE_GRID_LAUNCH)
      -
      482 #define hipLaunchKernel(_kernelName, _numBlocks3D, _blockDim3D, _groupMemBytes, _stream, ...) \
      -
      483 do {\
      -
      484  grid_launch_parm lp;\
      -
      485  lp.gridDim.x = _numBlocks3D.x; \
      -
      486  lp.gridDim.y = _numBlocks3D.y; \
      -
      487  lp.gridDim.z = _numBlocks3D.z; \
      -
      488  lp.groupDim.x = _blockDim3D.x; \
      -
      489  lp.groupDim.y = _blockDim3D.y; \
      -
      490  lp.groupDim.z = _blockDim3D.z; \
      -
      491  lp.groupMemBytes = _groupMemBytes;\
      -
      492  hc::completion_future cf;\
      -
      493  lp.cf = &cf; \
      -
      494  lp.av = (ihipLaunchKernel(_stream)); \
      -
      495  if (HIP_TRACE_API) {\
      -
      496  fprintf(stderr, "hiptrace1: launch '%s' gridDim:[%d.%d.%d] groupDim:[%d.%d.%d] groupMem:+%d stream=%p\n", \
      -
      497  #_kernelName, lp.gridDim.z, lp.gridDim.y, lp.gridDim.x, lp.groupDim.z, lp.groupDim.y, lp.groupDim.x, lp.groupMemBytes, (void*)(_stream));\
      -
      498  }\
      -
      499  _kernelName (lp, __VA_ARGS__);\
      -
      500 } while(0)
      -
      501 
      -
      502 #else
      -
      503 #warning(DISABLE_GRID_LAUNCH set)
      -
      504 
      -
      505 #define hipLaunchKernel(_kernelName, _numBlocks3D, _blockDim3D, _groupMemBytes, _stream, ...) \
      -
      506 do {\
      -
      507  grid_launch_parm lp;\
      -
      508  lp.gridDim.x = _numBlocks3D.x * _blockDim3D.x;/*Convert from #blocks to #threads*/ \
      -
      509  lp.gridDim.y = _numBlocks3D.y * _blockDim3D.y;/*Convert from #blocks to #threads*/ \
      -
      510  lp.gridDim.z = _numBlocks3D.z * _blockDim3D.z;/*Convert from #blocks to #threads*/ \
      -
      511  lp.groupDim.x = _blockDim3D.x; \
      -
      512  lp.groupDim.y = _blockDim3D.y; \
      -
      513  lp.groupDim.z = _blockDim3D.z; \
      -
      514  lp.groupMemBytes = _groupMemBytes;\
      -
      515  hc::completion_future cf;\
      -
      516  lp.cf = &cf; \
      -
      517  lp.av = (ihipLaunchKernel(_stream)); \
      -
      518  if (HIP_TRACE_API) {\
      -
      519  fprintf(stderr, "hiptrace1: launch '%s' gridDim:[%d.%d.%d] groupDim:[%d.%d.%d] groupMem:+%d stream=%p\n", \
      -
      520  #_kernelName, lp.gridDim.z, lp.gridDim.y, lp.gridDim.x, lp.groupDim.z, lp.groupDim.y, lp.groupDim.x, lp.groupMemBytes, (void*)(_stream));\
      -
      521  }\
      -
      522  _kernelName (lp, __VA_ARGS__);\
      -
      523 } while(0)
      -
      524 /*end hipLaunchKernel */
      -
      525 #endif
      -
      526 
      -
      527 #elif defined (__HCC_C__)
      -
      528 
      -
      529 //TODO - develop C interface.
      -
      530 
      -
      531 #endif
      -
      532 
      -
      533 
      -
      534 #if not defined(DISABLE_GRID_LAUNCH)
      -
      535 // TODO -In GL these are no-ops and can be removed:
      -
      536 // Keep them around for a little while as a fallback.
      -
      537 #define KERNELBEGIN
      -
      538 #define KERNELEND
      +
      481 #define HIP_KERNEL_NAME(...) __VA_ARGS__
      +
      482 
      +
      483 
      +
      484 #ifdef __HCC_CPP__
      +
      485 hipStream_t ihipPreLaunchKernel(hipStream_t stream, hc::accelerator_view **av);
      +
      486 void ihipPostLaunchKernel(hipStream_t stream, hc::completion_future &cf);
      +
      487 
      +
      488 // TODO - move to common header file.
      +
      489 #define KNRM "\x1B[0m"
      +
      490 #define KGRN "\x1B[32m"
      +
      491 
      +
      492 #if not defined(DISABLE_GRID_LAUNCH)
      +
      493 #define hipLaunchKernel(_kernelName, _numBlocks3D, _blockDim3D, _groupMemBytes, _stream, ...) \
      +
      494 do {\
      +
      495  grid_launch_parm lp;\
      +
      496  lp.gridDim.x = _numBlocks3D.x; \
      +
      497  lp.gridDim.y = _numBlocks3D.y; \
      +
      498  lp.gridDim.z = _numBlocks3D.z; \
      +
      499  lp.groupDim.x = _blockDim3D.x; \
      +
      500  lp.groupDim.y = _blockDim3D.y; \
      +
      501  lp.groupDim.z = _blockDim3D.z; \
      +
      502  lp.groupMemBytes = _groupMemBytes;\
      +
      503  hc::completion_future cf;\
      +
      504  lp.cf = &cf; \
      +
      505  hipStream_t trueStream = (ihipPreLaunchKernel(_stream, &lp.av)); \
      +
      506  if (HIP_TRACE_API) {\
      +
      507  fprintf(stderr, KGRN "<<hip-api: hipLaunchKernel '%s' gridDim:[%d.%d.%d] groupDim:[%d.%d.%d] groupMem:+%d stream=%p\n" KNRM, \
      +
      508  #_kernelName, lp.gridDim.z, lp.gridDim.y, lp.gridDim.x, lp.groupDim.z, lp.groupDim.y, lp.groupDim.x, lp.groupMemBytes, (void*)(_stream));\
      +
      509  }\
      +
      510  _kernelName (lp, __VA_ARGS__);\
      +
      511  ihipPostLaunchKernel(trueStream, cf);\
      +
      512 } while(0)
      +
      513 
      +
      514 #else
      +
      515 #warning(DISABLE_GRID_LAUNCH set)
      +
      516 
      +
      517 #define hipLaunchKernel(_kernelName, _numBlocks3D, _blockDim3D, _groupMemBytes, _stream, ...) \
      +
      518 do {\
      +
      519  grid_launch_parm lp;\
      +
      520  lp.gridDim.x = _numBlocks3D.x * _blockDim3D.x;/*Convert from #blocks to #threads*/ \
      +
      521  lp.gridDim.y = _numBlocks3D.y * _blockDim3D.y;/*Convert from #blocks to #threads*/ \
      +
      522  lp.gridDim.z = _numBlocks3D.z * _blockDim3D.z;/*Convert from #blocks to #threads*/ \
      +
      523  lp.groupDim.x = _blockDim3D.x; \
      +
      524  lp.groupDim.y = _blockDim3D.y; \
      +
      525  lp.groupDim.z = _blockDim3D.z; \
      +
      526  lp.groupMemBytes = _groupMemBytes;\
      +
      527  hc::completion_future cf;\
      +
      528  lp.cf = &cf; \
      +
      529  hipStream_t trueStream = (ihipPreLaunchKernel(_stream, &lp.av)); \
      +
      530  if (HIP_TRACE_API) {\
      +
      531  fprintf(stderr, "==hip-api: launch '%s' gridDim:[%d.%d.%d] groupDim:[%d.%d.%d] groupMem:+%d stream=%p\n", \
      +
      532  #_kernelName, lp.gridDim.z, lp.gridDim.y, lp.gridDim.x, lp.groupDim.z, lp.groupDim.y, lp.groupDim.x, lp.groupMemBytes, (void*)(_stream));\
      +
      533  }\
      +
      534  _kernelName (lp, __VA_ARGS__);\
      +
      535  ihipPostLaunchKernel(trueStream, cf);\
      +
      536 } while(0)
      +
      537 /*end hipLaunchKernel */
      +
      538 #endif
      539 
      -
      540 #else
      +
      540 #elif defined (__HCC_C__)
      541 
      -
      542 // TODO-GL:
      -
      543 // These wrap the kernel in a PFE loop with macros.
      -
      544 // Not required with GL but exist here as a fallback.
      -
      545 #define KERNELBEGIN \
      -
      546  hc::extent<3> ext(lp.gridDim.x, lp.gridDim.y, lp.gridDim.z);\
      -
      547  auto __hipExtTile = ext.tile(lp.groupDim.x, lp.groupDim.y, lp.groupDim.z);\
      -
      548  __hipExtTile.set_dynamic_group_segment_size(lp.groupMemBytes);\
      -
      549  \
      -
      550  hc::completion_future cf = \
      -
      551  hc::parallel_for_each (\
      -
      552  *lp.av,\
      -
      553  __hipExtTile,\
      -
      554  [=] (hc::tiled_index<3> __hipIdx) mutable [[hc]] \
      -
      555  {
      -
      556 
      -
      557 
      -
      558 #define KERNELEND \
      -
      559  }); \
      -
      560  if (HIP_LAUNCH_BLOCKING) {\
      -
      561  if (HIP_TRACE_API) {\
      -
      562  fprintf(stderr, "hiptrace1: HIP_LAUNCH_BLOCKING ...\n");\
      -
      563  }\
      -
      564  cf.wait(); \
      -
      565  if (HIP_TRACE_API) {\
      -
      566  fprintf(stderr, "hiptrace1: ...completed.\n");\
      -
      567  }\
      -
      568  }
      +
      542 //TODO - develop C interface.
      +
      543 
      +
      544 #endif
      +
      545 
      +
      546 
      +
      547 #if not defined(DISABLE_GRID_LAUNCH)
      +
      548 // TODO -In GL these are no-ops and can be removed:
      +
      549 // Keep them around for a little while as a fallback.
      +
      550 #define KERNELBEGIN
      +
      551 #define KERNELEND
      +
      552 
      +
      553 #else
      +
      554 
      +
      555 // TODO-GL:
      +
      556 // These wrap the kernel in a PFE loop with macros.
      +
      557 // Not required with GL but exist here as a fallback.
      +
      558 #define KERNELBEGIN \
      +
      559  hc::extent<3> ext(lp.gridDim.x, lp.gridDim.y, lp.gridDim.z);\
      +
      560  auto __hipExtTile = ext.tile(lp.groupDim.x, lp.groupDim.y, lp.groupDim.z);\
      +
      561  __hipExtTile.set_dynamic_group_segment_size(lp.groupMemBytes);\
      +
      562  \
      +
      563  hc::completion_future cf = \
      +
      564  hc::parallel_for_each (\
      +
      565  *lp.av,\
      +
      566  __hipExtTile,\
      +
      567  [=] (hc::tiled_index<3> __hipIdx) mutable [[hc]] \
      +
      568  {
      569 
      -
      570 #endif /*DISABLE_GRID_LAUNCH*/
      -
      571 
      -
      572 
      -
      573 #endif // __HCC__
      -
      574 
      -
      575 
      -
      580 extern int HIP_PRINT_ENV ;
      -
      581 extern int HIP_TRACE_API;
      -
      582 extern int HIP_LAUNCH_BLOCKING ;
      -
      583 
      -
      589 // End doxygen API:
      -
      int HIP_TRACE_API
      Trace HIP APIs.
      Definition: hip_hcc.cpp:57
      +
      570 
      +
      571 #define KERNELEND \
      +
      572  }); \
      +
      573  if (HIP_LAUNCH_BLOCKING) {\
      +
      574  if (HIP_TRACE_API) {\
      +
      575  fprintf(stderr, "hiptrace1: HIP_LAUNCH_BLOCKING ...\n");\
      +
      576  }\
      +
      577  cf.wait(); \
      +
      578  if (HIP_TRACE_API) {\
      +
      579  fprintf(stderr, "hiptrace1: ...completed.\n");\
      +
      580  }\
      +
      581  }
      +
      582 
      +
      583 #endif /*DISABLE_GRID_LAUNCH*/
      +
      584 
      +
      585 
      +
      586 #endif // __HCC__
      +
      587 
      +
      588 
      +
      593 extern int HIP_PRINT_ENV ;
      +
      594 extern int HIP_TRACE_API;
      +
      595 extern int HIP_LAUNCH_BLOCKING ;
      +
      596 
      +
      602 // End doxygen API:
      +
      int HIP_TRACE_API
      Trace HIP APIs.
      Definition: hip_hcc.cpp:73
      TODO-doc.
      -
      Definition: hip_hcc.cpp:82
      HIP C++ Texture API for hcc compiler.
      -
      int HIP_PRINT_ENV
      Print all HIP-related environment variables.
      Definition: hip_hcc.cpp:56
      +
      int HIP_PRINT_ENV
      Print all HIP-related environment variables.
      Definition: hip_hcc.cpp:72
      Contains C function APIs for HIP runtime. This file does not use any HCC builtin or special language ...
      -
      int HIP_LAUNCH_BLOCKING
      Make all HIP APIs host-synchronous.
      Definition: hip_hcc.cpp:58
      +
      int HIP_LAUNCH_BLOCKING
      Make all HIP APIs host-synchronous.
      Definition: hip_hcc.cpp:70
      diff --git a/hipamd/docs/RuntimeAPI/html/hcc__detail_2hip__runtime__api_8h.html b/hipamd/docs/RuntimeAPI/html/hcc__detail_2hip__runtime__api_8h.html index 374a22be9b..eb2140c4e5 100644 --- a/hipamd/docs/RuntimeAPI/html/hcc__detail_2hip__runtime__api_8h.html +++ b/hipamd/docs/RuntimeAPI/html/hcc__detail_2hip__runtime__api_8h.html @@ -4,7 +4,7 @@ -HIP: Heterogenous-computing Interface for Portability: /home/bensander/HIP.public/include/hcc_detail/hip_runtime_api.h File Reference +HIP: Heterogenous-computing Interface for Portability: /home/bensander/HIP-privatestaging/include/hcc_detail/hip_runtime_api.h File Reference @@ -135,6 +135,34 @@ Macros
      #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.
       
      @@ -144,9 +172,9 @@ Typedefs - - + + @@ -195,9 +223,9 @@ Functions - - - + + + @@ -225,25 +253,25 @@ Functions - + - + - + - + - + - + @@ -258,35 +286,59 @@ Functions + + + - - - + + + + + + + + + + + + + + + + + + + + - - - + + + + + + - + - + - + + @@ -300,7 +352,7 @@ Functions - + @@ -309,7 +361,7 @@ Functions - +

      Typedefs

       
      typedef struct dim3 dim3
       
      -typedef struct ihipStream_thipStream_t
       
      +typedef class ihipStream_thipStream_t
       
      typedef struct hipEvent_t hipEvent_t
       
      hipError_t hipDeviceGetAttribute (int *pi, hipDeviceAttribute_t attr, int device)
       Query device attribute. More...
       
      hipError_t hipDeviceGetProperties (hipDeviceProp_t *prop, int device)
       Returns device properties. More...
       
      hipError_t hipGetDeviceProperties (hipDeviceProp_t *prop, int device)
       Returns device properties. More...
       
      hipError_t hipDeviceSetCacheConfig (hipFuncCache cacheConfig)
       Set L1/Shared cache partition. 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)
      hipError_t hipStreamCreateWithFlags (hipStream_t *stream, unsigned int flags)
       Create an asynchronous stream. More...
       
      hipError_t hipStreamWaitEvent (hipStream_t stream, hipEvent_t event, unsigned int flags)
      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)
      hipError_t hipStreamSynchronize (hipStream_t stream)
       Wait for all commands in stream to complete. More...
       
      hipError_t hipStreamDestroy (hipStream_t stream)
      hipError_t hipStreamDestroy (hipStream_t stream)
       Destroys the specified stream. More...
       
      hipError_t hipStreamGetFlags (hipStream_t stream, unsigned int *flags)
      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 hipEventRecord (hipEvent_t event, hipStream_t stream=NULL)
      hipError_t hipEventRecord (hipEvent_t event, hipStream_t stream=NULL)
       Record an event in the specified stream. More...
       
      hipError_t hipEventDestroy (hipEvent_t event)
      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)
       Allocate pinned host memory. 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. More...
       
      hipError_t hipFreeHost (void *ptr)
       Free memory allocated by the hcc hip host memory allocation API. More...
       
      hipError_t hipFreeHost (void *ptr) __attribute__((deprecated("use hipHostFree instead")))
       Free memory allocated by the hcc hip host memory allocation API. More...
       
      hipError_t hipHostFree (void *ptr)
       Free memory allocated by the hcc hip host memory allocation API. 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=0)
      hipError_t hipMemcpyAsync (void *dst, const void *src, size_t sizeBytes, hipMemcpyKind kind, hipStream_t stream=0)
       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=0)
      hipError_t hipMemsetAsync (void *dst, int value, size_t sizeBytes, hipStream_t=0)
       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)
      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 device, int peerDevice)
       Determine if a device can access a peer's memory. More...
      hipError_t hipMemcpyPeer (void *dst, int dstDevice, const void *src, int srcDevice, size_t sizeBytes)
       Copies memory from one device to memory on another device. More...
       
      hipError_t hipMemcpyPeerAsync (void *dst, int dstDevice, const void *src, int srcDevice, size_t sizeBytes, hipStream_t stream=0)
      hipError_t hipMemcpyPeerAsync (void *dst, int dstDevice, const void *src, int srcDevice, size_t sizeBytes, hipStream_t stream=0)
       Copies memory from one device to memory on another device. More...
       
      hipError_t hipDriverGetVersion (int *driverVersion)
      hipError_t hipHccGetAccelerator (int deviceId, hc::accelerator *acc)
       Return hc::accelerator associated with the specified deviceId. More...
       
      hipError_t hipHccGetAcceleratorView (hipStream_t stream, hc::accelerator_view **av)
      hipError_t hipHccGetAcceleratorView (hipStream_t stream, hc::accelerator_view **av)
       Return hc::accelerator_view associated with the specified stream. More...
       
      @@ -318,7 +370,7 @@ Functions diff --git a/hipamd/docs/RuntimeAPI/html/hcc__detail_2hip__runtime__api_8h_source.html b/hipamd/docs/RuntimeAPI/html/hcc__detail_2hip__runtime__api_8h_source.html index 876afac7f7..b194fa5b33 100644 --- a/hipamd/docs/RuntimeAPI/html/hcc__detail_2hip__runtime__api_8h_source.html +++ b/hipamd/docs/RuntimeAPI/html/hcc__detail_2hip__runtime__api_8h_source.html @@ -4,7 +4,7 @@ -HIP: Heterogenous-computing Interface for Portability: /home/bensander/HIP.public/include/hcc_detail/hip_runtime_api.h Source File +HIP: Heterogenous-computing Interface for Portability: /home/bensander/HIP-privatestaging/include/hcc_detail/hip_runtime_api.h Source File @@ -136,321 +136,355 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
      56 #define hipEventInterprocess 0x4
      57 
      58 
      -
      62 typedef enum hipFuncCache {
      - - - - -
      67 } hipFuncCache;
      -
      68 
      -
      69 
      -
      73 typedef enum hipSharedMemConfig {
      - - - - -
      78 
      -
      79 
      +
      60 #define hipHostMallocDefault 0x0
      +
      61 #define hipHostMallocPortable 0x1
      +
      62 #define hipHostMallocMapped 0x2
      +
      63 #define hipHostMallocWriteCombined 0x4
      +
      64 
      +
      66 #define hipHostRegisterDefault 0x0
      +
      67 #define hipHostRegisterPortable 0x1
      +
      68 #define hipHostRegisterMapped 0x2
      +
      69 #define hipHostRegisterIoMemory 0x4
      +
      70 
      +
      71 
      +
      74 typedef enum hipFuncCache {
      + + + + +
      79 } hipFuncCache;
      80 
      -
      85 typedef struct dim3 {
      -
      86  uint32_t x;
      -
      87  uint32_t y;
      -
      88  uint32_t z;
      -
      89 
      -
      90  dim3(uint32_t _x=1, uint32_t _y=1, uint32_t _z=1) : x(_x), y(_y), z(_z) {};
      -
      91 } dim3;
      +
      81 
      +
      85 typedef enum hipSharedMemConfig {
      + + + + +
      90 
      +
      91 
      92 
      -
      93 
      -
      94 
      - - - - - - -
      105 } ;
      +
      97 typedef struct dim3 {
      +
      98  uint32_t x;
      +
      99  uint32_t y;
      +
      100  uint32_t z;
      +
      101 
      +
      102  dim3(uint32_t _x=1, uint32_t _y=1, uint32_t _z=1) : x(_x), y(_y), z(_z) {};
      +
      103 } dim3;
      +
      104 
      +
      105 
      106 
      -
      107 
      -
      108 // Doxygen end group GlobalDefs
      -
      112 //-------------------------------------------------------------------------------------------------
      -
      113 
      -
      114 
      -
      115 // The handle allows the async commands to use the stream even if the parent hipStream_t goes out-of-scope.
      -
      116 typedef struct ihipStream_t * hipStream_t;
      -
      117 
      + + + + + + +
      117 } ;
      118 
      -
      119 /*
      -
      120  * Opaque structure allows the true event (pointed at by the handle) to remain "live" even if the surrounding hipEvent_t goes out-of-scope.
      -
      121  * 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 */
      -
      122 typedef struct hipEvent_t {
      -
      123  struct ihipEvent_t *_handle;
      -
      124 } hipEvent_t;
      -
      125 
      -
      126 
      +
      119 
      +
      120 
      +
      121 
      +
      122 // Doxygen end group GlobalDefs
      +
      126 //-------------------------------------------------------------------------------------------------
      127 
      128 
      -
      129 
      -
      130 
      -
      131 #ifdef __cplusplus
      -
      132 } /* extern "C" */
      -
      133 #endif
      -
      134 
      -
      135 
      -
      136 
      -
      137 
      -
      138 //==================================================================================================
      -
      139 #ifdef __cplusplus
      -
      140 extern "C" {
      -
      141 #endif
      -
      142 
      - -
      167 
      -
      168 
      -
      169 
      - -
      181 
      +
      129 // The handle allows the async commands to use the stream even if the parent hipStream_t goes out-of-scope.
      +
      130 typedef class ihipStream_t * hipStream_t;
      +
      131 
      +
      132 
      +
      133 /*
      +
      134  * Opaque structure allows the true event (pointed at by the handle) to remain "live" even if the surrounding hipEvent_t goes out-of-scope.
      +
      135  * 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 */
      +
      136 typedef struct hipEvent_t {
      +
      137  struct ihipEvent_t *_handle;
      +
      138 } hipEvent_t;
      +
      139 
      +
      140 
      +
      141 
      +
      142 
      +
      143 
      +
      144 
      +
      145 
      +
      146 #ifdef __cplusplus
      +
      147 } /* extern "C" */
      +
      148 #endif
      +
      149 
      +
      150 
      +
      151 
      +
      152 
      +
      153 //==================================================================================================
      +
      154 #ifdef __cplusplus
      +
      155 extern "C" {
      +
      156 #endif
      +
      157 
      +
      182 
      -
      207 hipError_t hipSetDevice(int device);
      -
      208 
      -
      209 
      -
      221 hipError_t hipGetDevice(int *device);
      -
      222 
      +
      183 
      +
      184 
      + +
      196 
      +
      197 
      +
      222 hipError_t hipSetDevice(int device);
      223 
      -
      231 hipError_t hipGetDeviceCount(int *count);
      -
      232 
      -
      239 hipError_t hipDeviceGetAttribute(int* pi, hipDeviceAttribute_t attr, int device);
      -
      240 
      - -
      250 
      -
      251 
      -
      252 
      -
      253 //Cache partitioning functions:
      -
      254 
      - -
      262 
      -
      263 
      - -
      271 
      -
      272 
      - -
      280 
      -
      281 //---
      -
      282 //Shared bank config functions:
      -
      283 
      - -
      291 
      -
      292 
      - -
      300 
      -
      301 
      -
      302 // end doxygen Device
      - -
      323 
      -
      324 
      - -
      337 
      +
      224 
      +
      236 hipError_t hipGetDevice(int *device);
      +
      237 
      +
      238 
      +
      246 hipError_t hipGetDeviceCount(int *count);
      +
      247 
      +
      254 hipError_t hipDeviceGetAttribute(int* pi, hipDeviceAttribute_t attr, int device);
      +
      255 
      + +
      265 
      +
      266 
      +
      267 
      +
      268 //Cache partitioning functions:
      +
      269 
      + +
      277 
      +
      278 
      + +
      286 
      +
      287 
      + +
      295 
      +
      296 //---
      +
      297 //Shared bank config functions:
      +
      298 
      + +
      306 
      +
      307 
      + +
      315 
      +
      316 
      +
      317 // end doxygen Device
      +
      338 
      339 
      -
      348 const char *hipGetErrorName(hipError_t hip_error);
      -
      349 
      -
      350 
      -
      361 const char *hipGetErrorString(hipError_t hip_error);
      -
      362 
      -
      363 // end doxygen Error
      -
      393 hipError_t hipStreamCreateWithFlags(hipStream_t *stream, unsigned int flags);
      -
      394 
      -
      395 
      -
      396 
      -
      406 static inline hipError_t hipStreamCreate(hipStream_t *stream)
      -
      407 {
      - -
      409 }
      -
      410 
      -
      411 
      -
      427 hipError_t hipStreamWaitEvent(hipStream_t stream, hipEvent_t event, unsigned int flags);
      -
      428 
      -
      429 
      - -
      442 
      -
      443 
      - -
      458 
      -
      459 
      -
      473 hipError_t hipStreamGetFlags(hipStream_t stream, unsigned int *flags);
      -
      474 
      -
      475 
      -
      476 // end doxygen Stream
      -
      501 hipError_t hipEventCreateWithFlags(hipEvent_t* event, unsigned flags);
      -
      502 
      -
      503 
      -
      510 static inline hipError_t hipEventCreate(hipEvent_t* event)
      -
      511 {
      -
      512  return hipEventCreateWithFlags(event, 0);
      -
      513 }
      -
      514 
      -
      515 
      -
      541 hipError_t hipEventRecord(hipEvent_t event, hipStream_t stream = NULL);
      -
      542 
      -
      543 
      - -
      555 
      -
      556 
      - -
      571 
      -
      572 
      -
      597 hipError_t hipEventElapsedTime(float *ms, hipEvent_t start, hipEvent_t stop);
      -
      598 
      -
      599 
      - -
      613 
      -
      614 
      -
      615 // end doxygen Events
      -
      645 hipError_t hipMalloc(void** ptr, size_t size) ;
      -
      646 
      -
      647 
      -
      655 hipError_t hipMallocHost(void** ptr, size_t size) ;
      -
      656 
      -
      657 
      -
      665 hipError_t hipFree(void* ptr);
      -
      666 
      -
      667 
      -
      668 
      -
      675 hipError_t hipFreeHost(void* ptr);
      -
      676 
      -
      677 
      -
      678 
      -
      693 hipError_t hipMemcpy(void* dst, const void* src, size_t sizeBytes, hipMemcpyKind kind);
      -
      694 
      + +
      352 
      +
      353 
      +
      354 
      +
      363 const char *hipGetErrorName(hipError_t hip_error);
      +
      364 
      +
      365 
      +
      376 const char *hipGetErrorString(hipError_t hip_error);
      +
      377 
      +
      378 // end doxygen Error
      +
      411 hipError_t hipStreamCreateWithFlags(hipStream_t *stream, unsigned int flags);
      +
      412 
      +
      413 
      +
      414 
      +
      429 static inline hipError_t hipStreamCreate(hipStream_t *stream)
      +
      430 {
      + +
      432 }
      +
      433 
      +
      434 
      +
      450 hipError_t hipStreamWaitEvent(hipStream_t stream, hipEvent_t event, unsigned int flags);
      +
      451 
      +
      452 
      +
      464 hipError_t hipStreamSynchronize(hipStream_t stream);
      +
      465 
      +
      466 
      +
      480 hipError_t hipStreamDestroy(hipStream_t stream);
      +
      481 
      +
      482 
      +
      496 hipError_t hipStreamGetFlags(hipStream_t stream, unsigned int *flags);
      +
      497 
      +
      498 
      +
      499 // end doxygen Stream
      +
      524 hipError_t hipEventCreateWithFlags(hipEvent_t* event, unsigned flags);
      +
      525 
      +
      526 
      +
      533 static inline hipError_t hipEventCreate(hipEvent_t* event)
      +
      534 {
      +
      535  return hipEventCreateWithFlags(event, 0);
      +
      536 }
      +
      537 
      +
      538 
      +
      564 hipError_t hipEventRecord(hipEvent_t event, hipStream_t stream = NULL);
      +
      565 
      +
      566 
      + +
      578 
      +
      579 
      + +
      594 
      +
      595 
      +
      620 hipError_t hipEventElapsedTime(float *ms, hipEvent_t start, hipEvent_t stop);
      +
      621 
      +
      622 
      + +
      636 
      +
      637 
      +
      638 // end doxygen Events
      + +
      664 
      +
      665 
      +
      673 hipError_t hipMalloc(void** ptr, size_t size) ;
      +
      674 
      +
      675 
      +
      683 hipError_t hipMallocHost(void** ptr, size_t size) __attribute__((deprecated("use hipHostMalloc instead"))) ;
      +
      684 
      +
      693 hipError_t hipHostMalloc(void** ptr, size_t size, unsigned int flags) ;
      +
      694 hipError_t hipHostAlloc(void** ptr, size_t size, unsigned int flags) __attribute__((deprecated("use hipHostMalloc instead"))) ;;
      695 
      -
      710 hipError_t hipMemcpyToSymbol(const char* symbolName, const void *src, size_t sizeBytes, size_t offset, hipMemcpyKind kind);
      -
      711 
      -
      712 
      -
      724 hipError_t hipMemcpyAsync(void* dst, const void* src, size_t sizeBytes, hipMemcpyKind kind, hipStream_t stream=0);
      -
      725 
      -
      726 
      -
      739 hipError_t hipMemset(void* dst, int value, size_t sizeBytes );
      -
      740 
      -
      741 
      -
      755 hipError_t hipMemsetAsync(void* dst, int value, size_t sizeBytes, hipStream_t = 0 );
      -
      756 
      -
      757 
      -
      758 /*
      -
      759  * @brief Query memory info.
      -
      760  * Return snapshot of free memory, and total allocatable memory on the device.
      -
      761  *
      -
      762  * Returns in *free a snapshot of the current free memory o
      -
      763  **/
      -
      764 hipError_t hipMemGetInfo (size_t * free, size_t * total) ;
      +
      704 hipError_t hipHostGetDevicePointer(void** devPtr, void* hstPtr, unsigned int flags) ;
      +
      705 
      +
      713 hipError_t hipHostGetFlags(unsigned int* flagsPtr, void* hostPtr) ;
      +
      714 
      +
      745 hipError_t hipHostRegister(void* hostPtr, size_t sizeBytes, unsigned int flags) ;
      +
      746 
      +
      753 hipError_t hipHostUnregister(void* hostPtr) ;
      +
      754 
      +
      755 
      +
      763 hipError_t hipFree(void* ptr);
      +
      764 
      765 
      -
      766 // doxygen end Memory
      -
      791 hipError_t hipDeviceCanAccessPeer ( int* canAccessPeer, int device, int peerDevice );
      -
      792 
      -
      793 
      -
      794 
      -
      805 hipError_t hipDeviceDisablePeerAccess ( int peerDevice );
      -
      806 
      -
      816 hipError_t hipDeviceEnablePeerAccess ( int peerDevice, unsigned int flags );
      +
      766 
      +
      773 hipError_t hipFreeHost(void* ptr) __attribute__((deprecated("use hipHostFree instead"))) ;
      +
      774 
      +
      775 
      +
      782 hipError_t hipHostFree(void* ptr);
      +
      783 
      +
      784 
      +
      785 
      +
      799 hipError_t hipMemcpy(void* dst, const void* src, size_t sizeBytes, hipMemcpyKind kind);
      +
      800 
      +
      801 
      +
      816 hipError_t hipMemcpyToSymbol(const char* symbolName, const void *src, size_t sizeBytes, size_t offset, hipMemcpyKind kind);
      817 
      -
      829 hipError_t hipMemcpyPeer ( void* dst, int dstDevice, const void* src, int srcDevice, size_t sizeBytes );
      -
      830 
      -
      843 hipError_t hipMemcpyPeerAsync ( void* dst, int dstDevice, const void* src, int srcDevice, size_t sizeBytes, hipStream_t stream=0 );
      -
      844 // doxygen end PeerToPeer
      -
      868 hipError_t hipDriverGetVersion(int *driverVersion) ;
      -
      869 
      -
      870 
      -
      871 
      -
      872 // doxygen end Version Management
      -
      899 #ifdef __cplusplus
      -
      900 } /* extern "c" */
      -
      901 #endif
      -
      902 
      -
      903 
      -
      921 #ifdef __HCC__
      -
      922 #include <hc.hpp>
      -
      926 hipError_t hipHccGetAccelerator(int deviceId, hc::accelerator *acc);
      -
      927 
      -
      931 hipError_t hipHccGetAcceleratorView(hipStream_t stream, hc::accelerator_view **av);
      -
      932 #endif
      -
      933 
      -
      934 
      -
      935 // end-group HCC_Specific
      -
      942 // doxygen end HIP API
      -
      hipError_t hipDeviceEnablePeerAccess(int peerDevice, unsigned int flags)
      Enables registering memory on peerDevice for direct access from the current device.
      Definition: hip_hcc.cpp:1658
      -
      hipError_t hipDeviceCanAccessPeer(int *canAccessPeer, int device, int peerDevice)
      Determine if a device can access a peer's memory.
      Definition: hip_hcc.cpp:1634
      +
      818 
      +
      831 hipError_t hipMemcpyAsync(void* dst, const void* src, size_t sizeBytes, hipMemcpyKind kind, hipStream_t stream=0);
      +
      832 
      +
      833 
      +
      846 hipError_t hipMemset(void* dst, int value, size_t sizeBytes );
      +
      847 
      +
      848 
      +
      862 hipError_t hipMemsetAsync(void* dst, int value, size_t sizeBytes, hipStream_t = 0 );
      +
      863 
      +
      864 
      +
      871 hipError_t hipMemGetInfo (size_t * free, size_t * total) ;
      +
      872 
      +
      873 // doxygen end Memory
      +
      898 hipError_t hipDeviceCanAccessPeer ( int* canAccessPeer, int device, int peerDevice );
      +
      899 
      +
      900 
      +
      901 
      +
      912 hipError_t hipDeviceDisablePeerAccess ( int peerDevice );
      +
      913 
      +
      923 hipError_t hipDeviceEnablePeerAccess ( int peerDevice, unsigned int flags );
      +
      924 
      +
      936 hipError_t hipMemcpyPeer ( void* dst, int dstDevice, const void* src, int srcDevice, size_t sizeBytes );
      +
      937 
      +
      950 hipError_t hipMemcpyPeerAsync ( void* dst, int dstDevice, const void* src, int srcDevice, size_t sizeBytes, hipStream_t stream=0 );
      +
      951 // doxygen end PeerToPeer
      +
      975 hipError_t hipDriverGetVersion(int *driverVersion) ;
      +
      976 
      +
      977 
      +
      978 
      +
      979 // doxygen end Version Management
      +
      1006 #ifdef __cplusplus
      +
      1007 } /* extern "c" */
      +
      1008 #endif
      +
      1009 
      +
      1010 
      +
      1028 #ifdef __HCC__
      +
      1029 #include <hc.hpp>
      +
      1033 hipError_t hipHccGetAccelerator(int deviceId, hc::accelerator *acc);
      +
      1034 
      +
      1038 hipError_t hipHccGetAcceleratorView(hipStream_t stream, hc::accelerator_view **av);
      +
      1039 #endif
      +
      1040 
      +
      1041 
      +
      1042 // end-group HCC_Specific
      +
      1049 // doxygen end HIP API
      +
      hipError_t hipHostFree(void *ptr)
      Free memory allocated by the hcc hip host memory allocation API.
      Definition: hip_hcc.cpp:2750
      +
      hipError_t hipDeviceEnablePeerAccess(int peerDevice, unsigned int flags)
      Enables registering memory on peerDevice for direct access from the current device.
      Definition: hip_hcc.cpp:2812
      +
      hipError_t hipDeviceCanAccessPeer(int *canAccessPeer, int device, int peerDevice)
      Determine if a device can access a peer's memory.
      Definition: hip_hcc.cpp:2786
      hipError_t hipPeekAtLastError(void)
      Return last error returned by any HIP runtime API call.
      -
      hipError_t hipHccGetAcceleratorView(hipStream_t stream, hc::accelerator_view **av)
      Return hc::accelerator_view associated with the specified stream.
      Definition: hip_hcc.cpp:1730
      +
      hipError_t hipHccGetAcceleratorView(hipStream_t stream, hc::accelerator_view **av)
      Return hc::accelerator_view associated with the specified stream.
      Definition: hip_hcc.cpp:2886
      struct dim3 dim3
      TODO-doc.
      -
      hipError_t hipMemsetAsync(void *dst, int value, size_t sizeBytes, hipStream_t=0)
      Fills the first sizeBytes bytes of the memory area pointed to by dev with the constant byte value val...
      Definition: hip_hcc.cpp:1513
      -
      hipError_t hipFreeHost(void *ptr)
      Free memory allocated by the hcc hip host memory allocation API.
      Definition: hip_hcc.cpp:1612
      -
      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_hcc.cpp:1410
      -
      hipError_t hipFuncSetCacheConfig(hipFuncCache config)
      Set Cache configuration for a specific function.
      Definition: hip_hcc.cpp:721
      -
      no preference for shared memory or L1 (default)
      Definition: hip_runtime_api.h:63
      -
      uint32_t x
      x
      Definition: hip_runtime_api.h:86
      -
      Host-to-Device Copy.
      Definition: hip_runtime_api.h:101
      -
      hipError_t hipDeviceGetSharedMemConfig(hipSharedMemConfig *pConfig)
      Get Shared memory bank configuration.
      Definition: hip_hcc.cpp:751
      -
      hipError_t hipSetDevice(int device)
      Set default device to be used for subsequent hip API calls from this thread.
      Definition: hip_hcc.cpp:764
      -
      Device-to-Host Copy.
      Definition: hip_runtime_api.h:102
      -
      hipError_t hipEventSynchronize(hipEvent_t event)
      : Wait for an event to complete.
      Definition: hip_hcc.cpp:1157
      -
      hipError_t hipDeviceGetProperties(hipDeviceProp_t *prop, int device)
      Returns device properties.
      Definition: hip_hcc.cpp:884
      -
      hipFuncCache
      Definition: hip_runtime_api.h:62
      -
      hipError_t hipEventQuery(hipEvent_t event)
      Query event status.
      Definition: hip_hcc.cpp:1252
      -
      hipError_t hipDeviceGetCacheConfig(hipFuncCache *cacheConfig)
      Set Cache configuration for a specific function.
      Definition: hip_hcc.cpp:707
      -
      hipError_t hipMemcpyPeer(void *dst, int dstDevice, const void *src, int srcDevice, size_t sizeBytes)
      Copies memory from one device to memory on another device.
      Definition: hip_hcc.cpp:1667
      -
      hipError_t hipDeviceGetAttribute(int *pi, hipDeviceAttribute_t attr, int device)
      Query device attribute.
      Definition: hip_hcc.cpp:812
      -
      hipError_t hipEventRecord(hipEvent_t event, hipStream_t stream=NULL)
      Record an event in the specified stream.
      Definition: hip_hcc.cpp:1108
      -
      hipError_t hipGetDevice(int *device)
      Return the default device id for the calling host thread.
      Definition: hip_hcc.cpp:662
      -
      hipDeviceAttribute_t
      Definition: hip_runtime_api.h:134
      -
      hipError_t hipEventDestroy(hipEvent_t event)
      Destroy the specified event.
      Definition: hip_hcc.cpp:1142
      -
      hipError_t hipStreamCreateWithFlags(hipStream_t *stream, unsigned int flags)
      Create an asynchronous stream.
      Definition: hip_hcc.cpp:974
      -
      hipError_t hipDeviceDisablePeerAccess(int peerDevice)
      Disables registering memory on peerDevice for direct access from the current device.
      Definition: hip_hcc.cpp:1646
      -
      Definition: hip_runtime_api.h:85
      -
      uint32_t y
      y
      Definition: hip_runtime_api.h:87
      -
      prefer equal size L1 cache and shared memory
      Definition: hip_runtime_api.h:66
      -
      hipError_t hipEventCreateWithFlags(hipEvent_t *event, unsigned flags)
      Create an event with the specified flags.
      Definition: hip_hcc.cpp:1085
      -
      hipError_t hipMallocHost(void **ptr, size_t size)
      Allocate pinned host memory.
      Definition: hip_hcc.cpp:1372
      -
      hipError_t hipEventElapsedTime(float *ms, hipEvent_t start, hipEvent_t stop)
      Return the elapsed time between two events.
      Definition: hip_hcc.cpp:1207
      -
      hipError_t hipMemcpyPeerAsync(void *dst, int dstDevice, const void *src, int srcDevice, size_t sizeBytes, hipStream_t stream=0)
      Copies memory from one device to memory on another device.
      Definition: hip_hcc.cpp:1679
      -
      hipError_t hipGetDeviceCount(int *count)
      Return number of compute-capable devices.
      Definition: hip_hcc.cpp:675
      -
      hipError_t hipMemset(void *dst, int value, size_t sizeBytes)
      Copy data from src to dst asynchronously.
      Definition: hip_hcc.cpp:1558
      -
      hipError_t hipStreamDestroy(hipStream_t stream)
      Destroys the specified stream.
      Definition: hip_hcc.cpp:1038
      -
      hipError_t hipStreamSynchronize(hipStream_t stream)
      Wait for all commands in stream to complete.
      Definition: hip_hcc.cpp:1015
      -
      Definition: hip_hcc.cpp:82
      -
      Shared mem is banked at 4-bytes intervals and performs best when adjacent threads access data 4 bytes...
      Definition: hip_runtime_api.h:75
      -
      hipError_t
      Definition: hip_runtime_api.h:114
      -
      hipMemcpyKind
      Definition: hip_runtime_api.h:99
      -
      prefer larger L1 cache and smaller shared memory
      Definition: hip_runtime_api.h:65
      -
      hipError_t hipDriverGetVersion(int *driverVersion)
      Returns the approximate HIP driver version.
      Definition: hip_hcc.cpp:1691
      -
      hipError_t hipDeviceSynchronize(void)
      Blocks until the default device has completed all preceding requested tasks.
      Definition: hip_hcc.cpp:781
      -
      Definition: hip_runtime_api.h:122
      -
      hipError_t hipDeviceSetCacheConfig(hipFuncCache cacheConfig)
      Set L1/Shared cache partition.
      Definition: hip_hcc.cpp:693
      -
      hipError_t hipMalloc(void **ptr, size_t size)
      Allocate memory on the default accelerator.
      Definition: hip_hcc.cpp:1351
      -
      const char * hipGetErrorName(hipError_t hip_error)
      Return name of the specified error code in text form.
      Definition: hip_hcc.cpp:931
      -
      hipError_t hipGetLastError(void)
      Return last error returned by any HIP runtime API call and resets the stored error code to hipSuccess...
      Definition: hip_hcc.cpp:912
      -
      hipError_t hipStreamWaitEvent(hipStream_t stream, hipEvent_t event, unsigned int flags)
      Make the specified compute stream wait for an event.
      Definition: hip_hcc.cpp:998
      -
      hipError_t hipStreamGetFlags(hipStream_t stream, unsigned int *flags)
      Return flags associated with this stream.
      Definition: hip_hcc.cpp:1062
      +
      hipError_t hipMemsetAsync(void *dst, int value, size_t sizeBytes, hipStream_t=0)
      Fills the first sizeBytes bytes of the memory area pointed to by dev with the constant byte value val...
      Definition: hip_hcc.cpp:2632
      +
      hipError_t hipGetDeviceProperties(hipDeviceProp_t *prop, int device)
      Returns device properties.
      Definition: hip_hcc.cpp:1586
      +
      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_hcc.cpp:2326
      +
      hipError_t hipFuncSetCacheConfig(hipFuncCache config)
      Set Cache configuration for a specific function.
      Definition: hip_hcc.cpp:1405
      +
      no preference for shared memory or L1 (default)
      Definition: hip_runtime_api.h:75
      +
      uint32_t x
      x
      Definition: hip_runtime_api.h:98
      +
      Host-to-Device Copy.
      Definition: hip_runtime_api.h:113
      +
      hipError_t hipDeviceGetSharedMemConfig(hipSharedMemConfig *pConfig)
      Get Shared memory bank configuration.
      Definition: hip_hcc.cpp:1435
      +
      hipError_t hipSetDevice(int device)
      Set default device to be used for subsequent hip API calls from this thread.
      Definition: hip_hcc.cpp:1448
      +
      Definition: hip_runtime_api.h:117
      +
      Device-to-Host Copy.
      Definition: hip_runtime_api.h:114
      +
      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_hcc.cpp:1886
      +
      hipFuncCache
      Definition: hip_runtime_api.h:74
      +
      hipError_t hipEventQuery(hipEvent_t event)
      Query event status.
      Definition: hip_hcc.cpp:1983
      +
      hipError_t hipDeviceGetCacheConfig(hipFuncCache *cacheConfig)
      Set Cache configuration for a specific function.
      Definition: hip_hcc.cpp:1391
      +
      hipError_t hipMemcpyPeer(void *dst, int dstDevice, const void *src, int srcDevice, size_t sizeBytes)
      Copies memory from one device to memory on another device.
      Definition: hip_hcc.cpp:2821
      +
      hipError_t hipDeviceGetAttribute(int *pi, hipDeviceAttribute_t attr, int device)
      Query device attribute.
      Definition: hip_hcc.cpp:1510
      +
      hipError_t hipMallocHost(void **ptr, size_t size) __attribute__((deprecated("use hipHostMalloc instead")))
      Allocate pinned host memory.
      Definition: hip_hcc.cpp:2190
      +
      hipError_t hipEventRecord(hipEvent_t event, hipStream_t stream=NULL)
      Record an event in the specified stream.
      Definition: hip_hcc.cpp:1836
      +
      hipError_t hipGetDevice(int *device)
      Return the default device id for the calling host thread.
      Definition: hip_hcc.cpp:1346
      +
      hipError_t hipHostMalloc(void **ptr, size_t size, unsigned int flags)
      Allocate device accessible page locked host memory.
      Definition: hip_hcc.cpp:2214
      +
      hipDeviceAttribute_t
      Definition: hip_runtime_api.h:168
      +
      hipError_t hipEventDestroy(hipEvent_t event)
      Destroy the specified event.
      Definition: hip_hcc.cpp:1871
      +
      hipError_t hipStreamCreateWithFlags(hipStream_t *stream, unsigned int flags)
      Create an asynchronous stream.
      Definition: hip_hcc.cpp:1690
      +
      hipError_t hipDeviceDisablePeerAccess(int peerDevice)
      Disables registering memory on peerDevice for direct access from the current device.
      Definition: hip_hcc.cpp:2799
      +
      Definition: hip_runtime_api.h:97
      +
      uint32_t y
      y
      Definition: hip_runtime_api.h:99
      +
      prefer equal size L1 cache and shared memory
      Definition: hip_runtime_api.h:78
      +
      hipError_t hipEventCreateWithFlags(hipEvent_t *event, unsigned flags)
      Create an event with the specified flags.
      Definition: hip_hcc.cpp:1811
      +
      hipError_t hipEventElapsedTime(float *ms, hipEvent_t start, hipEvent_t stop)
      Return the elapsed time between two events.
      Definition: hip_hcc.cpp:1938
      +
      hipError_t hipMemcpyPeerAsync(void *dst, int dstDevice, const void *src, int srcDevice, size_t sizeBytes, hipStream_t stream=0)
      Copies memory from one device to memory on another device.
      Definition: hip_hcc.cpp:2833
      +
      hipError_t hipGetDeviceCount(int *count)
      Return number of compute-capable devices.
      Definition: hip_hcc.cpp:1359
      +
      hipError_t hipMemset(void *dst, int value, size_t sizeBytes)
      Copy data from src to dst asynchronously.
      Definition: hip_hcc.cpp:2682
      +
      hipError_t hipStreamDestroy(hipStream_t stream)
      Destroys the specified stream.
      Definition: hip_hcc.cpp:1759
      +
      hipError_t hipHostGetFlags(unsigned int *flagsPtr, void *hostPtr)
      Get flags associated with host pointer.
      Definition: hip_hcc.cpp:2252
      +
      hipError_t hipStreamSynchronize(hipStream_t stream)
      Wait for all commands in stream to complete.
      Definition: hip_hcc.cpp:1736
      +
      Shared mem is banked at 4-bytes intervals and performs best when adjacent threads access data 4 bytes...
      Definition: hip_runtime_api.h:87
      +
      hipError_t
      Definition: hip_runtime_api.h:142
      +
      hipMemcpyKind
      Definition: hip_runtime_api.h:111
      +
      prefer larger L1 cache and smaller shared memory
      Definition: hip_runtime_api.h:77
      +
      hipError_t hipDriverGetVersion(int *driverVersion)
      Returns the approximate HIP driver version.
      Definition: hip_hcc.cpp:2845
      +
      hipError_t hipDeviceSynchronize(void)
      Blocks until the default device has completed all preceding requested tasks.
      Definition: hip_hcc.cpp:1465
      +
      Definition: hip_runtime_api.h:136
      +
      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_hcc.cpp:2276
      +
      hipError_t hipDeviceSetCacheConfig(hipFuncCache cacheConfig)
      Set L1/Shared cache partition.
      Definition: hip_hcc.cpp:1377
      +
      hipError_t hipMalloc(void **ptr, size_t size)
      Allocate memory on the default accelerator.
      Definition: hip_hcc.cpp:2165
      +
      const char * hipGetErrorName(hipError_t hip_error)
      Return name of the specified error code in text form.
      Definition: hip_hcc.cpp:1661
      +
      hipError_t hipGetLastError(void)
      Return last error returned by any HIP runtime API call and resets the stored error code to hipSuccess...
      Definition: hip_hcc.cpp:1614
      +
      hipError_t hipStreamWaitEvent(hipStream_t stream, hipEvent_t event, unsigned int flags)
      Make the specified compute stream wait for an event.
      Definition: hip_hcc.cpp:1716
      +
      hipError_t hipStreamGetFlags(hipStream_t stream, unsigned int *flags)
      Return flags associated with this stream.
      Definition: hip_hcc.cpp:1788
      #define hipStreamDefault
      Flags that can be used with hipStreamCreateWithFlags.
      Definition: hip_runtime_api.h:48
      -
      hipError_t hipFree(void *ptr)
      Free memory allocated by the hcc hip memory allocation API. This API performs an implicit hipDeviceSy...
      Definition: hip_hcc.cpp:1596
      -
      uint32_t z
      z
      Definition: hip_runtime_api.h:88
      -
      hipError_t hipDeviceReset(void)
      Destroy all resources and reset all state on the default device in the current process.
      Definition: hip_hcc.cpp:796
      +
      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_hcc.cpp:2695
      +
      hipError_t hipFree(void *ptr)
      Free memory allocated by the hcc hip memory allocation API. This API performs an implicit hipDeviceSy...
      Definition: hip_hcc.cpp:2725
      +
      uint32_t z
      z
      Definition: hip_runtime_api.h:100
      +
      hipError_t hipDeviceReset(void)
      Destroy all resources and reset all state on the default device in the current process.
      Definition: hip_hcc.cpp:1480
      Definition: hip_runtime_api.h:74
      -
      hipError_t hipMemcpyAsync(void *dst, const void *src, size_t sizeBytes, hipMemcpyKind kind, hipStream_t stream=0)
      Copy data from src to dst asynchronously.
      Definition: hip_hcc.cpp:1471
      -
      The compiler selects a device-specific value for the banking.
      Definition: hip_runtime_api.h:74
      -
      Device-to-Device Copy.
      Definition: hip_runtime_api.h:103
      -
      Definition: hip_hcc.cpp:107
      -
      Runtime will automatically determine copy-kind based on virtual addresses.
      Definition: hip_runtime_api.h:104
      -
      hipSharedMemConfig
      Definition: hip_runtime_api.h:73
      -
      hipError_t hipMemcpy(void *dst, const void *src, size_t sizeBytes, hipMemcpyKind kind)
      Copy data from src to dst.
      Definition: hip_hcc.cpp:1429
      -
      hipError_t hipDeviceSetSharedMemConfig(hipSharedMemConfig config)
      Set Shared memory bank configuration.
      Definition: hip_hcc.cpp:736
      -
      prefer larger shared memory and smaller L1 cache
      Definition: hip_runtime_api.h:64
      -
      Host-to-Host Copy.
      Definition: hip_runtime_api.h:100
      -
      hipError_t hipHccGetAccelerator(int deviceId, hc::accelerator *acc)
      Return hc::accelerator associated with the specified deviceId.
      Definition: hip_hcc.cpp:1710
      -
      Shared mem is banked at 8-byte intervals and performs best when adjacent threads access data 4 bytes ...
      Definition: hip_runtime_api.h:76
      -
      const char * hipGetErrorString(hipError_t hip_error)
      Return handy text string message to explain the error which occurred.
      Definition: hip_hcc.cpp:958
      +
      hipError_t hipMemcpyAsync(void *dst, const void *src, size_t sizeBytes, hipMemcpyKind kind, hipStream_t stream=0)
      Copy data from src to dst asynchronously.
      Definition: hip_hcc.cpp:2603
      +
      The compiler selects a device-specific value for the banking.
      Definition: hip_runtime_api.h:86
      +
      Device-to-Device Copy.
      Definition: hip_runtime_api.h:115
      +
      Definition: hip_hcc.cpp:363
      +
      Runtime will automatically determine copy-kind based on virtual addresses.
      Definition: hip_runtime_api.h:116
      +
      hipSharedMemConfig
      Definition: hip_runtime_api.h:85
      +
      hipError_t hipHostUnregister(void *hostPtr)
      Un-register host pointer.
      Definition: hip_hcc.cpp:2307
      +
      Definition: hip_hcc.cpp:284
      +
      hipError_t hipMemcpy(void *dst, const void *src, size_t sizeBytes, hipMemcpyKind kind)
      Copy data from src to dst.
      Definition: hip_hcc.cpp:2569
      +
      hipError_t hipFreeHost(void *ptr) __attribute__((deprecated("use hipHostFree instead")))
      Free memory allocated by the hcc hip host memory allocation API.
      Definition: hip_hcc.cpp:2775
      +
      hipError_t hipDeviceSetSharedMemConfig(hipSharedMemConfig config)
      Set Shared memory bank configuration.
      Definition: hip_hcc.cpp:1420
      +
      prefer larger shared memory and smaller L1 cache
      Definition: hip_runtime_api.h:76
      +
      Host-to-Host Copy.
      Definition: hip_runtime_api.h:112
      +
      hipError_t hipHccGetAccelerator(int deviceId, hc::accelerator *acc)
      Return hc::accelerator associated with the specified deviceId.
      Definition: hip_hcc.cpp:2866
      +
      hipError_t hipPointerGetAttributes(hipPointerAttribute_t *attributes, void *ptr)
      Return attributes for the specified pointer.
      Definition: hip_hcc.cpp:2012
      +
      Shared mem is banked at 8-byte intervals and performs best when adjacent threads access data 4 bytes ...
      Definition: hip_runtime_api.h:88
      +
      const char * hipGetErrorString(hipError_t hip_error)
      Return handy text string message to explain the error which occurred.
      Definition: hip_hcc.cpp:1674
      diff --git a/hipamd/docs/RuntimeAPI/html/hcc__detail_2hip__vector__types_8h.html b/hipamd/docs/RuntimeAPI/html/hcc__detail_2hip__vector__types_8h.html index 7e73a981b1..e4dc64a7f8 100644 --- a/hipamd/docs/RuntimeAPI/html/hcc__detail_2hip__vector__types_8h.html +++ b/hipamd/docs/RuntimeAPI/html/hcc__detail_2hip__vector__types_8h.html @@ -4,7 +4,7 @@ -HIP: Heterogenous-computing Interface for Portability: /home/bensander/HIP.public/include/hcc_detail/hip_vector_types.h File Reference +HIP: Heterogenous-computing Interface for Portability: /home/bensander/HIP-privatestaging/include/hcc_detail/hip_vector_types.h File Reference @@ -444,7 +444,7 @@ Functions diff --git a/hipamd/docs/RuntimeAPI/html/hcc__detail_2hip__vector__types_8h_source.html b/hipamd/docs/RuntimeAPI/html/hcc__detail_2hip__vector__types_8h_source.html index 9bd0f090ab..8074ddd763 100644 --- a/hipamd/docs/RuntimeAPI/html/hcc__detail_2hip__vector__types_8h_source.html +++ b/hipamd/docs/RuntimeAPI/html/hcc__detail_2hip__vector__types_8h_source.html @@ -4,7 +4,7 @@ -HIP: Heterogenous-computing Interface for Portability: /home/bensander/HIP.public/include/hcc_detail/hip_vector_types.h Source File +HIP: Heterogenous-computing Interface for Portability: /home/bensander/HIP-privatestaging/include/hcc_detail/hip_vector_types.h Source File @@ -280,7 +280,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/hipamd/docs/RuntimeAPI/html/hierarchy.html b/hipamd/docs/RuntimeAPI/html/hierarchy.html index 801ddcd197..ca624bc669 100644 --- a/hipamd/docs/RuntimeAPI/html/hierarchy.html +++ b/hipamd/docs/RuntimeAPI/html/hierarchy.html @@ -90,21 +90,28 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
      This inheritance list is sorted roughly, but not completely, alphabetically:
      diff --git a/hipamd/docs/RuntimeAPI/html/hip__common_8h_source.html b/hipamd/docs/RuntimeAPI/html/hip__common_8h_source.html index 5a5a586bdf..55d079f9f9 100644 --- a/hipamd/docs/RuntimeAPI/html/hip__common_8h_source.html +++ b/hipamd/docs/RuntimeAPI/html/hip__common_8h_source.html @@ -4,7 +4,7 @@ -HIP: Heterogenous-computing Interface for Portability: /home/bensander/HIP.public/include/hip_common.h Source File +HIP: Heterogenous-computing Interface for Portability: /home/bensander/HIP-privatestaging/include/hip_common.h Source File @@ -181,7 +181,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/hipamd/docs/RuntimeAPI/html/hip__hcc_8cpp.html b/hipamd/docs/RuntimeAPI/html/hip__hcc_8cpp.html index adfc13a1df..f2cf85359c 100644 --- a/hipamd/docs/RuntimeAPI/html/hip__hcc_8cpp.html +++ b/hipamd/docs/RuntimeAPI/html/hip__hcc_8cpp.html @@ -4,7 +4,7 @@ -HIP: Heterogenous-computing Interface for Portability: /home/bensander/HIP.public/src/hip_hcc.cpp File Reference +HIP: Heterogenous-computing Interface for Portability: /home/bensander/HIP-privatestaging/src/hip_hcc.cpp File Reference @@ -88,6 +88,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); @@ -98,17 +99,30 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
      #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 "hsa_ext_amd.h"
      +#include "hcc_detail/staging_buffer.h"
      +#include "hcc_detail/trace_helper.h"
      +#include "staging_buffer.cpp"
      - + + + + + + + @@ -117,21 +131,88 @@ Classes

      Classes

      struct  ihipStream_t
      class  ihipException
       
      struct  ihipSignal_t
       
      class  FakeMutex
       
      class  ihipStream_t
       
      struct  ihipEvent_t
       
      - - + + + + - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

      Macros

      -#define USE_PINNED_HOST   (__hcc_workweek__ >= 1601)
       
      +#define HIP_HCC
       
      +#define USE_AV_COPY   0
       
      #define INLINE   static inline
       
      -#define TRACE_API   0x1 /* trace API calls and return values */
       
      -#define TRACE_SYNC   0x2 /* trace synchronization pieces */
       
      -#define TRACE_MEM   0x4 /* trace memory allocation / deallocation */
       
      +#define KNRM   "\x1B[0m"
       
      +#define KRED   "\x1B[31m"
       
      +#define KGRN   "\x1B[32m"
       
      +#define KYEL   "\x1B[33m"
       
      +#define KBLU   "\x1B[34m"
       
      +#define KMAG   "\x1B[35m"
       
      +#define KCYN   "\x1B[36m"
       
      +#define KWHT   "\x1B[37m"
       
      +#define API_COLOR   KGRN
       
      +#define HIP_HCC
       
      +#define STREAM_THREAD_SAFE   1
       
      +#define FORCE_SAMEDIR_COPY_DEP   1
       
      +#define COMPILE_HIP_DB   1
       
      +#define COMPILE_HIP_TRACE_API   0x3
       
      +#define COMPILE_TRACE_MARKER   0
       
      +#define ONE_OBJECT_FILE   1
       
      +#define SCOPED_MARKER(markerName, group, userString)
       
      #define API_TRACE(...)
       
      #define HIP_INIT_API(...)
       
      +#define DB_API   0 /* 0x01 - shortcut to enable HIP_TRACE_API on single switch */
       
      +#define DB_SYNC   1 /* 0x02 - trace synchronization pieces */
       
      +#define DB_MEM   2 /* 0x04 - trace memory allocation / deallocation */
       
      +#define DB_COPY1   3 /* 0x08 - trace memory copy commands. . */
       
      +#define DB_SIGNAL   4 /* 0x10 - trace signal pool commands */
       
      +#define DB_COPY2   5 /* 0x20 - trace memory copy commands. Detailed. */
       
      #define tprintf(trace_level,...)
       
      @@ -145,21 +226,55 @@ Macros
      #define READ_ENV_I(_build, _ENV_VAR, _ENV_VAR2, _description)
       
      + + + + + +

      +Typedefs

      +typedef uint64_t SIGSEQNUM
       
      +typedef std::mutex StreamMutex
       
      - -

      Enumerations

      enum  ihipCommand_t { ihipCommandKernel, -ihipCommandData +
      enum  ihipCommand_t {
      +  ihipCommandCopyH2H, +ihipCommandCopyH2D, +ihipCommandCopyD2H, +ihipCommandCopyD2D, +
      +  ihipCommandKernel, +ihipCommandCopyH2H, +ihipCommandCopyH2D, +ihipCommandCopyD2H, +
      +  ihipCommandCopyD2D, +ihipCommandKernel +
      }
       
      enum  hipEventStatus_t { hipEventStatusUnitialized = 0, +
      enum  hipEventStatus_t {
      +  hipEventStatusUnitialized = 0, +hipEventStatusCreated = 1, +hipEventStatusRecording = 2, +hipEventStatusRecorded = 3, +
      +  hipEventStatusUnitialized = 0, hipEventStatusCreated = 1, hipEventStatusRecording = 2, hipEventStatusRecorded = 3 +
      }
       
      + + + + @@ -172,27 +287,21 @@ void  - - - - +hipStream_t  - - - - + + + + @@ -226,9 +335,9 @@ hc::accelerator_view *  - - - + + + @@ -241,25 +350,25 @@ hc::accelerator_view *  - + - + - + - + - + - + @@ -277,44 +386,67 @@ void  + + + + + - + - + - - - + + + + + + + + + + + + + + + + + - + - + - + + - - - + + + + + + @@ -327,7 +459,7 @@ template<typename T > - + @@ -336,15 +468,16 @@ template<typename T > - +

      Functions

      +const char * ihipErrorString (hipError_t hip_error)
       
      +INLINE bool ihipIsValidDevice (unsigned deviceIndex)
       
      void error_check (hsa_status_t hsa_error_code, int line_num, std::string str)
       
      ihipReadEnv_I (in
      void ihipInit ()
       
      -INLINE bool ihipIsValidDevice (unsigned deviceIndex)
       
      INLINE ihipDevice_tihipGetTlsDefaultDevice ()
       
      INLINE ihipDevice_tihipGetDevice (int deviceId)
       
      -void ihipWaitNullStream (ihipDevice_t *device)
       
      -hipStream_t ihipSyncAndResolveStream (hipStream_t stream)
      ihipSyncAndResolveStream (hipStream_t stream)
       
      -bool ihipCheckCommandSwitchSync (hipStream_t stream, ihipCommand_t new_command, hc::completion_future *marker)
       
      -hc::accelerator_view * ihipLaunchKernel (hipStream_t stream)
       
      +hipStream_t ihipPreLaunchKernel (hipStream_t stream, hc::accelerator_view **av)
       
      +void ihipPostLaunchKernel (hipStream_t stream, hc::completion_future &kernelFuture)
       
      hipError_t hipGetDevice (int *device)
       Return the default device id for the calling host thread. More...
       
      ihi
      hipError_t hipDeviceGetAttribute (int *pi, hipDeviceAttribute_t attr, int device)
       Query device attribute. More...
       
      hipError_t hipDeviceGetProperties (hipDeviceProp_t *props, int device)
       Returns device properties. More...
       
      hipError_t hipGetDeviceProperties (hipDeviceProp_t *props, int device)
       Returns device properties. More...
       
      hipError_t hipGetLastError ()
       Return last error returned by any HIP runtime API call and resets the stored error code to hipSuccess. More...
       
      ihi
      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)
      hipError_t hipStreamCreateWithFlags (hipStream_t *stream, unsigned int flags)
       Create an asynchronous stream. More...
       
      hipError_t hipStreamWaitEvent (hipStream_t stream, hipEvent_t event, unsigned int flags)
      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)
      hipError_t hipStreamSynchronize (hipStream_t stream)
       Wait for all commands in stream to complete. More...
       
      hipError_t hipStreamDestroy (hipStream_t stream)
      hipError_t hipStreamDestroy (hipStream_t stream)
       Destroys the specified stream. More...
       
      hipError_t hipStreamGetFlags (hipStream_t stream, unsigned int *flags)
      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 hipEventRecord (hipEvent_t event, hipStream_t stream)
      hipError_t hipEventRecord (hipEvent_t event, hipStream_t stream)
       Record an event in the specified stream. More...
       
      hipError_t hipEventDestroy (hipEvent_t event)
      ihipSetTs (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 hipHostGetDevicePointer (void **devicePointer, void *hostPointer, unsigned flags)
       
      template<typename T >
      hc::completion_future ihipMemcpyKernel (hipStream_t stream, T *c, const T *a, size_t sizeBytes)
      hc::completion_future ihipMemcpyKernel (hipStream_t stream, T *c, const T *a, size_t sizeBytes)
       
      template<typename T >
      hc::completion_future ihipMemsetKernel (hipStream_t stream, T *ptr, T val, size_t sizeBytes)
      hc::completion_future ihipMemsetKernel (hipStream_t stream, T *ptr, T val, size_t sizeBytes)
       
      hipError_t hipMalloc (void **ptr, size_t sizeBytes)
       Allocate memory on the default accelerator. More...
       
      hipError_t hipMallocHost (void **ptr, size_t sizeBytes)
       Allocate pinned host memory. More...
       
      hipError_t hipMallocHost (void **ptr, size_t sizeBytes)
       Allocate pinned host memory. More...
       
      hipError_t hipHostMalloc (void **ptr, size_t sizeBytes, unsigned int flags)
       Allocate device accessible page locked host memory. More...
       
      +hipError_t hipHostAlloc (void **ptr, size_t sizeBytes, unsigned int flags)
       
      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 hipMemcpyToSymbol (const char *symbolName, const void *src, size_t count, 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 hipMemcpy (void *dst, const void *src, size_t sizeBytes, hipMemcpyKind kind)
       Copy data from src to dst. More...
       
      hipError_t hipMemcpyAsync (void *dst, const void *src, size_t sizeBytes, hipMemcpyKind kind, hipStream_t stream)
      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 hipMemsetAsync (void *dst, int value, size_t sizeBytes, hipStream_t stream)
      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 hipMemset (void *dst, int value, size_t sizeBytes)
       Copy data from src to dst asynchronously. More...
       
      -hipError_t hipMemGetInfo (size_t *free, size_t *total)
      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 hipFree (void *ptr)
       Free memory allocated by the hcc hip memory allocation API. This API performs an implicit hipDeviceSynchronize() call. More...
       
      hipError_t hipFreeHost (void *ptr)
       Free memory allocated by the hcc hip host memory allocation API. More...
       
      hipError_t hipHostFree (void *ptr)
       Free memory allocated by the hcc hip host memory allocation API. More...
       
      hipError_t hipFreeHost (void *ptr)
       Free memory allocated by the hcc hip host memory allocation API. More...
       
      hipError_t hipDeviceCanAccessPeer (int *canAccessPeer, int device, int peerDevice)
       Determine if a device can access a peer's memory. More...
       
      hipError_t hipMemcpyPeer (void *dst, int dstDevice, const void *src, int srcDevice, size_t sizeBytes)
       Copies memory from one device to memory on another device. More...
       
      hipError_t hipMemcpyPeerAsync (void *dst, int dstDevice, const void *src, int srcDevice, size_t sizeBytes, hipStream_t stream)
      hipError_t hipMemcpyPeerAsync (void *dst, int dstDevice, const void *src, int srcDevice, size_t sizeBytes, hipStream_t stream)
       Copies memory from one device to memory on another device. More...
       
      hipError_t hipDriverGetVersion (int *driverVersion)
      hipError_t hipHccGetAccelerator (int deviceId, hc::accelerator *acc)
       Return hc::accelerator associated with the specified deviceId. More...
       
      hipError_t hipHccGetAcceleratorView (hipStream_t stream, hc::accelerator_view **av)
      hipError_t hipHccGetAcceleratorView (hipStream_t stream, hc::accelerator_view **av)
       Return hc::accelerator_view associated with the specified stream. More...
       
      - - + + + @@ -353,13 +486,37 @@ int  - - - + + + + + + + + + + + + + + + + + + +const hipStream_t  + + @@ -369,13 +526,67 @@ thread_local int  - - + + + + + + + + + +

      Variables

      -int warpSize = 64
       
      +int HIP_LAUNCH_BLOCKING = 0
       Make all HIP APIs host-synchronous.
       
      int HIP_PRINT_ENV = 0
       Print all HIP-related environment variables.
      HIP_TRACE_API = 0
       Trace HIP APIs.
       
      -int HIP_LAUNCH_BLOCKING = 0
       Make all HIP APIs host-synchronous.
       
      +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 = 1
       
      +int HIP_DISABLE_HW_COPY_DEP = 1
       
      const char * dbName []
       
      -const hipStream_t hipStreamNull = 0x0
      hipStreamNull = 0x0
       
      const char * ihipCommandName []
       
      thread_local hipError_t tls_lastHipError = hipSuccess
       
      tls_defau
      std::once_flag hip_initialized
       
      -std::vector< ihipDevice_tg_devices
       
      +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 API_TRACE( ...)
      +
      +Value:
      {\
      +
      std::string s = std::string(__func__) + " (" + ToString(__VA_ARGS__) + ')';\
      +
      if (COMPILE_HIP_DB && HIP_TRACE_API) {\
      +
      fprintf (stderr, API_COLOR "<<hip-api: %s\n" KNRM, s.c_str());\
      +
      }\
      +
      SCOPED_MARKER(s.c_str(), "HIP", NULL);\
      +
      }
      +
      int HIP_TRACE_API
      Trace HIP APIs.
      Definition: hip_hcc.cpp:73
      +
      +
      +
      + +
      +
      + + + + + + + + +
      #define HIP_INIT_API( ...)
      +
      +Value:
      std::call_once(hip_initialized, ihipInit);\
      +
      API_TRACE(__VA_ARGS__);
      +
      +
      +
      @@ -392,12 +603,12 @@ std::vector< ihipDevice_t & Value:
      ({\
      tls_lastHipError = _hip_status;\
      \
      -
      if (HIP_TRACE_API & TRACE_API) {\
      -
      fprintf(stderr, "hiptrace1: %-30s ret=%2d\n", __func__, _hip_status);\
      +
      if ((COMPILE_HIP_TRACE_API & 0x2) && HIP_TRACE_API) {\
      +
      fprintf(stderr, " %ship-api: %-30s ret=%2d (%s)>>\n" KNRM, (_hip_status == 0) ? API_COLOR:KRED, __func__, _hip_status, ihipErrorString(_hip_status));\
      }\
      _hip_status;\
      })
      -
      int HIP_TRACE_API
      Trace HIP APIs.
      Definition: hip_hcc.cpp:57
      +
      int HIP_TRACE_API
      Trace HIP APIs.
      Definition: hip_hcc.cpp:73
      @@ -466,19 +677,94 @@ std::vector< ihipDevice_t &
      Value:
      {\
      -
      if (HIP_TRACE_API & trace_level) {\
      -
      fprintf (stderr, "hiptrace%d: ", trace_level); \
      +
      if (HIP_DB & (1<<(trace_level))) {\
      +
      fprintf (stderr, " %s:", dbName[trace_level]); \
      fprintf (stderr, __VA_ARGS__);\
      +
      fprintf (stderr, "%s", KNRM); \
      }\
      }
      -
      int HIP_TRACE_API
      Trace HIP APIs.
      Definition: hip_hcc.cpp:57
      +
      +
      + +

      Function Documentation

      + +
      +
      + + + + + + + + + + + + + + + + + + + + + + + + +
      hipError_t hipHostGetDevicePointer (void ** devicePointer,
      void * hostPointer,
      unsigned flags 
      )
      +
      +
      Returns
      hipSuccess,
      +
      +hipErrorInvalidValue if flags are not 0
      +
      +hipErrorMemoryAllocation if hostPointer is not a tracked allocation.
      + +
      +
      +

      Variable Documentation

      + +
      +
      + + + + +
      const char* dbName[]
      +
      +Initial value:
      =
      +
      {
      +
      KNRM "hip-api",
      +
      KYEL "hip-sync",
      +
      KCYN "hip-mem",
      +
      KMAG "hip-copy1",
      +
      KRED "hip-signal",
      +
      KNRM "hip-copy2",
      +
      }
      +
      +
      +
      + +
      +
      + + + + +
      const char* ihipCommandName[]
      +
      +Initial value:
      = {
      +
      "CopyH2H", "CopyH2D", "CopyD2H", "CopyD2D", "Kernel"
      +
      }
      diff --git a/hipamd/docs/RuntimeAPI/html/hip__runtime_8h_source.html b/hipamd/docs/RuntimeAPI/html/hip__runtime_8h_source.html index 40c09acfeb..d01ac13ca9 100644 --- a/hipamd/docs/RuntimeAPI/html/hip__runtime_8h_source.html +++ b/hipamd/docs/RuntimeAPI/html/hip__runtime_8h_source.html @@ -4,7 +4,7 @@ -HIP: Heterogenous-computing Interface for Portability: /home/bensander/HIP.public/include/hip_runtime.h Source File +HIP: Heterogenous-computing Interface for Portability: /home/bensander/HIP-privatestaging/include/hip_runtime.h Source File @@ -124,27 +124,32 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
      43 #include <stdlib.h>
      44 #include <assert.h>
      45 
      -
      46 #include <hip_common.h>
      -
      47 
      -
      48 #if defined(__HIP_PLATFORM_HCC__) and not defined (__HIP_PLATFORM_NVCC__)
      -
      49 #include <hcc_detail/hip_runtime.h>
      -
      50 #elif defined(__HIP_PLATFORM_NVCC__) and not defined (__HIP_PLATFORM_HCC__)
      -
      51 #include <nvcc_detail/hip_runtime.h>
      -
      52 #else
      -
      53 #error("Must define exactly one of __HIP_PLATFORM_HCC__ or __HIP_PLATFORM_NVCC__");
      -
      54 #endif
      -
      55 
      -
      56 
      -
      57 #include <hip_runtime_api.h>
      -
      58 #include <hip_vector_types.h>
      -
      59 
      +
      46 #if __cplusplus > 199711L
      +
      47 #include <thread>
      +
      48 #endif
      +
      49 
      +
      50 
      +
      51 #include <hip_common.h>
      +
      52 
      +
      53 #if defined(__HIP_PLATFORM_HCC__) and not defined (__HIP_PLATFORM_NVCC__)
      +
      54 #include <hcc_detail/hip_runtime.h>
      +
      55 #elif defined(__HIP_PLATFORM_NVCC__) and not defined (__HIP_PLATFORM_HCC__)
      +
      56 #include <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_runtime_api.h>
      +
      63 #include <hip_vector_types.h>
      +
      64 
      Contains definitions of APIs for HIP runtime.
      diff --git a/hipamd/docs/RuntimeAPI/html/hip__runtime__api_8h_source.html b/hipamd/docs/RuntimeAPI/html/hip__runtime__api_8h_source.html index 4ef99226aa..885302e6f0 100644 --- a/hipamd/docs/RuntimeAPI/html/hip__runtime__api_8h_source.html +++ b/hipamd/docs/RuntimeAPI/html/hip__runtime__api_8h_source.html @@ -4,7 +4,7 @@ -HIP: Heterogenous-computing Interface for Portability: /home/bensander/HIP.public/include/hip_runtime_api.h Source File +HIP: Heterogenous-computing Interface for Portability: /home/bensander/HIP-privatestaging/include/hip_runtime_api.h Source File @@ -162,165 +162,208 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
      82  int maxGridSize[3];
      83  int clockRate;
      -
      85  size_t totalConstMem;
      -
      86  int major;
      -
      87  int minor;
      - - - - - - - -
      95  int pciBusID;
      - - - -
      99 
      -
      100 
      -
      101 // hack to get these to show up in Doxygen:
      -
      109 /*
      -
      110  * @brief hipError_t
      -
      111  * @enum
      -
      112  * @ingroup Enumerations
      -
      113  */
      -
      114 typedef enum hipError_t {
      - - - - - - - - - - - - -
      127 } hipError_t;
      -
      128 
      -
      129 /*
      -
      130  * @brief hipDeviceAttribute_t
      -
      131  * @enum
      -
      132  * @ingroup Enumerations
      -
      133  */
      -
      134 typedef enum hipDeviceAttribute_t {
      - - - - - - - - - - - - - - - - - - - - - - - - -
      159 
      -
      164 #if defined(__HIP_PLATFORM_HCC__) and not defined (__HIP_PLATFORM_NVCC__)
      - -
      166 #elif defined(__HIP_PLATFORM_NVCC__) and not defined (__HIP_PLATFORM_HCC__)
      -
      167 #include "nvcc_detail/hip_runtime_api.h"
      -
      168 #else
      -
      169 #error("Must define exactly one of __HIP_PLATFORM_HCC__ or __HIP_PLATFORM_NVCC__");
      -
      170 #endif
      -
      171 
      -
      172 
      -
      180 #ifdef __cplusplus
      -
      181 template<class T>
      -
      182 static inline hipError_t hipMalloc ( T** devPtr, size_t size)
      -
      183 {
      -
      184  return hipMalloc((void**)devPtr, size);
      -
      185 }
      -
      186 
      -
      187 template<class T>
      -
      188 static inline hipError_t hipMallocHost ( T** ptr, size_t size)
      -
      189 {
      -
      190  return hipMallocHost((void**)ptr, size);
      -
      191 }
      -
      192 #endif
      -
      Call to hipGetDeviceCount returned 0 devices.
      Definition: hip_runtime_api.h:123
      -
      size_t totalConstMem
      Size of shared memory region (in bytes).
      Definition: hip_runtime_api.h:85
      -
      Maximum Shared Memory Per Multiprocessor.
      Definition: hip_runtime_api.h:157
      -
      Maximum x-dimension of a block.
      Definition: hip_runtime_api.h:136
      -
      Maximum x-dimension of a grid.
      Definition: hip_runtime_api.h:139
      -
      Unknown symbol.
      Definition: hip_runtime_api.h:118
      -
      Successful completion.
      Definition: hip_runtime_api.h:115
      -
      int minor
      Minor compute capability. On HCC, this is an approximation and features may differ from CUDA CC...
      Definition: hip_runtime_api.h:87
      -
      Maximum number of 32-bit registers available to a thread block. This number is shared by all thread b...
      Definition: hip_runtime_api.h:145
      + +
      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
      +
      142 typedef enum hipError_t {
      + + + + + + + + + + + +
      154 
      + + + + + + +
      161 } hipError_t;
      +
      162 
      +
      163 /*
      +
      164  * @brief hipDeviceAttribute_t
      +
      165  * @enum
      +
      166  * @ingroup Enumerations
      +
      167  */
      +
      168 typedef enum hipDeviceAttribute_t {
      + + + + + + + + + + + + + + + + + + + + + + + + + + +
      195 
      +
      200 #if defined(__HIP_PLATFORM_HCC__) and not defined (__HIP_PLATFORM_NVCC__)
      + +
      202 #elif defined(__HIP_PLATFORM_NVCC__) and not defined (__HIP_PLATFORM_HCC__)
      +
      203 #include "nvcc_detail/hip_runtime_api.h"
      +
      204 #else
      +
      205 #error("Must define exactly one of __HIP_PLATFORM_HCC__ or __HIP_PLATFORM_NVCC__");
      +
      206 #endif
      +
      207 
      +
      208 
      +
      216 #ifdef __cplusplus
      +
      217 template<class T>
      +
      218 static inline hipError_t hipMalloc ( T** devPtr, size_t size)
      +
      219 {
      +
      220  return hipMalloc((void**)devPtr, size);
      +
      221 }
      +
      222 
      +
      223 // Provide an override to automatically typecast the pointer type from void**, and also provide a default for the flags.
      +
      224 template<class T>
      +
      225 static inline hipError_t hipHostMalloc( T** ptr, size_t size, unsigned int flags = hipHostMallocDefault)
      +
      226 {
      +
      227  return hipHostMalloc((void**)ptr, size, flags);
      +
      228 }
      +
      229 #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:192
      +
      Maximum x-dimension of a block.
      Definition: hip_runtime_api.h:170
      +
      Maximum x-dimension of a grid.
      Definition: hip_runtime_api.h:173
      +
      Unknown symbol.
      Definition: hip_runtime_api.h:146
      +
      HSA runtime memory call returned error. Typically not seen in production systems. ...
      Definition: hip_runtime_api.h:158
      +
      Global memory bus width in bits.
      Definition: hip_runtime_api.h:182
      +
      Successful completion.
      Definition: hip_runtime_api.h:143
      +
      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:179
      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:150
      -
      DeviceID must be in range 0...#compute-devices.
      Definition: hip_runtime_api.h:122
      -
      Peak clock frequency in kilohertz.
      Definition: hip_runtime_api.h:146
      +
      Size of L2 cache in bytes. 0 if the device doesn't have L2 cache.
      Definition: hip_runtime_api.h:185
      +
      #define hipHostMallocDefault
      Flags that can be used with hipHostMalloc.
      Definition: hip_runtime_api.h:60
      +
      HSA runtime call other than memory returned error. Typically not seen in production systems...
      Definition: hip_runtime_api.h:159
      +
      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:180
      +
      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:141
      -
      Out of resources error.
      Definition: hip_runtime_api.h:119
      -
      Minor compute capability version number.
      Definition: hip_runtime_api.h:153
      -
      Maximum shared memory available per block in bytes.
      Definition: hip_runtime_api.h:142
      -
      int pciBusID
      PCI Bus ID.
      Definition: hip_runtime_api.h:95
      -
      Maximum y-dimension of a grid.
      Definition: hip_runtime_api.h:140
      -
      Unknown error.
      Definition: hip_runtime_api.h:125
      +
      Maximum z-dimension of a grid.
      Definition: hip_runtime_api.h:175
      +
      Out of resources error.
      Definition: hip_runtime_api.h:147
      +
      Minor compute capability version number.
      Definition: hip_runtime_api.h:188
      +
      Maximum shared memory available per block in bytes.
      Definition: hip_runtime_api.h:176
      +
      int pciBusID
      PCI Bus ID.
      Definition: hip_runtime_api.h:96
      +
      Maximum y-dimension of a grid.
      Definition: hip_runtime_api.h:174
      +
      Multiple GPU devices.
      Definition: hip_runtime_api.h:193
      +
      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:137
      +
      Maximum y-dimension of a block.
      Definition: hip_runtime_api.h:171
      +
      hipError_t hipHostMalloc(void **ptr, size_t size, unsigned int flags)
      Allocate device accessible page locked host memory.
      Definition: hip_hcc.cpp:2214
      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:90
      -
      int l2CacheSize
      L2 cache size.
      Definition: hip_runtime_api.h:89
      -
      hipDeviceAttribute_t
      Definition: hip_runtime_api.h:134
      -
      Major compute capability version number.
      Definition: hip_runtime_api.h:152
      -
      Maximum number of threads per block.
      Definition: hip_runtime_api.h:135
      -
      Resource handle (hipEvent_t or hipStream_t) invalid.
      Definition: hip_runtime_api.h:121
      -
      Memory allocation error.
      Definition: hip_runtime_api.h:116
      -
      hipDeviceArch_t arch
      Architectural feature flags. New for HIP.
      Definition: hip_runtime_api.h:93
      +
      int maxThreadsPerMultiProcessor
      Maximum resident threads per multi-processor.
      Definition: hip_runtime_api.h:91
      +
      int l2CacheSize
      L2 cache size.
      Definition: hip_runtime_api.h:90
      +
      hipDeviceAttribute_t
      Definition: hip_runtime_api.h:168
      +
      Major compute capability version number.
      Definition: hip_runtime_api.h:187
      +
      Maximum number of threads per block.
      Definition: hip_runtime_api.h:169
      +
      Resource handle (hipEvent_t or hipStream_t) invalid.
      Definition: hip_runtime_api.h:149
      +
      Memory allocation error.
      Definition: hip_runtime_api.h:144
      +
      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:91
      -
      Maximum z-dimension of a block.
      Definition: hip_runtime_api.h:138
      -
      PCI Bus ID.
      Definition: hip_runtime_api.h:155
      -
      hipError_t hipMallocHost(void **ptr, size_t size)
      Allocate pinned host memory.
      Definition: hip_hcc.cpp:1372
      -
      Marker that more error codes are needed.
      Definition: hip_runtime_api.h:126
      -
      Warp size in threads.
      Definition: hip_runtime_api.h:144
      -
      int major
      Major compute capability. On HCC, this is an approximation and features may differ from CUDA CC...
      Definition: hip_runtime_api.h:86
      -
      Peak memory clock frequency in kilohertz.
      Definition: hip_runtime_api.h:147
      -
      Maximum resident threads per multiprocessor.
      Definition: hip_runtime_api.h:151
      -
      hipError_t
      Definition: hip_runtime_api.h:114
      -
      int clockInstructionRate
      Frequency in khz of the timer used by the device-side "clock*" instructions. New for HIP...
      Definition: hip_runtime_api.h:92
      -
      Constant memory size in bytes.
      Definition: hip_runtime_api.h:143
      -
      Memory free error.
      Definition: hip_runtime_api.h:117
      +
      int computeMode
      Compute mode.
      Definition: hip_runtime_api.h:92
      +
      Maximum z-dimension of a block.
      Definition: hip_runtime_api.h:172
      +
      PCI Bus ID.
      Definition: hip_runtime_api.h:190
      +
      Invalid memory copy direction.
      Definition: hip_runtime_api.h:151
      +
      Marker that more error codes are needed.
      Definition: hip_runtime_api.h:160
      +
      Warp size in threads.
      Definition: hip_runtime_api.h:178
      +
      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:181
      +
      Maximum resident threads per multiprocessor.
      Definition: hip_runtime_api.h:186
      +
      hipError_t
      Definition: hip_runtime_api.h:142
      +
      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:177
      +
      Memory free error.
      Definition: hip_runtime_api.h:145
      int warpSize
      Warp size.
      Definition: hip_runtime_api.h:79
      -
      int concurrentKernels
      Device can possibly execute multiple kernels concurrently.
      Definition: hip_runtime_api.h:94
      +
      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
      -
      hipError_t hipMalloc(void **ptr, size_t size)
      Allocate memory on the default accelerator.
      Definition: hip_hcc.cpp:1351
      -
      Compute mode that device is currently in.
      Definition: hip_runtime_api.h:149
      -
      PCI Device ID.
      Definition: hip_runtime_api.h:156
      +
      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_hcc.cpp:2165
      +
      Compute mode that device is currently in.
      Definition: hip_runtime_api.h:184
      +
      PCI Device ID.
      Definition: hip_runtime_api.h:191
      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:148
      -
      One or more of the parameters passed to the API call is NULL or not in an acceptable range...
      Definition: hip_runtime_api.h:120
      +
      Number of multiprocessors on the device.
      Definition: hip_runtime_api.h:183
      +
      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:124
      -
      size_t maxSharedMemoryPerMultiProcessor
      Maximum Shared Memory Per Multiprocessor.
      Definition: hip_runtime_api.h:97
      -
      int pciDeviceID
      PCI Device ID.
      Definition: hip_runtime_api.h:96
      +
      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
      Definition: hip_runtime_api.h:35
      Contains C function APIs for HIP runtime. This file does not use any HCC builtin or special language ...
      -
      int memoryClockRate
      Max memory clock frequency in khz.
      Definition: hip_runtime_api.h:84
      -
      Device can possibly execute multiple kernels concurrently.
      Definition: hip_runtime_api.h:154
      -
      int multiProcessorCount
      Number of multi-processors (compute units).
      Definition: hip_runtime_api.h:88
      +
      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:189
      +
      int multiProcessorCount
      Number of multi-processors (compute units).
      Definition: hip_runtime_api.h:89
      diff --git a/hipamd/docs/RuntimeAPI/html/hip__texture_8h.html b/hipamd/docs/RuntimeAPI/html/hip__texture_8h.html index d95b127f85..ed20a765ae 100644 --- a/hipamd/docs/RuntimeAPI/html/hip__texture_8h.html +++ b/hipamd/docs/RuntimeAPI/html/hip__texture_8h.html @@ -4,7 +4,7 @@ -HIP: Heterogenous-computing Interface for Portability: /home/bensander/HIP.public/include/hcc_detail/hip_texture.h File Reference +HIP: Heterogenous-computing Interface for Portability: /home/bensander/HIP-privatestaging/include/hcc_detail/hip_texture.h File Reference @@ -201,7 +201,7 @@ template<class T , int dim, enum hipTextureReadMode readMode> diff --git a/hipamd/docs/RuntimeAPI/html/hip__texture_8h_source.html b/hipamd/docs/RuntimeAPI/html/hip__texture_8h_source.html index cdf660b728..b115611916 100644 --- a/hipamd/docs/RuntimeAPI/html/hip__texture_8h_source.html +++ b/hipamd/docs/RuntimeAPI/html/hip__texture_8h_source.html @@ -4,7 +4,7 @@ -HIP: Heterogenous-computing Interface for Portability: /home/bensander/HIP.public/include/hcc_detail/hip_texture.h Source File +HIP: Heterogenous-computing Interface for Portability: /home/bensander/HIP-privatestaging/include/hcc_detail/hip_texture.h Source File @@ -167,69 +167,93 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
      112 #endif
      113 
      114 /*
      -
      115  * @brief hipChannelFormatDesc
      -
      116  **/
      -
      117 // TODO
      -
      118 template <class T>
      -
      119 hipChannelFormatDesc hipCreateChannelDesc()
      -
      120 {
      - -
      122  return desc;
      -
      123 }
      -
      124 
      -
      125 /*
      -
      126  * @brief hipBindTexture
      -
      127  **/
      -
      128 // TODO-doc
      -
      129 template <class T, int dim, enum hipTextureReadMode readMode>
      -
      130 hipError_t hipBindTexture(size_t *offset,
      -
      131  struct texture<T, dim, readMode> &tex,
      -
      132  const void *devPtr,
      -
      133  const struct hipChannelFormatDesc *desc,
      -
      134  size_t size=UINT_MAX)
      -
      135 {
      -
      136  tex._dataPtr = static_cast<const T*>(devPtr);
      -
      137 
      -
      138  return hipSuccess;
      -
      139 }
      -
      140 
      -
      141 
      -
      142 /*
      -
      143  * @brief hipBindTexture
      -
      144  **/
      -
      145 // TODO-doc
      -
      146 template <class T, int dim, enum hipTextureReadMode readMode>
      -
      147 hipError_t hipBindTexture(size_t *offset,
      -
      148  struct texture<T, dim, readMode> &tex,
      -
      149  const void *devPtr,
      -
      150  size_t size=UINT_MAX)
      -
      151 {
      -
      152  return hipBindTexture(offset, tex, devPtr, &tex.channelDesc, size);
      +
      115  * @brief Returns a channel descriptor with format f and number of bits of each ocmponent x,y,z and w.
      +
      116  *
      +
      117  * @par Parameters
      +
      118  * None.
      +
      119  * @return Channel descriptor
      +
      120  *
      +
      121  *
      +
      122  **/
      +
      123 template <class T>
      +
      124 hipChannelFormatDesc hipCreateChannelDesc()
      +
      125 {
      + +
      127  return desc;
      +
      128 }
      +
      129 
      +
      130 /*
      +
      131  * @brief hipBindTexture Binds size bytes of the memory area pointed to by @p devPtr to the texture reference tex.
      +
      132  *
      +
      133  * @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
      +
      134  * hipBindTexture() function. Any memory previously bound to tex is unbound.
      +
      135  *
      +
      136  * @param[in] offset - Offset in bytes
      +
      137  * @param[out] tex - texture to bind
      +
      138  * @param[in] devPtr - Memory area on device
      +
      139  * @param[in] desc - Channel format
      +
      140  * @param[in] size - Size of the memory area pointed to by devPtr
      +
      141  * @return #hipSuccess, #hipErrorInvalidValue, #hipErrorMemoryFree, #hipErrorUnknown
      +
      142  **/
      +
      143 template <class T, int dim, enum hipTextureReadMode readMode>
      +
      144 hipError_t hipBindTexture(size_t *offset,
      +
      145  struct texture<T, dim, readMode> &tex,
      +
      146  const void *devPtr,
      +
      147  const struct hipChannelFormatDesc *desc,
      +
      148  size_t size=UINT_MAX)
      +
      149 {
      +
      150  tex._dataPtr = static_cast<const T*>(devPtr);
      +
      151 
      +
      152  return hipSuccess;
      153 }
      154 
      -
      155 
      -
      156 /*
      -
      157  * @brief hipUnbindTexture
      -
      158  **/
      -
      159 // TODO-doc
      -
      160 template <class T, int dim, enum hipTextureReadMode readMode>
      -
      161 hipError_t hipUnbindTexture(struct texture<T, dim, readMode> *tex)
      -
      162 {
      -
      163  tex->_dataPtr = NULL;
      -
      164 
      -
      165  return hipSuccess;
      -
      166 }
      -
      167 
      -
      168 
      -
      169 
      -
      170 // doxygen end Texture
      -
      176 // End doxygen API:
      +
      155 /*
      +
      156  * @brief hipBindTexture Binds size bytes of the memory area pointed to by @p devPtr to the texture reference tex.
      +
      157  *
      +
      158  * @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
      +
      159  * hipBindTexture() function. Any memory previously bound to tex is unbound.
      +
      160  *
      +
      161  * @param[in] offset - Offset in bytes
      +
      162  * @param[in] tex - texture to bind
      +
      163  * @param[in] devPtr - Memory area on device
      +
      164  * @param[in] size - Size of the memory area pointed to by devPtr
      +
      165  * @return #hipSuccess, #hipErrorInvalidValue, #hipErrorMemoryFree, #hipErrorUnknown
      +
      166  **/
      +
      167 template <class T, int dim, enum hipTextureReadMode readMode>
      +
      168 hipError_t hipBindTexture(size_t *offset,
      +
      169  struct texture<T, dim, readMode> &tex,
      +
      170  const void *devPtr,
      +
      171  size_t size=UINT_MAX)
      +
      172 {
      +
      173  return hipBindTexture(offset, tex, devPtr, &tex.channelDesc, size);
      +
      174 }
      +
      175 
      +
      176 
      +
      177 /*
      +
      178  * @brief Unbinds the textuer bound to @p tex
      +
      179  *
      +
      180  * @param[in] tex - texture to unbind
      +
      181  *
      +
      182  * @return #hipSuccess
      +
      183  **/
      +
      184 template <class T, int dim, enum hipTextureReadMode readMode>
      +
      185 hipError_t hipUnbindTexture(struct texture<T, dim, readMode> *tex)
      +
      186 {
      +
      187  tex->_dataPtr = NULL;
      +
      188 
      +
      189  return hipSuccess;
      +
      190 }
      +
      191 
      +
      192 
      +
      193 
      +
      194 // doxygen end Texture
      +
      200 // End doxygen API:
      Definition: hip_texture.h:43
      -
      Successful completion.
      Definition: hip_runtime_api.h:115
      +
      Successful completion.
      Definition: hip_runtime_api.h:143
      Definition: hip_texture.h:49
      Definition: hip_texture.h:53
      Contains definitions of APIs for HIP runtime.
      -
      hipError_t
      Definition: hip_runtime_api.h:114
      +
      hipError_t
      Definition: hip_runtime_api.h:142
      hipTextureReadMode
      Definition: hip_texture.h:41
      hipTextureFilterMode
      Definition: hip_texture.h:47
      Definition: hip_texture.h:36
      @@ -237,7 +261,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/hipamd/docs/RuntimeAPI/html/hip__vector__types_8h_source.html b/hipamd/docs/RuntimeAPI/html/hip__vector__types_8h_source.html index b12e96e36d..52cb0c33fa 100644 --- a/hipamd/docs/RuntimeAPI/html/hip__vector__types_8h_source.html +++ b/hipamd/docs/RuntimeAPI/html/hip__vector__types_8h_source.html @@ -4,7 +4,7 @@ -HIP: Heterogenous-computing Interface for Portability: /home/bensander/HIP.public/include/hip_vector_types.h Source File +HIP: Heterogenous-computing Interface for Portability: /home/bensander/HIP-privatestaging/include/hip_vector_types.h Source File @@ -127,7 +127,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/hipamd/docs/RuntimeAPI/html/host__defines_8h.html b/hipamd/docs/RuntimeAPI/html/host__defines_8h.html index 9d7b976271..9a14820ade 100644 --- a/hipamd/docs/RuntimeAPI/html/host__defines_8h.html +++ b/hipamd/docs/RuntimeAPI/html/host__defines_8h.html @@ -4,7 +4,7 @@ -HIP: Heterogenous-computing Interface for Portability: /home/bensander/HIP.public/include/hcc_detail/host_defines.h File Reference +HIP: Heterogenous-computing Interface for Portability: /home/bensander/HIP-privatestaging/include/hcc_detail/host_defines.h File Reference @@ -139,7 +139,7 @@ Macros diff --git a/hipamd/docs/RuntimeAPI/html/host__defines_8h_source.html b/hipamd/docs/RuntimeAPI/html/host__defines_8h_source.html index f4430d5190..29d87ca30f 100644 --- a/hipamd/docs/RuntimeAPI/html/host__defines_8h_source.html +++ b/hipamd/docs/RuntimeAPI/html/host__defines_8h_source.html @@ -4,7 +4,7 @@ -HIP: Heterogenous-computing Interface for Portability: /home/bensander/HIP.public/include/hcc_detail/host_defines.h Source File +HIP: Heterogenous-computing Interface for Portability: /home/bensander/HIP-privatestaging/include/hcc_detail/host_defines.h Source File @@ -151,7 +151,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/hipamd/docs/RuntimeAPI/html/index.html b/hipamd/docs/RuntimeAPI/html/index.html index 8ba01822a2..4797eae7a6 100644 --- a/hipamd/docs/RuntimeAPI/html/index.html +++ b/hipamd/docs/RuntimeAPI/html/index.html @@ -91,7 +91,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/hipamd/docs/RuntimeAPI/html/modules.html b/hipamd/docs/RuntimeAPI/html/modules.html index 6c65a6cbdd..61a5a00089 100644 --- a/hipamd/docs/RuntimeAPI/html/modules.html +++ b/hipamd/docs/RuntimeAPI/html/modules.html @@ -99,7 +99,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/hipamd/docs/RuntimeAPI/html/pages.html b/hipamd/docs/RuntimeAPI/html/pages.html index ecccd28e6d..d09976f7e7 100644 --- a/hipamd/docs/RuntimeAPI/html/pages.html +++ b/hipamd/docs/RuntimeAPI/html/pages.html @@ -88,7 +88,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/hipamd/docs/RuntimeAPI/html/search/all_10.js b/hipamd/docs/RuntimeAPI/html/search/all_10.js index 9043ae6945..7899428a20 100644 --- a/hipamd/docs/RuntimeAPI/html/search/all_10.js +++ b/hipamd/docs/RuntimeAPI/html/search/all_10.js @@ -1,7 +1,6 @@ var searchData= [ - ['texture',['texture',['../structtexture.html',1,'texture< T, texType, hipTextureReadMode >'],['../group__Texture.html',1,'(Global Namespace)']]], - ['texturereference',['textureReference',['../structtextureReference.html',1,'']]], - ['totalconstmem',['totalConstMem',['../structhipDeviceProp__t.html#a29880232c56120be3455ce00d5379665',1,'hipDeviceProp_t']]], - ['totalglobalmem',['totalGlobalMem',['../structhipDeviceProp__t.html#acedd6a2d23423441e4bf51c4a1b719f9',1,'hipDeviceProp_t']]] + ['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/hipamd/docs/RuntimeAPI/html/search/all_11.js b/hipamd/docs/RuntimeAPI/html/search/all_11.js index 46a1400a7b..9043ae6945 100644 --- a/hipamd/docs/RuntimeAPI/html/search/all_11.js +++ b/hipamd/docs/RuntimeAPI/html/search/all_11.js @@ -1,4 +1,7 @@ var searchData= [ - ['warpsize',['warpSize',['../structhipDeviceProp__t.html#af3357d33c004608bf05bc21a352be81b',1,'hipDeviceProp_t']]] + ['texture',['texture',['../structtexture.html',1,'texture< T, texType, hipTextureReadMode >'],['../group__Texture.html',1,'(Global Namespace)']]], + ['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/hipamd/docs/RuntimeAPI/html/search/all_12.js b/hipamd/docs/RuntimeAPI/html/search/all_12.js index 250c203caf..46a1400a7b 100644 --- a/hipamd/docs/RuntimeAPI/html/search/all_12.js +++ b/hipamd/docs/RuntimeAPI/html/search/all_12.js @@ -1,4 +1,4 @@ var searchData= [ - ['x',['x',['../structdim3.html#ac866c05f83a28dac20a153fc65b3b16c',1,'dim3']]] + ['warpsize',['warpSize',['../structhipDeviceProp__t.html#af3357d33c004608bf05bc21a352be81b',1,'hipDeviceProp_t']]] ]; diff --git a/hipamd/docs/RuntimeAPI/html/search/all_13.js b/hipamd/docs/RuntimeAPI/html/search/all_13.js index 133dd9dc6e..250c203caf 100644 --- a/hipamd/docs/RuntimeAPI/html/search/all_13.js +++ b/hipamd/docs/RuntimeAPI/html/search/all_13.js @@ -1,4 +1,4 @@ var searchData= [ - ['y',['y',['../structdim3.html#a83e60e072f7e8bdfde6ac05053cbb370',1,'dim3']]] + ['x',['x',['../structdim3.html#ac866c05f83a28dac20a153fc65b3b16c',1,'dim3']]] ]; diff --git a/hipamd/docs/RuntimeAPI/html/search/all_14.js b/hipamd/docs/RuntimeAPI/html/search/all_14.js index e8bf38b99c..133dd9dc6e 100644 --- a/hipamd/docs/RuntimeAPI/html/search/all_14.js +++ b/hipamd/docs/RuntimeAPI/html/search/all_14.js @@ -1,4 +1,4 @@ var searchData= [ - ['z',['z',['../structdim3.html#a866e38993ecc4e76fd47311236c16b04',1,'dim3']]] + ['y',['y',['../structdim3.html#a83e60e072f7e8bdfde6ac05053cbb370',1,'dim3']]] ]; diff --git a/hipamd/docs/RuntimeAPI/html/search/all_3.js b/hipamd/docs/RuntimeAPI/html/search/all_3.js index e6f0e7edea..de790c0621 100644 --- a/hipamd/docs/RuntimeAPI/html/search/all_3.js +++ b/hipamd/docs/RuntimeAPI/html/search/all_3.js @@ -1,5 +1,6 @@ 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']]], diff --git a/hipamd/docs/RuntimeAPI/html/search/all_6.js b/hipamd/docs/RuntimeAPI/html/search/all_6.js index 529e9394c3..16f0c6c8a5 100644 --- a/hipamd/docs/RuntimeAPI/html/search/all_6.js +++ b/hipamd/docs/RuntimeAPI/html/search/all_6.js @@ -1,4 +1,4 @@ var searchData= [ - ['global_20enum_20and_20defines',['Global enum and defines',['../group__GlobalDefs.html',1,'']]] + ['fakemutex',['FakeMutex',['../classFakeMutex.html',1,'']]] ]; diff --git a/hipamd/docs/RuntimeAPI/html/search/all_7.js b/hipamd/docs/RuntimeAPI/html/search/all_7.js index be2e145b56..4bdb9b1c13 100644 --- a/hipamd/docs/RuntimeAPI/html/search/all_7.js +++ b/hipamd/docs/RuntimeAPI/html/search/all_7.js @@ -1,144 +1,5 @@ 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_5fhcc_2ecpp',['hip_hcc.cpp',['../hip__hcc_8cpp.html',1,'']]], - ['hip_5flaunch_5fblocking',['HIP_LAUNCH_BLOCKING',['../group__HIP-ENV.html#ga8049b329f2663b4572d81e7a9aa8a155',1,'HIP_LAUNCH_BLOCKING(): hip_hcc.cpp'],['../group__HIP-ENV.html#ga8049b329f2663b4572d81e7a9aa8a155',1,'HIP_LAUNCH_BLOCKING(): hip_hcc.cpp']]], - ['hip_5fprint_5fenv',['HIP_PRINT_ENV',['../group__HIP-ENV.html#ga1e1c85dbb250f1acfb484c1be1f3b28a',1,'HIP_PRINT_ENV(): hip_hcc.cpp'],['../group__HIP-ENV.html#ga1e1c85dbb250f1acfb484c1be1f3b28a',1,'HIP_PRINT_ENV(): hip_hcc.cpp']]], - ['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_5ftrace_5fapi',['HIP_TRACE_API',['../group__HIP-ENV.html#gaae9c541f3e25b8f002762337a03fec28',1,'HIP_TRACE_API(): hip_hcc.cpp'],['../group__HIP-ENV.html#gaae9c541f3e25b8f002762337a03fec28',1,'HIP_TRACE_API(): hip_hcc.cpp']]], - ['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']]], - ['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']]], - ['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#gab53a55dbc087ff659918fd04287de3d3',1,'hipDeviceCanAccessPeer(int *canAccessPeer, int device, int peerDevice): hip_hcc.cpp'],['../group__PeerToPeer.html#gab53a55dbc087ff659918fd04287de3d3',1,'hipDeviceCanAccessPeer(int *canAccessPeer, int device, int peerDevice): hip_hcc.cpp']]], - ['hipdevicedisablepeeraccess',['hipDeviceDisablePeerAccess',['../group__PeerToPeer.html#ga41e60c01f63597529da1cd77bdd55379',1,'hipDeviceDisablePeerAccess(int peerDevice): hip_hcc.cpp'],['../group__PeerToPeer.html#ga41e60c01f63597529da1cd77bdd55379',1,'hipDeviceDisablePeerAccess(int peerDevice): hip_hcc.cpp']]], - ['hipdeviceenablepeeraccess',['hipDeviceEnablePeerAccess',['../group__PeerToPeer.html#ga098e0d626edbfb69b66d141a5a8b7dc6',1,'hipDeviceEnablePeerAccess(int peerDevice, unsigned int flags): hip_hcc.cpp'],['../group__PeerToPeer.html#ga098e0d626edbfb69b66d141a5a8b7dc6',1,'hipDeviceEnablePeerAccess(int peerDevice, unsigned int flags): hip_hcc.cpp']]], - ['hipdevicegetattribute',['hipDeviceGetAttribute',['../group__Device.html#gac49518ff2b26b98ea2ec9e9268761a24',1,'hipDeviceGetAttribute(int *pi, hipDeviceAttribute_t attr, int device): hip_hcc.cpp'],['../group__Device.html#gac49518ff2b26b98ea2ec9e9268761a24',1,'hipDeviceGetAttribute(int *pi, hipDeviceAttribute_t attr, int device): hip_hcc.cpp']]], - ['hipdevicegetcacheconfig',['hipDeviceGetCacheConfig',['../group__Device.html#gaeeffa2456c5430400bea75ecd6ad1e68',1,'hipDeviceGetCacheConfig(hipFuncCache *cacheConfig): hip_hcc.cpp'],['../group__Device.html#gaeeffa2456c5430400bea75ecd6ad1e68',1,'hipDeviceGetCacheConfig(hipFuncCache *cacheConfig): hip_hcc.cpp']]], - ['hipdevicegetproperties',['hipDeviceGetProperties',['../group__Device.html#gad9ee6822e3e55431811fb6a00f7a1c10',1,'hipDeviceGetProperties(hipDeviceProp_t *prop, int device): hip_hcc.cpp'],['../group__Device.html#gad9ee6822e3e55431811fb6a00f7a1c10',1,'hipDeviceGetProperties(hipDeviceProp_t *props, int device): hip_hcc.cpp']]], - ['hipdevicegetsharedmemconfig',['hipDeviceGetSharedMemConfig',['../group__Device.html#ga1bb08f774a34a468d969a8a04791c9bb',1,'hipDeviceGetSharedMemConfig(hipSharedMemConfig *pConfig): hip_hcc.cpp'],['../group__Device.html#ga1bb08f774a34a468d969a8a04791c9bb',1,'hipDeviceGetSharedMemConfig(hipSharedMemConfig *pConfig): hip_hcc.cpp']]], - ['hipdeviceprop_5ft',['hipDeviceProp_t',['../structhipDeviceProp__t.html',1,'']]], - ['hipdevicereset',['hipDeviceReset',['../group__Device.html#ga8d57161ae56a8edc46eeda447417bf6c',1,'hipDeviceReset(void): hip_hcc.cpp'],['../group__Device.html#ga8d57161ae56a8edc46eeda447417bf6c',1,'hipDeviceReset(void): hip_hcc.cpp']]], - ['hipdevicesetcacheconfig',['hipDeviceSetCacheConfig',['../group__Device.html#gac2b282179f29c4c0ca7b5391242c6a4c',1,'hipDeviceSetCacheConfig(hipFuncCache cacheConfig): hip_hcc.cpp'],['../group__Device.html#gac2b282179f29c4c0ca7b5391242c6a4c',1,'hipDeviceSetCacheConfig(hipFuncCache cacheConfig): hip_hcc.cpp']]], - ['hipdevicesetsharedmemconfig',['hipDeviceSetSharedMemConfig',['../group__Device.html#ga9b1f279084e76691cedfbfadf9c717ee',1,'hipDeviceSetSharedMemConfig(hipSharedMemConfig config): hip_hcc.cpp'],['../group__Device.html#ga9b1f279084e76691cedfbfadf9c717ee',1,'hipDeviceSetSharedMemConfig(hipSharedMemConfig config): hip_hcc.cpp']]], - ['hipdevicesynchronize',['hipDeviceSynchronize',['../group__Device.html#gaefdc2847fb1d6c3fb1354e827a191ebd',1,'hipDeviceSynchronize(void): hip_hcc.cpp'],['../group__Device.html#gaefdc2847fb1d6c3fb1354e827a191ebd',1,'hipDeviceSynchronize(void): hip_hcc.cpp']]], - ['hipdrivergetversion',['hipDriverGetVersion',['../group__Version.html#gaf6c342f52d2a29a0aca5cdd89b4dd47c',1,'hipDriverGetVersion(int *driverVersion): hip_hcc.cpp'],['../group__Version.html#gaf6c342f52d2a29a0aca5cdd89b4dd47c',1,'hipDriverGetVersion(int *driverVersion): hip_hcc.cpp']]], - ['hiperror_5ft',['hipError_t',['../group__GlobalDefs.html#gadf5010f6e140a53ecbdf949e73e87594',1,'hip_runtime_api.h']]], - ['hiperrorinvaliddevice',['hipErrorInvalidDevice',['../group__GlobalDefs.html#ggadf5010f6e140a53ecbdf949e73e87594a07ab9b704ea693c1781a52741c60cd0d',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']]], - ['hiperrormemoryallocation',['hipErrorMemoryAllocation',['../group__GlobalDefs.html#ggadf5010f6e140a53ecbdf949e73e87594a8293288a10109874749afe2562db09f2',1,'hip_runtime_api.h']]], - ['hiperrormemoryfree',['hipErrorMemoryFree',['../group__GlobalDefs.html#ggadf5010f6e140a53ecbdf949e73e87594a813b3f014e2a3932d1f0e3e712cf9d3c',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']]], - ['hiperroroutofresources',['hipErrorOutOfResources',['../group__GlobalDefs.html#ggadf5010f6e140a53ecbdf949e73e87594a60c1c080b79bdde9ef5e808f974ac9ed',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']]], - ['hiperrorunknownsymbol',['hipErrorUnknownSymbol',['../group__GlobalDefs.html#ggadf5010f6e140a53ecbdf949e73e87594a45b297e6c3b2029dce1348658421481b',1,'hip_runtime_api.h']]], - ['hipevent_5ft',['hipEvent_t',['../structhipEvent__t.html',1,'']]], - ['hipeventblockingsync',['hipEventBlockingSync',['../group__GlobalDefs.html#gafa1c076a5b991763a98695063f1ea11d',1,'hip_runtime_api.h']]], - ['hipeventcreatewithflags',['hipEventCreateWithFlags',['../group__Event.html#gae86a5acb1b22b61bc9ecb9c28fc71b75',1,'hipEventCreateWithFlags(hipEvent_t *event, unsigned flags): hip_hcc.cpp'],['../group__Event.html#gae86a5acb1b22b61bc9ecb9c28fc71b75',1,'hipEventCreateWithFlags(hipEvent_t *event, unsigned flags): hip_hcc.cpp']]], - ['hipeventdefault',['hipEventDefault',['../group__GlobalDefs.html#ga122a5853359eba97cf047ddd153740f0',1,'hip_runtime_api.h']]], - ['hipeventdestroy',['hipEventDestroy',['../group__Event.html#ga83260357dce0c39e8c6a3c74ec97484c',1,'hipEventDestroy(hipEvent_t event): hip_hcc.cpp'],['../group__Event.html#ga83260357dce0c39e8c6a3c74ec97484c',1,'hipEventDestroy(hipEvent_t event): hip_hcc.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_hcc.cpp'],['../group__Event.html#gad4128b815cb475c8e13c7e66ff6250b7',1,'hipEventElapsedTime(float *ms, hipEvent_t start, hipEvent_t stop): hip_hcc.cpp']]], - ['hipeventinterprocess',['hipEventInterprocess',['../group__GlobalDefs.html#ga0f01d74059baa704e42aeff8222166bb',1,'hip_runtime_api.h']]], - ['hipeventquery',['hipEventQuery',['../group__Event.html#ga5d12d7b798b5ceb5932d1ac21f5ac776',1,'hipEventQuery(hipEvent_t event): hip_hcc.cpp'],['../group__Event.html#ga5d12d7b798b5ceb5932d1ac21f5ac776',1,'hipEventQuery(hipEvent_t event): hip_hcc.cpp']]], - ['hipeventrecord',['hipEventRecord',['../group__Event.html#gace88ebd8c7ec42a6c2cebda2e8b0cb38',1,'hipEventRecord(hipEvent_t event, hipStream_t stream=NULL): hip_hcc.cpp'],['../group__Event.html#gace88ebd8c7ec42a6c2cebda2e8b0cb38',1,'hipEventRecord(hipEvent_t event, hipStream_t stream): hip_hcc.cpp']]], - ['hipeventsynchronize',['hipEventSynchronize',['../group__Event.html#ga1f72d98ba5d6f7dc3da54e0c41fe38b1',1,'hipEventSynchronize(hipEvent_t event): hip_hcc.cpp'],['../group__Event.html#ga1f72d98ba5d6f7dc3da54e0c41fe38b1',1,'hipEventSynchronize(hipEvent_t event): hip_hcc.cpp']]], - ['hipfiltermodepoint',['hipFilterModePoint',['../hip__texture_8h.html#aa2f0b6002b81d0a43a808cb880bb21e6a56ede038ab7c805ec4b5b61d2b678dfc',1,'hip_texture.h']]], - ['hipfree',['hipFree',['../group__Memory.html#ga740d08da65cae1441ba32f8fedb863d1',1,'hipFree(void *ptr): hip_hcc.cpp'],['../group__Memory.html#ga740d08da65cae1441ba32f8fedb863d1',1,'hipFree(void *ptr): hip_hcc.cpp']]], - ['hipfreehost',['hipFreeHost',['../group__Memory.html#ga28d7d92836116dfadeb62e416ee887d3',1,'hipFreeHost(void *ptr): hip_hcc.cpp'],['../group__Memory.html#ga28d7d92836116dfadeb62e416ee887d3',1,'hipFreeHost(void *ptr): hip_hcc.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_hcc.cpp'],['../group__Device.html#gadd94a910c2b840833cc325b1e5425702',1,'hipFuncSetCacheConfig(hipFuncCache cacheConfig): hip_hcc.cpp']]], - ['hipgetdevice',['hipGetDevice',['../group__Device.html#gaffc83567f2df3bbe2d37a19872d60f24',1,'hipGetDevice(int *device): hip_hcc.cpp'],['../group__Device.html#gaffc83567f2df3bbe2d37a19872d60f24',1,'hipGetDevice(int *device): hip_hcc.cpp']]], - ['hipgetdevicecount',['hipGetDeviceCount',['../group__Device.html#ga8555d5c76d88c50ddbf54ae70b568394',1,'hipGetDeviceCount(int *count): hip_hcc.cpp'],['../group__Device.html#ga8555d5c76d88c50ddbf54ae70b568394',1,'hipGetDeviceCount(int *count): hip_hcc.cpp']]], - ['hipgeterrorname',['hipGetErrorName',['../group__Error.html#ga88c474d77635523dbf6ca67be7b56999',1,'hipGetErrorName(hipError_t hip_error): hip_hcc.cpp'],['../group__Error.html#ga88c474d77635523dbf6ca67be7b56999',1,'hipGetErrorName(hipError_t hip_error): hip_hcc.cpp']]], - ['hipgeterrorstring',['hipGetErrorString',['../group__Error.html#ga5959779a654bbc98ffe6d36ab536740a',1,'hipGetErrorString(hipError_t hip_error): hip_hcc.cpp'],['../group__Error.html#ga5959779a654bbc98ffe6d36ab536740a',1,'hipGetErrorString(hipError_t hip_error): hip_hcc.cpp']]], - ['hipgetlasterror',['hipGetLastError',['../group__Error.html#ga533daeb9114d7fc2db8d867adf9e419b',1,'hipGetLastError(void): hip_hcc.cpp'],['../group__Error.html#ga533daeb9114d7fc2db8d867adf9e419b',1,'hipGetLastError(): hip_hcc.cpp']]], - ['hiphccgetaccelerator',['hipHccGetAccelerator',['../group__HCC__Specific.html#ga0d24b3157fd1b16d38672bb157ec4cd4',1,'hipHccGetAccelerator(int deviceId, hc::accelerator *acc): hip_hcc.cpp'],['../group__HCC__Specific.html#ga0d24b3157fd1b16d38672bb157ec4cd4',1,'hipHccGetAccelerator(int deviceId, hc::accelerator *acc): hip_hcc.cpp']]], - ['hiphccgetacceleratorview',['hipHccGetAcceleratorView',['../group__HCC__Specific.html#ga1a7087ea9c3c3323270d7cce73650b44',1,'hipHccGetAcceleratorView(hipStream_t stream, hc::accelerator_view **av): hip_hcc.cpp'],['../group__HCC__Specific.html#ga1a7087ea9c3c3323270d7cce73650b44',1,'hipHccGetAcceleratorView(hipStream_t stream, hc::accelerator_view **av): hip_hcc.cpp']]], - ['hipmalloc',['hipMalloc',['../group__Memory.html#ga4c6fcfe80010069d2792780d00dcead2',1,'hipMalloc(void **ptr, size_t size): hip_hcc.cpp'],['../group__Memory.html#ga4c6fcfe80010069d2792780d00dcead2',1,'hipMalloc(void **ptr, size_t sizeBytes): hip_hcc.cpp']]], - ['hipmallochost',['hipMallocHost',['../group__Memory.html#ga66399e729223ff5b66ffc16297c0710e',1,'hipMallocHost(void **ptr, size_t size): hip_hcc.cpp'],['../group__Memory.html#ga66399e729223ff5b66ffc16297c0710e',1,'hipMallocHost(void **ptr, size_t sizeBytes): hip_hcc.cpp']]], - ['hipmemcpy',['hipMemcpy',['../group__Memory.html#gac1a055d288302edd641c6d7416858e1e',1,'hipMemcpy(void *dst, const void *src, size_t sizeBytes, hipMemcpyKind kind): hip_hcc.cpp'],['../group__Memory.html#gac1a055d288302edd641c6d7416858e1e',1,'hipMemcpy(void *dst, const void *src, size_t sizeBytes, hipMemcpyKind kind): hip_hcc.cpp']]], - ['hipmemcpyasync',['hipMemcpyAsync',['../group__Memory.html#ga8ad5a0b13458917e1b9437732b21af54',1,'hipMemcpyAsync(void *dst, const void *src, size_t sizeBytes, hipMemcpyKind kind, hipStream_t stream=0): hip_hcc.cpp'],['../group__Memory.html#ga8ad5a0b13458917e1b9437732b21af54',1,'hipMemcpyAsync(void *dst, const void *src, size_t sizeBytes, hipMemcpyKind kind, hipStream_t stream): hip_hcc.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,'hip_runtime_api.h']]], - ['hipmemcpypeer',['hipMemcpyPeer',['../group__PeerToPeer.html#ga72ae9e7f498ab5684580892a5d7d8e2d',1,'hipMemcpyPeer(void *dst, int dstDevice, const void *src, int srcDevice, size_t sizeBytes): hip_hcc.cpp'],['../group__PeerToPeer.html#ga72ae9e7f498ab5684580892a5d7d8e2d',1,'hipMemcpyPeer(void *dst, int dstDevice, const void *src, int srcDevice, size_t sizeBytes): hip_hcc.cpp']]], - ['hipmemcpypeerasync',['hipMemcpyPeerAsync',['../group__PeerToPeer.html#gab6211c18ca1e23252ef080cd6be855ca',1,'hipMemcpyPeerAsync(void *dst, int dstDevice, const void *src, int srcDevice, size_t sizeBytes, hipStream_t stream=0): hip_hcc.cpp'],['../group__PeerToPeer.html#gab6211c18ca1e23252ef080cd6be855ca',1,'hipMemcpyPeerAsync(void *dst, int dstDevice, const void *src, int srcDevice, size_t sizeBytes, hipStream_t stream): hip_hcc.cpp']]], - ['hipmemcpytosymbol',['hipMemcpyToSymbol',['../group__Memory.html#ga131ac5c1ba04e186112491cb9bf964bc',1,'hipMemcpyToSymbol(const char *symbolName, const void *src, size_t sizeBytes, size_t offset, hipMemcpyKind kind): hip_hcc.cpp'],['../group__Memory.html#ga131ac5c1ba04e186112491cb9bf964bc',1,'hipMemcpyToSymbol(const char *symbolName, const void *src, size_t count, size_t offset, hipMemcpyKind kind): hip_hcc.cpp']]], - ['hipmemset',['hipMemset',['../group__Memory.html#gac7441e74affcce4b8b69dba996c5ebc4',1,'hipMemset(void *dst, int value, size_t sizeBytes): hip_hcc.cpp'],['../group__Memory.html#gac7441e74affcce4b8b69dba996c5ebc4',1,'hipMemset(void *dst, int value, size_t sizeBytes): hip_hcc.cpp']]], - ['hipmemsetasync',['hipMemsetAsync',['../group__Memory.html#gaee4ed665ce0a60c661a809c175320a0c',1,'hipMemsetAsync(void *dst, int value, size_t sizeBytes, hipStream_t=0): hip_hcc.cpp'],['../group__Memory.html#gaee4ed665ce0a60c661a809c175320a0c',1,'hipMemsetAsync(void *dst, int value, size_t sizeBytes, hipStream_t stream): hip_hcc.cpp']]], - ['hippeekatlasterror',['hipPeekAtLastError',['../group__Error.html#ga1dd660bc739f7e13edd34615660f0148',1,'hip_runtime_api.h']]], - ['hipreadmodeelementtype',['hipReadModeElementType',['../hip__texture_8h.html#a442e950774f7306dc33692e358c92c94a829645801202174d052d667ffa4e1b8d',1,'hip_texture.h']]], - ['hipsetdevice',['hipSetDevice',['../group__Device.html#ga8ec0b093af0adadc7fe98bf33fa21620',1,'hipSetDevice(int device): hip_hcc.cpp'],['../group__Device.html#ga8ec0b093af0adadc7fe98bf33fa21620',1,'hipSetDevice(int device): hip_hcc.cpp']]], - ['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']]], - ['hipstreamcreatewithflags',['hipStreamCreateWithFlags',['../group__Stream.html#gaf2382e3cc6632332a8983a0f58e43494',1,'hipStreamCreateWithFlags(hipStream_t *stream, unsigned int flags): hip_hcc.cpp'],['../group__Stream.html#gaf2382e3cc6632332a8983a0f58e43494',1,'hipStreamCreateWithFlags(hipStream_t *stream, unsigned int flags): hip_hcc.cpp']]], - ['hipstreamdefault',['hipStreamDefault',['../group__GlobalDefs.html#ga6df5f70eb976836ab3598cacf0ffcdf9',1,'hip_runtime_api.h']]], - ['hipstreamdestroy',['hipStreamDestroy',['../group__Stream.html#ga3076a3499ed2c7821311006100bb95ec',1,'hipStreamDestroy(hipStream_t stream): hip_hcc.cpp'],['../group__Stream.html#ga3076a3499ed2c7821311006100bb95ec',1,'hipStreamDestroy(hipStream_t stream): hip_hcc.cpp']]], - ['hipstreamgetflags',['hipStreamGetFlags',['../group__Stream.html#ga3249555a26439591b8873f70b39bb116',1,'hipStreamGetFlags(hipStream_t stream, unsigned int *flags): hip_hcc.cpp'],['../group__Stream.html#ga3249555a26439591b8873f70b39bb116',1,'hipStreamGetFlags(hipStream_t stream, unsigned int *flags): hip_hcc.cpp']]], - ['hipstreamnonblocking',['hipStreamNonBlocking',['../group__GlobalDefs.html#gaaba9ae995d9b43b7d1ee70c6fa12c57d',1,'hip_runtime_api.h']]], - ['hipstreamsynchronize',['hipStreamSynchronize',['../group__Stream.html#gabbfb9f573a6ebe8c478605ecb5504a74',1,'hipStreamSynchronize(hipStream_t stream): hip_hcc.cpp'],['../group__Stream.html#gabbfb9f573a6ebe8c478605ecb5504a74',1,'hipStreamSynchronize(hipStream_t stream): hip_hcc.cpp']]], - ['hipstreamwaitevent',['hipStreamWaitEvent',['../group__Stream.html#gacdd84c8f8ef1539c96c57c1d5bcae633',1,'hipStreamWaitEvent(hipStream_t stream, hipEvent_t event, unsigned int flags): hip_hcc.cpp'],['../group__Stream.html#gacdd84c8f8ef1539c96c57c1d5bcae633',1,'hipStreamWaitEvent(hipStream_t stream, hipEvent_t event, unsigned int flags): hip_hcc.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,'']]] + ['getproperties',['getProperties',['../structihipDevice__t.html#a0abb382f1bcdda80028f9a8307e50561',1,'ihipDevice_t']]], + ['global_20enum_20and_20defines',['Global enum and defines',['../group__GlobalDefs.html',1,'']]] ]; diff --git a/hipamd/docs/RuntimeAPI/html/search/all_8.js b/hipamd/docs/RuntimeAPI/html/search/all_8.js index 69beb95adf..56dd3932c8 100644 --- a/hipamd/docs/RuntimeAPI/html/search/all_8.js +++ b/hipamd/docs/RuntimeAPI/html/search/all_8.js @@ -1,6 +1,165 @@ var searchData= [ - ['ihipdevice_5ft',['ihipDevice_t',['../structihipDevice__t.html',1,'']]], - ['ihipevent_5ft',['ihipEvent_t',['../structihipEvent__t.html',1,'']]], - ['ihipstream_5ft',['ihipStream_t',['../structihipStream__t.html',1,'']]] + ['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_5fhcc_2ecpp',['hip_hcc.cpp',['../hip__hcc_8cpp.html',1,'']]], + ['hip_5flaunch_5fblocking',['HIP_LAUNCH_BLOCKING',['../group__HIP-ENV.html#ga8049b329f2663b4572d81e7a9aa8a155',1,'HIP_LAUNCH_BLOCKING(): hip_hcc.cpp'],['../group__HIP-ENV.html#ga8049b329f2663b4572d81e7a9aa8a155',1,'HIP_LAUNCH_BLOCKING(): hip_hcc.cpp'],['../group__HIP-ENV.html#ga8049b329f2663b4572d81e7a9aa8a155',1,'HIP_LAUNCH_BLOCKING(): hip_hcc2.cpp']]], + ['hip_5fprint_5fenv',['HIP_PRINT_ENV',['../group__HIP-ENV.html#ga1e1c85dbb250f1acfb484c1be1f3b28a',1,'HIP_PRINT_ENV(): hip_hcc.cpp'],['../group__HIP-ENV.html#ga1e1c85dbb250f1acfb484c1be1f3b28a',1,'HIP_PRINT_ENV(): hip_hcc.cpp'],['../group__HIP-ENV.html#ga1e1c85dbb250f1acfb484c1be1f3b28a',1,'HIP_PRINT_ENV(): hip_hcc2.cpp']]], + ['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_5ftrace_5fapi',['HIP_TRACE_API',['../group__HIP-ENV.html#gaae9c541f3e25b8f002762337a03fec28',1,'HIP_TRACE_API(): hip_hcc.cpp'],['../group__HIP-ENV.html#gaae9c541f3e25b8f002762337a03fec28',1,'HIP_TRACE_API(): hip_hcc.cpp'],['../group__HIP-ENV.html#gaae9c541f3e25b8f002762337a03fec28',1,'HIP_TRACE_API(): hip_hcc2.cpp']]], + ['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#gab53a55dbc087ff659918fd04287de3d3',1,'hipDeviceCanAccessPeer(int *canAccessPeer, int device, int peerDevice): hip_hcc.cpp'],['../group__PeerToPeer.html#gab53a55dbc087ff659918fd04287de3d3',1,'hipDeviceCanAccessPeer(int *canAccessPeer, int device, int peerDevice): hip_hcc.cpp'],['../group__PeerToPeer.html#gab53a55dbc087ff659918fd04287de3d3',1,'hipDeviceCanAccessPeer(int *canAccessPeer, int device, int peerDevice): hip_hcc2.cpp']]], + ['hipdevicedisablepeeraccess',['hipDeviceDisablePeerAccess',['../group__PeerToPeer.html#ga41e60c01f63597529da1cd77bdd55379',1,'hipDeviceDisablePeerAccess(int peerDevice): hip_hcc.cpp'],['../group__PeerToPeer.html#ga41e60c01f63597529da1cd77bdd55379',1,'hipDeviceDisablePeerAccess(int peerDevice): hip_hcc.cpp'],['../group__PeerToPeer.html#ga41e60c01f63597529da1cd77bdd55379',1,'hipDeviceDisablePeerAccess(int peerDevice): hip_hcc2.cpp']]], + ['hipdeviceenablepeeraccess',['hipDeviceEnablePeerAccess',['../group__PeerToPeer.html#ga098e0d626edbfb69b66d141a5a8b7dc6',1,'hipDeviceEnablePeerAccess(int peerDevice, unsigned int flags): hip_hcc.cpp'],['../group__PeerToPeer.html#ga098e0d626edbfb69b66d141a5a8b7dc6',1,'hipDeviceEnablePeerAccess(int peerDevice, unsigned int flags): hip_hcc.cpp'],['../group__PeerToPeer.html#ga098e0d626edbfb69b66d141a5a8b7dc6',1,'hipDeviceEnablePeerAccess(int peerDevice, unsigned int flags): hip_hcc2.cpp']]], + ['hipdevicegetattribute',['hipDeviceGetAttribute',['../group__Device.html#gac49518ff2b26b98ea2ec9e9268761a24',1,'hipDeviceGetAttribute(int *pi, hipDeviceAttribute_t attr, int device): hip_hcc.cpp'],['../group__Device.html#gac49518ff2b26b98ea2ec9e9268761a24',1,'hipDeviceGetAttribute(int *pi, hipDeviceAttribute_t attr, int device): hip_hcc.cpp'],['../group__Device.html#gac49518ff2b26b98ea2ec9e9268761a24',1,'hipDeviceGetAttribute(int *pi, hipDeviceAttribute_t attr, int device): hip_hcc2.cpp']]], + ['hipdevicegetcacheconfig',['hipDeviceGetCacheConfig',['../group__Device.html#gaeeffa2456c5430400bea75ecd6ad1e68',1,'hipDeviceGetCacheConfig(hipFuncCache *cacheConfig): hip_hcc.cpp'],['../group__Device.html#gaeeffa2456c5430400bea75ecd6ad1e68',1,'hipDeviceGetCacheConfig(hipFuncCache *cacheConfig): hip_hcc.cpp'],['../group__Device.html#gaeeffa2456c5430400bea75ecd6ad1e68',1,'hipDeviceGetCacheConfig(hipFuncCache *cacheConfig): hip_hcc2.cpp']]], + ['hipdevicegetsharedmemconfig',['hipDeviceGetSharedMemConfig',['../group__Device.html#ga1bb08f774a34a468d969a8a04791c9bb',1,'hipDeviceGetSharedMemConfig(hipSharedMemConfig *pConfig): hip_hcc.cpp'],['../group__Device.html#ga1bb08f774a34a468d969a8a04791c9bb',1,'hipDeviceGetSharedMemConfig(hipSharedMemConfig *pConfig): hip_hcc.cpp'],['../group__Device.html#ga1bb08f774a34a468d969a8a04791c9bb',1,'hipDeviceGetSharedMemConfig(hipSharedMemConfig *pConfig): hip_hcc2.cpp']]], + ['hipdeviceprop_5ft',['hipDeviceProp_t',['../structhipDeviceProp__t.html',1,'']]], + ['hipdevicereset',['hipDeviceReset',['../group__Device.html#ga8d57161ae56a8edc46eeda447417bf6c',1,'hipDeviceReset(void): hip_hcc.cpp'],['../group__Device.html#ga8d57161ae56a8edc46eeda447417bf6c',1,'hipDeviceReset(void): hip_hcc.cpp'],['../group__Device.html#ga8d57161ae56a8edc46eeda447417bf6c',1,'hipDeviceReset(void): hip_hcc2.cpp']]], + ['hipdevicesetcacheconfig',['hipDeviceSetCacheConfig',['../group__Device.html#gac2b282179f29c4c0ca7b5391242c6a4c',1,'hipDeviceSetCacheConfig(hipFuncCache cacheConfig): hip_hcc.cpp'],['../group__Device.html#gac2b282179f29c4c0ca7b5391242c6a4c',1,'hipDeviceSetCacheConfig(hipFuncCache cacheConfig): hip_hcc.cpp'],['../group__Device.html#gac2b282179f29c4c0ca7b5391242c6a4c',1,'hipDeviceSetCacheConfig(hipFuncCache cacheConfig): hip_hcc2.cpp']]], + ['hipdevicesetsharedmemconfig',['hipDeviceSetSharedMemConfig',['../group__Device.html#ga9b1f279084e76691cedfbfadf9c717ee',1,'hipDeviceSetSharedMemConfig(hipSharedMemConfig config): hip_hcc.cpp'],['../group__Device.html#ga9b1f279084e76691cedfbfadf9c717ee',1,'hipDeviceSetSharedMemConfig(hipSharedMemConfig config): hip_hcc.cpp'],['../group__Device.html#ga9b1f279084e76691cedfbfadf9c717ee',1,'hipDeviceSetSharedMemConfig(hipSharedMemConfig config): hip_hcc2.cpp']]], + ['hipdevicesynchronize',['hipDeviceSynchronize',['../group__Device.html#gaefdc2847fb1d6c3fb1354e827a191ebd',1,'hipDeviceSynchronize(void): hip_hcc.cpp'],['../group__Device.html#gaefdc2847fb1d6c3fb1354e827a191ebd',1,'hipDeviceSynchronize(void): hip_hcc.cpp'],['../group__Device.html#gaefdc2847fb1d6c3fb1354e827a191ebd',1,'hipDeviceSynchronize(void): hip_hcc2.cpp']]], + ['hipdrivergetversion',['hipDriverGetVersion',['../group__Version.html#gaf6c342f52d2a29a0aca5cdd89b4dd47c',1,'hipDriverGetVersion(int *driverVersion): hip_hcc.cpp'],['../group__Version.html#gaf6c342f52d2a29a0aca5cdd89b4dd47c',1,'hipDriverGetVersion(int *driverVersion): hip_hcc.cpp'],['../group__Version.html#gaf6c342f52d2a29a0aca5cdd89b4dd47c',1,'hipDriverGetVersion(int *driverVersion): hip_hcc2.cpp']]], + ['hiperror_5ft',['hipError_t',['../group__GlobalDefs.html#gadf5010f6e140a53ecbdf949e73e87594',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']]], + ['hiperrormemoryallocation',['hipErrorMemoryAllocation',['../group__GlobalDefs.html#ggadf5010f6e140a53ecbdf949e73e87594a8293288a10109874749afe2562db09f2',1,'hip_runtime_api.h']]], + ['hiperrormemoryfree',['hipErrorMemoryFree',['../group__GlobalDefs.html#ggadf5010f6e140a53ecbdf949e73e87594a813b3f014e2a3932d1f0e3e712cf9d3c',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']]], + ['hiperroroutofresources',['hipErrorOutOfResources',['../group__GlobalDefs.html#ggadf5010f6e140a53ecbdf949e73e87594a60c1c080b79bdde9ef5e808f974ac9ed',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']]], + ['hiperrorunknownsymbol',['hipErrorUnknownSymbol',['../group__GlobalDefs.html#ggadf5010f6e140a53ecbdf949e73e87594a45b297e6c3b2029dce1348658421481b',1,'hip_runtime_api.h']]], + ['hipevent_5ft',['hipEvent_t',['../structhipEvent__t.html',1,'']]], + ['hipeventblockingsync',['hipEventBlockingSync',['../group__GlobalDefs.html#gafa1c076a5b991763a98695063f1ea11d',1,'hip_runtime_api.h']]], + ['hipeventcreatewithflags',['hipEventCreateWithFlags',['../group__Event.html#gae86a5acb1b22b61bc9ecb9c28fc71b75',1,'hipEventCreateWithFlags(hipEvent_t *event, unsigned flags): hip_hcc.cpp'],['../group__Event.html#gae86a5acb1b22b61bc9ecb9c28fc71b75',1,'hipEventCreateWithFlags(hipEvent_t *event, unsigned flags): hip_hcc.cpp'],['../group__Event.html#gae86a5acb1b22b61bc9ecb9c28fc71b75',1,'hipEventCreateWithFlags(hipEvent_t *event, unsigned flags): hip_hcc2.cpp']]], + ['hipeventdefault',['hipEventDefault',['../group__GlobalDefs.html#ga122a5853359eba97cf047ddd153740f0',1,'hip_runtime_api.h']]], + ['hipeventdestroy',['hipEventDestroy',['../group__Event.html#ga83260357dce0c39e8c6a3c74ec97484c',1,'hipEventDestroy(hipEvent_t event): hip_hcc.cpp'],['../group__Event.html#ga83260357dce0c39e8c6a3c74ec97484c',1,'hipEventDestroy(hipEvent_t event): hip_hcc.cpp'],['../group__Event.html#ga83260357dce0c39e8c6a3c74ec97484c',1,'hipEventDestroy(hipEvent_t event): hip_hcc2.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_hcc.cpp'],['../group__Event.html#gad4128b815cb475c8e13c7e66ff6250b7',1,'hipEventElapsedTime(float *ms, hipEvent_t start, hipEvent_t stop): hip_hcc.cpp'],['../group__Event.html#gad4128b815cb475c8e13c7e66ff6250b7',1,'hipEventElapsedTime(float *ms, hipEvent_t start, hipEvent_t stop): hip_hcc2.cpp']]], + ['hipeventinterprocess',['hipEventInterprocess',['../group__GlobalDefs.html#ga0f01d74059baa704e42aeff8222166bb',1,'hip_runtime_api.h']]], + ['hipeventquery',['hipEventQuery',['../group__Event.html#ga5d12d7b798b5ceb5932d1ac21f5ac776',1,'hipEventQuery(hipEvent_t event): hip_hcc.cpp'],['../group__Event.html#ga5d12d7b798b5ceb5932d1ac21f5ac776',1,'hipEventQuery(hipEvent_t event): hip_hcc.cpp'],['../group__Event.html#ga5d12d7b798b5ceb5932d1ac21f5ac776',1,'hipEventQuery(hipEvent_t event): hip_hcc2.cpp']]], + ['hipeventrecord',['hipEventRecord',['../group__Event.html#gace88ebd8c7ec42a6c2cebda2e8b0cb38',1,'hipEventRecord(hipEvent_t event, hipStream_t stream=NULL): hip_hcc.cpp'],['../group__Event.html#gace88ebd8c7ec42a6c2cebda2e8b0cb38',1,'hipEventRecord(hipEvent_t event, hipStream_t stream): hip_hcc.cpp'],['../group__Event.html#gace88ebd8c7ec42a6c2cebda2e8b0cb38',1,'hipEventRecord(hipEvent_t event, hipStream_t stream): hip_hcc2.cpp']]], + ['hipeventsynchronize',['hipEventSynchronize',['../group__Event.html#ga1f72d98ba5d6f7dc3da54e0c41fe38b1',1,'hipEventSynchronize(hipEvent_t event): hip_hcc.cpp'],['../group__Event.html#ga1f72d98ba5d6f7dc3da54e0c41fe38b1',1,'hipEventSynchronize(hipEvent_t event): hip_hcc.cpp'],['../group__Event.html#ga1f72d98ba5d6f7dc3da54e0c41fe38b1',1,'hipEventSynchronize(hipEvent_t event): hip_hcc2.cpp']]], + ['hipfiltermodepoint',['hipFilterModePoint',['../hip__texture_8h.html#aa2f0b6002b81d0a43a808cb880bb21e6a56ede038ab7c805ec4b5b61d2b678dfc',1,'hip_texture.h']]], + ['hipfree',['hipFree',['../group__Memory.html#ga740d08da65cae1441ba32f8fedb863d1',1,'hipFree(void *ptr): hip_hcc.cpp'],['../group__Memory.html#ga740d08da65cae1441ba32f8fedb863d1',1,'hipFree(void *ptr): hip_hcc.cpp'],['../group__Memory.html#ga740d08da65cae1441ba32f8fedb863d1',1,'hipFree(void *ptr): hip_hcc2.cpp']]], + ['hipfreehost',['hipFreeHost',['../group__Memory.html#gad2164cc3d49da53052f4b83b789e90c9',1,'hipFreeHost(void *ptr) __attribute__((deprecated("use hipHostFree instead"))): hip_hcc.cpp'],['../group__Memory.html#gad2164cc3d49da53052f4b83b789e90c9',1,'hipFreeHost(void *ptr): hip_hcc.cpp'],['../group__Memory.html#gad2164cc3d49da53052f4b83b789e90c9',1,'hipFreeHost(void *ptr): hip_hcc2.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_hcc.cpp'],['../group__Device.html#gadd94a910c2b840833cc325b1e5425702',1,'hipFuncSetCacheConfig(hipFuncCache cacheConfig): hip_hcc.cpp'],['../group__Device.html#gadd94a910c2b840833cc325b1e5425702',1,'hipFuncSetCacheConfig(hipFuncCache cacheConfig): hip_hcc2.cpp']]], + ['hipgetdevice',['hipGetDevice',['../group__Device.html#gaffc83567f2df3bbe2d37a19872d60f24',1,'hipGetDevice(int *device): hip_hcc.cpp'],['../group__Device.html#gaffc83567f2df3bbe2d37a19872d60f24',1,'hipGetDevice(int *device): hip_hcc.cpp'],['../group__Device.html#gaffc83567f2df3bbe2d37a19872d60f24',1,'hipGetDevice(int *device): hip_hcc2.cpp']]], + ['hipgetdevicecount',['hipGetDeviceCount',['../group__Device.html#ga8555d5c76d88c50ddbf54ae70b568394',1,'hipGetDeviceCount(int *count): hip_hcc.cpp'],['../group__Device.html#ga8555d5c76d88c50ddbf54ae70b568394',1,'hipGetDeviceCount(int *count): hip_hcc.cpp'],['../group__Device.html#ga8555d5c76d88c50ddbf54ae70b568394',1,'hipGetDeviceCount(int *count): hip_hcc2.cpp']]], + ['hipgetdeviceproperties',['hipGetDeviceProperties',['../group__Device.html#ga77c20744e2a88c31440992d6c7754b5f',1,'hipGetDeviceProperties(hipDeviceProp_t *prop, int device): hip_hcc.cpp'],['../group__Device.html#ga77c20744e2a88c31440992d6c7754b5f',1,'hipGetDeviceProperties(hipDeviceProp_t *props, int device): hip_hcc.cpp'],['../group__Device.html#ga77c20744e2a88c31440992d6c7754b5f',1,'hipGetDeviceProperties(hipDeviceProp_t *props, int device): hip_hcc2.cpp']]], + ['hipgeterrorname',['hipGetErrorName',['../group__Error.html#ga88c474d77635523dbf6ca67be7b56999',1,'hipGetErrorName(hipError_t hip_error): hip_hcc.cpp'],['../group__Error.html#ga88c474d77635523dbf6ca67be7b56999',1,'hipGetErrorName(hipError_t hip_error): hip_hcc.cpp'],['../group__Error.html#ga88c474d77635523dbf6ca67be7b56999',1,'hipGetErrorName(hipError_t hip_error): hip_hcc2.cpp']]], + ['hipgeterrorstring',['hipGetErrorString',['../group__Error.html#ga5959779a654bbc98ffe6d36ab536740a',1,'hipGetErrorString(hipError_t hip_error): hip_hcc.cpp'],['../group__Error.html#ga5959779a654bbc98ffe6d36ab536740a',1,'hipGetErrorString(hipError_t hip_error): hip_hcc.cpp'],['../group__Error.html#ga5959779a654bbc98ffe6d36ab536740a',1,'hipGetErrorString(hipError_t hip_error): hip_hcc2.cpp']]], + ['hipgetlasterror',['hipGetLastError',['../group__Error.html#ga533daeb9114d7fc2db8d867adf9e419b',1,'hipGetLastError(void): hip_hcc.cpp'],['../group__Error.html#ga533daeb9114d7fc2db8d867adf9e419b',1,'hipGetLastError(): hip_hcc.cpp'],['../group__Error.html#ga533daeb9114d7fc2db8d867adf9e419b',1,'hipGetLastError(): hip_hcc2.cpp']]], + ['hiphccgetaccelerator',['hipHccGetAccelerator',['../group__HCC__Specific.html#ga0d24b3157fd1b16d38672bb157ec4cd4',1,'hipHccGetAccelerator(int deviceId, hc::accelerator *acc): hip_hcc.cpp'],['../group__HCC__Specific.html#ga0d24b3157fd1b16d38672bb157ec4cd4',1,'hipHccGetAccelerator(int deviceId, hc::accelerator *acc): hip_hcc.cpp'],['../group__HCC__Specific.html#ga0d24b3157fd1b16d38672bb157ec4cd4',1,'hipHccGetAccelerator(int deviceId, hc::accelerator *acc): hip_hcc2.cpp']]], + ['hiphccgetacceleratorview',['hipHccGetAcceleratorView',['../group__HCC__Specific.html#ga1a7087ea9c3c3323270d7cce73650b44',1,'hipHccGetAcceleratorView(hipStream_t stream, hc::accelerator_view **av): hip_hcc.cpp'],['../group__HCC__Specific.html#ga1a7087ea9c3c3323270d7cce73650b44',1,'hipHccGetAcceleratorView(hipStream_t stream, hc::accelerator_view **av): hip_hcc.cpp'],['../group__HCC__Specific.html#ga1a7087ea9c3c3323270d7cce73650b44',1,'hipHccGetAcceleratorView(hipStream_t stream, hc::accelerator_view **av): hip_hcc2.cpp']]], + ['hiphostfree',['hipHostFree',['../group__Memory.html#ga2e543f58ee4544e317cd695d6d82e0a3',1,'hipHostFree(void *ptr): hip_hcc.cpp'],['../group__Memory.html#ga2e543f58ee4544e317cd695d6d82e0a3',1,'hipHostFree(void *ptr): hip_hcc.cpp']]], + ['hiphostgetdevicepointer',['hipHostGetDevicePointer',['../group__Memory.html#ga8fa7a0478020b835a24785cd6bb89725',1,'hipHostGetDevicePointer(void **devPtr, void *hstPtr, unsigned int flags): hip_runtime_api.h'],['../hip__hcc_8cpp.html#a59f9f57c495531c8bb12f506e915399e',1,'hipHostGetDevicePointer(void **devicePointer, void *hostPointer, unsigned flags): hip_hcc.cpp']]], + ['hiphostgetflags',['hipHostGetFlags',['../group__Memory.html#ga4d26915873b3e3534ceb4dc310f8709a',1,'hipHostGetFlags(unsigned int *flagsPtr, void *hostPtr): hip_hcc.cpp'],['../group__Memory.html#ga4d26915873b3e3534ceb4dc310f8709a',1,'hipHostGetFlags(unsigned int *flagsPtr, void *hostPtr): hip_hcc.cpp'],['../group__Memory.html#ga4d26915873b3e3534ceb4dc310f8709a',1,'hipHostGetFlags(unsigned int *flagsPtr, void *hostPtr): hip_hcc2.cpp']]], + ['hiphostmalloc',['hipHostMalloc',['../group__Memory.html#gaad40bc7d97ccc799403ef5a9a8c246e1',1,'hipHostMalloc(void **ptr, size_t size, unsigned int flags): hip_hcc.cpp'],['../group__Memory.html#gaad40bc7d97ccc799403ef5a9a8c246e1',1,'hipHostMalloc(void **ptr, size_t sizeBytes, unsigned int flags): hip_hcc.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_hcc.cpp'],['../group__Memory.html#gab8258f051e1a1f7385f794a15300e674',1,'hipHostRegister(void *hostPtr, size_t sizeBytes, unsigned int flags): hip_hcc.cpp'],['../group__Memory.html#gab8258f051e1a1f7385f794a15300e674',1,'hipHostRegister(void *hostPtr, size_t sizeBytes, unsigned int flags): hip_hcc2.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_hcc.cpp'],['../group__Memory.html#ga4c9e1810b9f5858d36c4d28c91c86924',1,'hipHostUnregister(void *hostPtr): hip_hcc.cpp'],['../group__Memory.html#ga4c9e1810b9f5858d36c4d28c91c86924',1,'hipHostUnregister(void *hostPtr): hip_hcc2.cpp']]], + ['hipmalloc',['hipMalloc',['../group__Memory.html#ga4c6fcfe80010069d2792780d00dcead2',1,'hipMalloc(void **ptr, size_t size): hip_hcc.cpp'],['../group__Memory.html#ga4c6fcfe80010069d2792780d00dcead2',1,'hipMalloc(void **ptr, size_t sizeBytes): hip_hcc.cpp'],['../group__Memory.html#ga4c6fcfe80010069d2792780d00dcead2',1,'hipMalloc(void **ptr, size_t sizeBytes): hip_hcc2.cpp']]], + ['hipmallochost',['hipMallocHost',['../group__Memory.html#gad3d3cdf82eb0058fc9eac1f939cd9d30',1,'hipMallocHost(void **ptr, size_t size) __attribute__((deprecated("use hipHostMalloc instead"))): hip_hcc.cpp'],['../group__Memory.html#gad3d3cdf82eb0058fc9eac1f939cd9d30',1,'hipMallocHost(void **ptr, size_t sizeBytes): hip_hcc.cpp'],['../group__Memory.html#gad3d3cdf82eb0058fc9eac1f939cd9d30',1,'hipMallocHost(void **ptr, size_t sizeBytes): hip_hcc2.cpp']]], + ['hipmemcpy',['hipMemcpy',['../group__Memory.html#gac1a055d288302edd641c6d7416858e1e',1,'hipMemcpy(void *dst, const void *src, size_t sizeBytes, hipMemcpyKind kind): hip_hcc.cpp'],['../group__Memory.html#gac1a055d288302edd641c6d7416858e1e',1,'hipMemcpy(void *dst, const void *src, size_t sizeBytes, hipMemcpyKind kind): hip_hcc.cpp'],['../group__Memory.html#gac1a055d288302edd641c6d7416858e1e',1,'hipMemcpy(void *dst, const void *src, size_t sizeBytes, hipMemcpyKind kind): hip_hcc2.cpp']]], + ['hipmemcpyasync',['hipMemcpyAsync',['../group__Memory.html#ga8ad5a0b13458917e1b9437732b21af54',1,'hipMemcpyAsync(void *dst, const void *src, size_t sizeBytes, hipMemcpyKind kind, hipStream_t stream=0): hip_hcc.cpp'],['../group__Memory.html#ga8ad5a0b13458917e1b9437732b21af54',1,'hipMemcpyAsync(void *dst, const void *src, size_t sizeBytes, hipMemcpyKind kind, hipStream_t stream): hip_hcc.cpp'],['../group__Memory.html#ga8ad5a0b13458917e1b9437732b21af54',1,'hipMemcpyAsync(void *dst, const void *src, size_t sizeBytes, hipMemcpyKind kind, hipStream_t stream): hip_hcc2.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,'hip_runtime_api.h']]], + ['hipmemcpypeer',['hipMemcpyPeer',['../group__PeerToPeer.html#ga72ae9e7f498ab5684580892a5d7d8e2d',1,'hipMemcpyPeer(void *dst, int dstDevice, const void *src, int srcDevice, size_t sizeBytes): hip_hcc.cpp'],['../group__PeerToPeer.html#ga72ae9e7f498ab5684580892a5d7d8e2d',1,'hipMemcpyPeer(void *dst, int dstDevice, const void *src, int srcDevice, size_t sizeBytes): hip_hcc.cpp'],['../group__PeerToPeer.html#ga72ae9e7f498ab5684580892a5d7d8e2d',1,'hipMemcpyPeer(void *dst, int dstDevice, const void *src, int srcDevice, size_t sizeBytes): hip_hcc2.cpp']]], + ['hipmemcpypeerasync',['hipMemcpyPeerAsync',['../group__PeerToPeer.html#gab6211c18ca1e23252ef080cd6be855ca',1,'hipMemcpyPeerAsync(void *dst, int dstDevice, const void *src, int srcDevice, size_t sizeBytes, hipStream_t stream=0): hip_hcc.cpp'],['../group__PeerToPeer.html#gab6211c18ca1e23252ef080cd6be855ca',1,'hipMemcpyPeerAsync(void *dst, int dstDevice, const void *src, int srcDevice, size_t sizeBytes, hipStream_t stream): hip_hcc.cpp'],['../group__PeerToPeer.html#gab6211c18ca1e23252ef080cd6be855ca',1,'hipMemcpyPeerAsync(void *dst, int dstDevice, const void *src, int srcDevice, size_t sizeBytes, hipStream_t stream): hip_hcc2.cpp']]], + ['hipmemcpytosymbol',['hipMemcpyToSymbol',['../group__Memory.html#ga131ac5c1ba04e186112491cb9bf964bc',1,'hipMemcpyToSymbol(const char *symbolName, const void *src, size_t sizeBytes, size_t offset, hipMemcpyKind kind): hip_hcc.cpp'],['../group__Memory.html#ga131ac5c1ba04e186112491cb9bf964bc',1,'hipMemcpyToSymbol(const char *symbolName, const void *src, size_t count, size_t offset, hipMemcpyKind kind): hip_hcc.cpp'],['../group__Memory.html#ga131ac5c1ba04e186112491cb9bf964bc',1,'hipMemcpyToSymbol(const char *symbolName, const void *src, size_t count, size_t offset, hipMemcpyKind kind): hip_hcc2.cpp']]], + ['hipmemgetinfo',['hipMemGetInfo',['../group__Memory.html#ga311c3e246a21590de14478b8bd063be2',1,'hipMemGetInfo(size_t *free, size_t *total): hip_hcc.cpp'],['../group__Memory.html#ga311c3e246a21590de14478b8bd063be2',1,'hipMemGetInfo(size_t *free, size_t *total): hip_hcc.cpp'],['../group__Memory.html#ga311c3e246a21590de14478b8bd063be2',1,'hipMemGetInfo(size_t *free, size_t *total): hip_hcc2.cpp']]], + ['hipmemset',['hipMemset',['../group__Memory.html#gac7441e74affcce4b8b69dba996c5ebc4',1,'hipMemset(void *dst, int value, size_t sizeBytes): hip_hcc.cpp'],['../group__Memory.html#gac7441e74affcce4b8b69dba996c5ebc4',1,'hipMemset(void *dst, int value, size_t sizeBytes): hip_hcc.cpp'],['../group__Memory.html#gac7441e74affcce4b8b69dba996c5ebc4',1,'hipMemset(void *dst, int value, size_t sizeBytes): hip_hcc2.cpp']]], + ['hipmemsetasync',['hipMemsetAsync',['../group__Memory.html#gaee4ed665ce0a60c661a809c175320a0c',1,'hipMemsetAsync(void *dst, int value, size_t sizeBytes, hipStream_t=0): hip_hcc.cpp'],['../group__Memory.html#gaee4ed665ce0a60c661a809c175320a0c',1,'hipMemsetAsync(void *dst, int value, size_t sizeBytes, hipStream_t stream): hip_hcc.cpp'],['../group__Memory.html#gaee4ed665ce0a60c661a809c175320a0c',1,'hipMemsetAsync(void *dst, int value, size_t sizeBytes, hipStream_t stream): hip_hcc2.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_hcc.cpp'],['../group__Memory.html#ga3d68ba64959615d4ab84f10caa12433b',1,'hipPointerGetAttributes(hipPointerAttribute_t *attributes, void *ptr): hip_hcc.cpp'],['../group__Memory.html#ga3d68ba64959615d4ab84f10caa12433b',1,'hipPointerGetAttributes(hipPointerAttribute_t *attributes, void *ptr): hip_hcc2.cpp']]], + ['hipreadmodeelementtype',['hipReadModeElementType',['../hip__texture_8h.html#a442e950774f7306dc33692e358c92c94a829645801202174d052d667ffa4e1b8d',1,'hip_texture.h']]], + ['hipsetdevice',['hipSetDevice',['../group__Device.html#ga8ec0b093af0adadc7fe98bf33fa21620',1,'hipSetDevice(int device): hip_hcc.cpp'],['../group__Device.html#ga8ec0b093af0adadc7fe98bf33fa21620',1,'hipSetDevice(int device): hip_hcc.cpp'],['../group__Device.html#ga8ec0b093af0adadc7fe98bf33fa21620',1,'hipSetDevice(int device): hip_hcc2.cpp']]], + ['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']]], + ['hipstreamcreatewithflags',['hipStreamCreateWithFlags',['../group__Stream.html#gaf2382e3cc6632332a8983a0f58e43494',1,'hipStreamCreateWithFlags(hipStream_t *stream, unsigned int flags): hip_hcc.cpp'],['../group__Stream.html#gaf2382e3cc6632332a8983a0f58e43494',1,'hipStreamCreateWithFlags(hipStream_t *stream, unsigned int flags): hip_hcc.cpp'],['../group__Stream.html#gaf2382e3cc6632332a8983a0f58e43494',1,'hipStreamCreateWithFlags(hipStream_t *stream, unsigned int flags): hip_hcc2.cpp']]], + ['hipstreamdefault',['hipStreamDefault',['../group__GlobalDefs.html#ga6df5f70eb976836ab3598cacf0ffcdf9',1,'hip_runtime_api.h']]], + ['hipstreamdestroy',['hipStreamDestroy',['../group__Stream.html#ga3076a3499ed2c7821311006100bb95ec',1,'hipStreamDestroy(hipStream_t stream): hip_hcc.cpp'],['../group__Stream.html#ga3076a3499ed2c7821311006100bb95ec',1,'hipStreamDestroy(hipStream_t stream): hip_hcc.cpp'],['../group__Stream.html#ga3076a3499ed2c7821311006100bb95ec',1,'hipStreamDestroy(hipStream_t stream): hip_hcc2.cpp']]], + ['hipstreamgetflags',['hipStreamGetFlags',['../group__Stream.html#ga3249555a26439591b8873f70b39bb116',1,'hipStreamGetFlags(hipStream_t stream, unsigned int *flags): hip_hcc.cpp'],['../group__Stream.html#ga3249555a26439591b8873f70b39bb116',1,'hipStreamGetFlags(hipStream_t stream, unsigned int *flags): hip_hcc.cpp'],['../group__Stream.html#ga3249555a26439591b8873f70b39bb116',1,'hipStreamGetFlags(hipStream_t stream, unsigned int *flags): hip_hcc2.cpp']]], + ['hipstreamnonblocking',['hipStreamNonBlocking',['../group__GlobalDefs.html#gaaba9ae995d9b43b7d1ee70c6fa12c57d',1,'hip_runtime_api.h']]], + ['hipstreamsynchronize',['hipStreamSynchronize',['../group__Stream.html#gabbfb9f573a6ebe8c478605ecb5504a74',1,'hipStreamSynchronize(hipStream_t stream): hip_hcc.cpp'],['../group__Stream.html#gabbfb9f573a6ebe8c478605ecb5504a74',1,'hipStreamSynchronize(hipStream_t stream): hip_hcc.cpp'],['../group__Stream.html#gabbfb9f573a6ebe8c478605ecb5504a74',1,'hipStreamSynchronize(hipStream_t stream): hip_hcc2.cpp']]], + ['hipstreamwaitevent',['hipStreamWaitEvent',['../group__Stream.html#gacdd84c8f8ef1539c96c57c1d5bcae633',1,'hipStreamWaitEvent(hipStream_t stream, hipEvent_t event, unsigned int flags): hip_hcc.cpp'],['../group__Stream.html#gacdd84c8f8ef1539c96c57c1d5bcae633',1,'hipStreamWaitEvent(hipStream_t stream, hipEvent_t event, unsigned int flags): hip_hcc.cpp'],['../group__Stream.html#gacdd84c8f8ef1539c96c57c1d5bcae633',1,'hipStreamWaitEvent(hipStream_t stream, hipEvent_t event, unsigned int flags): hip_hcc2.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/hipamd/docs/RuntimeAPI/html/search/all_9.js b/hipamd/docs/RuntimeAPI/html/search/all_9.js index 41a7c59602..9c19d12ead 100644 --- a/hipamd/docs/RuntimeAPI/html/search/all_9.js +++ b/hipamd/docs/RuntimeAPI/html/search/all_9.js @@ -1,4 +1,9 @@ var searchData= [ - ['l2cachesize',['l2CacheSize',['../structhipDeviceProp__t.html#a24404decccc16833973c803ced6f3a51',1,'hipDeviceProp_t']]] + ['ihipdevice_5ft',['ihipDevice_t',['../structihipDevice__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,'']]], + ['ismultigpuboard',['isMultiGpuBoard',['../structhipDeviceProp__t.html#a9bb19b2b0cdee8977ed63964532d639d',1,'hipDeviceProp_t']]] ]; diff --git a/hipamd/docs/RuntimeAPI/html/search/all_a.js b/hipamd/docs/RuntimeAPI/html/search/all_a.js index ea8ffca597..41a7c59602 100644 --- a/hipamd/docs/RuntimeAPI/html/search/all_a.js +++ b/hipamd/docs/RuntimeAPI/html/search/all_a.js @@ -1,14 +1,4 @@ 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,'']]], - ['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,'']]] + ['l2cachesize',['l2CacheSize',['../structhipDeviceProp__t.html#a24404decccc16833973c803ced6f3a51',1,'hipDeviceProp_t']]] ]; diff --git a/hipamd/docs/RuntimeAPI/html/search/all_b.js b/hipamd/docs/RuntimeAPI/html/search/all_b.js index 124bf0ddb8..08e347d70d 100644 --- a/hipamd/docs/RuntimeAPI/html/search/all_b.js +++ b/hipamd/docs/RuntimeAPI/html/search/all_b.js @@ -1,4 +1,15 @@ var searchData= [ - ['name',['name',['../structhipDeviceProp__t.html#a5b44bf8fa46faefcde989942b1d11a5e',1,'hipDeviceProp_t']]] + ['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/hipamd/docs/RuntimeAPI/html/search/all_c.js b/hipamd/docs/RuntimeAPI/html/search/all_c.js index 3eaae3688b..124bf0ddb8 100644 --- a/hipamd/docs/RuntimeAPI/html/search/all_c.js +++ b/hipamd/docs/RuntimeAPI/html/search/all_c.js @@ -1,4 +1,4 @@ var searchData= [ - ['one_5fcomponent_5faccess',['ONE_COMPONENT_ACCESS',['../hcc__detail_2hip__vector__types_8h.html#add5d9c0f058c5a52c2b9165a66035d0e',1,'hip_vector_types.h']]] + ['name',['name',['../structhipDeviceProp__t.html#a5b44bf8fa46faefcde989942b1d11a5e',1,'hipDeviceProp_t']]] ]; diff --git a/hipamd/docs/RuntimeAPI/html/search/all_d.js b/hipamd/docs/RuntimeAPI/html/search/all_d.js index 71b6a5df56..3eaae3688b 100644 --- a/hipamd/docs/RuntimeAPI/html/search/all_d.js +++ b/hipamd/docs/RuntimeAPI/html/search/all_d.js @@ -1,5 +1,4 @@ var searchData= [ - ['pcibusid',['pciBusID',['../structhipDeviceProp__t.html#a1350f64d49b717ed3a06458f7549ccb0',1,'hipDeviceProp_t']]], - ['pcideviceid',['pciDeviceID',['../structhipDeviceProp__t.html#ae6aa845dc2d540f85098ea30be35f4eb',1,'hipDeviceProp_t']]] + ['one_5fcomponent_5faccess',['ONE_COMPONENT_ACCESS',['../hcc__detail_2hip__vector__types_8h.html#add5d9c0f058c5a52c2b9165a66035d0e',1,'hip_vector_types.h']]] ]; diff --git a/hipamd/docs/RuntimeAPI/html/search/all_e.js b/hipamd/docs/RuntimeAPI/html/search/all_e.js index 44ba50e0b7..71b6a5df56 100644 --- a/hipamd/docs/RuntimeAPI/html/search/all_e.js +++ b/hipamd/docs/RuntimeAPI/html/search/all_e.js @@ -1,4 +1,5 @@ var searchData= [ - ['regsperblock',['regsPerBlock',['../structhipDeviceProp__t.html#a73c1c21648a901799ff6bef83c11135b',1,'hipDeviceProp_t']]] + ['pcibusid',['pciBusID',['../structhipDeviceProp__t.html#a1350f64d49b717ed3a06458f7549ccb0',1,'hipDeviceProp_t']]], + ['pcideviceid',['pciDeviceID',['../structhipDeviceProp__t.html#ae6aa845dc2d540f85098ea30be35f4eb',1,'hipDeviceProp_t']]] ]; diff --git a/hipamd/docs/RuntimeAPI/html/search/all_f.js b/hipamd/docs/RuntimeAPI/html/search/all_f.js index 559f8252a3..44ba50e0b7 100644 --- a/hipamd/docs/RuntimeAPI/html/search/all_f.js +++ b/hipamd/docs/RuntimeAPI/html/search/all_f.js @@ -1,5 +1,4 @@ var searchData= [ - ['sharedmemperblock',['sharedMemPerBlock',['../structhipDeviceProp__t.html#a3b9138678a0795c2677eddcfb1c67156',1,'hipDeviceProp_t']]], - ['stream_20management',['Stream Management',['../group__Stream.html',1,'']]] + ['regsperblock',['regsPerBlock',['../structhipDeviceProp__t.html#a73c1c21648a901799ff6bef83c11135b',1,'hipDeviceProp_t']]] ]; diff --git a/hipamd/docs/RuntimeAPI/html/search/classes_1.js b/hipamd/docs/RuntimeAPI/html/search/classes_1.js index e208d64376..16f0c6c8a5 100644 --- a/hipamd/docs/RuntimeAPI/html/search/classes_1.js +++ b/hipamd/docs/RuntimeAPI/html/search/classes_1.js @@ -1,7 +1,4 @@ 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,'']]] + ['fakemutex',['FakeMutex',['../classFakeMutex.html',1,'']]] ]; diff --git a/hipamd/docs/RuntimeAPI/html/search/classes_2.js b/hipamd/docs/RuntimeAPI/html/search/classes_2.js index 69beb95adf..5ea160d3cf 100644 --- a/hipamd/docs/RuntimeAPI/html/search/classes_2.js +++ b/hipamd/docs/RuntimeAPI/html/search/classes_2.js @@ -1,6 +1,8 @@ var searchData= [ - ['ihipdevice_5ft',['ihipDevice_t',['../structihipDevice__t.html',1,'']]], - ['ihipevent_5ft',['ihipEvent_t',['../structihipEvent__t.html',1,'']]], - ['ihipstream_5ft',['ihipStream_t',['../structihipStream__t.html',1,'']]] + ['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/hipamd/docs/RuntimeAPI/html/search/classes_3.js b/hipamd/docs/RuntimeAPI/html/search/classes_3.js index 67b71f7499..7b99529bec 100644 --- a/hipamd/docs/RuntimeAPI/html/search/classes_3.js +++ b/hipamd/docs/RuntimeAPI/html/search/classes_3.js @@ -1,5 +1,8 @@ var searchData= [ - ['texture',['texture',['../structtexture.html',1,'']]], - ['texturereference',['textureReference',['../structtextureReference.html',1,'']]] + ['ihipdevice_5ft',['ihipDevice_t',['../structihipDevice__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,'']]] ]; diff --git a/hipamd/docs/RuntimeAPI/html/search/classes_4.js b/hipamd/docs/RuntimeAPI/html/search/classes_4.js index 268930b7ea..7708af376c 100644 --- a/hipamd/docs/RuntimeAPI/html/search/classes_4.js +++ b/hipamd/docs/RuntimeAPI/html/search/classes_4.js @@ -1,7 +1,4 @@ var searchData= [ - ['ihipdevice_5ft',['ihipDevice_t',['../structihipDevice__t.html',1,'']]], - ['ihipevent_5ft',['ihipEvent_t',['../structihipEvent__t.html',1,'']]], - ['ihipstream_5ft',['ihipStream_t',['../structihipStream__t.html',1,'']]], - ['int1',['int1',['../structint1.html',1,'']]] + ['stagingbuffer',['StagingBuffer',['../structStagingBuffer.html',1,'']]] ]; diff --git a/hipamd/docs/RuntimeAPI/html/search/classes_5.js b/hipamd/docs/RuntimeAPI/html/search/classes_5.js index 8469d0bea8..67b71f7499 100644 --- a/hipamd/docs/RuntimeAPI/html/search/classes_5.js +++ b/hipamd/docs/RuntimeAPI/html/search/classes_5.js @@ -1,7 +1,5 @@ var searchData= [ - ['long1',['long1',['../structlong1.html',1,'']]], - ['longlong1',['longlong1',['../structlonglong1.html',1,'']]], - ['longlong3',['longlong3',['../structlonglong3.html',1,'']]], - ['longlong4',['longlong4',['../structlonglong4.html',1,'']]] + ['texture',['texture',['../structtexture.html',1,'']]], + ['texturereference',['textureReference',['../structtextureReference.html',1,'']]] ]; diff --git a/hipamd/docs/RuntimeAPI/html/search/enumvalues_0.js b/hipamd/docs/RuntimeAPI/html/search/enumvalues_0.js index 5fadbd65af..1b894e37b2 100644 --- a/hipamd/docs/RuntimeAPI/html/search/enumvalues_0.js +++ b/hipamd/docs/RuntimeAPI/html/search/enumvalues_0.js @@ -5,6 +5,7 @@ var searchData= ['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']]], @@ -17,13 +18,17 @@ var searchData= ['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']]], + ['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']]], ['hiperrormemoryallocation',['hipErrorMemoryAllocation',['../group__GlobalDefs.html#ggadf5010f6e140a53ecbdf949e73e87594a8293288a10109874749afe2562db09f2',1,'hip_runtime_api.h']]], @@ -31,6 +36,8 @@ var searchData= ['hiperrornodevice',['hipErrorNoDevice',['../group__GlobalDefs.html#ggadf5010f6e140a53ecbdf949e73e87594ad4406972c318df36d231310a15131c24',1,'hip_runtime_api.h']]], ['hiperrornotready',['hipErrorNotReady',['../group__GlobalDefs.html#ggadf5010f6e140a53ecbdf949e73e87594aa9638063c8746a9d1fda2b2069a0a9f1',1,'hip_runtime_api.h']]], ['hiperroroutofresources',['hipErrorOutOfResources',['../group__GlobalDefs.html#ggadf5010f6e140a53ecbdf949e73e87594a60c1c080b79bdde9ef5e808f974ac9ed',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']]], ['hiperrorunknownsymbol',['hipErrorUnknownSymbol',['../group__GlobalDefs.html#ggadf5010f6e140a53ecbdf949e73e87594a45b297e6c3b2029dce1348658421481b',1,'hip_runtime_api.h']]], diff --git a/hipamd/docs/RuntimeAPI/html/search/functions_0.js b/hipamd/docs/RuntimeAPI/html/search/functions_0.js index 9e6f4be60d..b4ccd7edbb 100644 --- a/hipamd/docs/RuntimeAPI/html/search/functions_0.js +++ b/hipamd/docs/RuntimeAPI/html/search/functions_0.js @@ -1,47 +1,4 @@ var searchData= [ - ['hipdevicecanaccesspeer',['hipDeviceCanAccessPeer',['../group__PeerToPeer.html#gab53a55dbc087ff659918fd04287de3d3',1,'hipDeviceCanAccessPeer(int *canAccessPeer, int device, int peerDevice): hip_hcc.cpp'],['../group__PeerToPeer.html#gab53a55dbc087ff659918fd04287de3d3',1,'hipDeviceCanAccessPeer(int *canAccessPeer, int device, int peerDevice): hip_hcc.cpp']]], - ['hipdevicedisablepeeraccess',['hipDeviceDisablePeerAccess',['../group__PeerToPeer.html#ga41e60c01f63597529da1cd77bdd55379',1,'hipDeviceDisablePeerAccess(int peerDevice): hip_hcc.cpp'],['../group__PeerToPeer.html#ga41e60c01f63597529da1cd77bdd55379',1,'hipDeviceDisablePeerAccess(int peerDevice): hip_hcc.cpp']]], - ['hipdeviceenablepeeraccess',['hipDeviceEnablePeerAccess',['../group__PeerToPeer.html#ga098e0d626edbfb69b66d141a5a8b7dc6',1,'hipDeviceEnablePeerAccess(int peerDevice, unsigned int flags): hip_hcc.cpp'],['../group__PeerToPeer.html#ga098e0d626edbfb69b66d141a5a8b7dc6',1,'hipDeviceEnablePeerAccess(int peerDevice, unsigned int flags): hip_hcc.cpp']]], - ['hipdevicegetattribute',['hipDeviceGetAttribute',['../group__Device.html#gac49518ff2b26b98ea2ec9e9268761a24',1,'hipDeviceGetAttribute(int *pi, hipDeviceAttribute_t attr, int device): hip_hcc.cpp'],['../group__Device.html#gac49518ff2b26b98ea2ec9e9268761a24',1,'hipDeviceGetAttribute(int *pi, hipDeviceAttribute_t attr, int device): hip_hcc.cpp']]], - ['hipdevicegetcacheconfig',['hipDeviceGetCacheConfig',['../group__Device.html#gaeeffa2456c5430400bea75ecd6ad1e68',1,'hipDeviceGetCacheConfig(hipFuncCache *cacheConfig): hip_hcc.cpp'],['../group__Device.html#gaeeffa2456c5430400bea75ecd6ad1e68',1,'hipDeviceGetCacheConfig(hipFuncCache *cacheConfig): hip_hcc.cpp']]], - ['hipdevicegetproperties',['hipDeviceGetProperties',['../group__Device.html#gad9ee6822e3e55431811fb6a00f7a1c10',1,'hipDeviceGetProperties(hipDeviceProp_t *prop, int device): hip_hcc.cpp'],['../group__Device.html#gad9ee6822e3e55431811fb6a00f7a1c10',1,'hipDeviceGetProperties(hipDeviceProp_t *props, int device): hip_hcc.cpp']]], - ['hipdevicegetsharedmemconfig',['hipDeviceGetSharedMemConfig',['../group__Device.html#ga1bb08f774a34a468d969a8a04791c9bb',1,'hipDeviceGetSharedMemConfig(hipSharedMemConfig *pConfig): hip_hcc.cpp'],['../group__Device.html#ga1bb08f774a34a468d969a8a04791c9bb',1,'hipDeviceGetSharedMemConfig(hipSharedMemConfig *pConfig): hip_hcc.cpp']]], - ['hipdevicereset',['hipDeviceReset',['../group__Device.html#ga8d57161ae56a8edc46eeda447417bf6c',1,'hipDeviceReset(void): hip_hcc.cpp'],['../group__Device.html#ga8d57161ae56a8edc46eeda447417bf6c',1,'hipDeviceReset(void): hip_hcc.cpp']]], - ['hipdevicesetcacheconfig',['hipDeviceSetCacheConfig',['../group__Device.html#gac2b282179f29c4c0ca7b5391242c6a4c',1,'hipDeviceSetCacheConfig(hipFuncCache cacheConfig): hip_hcc.cpp'],['../group__Device.html#gac2b282179f29c4c0ca7b5391242c6a4c',1,'hipDeviceSetCacheConfig(hipFuncCache cacheConfig): hip_hcc.cpp']]], - ['hipdevicesetsharedmemconfig',['hipDeviceSetSharedMemConfig',['../group__Device.html#ga9b1f279084e76691cedfbfadf9c717ee',1,'hipDeviceSetSharedMemConfig(hipSharedMemConfig config): hip_hcc.cpp'],['../group__Device.html#ga9b1f279084e76691cedfbfadf9c717ee',1,'hipDeviceSetSharedMemConfig(hipSharedMemConfig config): hip_hcc.cpp']]], - ['hipdevicesynchronize',['hipDeviceSynchronize',['../group__Device.html#gaefdc2847fb1d6c3fb1354e827a191ebd',1,'hipDeviceSynchronize(void): hip_hcc.cpp'],['../group__Device.html#gaefdc2847fb1d6c3fb1354e827a191ebd',1,'hipDeviceSynchronize(void): hip_hcc.cpp']]], - ['hipdrivergetversion',['hipDriverGetVersion',['../group__Version.html#gaf6c342f52d2a29a0aca5cdd89b4dd47c',1,'hipDriverGetVersion(int *driverVersion): hip_hcc.cpp'],['../group__Version.html#gaf6c342f52d2a29a0aca5cdd89b4dd47c',1,'hipDriverGetVersion(int *driverVersion): hip_hcc.cpp']]], - ['hipeventcreatewithflags',['hipEventCreateWithFlags',['../group__Event.html#gae86a5acb1b22b61bc9ecb9c28fc71b75',1,'hipEventCreateWithFlags(hipEvent_t *event, unsigned flags): hip_hcc.cpp'],['../group__Event.html#gae86a5acb1b22b61bc9ecb9c28fc71b75',1,'hipEventCreateWithFlags(hipEvent_t *event, unsigned flags): hip_hcc.cpp']]], - ['hipeventdestroy',['hipEventDestroy',['../group__Event.html#ga83260357dce0c39e8c6a3c74ec97484c',1,'hipEventDestroy(hipEvent_t event): hip_hcc.cpp'],['../group__Event.html#ga83260357dce0c39e8c6a3c74ec97484c',1,'hipEventDestroy(hipEvent_t event): hip_hcc.cpp']]], - ['hipeventelapsedtime',['hipEventElapsedTime',['../group__Event.html#gad4128b815cb475c8e13c7e66ff6250b7',1,'hipEventElapsedTime(float *ms, hipEvent_t start, hipEvent_t stop): hip_hcc.cpp'],['../group__Event.html#gad4128b815cb475c8e13c7e66ff6250b7',1,'hipEventElapsedTime(float *ms, hipEvent_t start, hipEvent_t stop): hip_hcc.cpp']]], - ['hipeventquery',['hipEventQuery',['../group__Event.html#ga5d12d7b798b5ceb5932d1ac21f5ac776',1,'hipEventQuery(hipEvent_t event): hip_hcc.cpp'],['../group__Event.html#ga5d12d7b798b5ceb5932d1ac21f5ac776',1,'hipEventQuery(hipEvent_t event): hip_hcc.cpp']]], - ['hipeventrecord',['hipEventRecord',['../group__Event.html#gace88ebd8c7ec42a6c2cebda2e8b0cb38',1,'hipEventRecord(hipEvent_t event, hipStream_t stream=NULL): hip_hcc.cpp'],['../group__Event.html#gace88ebd8c7ec42a6c2cebda2e8b0cb38',1,'hipEventRecord(hipEvent_t event, hipStream_t stream): hip_hcc.cpp']]], - ['hipeventsynchronize',['hipEventSynchronize',['../group__Event.html#ga1f72d98ba5d6f7dc3da54e0c41fe38b1',1,'hipEventSynchronize(hipEvent_t event): hip_hcc.cpp'],['../group__Event.html#ga1f72d98ba5d6f7dc3da54e0c41fe38b1',1,'hipEventSynchronize(hipEvent_t event): hip_hcc.cpp']]], - ['hipfree',['hipFree',['../group__Memory.html#ga740d08da65cae1441ba32f8fedb863d1',1,'hipFree(void *ptr): hip_hcc.cpp'],['../group__Memory.html#ga740d08da65cae1441ba32f8fedb863d1',1,'hipFree(void *ptr): hip_hcc.cpp']]], - ['hipfreehost',['hipFreeHost',['../group__Memory.html#ga28d7d92836116dfadeb62e416ee887d3',1,'hipFreeHost(void *ptr): hip_hcc.cpp'],['../group__Memory.html#ga28d7d92836116dfadeb62e416ee887d3',1,'hipFreeHost(void *ptr): hip_hcc.cpp']]], - ['hipfuncsetcacheconfig',['hipFuncSetCacheConfig',['../group__Device.html#gadd94a910c2b840833cc325b1e5425702',1,'hipFuncSetCacheConfig(hipFuncCache config): hip_hcc.cpp'],['../group__Device.html#gadd94a910c2b840833cc325b1e5425702',1,'hipFuncSetCacheConfig(hipFuncCache cacheConfig): hip_hcc.cpp']]], - ['hipgetdevice',['hipGetDevice',['../group__Device.html#gaffc83567f2df3bbe2d37a19872d60f24',1,'hipGetDevice(int *device): hip_hcc.cpp'],['../group__Device.html#gaffc83567f2df3bbe2d37a19872d60f24',1,'hipGetDevice(int *device): hip_hcc.cpp']]], - ['hipgetdevicecount',['hipGetDeviceCount',['../group__Device.html#ga8555d5c76d88c50ddbf54ae70b568394',1,'hipGetDeviceCount(int *count): hip_hcc.cpp'],['../group__Device.html#ga8555d5c76d88c50ddbf54ae70b568394',1,'hipGetDeviceCount(int *count): hip_hcc.cpp']]], - ['hipgeterrorname',['hipGetErrorName',['../group__Error.html#ga88c474d77635523dbf6ca67be7b56999',1,'hipGetErrorName(hipError_t hip_error): hip_hcc.cpp'],['../group__Error.html#ga88c474d77635523dbf6ca67be7b56999',1,'hipGetErrorName(hipError_t hip_error): hip_hcc.cpp']]], - ['hipgeterrorstring',['hipGetErrorString',['../group__Error.html#ga5959779a654bbc98ffe6d36ab536740a',1,'hipGetErrorString(hipError_t hip_error): hip_hcc.cpp'],['../group__Error.html#ga5959779a654bbc98ffe6d36ab536740a',1,'hipGetErrorString(hipError_t hip_error): hip_hcc.cpp']]], - ['hipgetlasterror',['hipGetLastError',['../group__Error.html#ga533daeb9114d7fc2db8d867adf9e419b',1,'hipGetLastError(void): hip_hcc.cpp'],['../group__Error.html#ga533daeb9114d7fc2db8d867adf9e419b',1,'hipGetLastError(): hip_hcc.cpp']]], - ['hiphccgetaccelerator',['hipHccGetAccelerator',['../group__HCC__Specific.html#ga0d24b3157fd1b16d38672bb157ec4cd4',1,'hipHccGetAccelerator(int deviceId, hc::accelerator *acc): hip_hcc.cpp'],['../group__HCC__Specific.html#ga0d24b3157fd1b16d38672bb157ec4cd4',1,'hipHccGetAccelerator(int deviceId, hc::accelerator *acc): hip_hcc.cpp']]], - ['hiphccgetacceleratorview',['hipHccGetAcceleratorView',['../group__HCC__Specific.html#ga1a7087ea9c3c3323270d7cce73650b44',1,'hipHccGetAcceleratorView(hipStream_t stream, hc::accelerator_view **av): hip_hcc.cpp'],['../group__HCC__Specific.html#ga1a7087ea9c3c3323270d7cce73650b44',1,'hipHccGetAcceleratorView(hipStream_t stream, hc::accelerator_view **av): hip_hcc.cpp']]], - ['hipmalloc',['hipMalloc',['../group__Memory.html#ga4c6fcfe80010069d2792780d00dcead2',1,'hipMalloc(void **ptr, size_t size): hip_hcc.cpp'],['../group__Memory.html#ga4c6fcfe80010069d2792780d00dcead2',1,'hipMalloc(void **ptr, size_t sizeBytes): hip_hcc.cpp']]], - ['hipmallochost',['hipMallocHost',['../group__Memory.html#ga66399e729223ff5b66ffc16297c0710e',1,'hipMallocHost(void **ptr, size_t size): hip_hcc.cpp'],['../group__Memory.html#ga66399e729223ff5b66ffc16297c0710e',1,'hipMallocHost(void **ptr, size_t sizeBytes): hip_hcc.cpp']]], - ['hipmemcpy',['hipMemcpy',['../group__Memory.html#gac1a055d288302edd641c6d7416858e1e',1,'hipMemcpy(void *dst, const void *src, size_t sizeBytes, hipMemcpyKind kind): hip_hcc.cpp'],['../group__Memory.html#gac1a055d288302edd641c6d7416858e1e',1,'hipMemcpy(void *dst, const void *src, size_t sizeBytes, hipMemcpyKind kind): hip_hcc.cpp']]], - ['hipmemcpyasync',['hipMemcpyAsync',['../group__Memory.html#ga8ad5a0b13458917e1b9437732b21af54',1,'hipMemcpyAsync(void *dst, const void *src, size_t sizeBytes, hipMemcpyKind kind, hipStream_t stream=0): hip_hcc.cpp'],['../group__Memory.html#ga8ad5a0b13458917e1b9437732b21af54',1,'hipMemcpyAsync(void *dst, const void *src, size_t sizeBytes, hipMemcpyKind kind, hipStream_t stream): hip_hcc.cpp']]], - ['hipmemcpypeer',['hipMemcpyPeer',['../group__PeerToPeer.html#ga72ae9e7f498ab5684580892a5d7d8e2d',1,'hipMemcpyPeer(void *dst, int dstDevice, const void *src, int srcDevice, size_t sizeBytes): hip_hcc.cpp'],['../group__PeerToPeer.html#ga72ae9e7f498ab5684580892a5d7d8e2d',1,'hipMemcpyPeer(void *dst, int dstDevice, const void *src, int srcDevice, size_t sizeBytes): hip_hcc.cpp']]], - ['hipmemcpypeerasync',['hipMemcpyPeerAsync',['../group__PeerToPeer.html#gab6211c18ca1e23252ef080cd6be855ca',1,'hipMemcpyPeerAsync(void *dst, int dstDevice, const void *src, int srcDevice, size_t sizeBytes, hipStream_t stream=0): hip_hcc.cpp'],['../group__PeerToPeer.html#gab6211c18ca1e23252ef080cd6be855ca',1,'hipMemcpyPeerAsync(void *dst, int dstDevice, const void *src, int srcDevice, size_t sizeBytes, hipStream_t stream): hip_hcc.cpp']]], - ['hipmemcpytosymbol',['hipMemcpyToSymbol',['../group__Memory.html#ga131ac5c1ba04e186112491cb9bf964bc',1,'hipMemcpyToSymbol(const char *symbolName, const void *src, size_t sizeBytes, size_t offset, hipMemcpyKind kind): hip_hcc.cpp'],['../group__Memory.html#ga131ac5c1ba04e186112491cb9bf964bc',1,'hipMemcpyToSymbol(const char *symbolName, const void *src, size_t count, size_t offset, hipMemcpyKind kind): hip_hcc.cpp']]], - ['hipmemset',['hipMemset',['../group__Memory.html#gac7441e74affcce4b8b69dba996c5ebc4',1,'hipMemset(void *dst, int value, size_t sizeBytes): hip_hcc.cpp'],['../group__Memory.html#gac7441e74affcce4b8b69dba996c5ebc4',1,'hipMemset(void *dst, int value, size_t sizeBytes): hip_hcc.cpp']]], - ['hipmemsetasync',['hipMemsetAsync',['../group__Memory.html#gaee4ed665ce0a60c661a809c175320a0c',1,'hipMemsetAsync(void *dst, int value, size_t sizeBytes, hipStream_t=0): hip_hcc.cpp'],['../group__Memory.html#gaee4ed665ce0a60c661a809c175320a0c',1,'hipMemsetAsync(void *dst, int value, size_t sizeBytes, hipStream_t stream): hip_hcc.cpp']]], - ['hippeekatlasterror',['hipPeekAtLastError',['../group__Error.html#ga1dd660bc739f7e13edd34615660f0148',1,'hip_runtime_api.h']]], - ['hipsetdevice',['hipSetDevice',['../group__Device.html#ga8ec0b093af0adadc7fe98bf33fa21620',1,'hipSetDevice(int device): hip_hcc.cpp'],['../group__Device.html#ga8ec0b093af0adadc7fe98bf33fa21620',1,'hipSetDevice(int device): hip_hcc.cpp']]], - ['hipstreamcreatewithflags',['hipStreamCreateWithFlags',['../group__Stream.html#gaf2382e3cc6632332a8983a0f58e43494',1,'hipStreamCreateWithFlags(hipStream_t *stream, unsigned int flags): hip_hcc.cpp'],['../group__Stream.html#gaf2382e3cc6632332a8983a0f58e43494',1,'hipStreamCreateWithFlags(hipStream_t *stream, unsigned int flags): hip_hcc.cpp']]], - ['hipstreamdestroy',['hipStreamDestroy',['../group__Stream.html#ga3076a3499ed2c7821311006100bb95ec',1,'hipStreamDestroy(hipStream_t stream): hip_hcc.cpp'],['../group__Stream.html#ga3076a3499ed2c7821311006100bb95ec',1,'hipStreamDestroy(hipStream_t stream): hip_hcc.cpp']]], - ['hipstreamgetflags',['hipStreamGetFlags',['../group__Stream.html#ga3249555a26439591b8873f70b39bb116',1,'hipStreamGetFlags(hipStream_t stream, unsigned int *flags): hip_hcc.cpp'],['../group__Stream.html#ga3249555a26439591b8873f70b39bb116',1,'hipStreamGetFlags(hipStream_t stream, unsigned int *flags): hip_hcc.cpp']]], - ['hipstreamsynchronize',['hipStreamSynchronize',['../group__Stream.html#gabbfb9f573a6ebe8c478605ecb5504a74',1,'hipStreamSynchronize(hipStream_t stream): hip_hcc.cpp'],['../group__Stream.html#gabbfb9f573a6ebe8c478605ecb5504a74',1,'hipStreamSynchronize(hipStream_t stream): hip_hcc.cpp']]], - ['hipstreamwaitevent',['hipStreamWaitEvent',['../group__Stream.html#gacdd84c8f8ef1539c96c57c1d5bcae633',1,'hipStreamWaitEvent(hipStream_t stream, hipEvent_t event, unsigned int flags): hip_hcc.cpp'],['../group__Stream.html#gacdd84c8f8ef1539c96c57c1d5bcae633',1,'hipStreamWaitEvent(hipStream_t stream, hipEvent_t event, unsigned int flags): hip_hcc.cpp']]] + ['getproperties',['getProperties',['../structihipDevice__t.html#a0abb382f1bcdda80028f9a8307e50561',1,'ihipDevice_t']]] ]; diff --git a/hipamd/docs/RuntimeAPI/html/search/search.js b/hipamd/docs/RuntimeAPI/html/search/search.js index 57684da009..5f9ca1ea88 100644 --- a/hipamd/docs/RuntimeAPI/html/search/search.js +++ b/hipamd/docs/RuntimeAPI/html/search/search.js @@ -7,11 +7,11 @@ var indexSectionsWithContent = { - 0: "_abcdeghilmnoprstwxyz", - 1: "dhit", + 0: "_abcdefghilmnoprstwxyz", + 1: "dfhist", 2: "h", - 3: "h", - 4: "achlmnprstwxyz", + 3: "gh", + 4: "achilmnprstwxyz", 5: "dh", 6: "h", 7: "h", diff --git a/hipamd/docs/RuntimeAPI/html/search/variables_1.js b/hipamd/docs/RuntimeAPI/html/search/variables_1.js index 06748f6da1..82dc751418 100644 --- a/hipamd/docs/RuntimeAPI/html/search/variables_1.js +++ b/hipamd/docs/RuntimeAPI/html/search/variables_1.js @@ -1,5 +1,6 @@ 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']]], diff --git a/hipamd/docs/RuntimeAPI/html/search/variables_2.js b/hipamd/docs/RuntimeAPI/html/search/variables_2.js index efbf7a8150..e10fe26cff 100644 --- a/hipamd/docs/RuntimeAPI/html/search/variables_2.js +++ b/hipamd/docs/RuntimeAPI/html/search/variables_2.js @@ -17,7 +17,7 @@ var searchData= ['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']]], - ['hip_5flaunch_5fblocking',['HIP_LAUNCH_BLOCKING',['../group__HIP-ENV.html#ga8049b329f2663b4572d81e7a9aa8a155',1,'HIP_LAUNCH_BLOCKING(): hip_hcc.cpp'],['../group__HIP-ENV.html#ga8049b329f2663b4572d81e7a9aa8a155',1,'HIP_LAUNCH_BLOCKING(): hip_hcc.cpp']]], - ['hip_5fprint_5fenv',['HIP_PRINT_ENV',['../group__HIP-ENV.html#ga1e1c85dbb250f1acfb484c1be1f3b28a',1,'HIP_PRINT_ENV(): hip_hcc.cpp'],['../group__HIP-ENV.html#ga1e1c85dbb250f1acfb484c1be1f3b28a',1,'HIP_PRINT_ENV(): hip_hcc.cpp']]], - ['hip_5ftrace_5fapi',['HIP_TRACE_API',['../group__HIP-ENV.html#gaae9c541f3e25b8f002762337a03fec28',1,'HIP_TRACE_API(): hip_hcc.cpp'],['../group__HIP-ENV.html#gaae9c541f3e25b8f002762337a03fec28',1,'HIP_TRACE_API(): hip_hcc.cpp']]] + ['hip_5flaunch_5fblocking',['HIP_LAUNCH_BLOCKING',['../group__HIP-ENV.html#ga8049b329f2663b4572d81e7a9aa8a155',1,'HIP_LAUNCH_BLOCKING(): hip_hcc.cpp'],['../group__HIP-ENV.html#ga8049b329f2663b4572d81e7a9aa8a155',1,'HIP_LAUNCH_BLOCKING(): hip_hcc.cpp'],['../group__HIP-ENV.html#ga8049b329f2663b4572d81e7a9aa8a155',1,'HIP_LAUNCH_BLOCKING(): hip_hcc2.cpp']]], + ['hip_5fprint_5fenv',['HIP_PRINT_ENV',['../group__HIP-ENV.html#ga1e1c85dbb250f1acfb484c1be1f3b28a',1,'HIP_PRINT_ENV(): hip_hcc.cpp'],['../group__HIP-ENV.html#ga1e1c85dbb250f1acfb484c1be1f3b28a',1,'HIP_PRINT_ENV(): hip_hcc.cpp'],['../group__HIP-ENV.html#ga1e1c85dbb250f1acfb484c1be1f3b28a',1,'HIP_PRINT_ENV(): hip_hcc2.cpp']]], + ['hip_5ftrace_5fapi',['HIP_TRACE_API',['../group__HIP-ENV.html#gaae9c541f3e25b8f002762337a03fec28',1,'HIP_TRACE_API(): hip_hcc.cpp'],['../group__HIP-ENV.html#gaae9c541f3e25b8f002762337a03fec28',1,'HIP_TRACE_API(): hip_hcc.cpp'],['../group__HIP-ENV.html#gaae9c541f3e25b8f002762337a03fec28',1,'HIP_TRACE_API(): hip_hcc2.cpp']]] ]; diff --git a/hipamd/docs/RuntimeAPI/html/search/variables_3.js b/hipamd/docs/RuntimeAPI/html/search/variables_3.js index 41a7c59602..4ab03a0a54 100644 --- a/hipamd/docs/RuntimeAPI/html/search/variables_3.js +++ b/hipamd/docs/RuntimeAPI/html/search/variables_3.js @@ -1,4 +1,4 @@ var searchData= [ - ['l2cachesize',['l2CacheSize',['../structhipDeviceProp__t.html#a24404decccc16833973c803ced6f3a51',1,'hipDeviceProp_t']]] + ['ismultigpuboard',['isMultiGpuBoard',['../structhipDeviceProp__t.html#a9bb19b2b0cdee8977ed63964532d639d',1,'hipDeviceProp_t']]] ]; diff --git a/hipamd/docs/RuntimeAPI/html/search/variables_4.js b/hipamd/docs/RuntimeAPI/html/search/variables_4.js index 12f7d72a4a..41a7c59602 100644 --- a/hipamd/docs/RuntimeAPI/html/search/variables_4.js +++ b/hipamd/docs/RuntimeAPI/html/search/variables_4.js @@ -1,12 +1,4 @@ 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']]], - ['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']]] + ['l2cachesize',['l2CacheSize',['../structhipDeviceProp__t.html#a24404decccc16833973c803ced6f3a51',1,'hipDeviceProp_t']]] ]; diff --git a/hipamd/docs/RuntimeAPI/html/search/variables_5.js b/hipamd/docs/RuntimeAPI/html/search/variables_5.js index 124bf0ddb8..8fc226ebc6 100644 --- a/hipamd/docs/RuntimeAPI/html/search/variables_5.js +++ b/hipamd/docs/RuntimeAPI/html/search/variables_5.js @@ -1,4 +1,13 @@ var searchData= [ - ['name',['name',['../structhipDeviceProp__t.html#a5b44bf8fa46faefcde989942b1d11a5e',1,'hipDeviceProp_t']]] + ['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/hipamd/docs/RuntimeAPI/html/search/variables_6.js b/hipamd/docs/RuntimeAPI/html/search/variables_6.js index 71b6a5df56..124bf0ddb8 100644 --- a/hipamd/docs/RuntimeAPI/html/search/variables_6.js +++ b/hipamd/docs/RuntimeAPI/html/search/variables_6.js @@ -1,5 +1,4 @@ var searchData= [ - ['pcibusid',['pciBusID',['../structhipDeviceProp__t.html#a1350f64d49b717ed3a06458f7549ccb0',1,'hipDeviceProp_t']]], - ['pcideviceid',['pciDeviceID',['../structhipDeviceProp__t.html#ae6aa845dc2d540f85098ea30be35f4eb',1,'hipDeviceProp_t']]] + ['name',['name',['../structhipDeviceProp__t.html#a5b44bf8fa46faefcde989942b1d11a5e',1,'hipDeviceProp_t']]] ]; diff --git a/hipamd/docs/RuntimeAPI/html/search/variables_7.js b/hipamd/docs/RuntimeAPI/html/search/variables_7.js index 44ba50e0b7..71b6a5df56 100644 --- a/hipamd/docs/RuntimeAPI/html/search/variables_7.js +++ b/hipamd/docs/RuntimeAPI/html/search/variables_7.js @@ -1,4 +1,5 @@ var searchData= [ - ['regsperblock',['regsPerBlock',['../structhipDeviceProp__t.html#a73c1c21648a901799ff6bef83c11135b',1,'hipDeviceProp_t']]] + ['pcibusid',['pciBusID',['../structhipDeviceProp__t.html#a1350f64d49b717ed3a06458f7549ccb0',1,'hipDeviceProp_t']]], + ['pcideviceid',['pciDeviceID',['../structhipDeviceProp__t.html#ae6aa845dc2d540f85098ea30be35f4eb',1,'hipDeviceProp_t']]] ]; diff --git a/hipamd/docs/RuntimeAPI/html/search/variables_8.js b/hipamd/docs/RuntimeAPI/html/search/variables_8.js index a582d60c6a..44ba50e0b7 100644 --- a/hipamd/docs/RuntimeAPI/html/search/variables_8.js +++ b/hipamd/docs/RuntimeAPI/html/search/variables_8.js @@ -1,4 +1,4 @@ var searchData= [ - ['sharedmemperblock',['sharedMemPerBlock',['../structhipDeviceProp__t.html#a3b9138678a0795c2677eddcfb1c67156',1,'hipDeviceProp_t']]] + ['regsperblock',['regsPerBlock',['../structhipDeviceProp__t.html#a73c1c21648a901799ff6bef83c11135b',1,'hipDeviceProp_t']]] ]; diff --git a/hipamd/docs/RuntimeAPI/html/search/variables_9.js b/hipamd/docs/RuntimeAPI/html/search/variables_9.js index b356d6e142..a582d60c6a 100644 --- a/hipamd/docs/RuntimeAPI/html/search/variables_9.js +++ b/hipamd/docs/RuntimeAPI/html/search/variables_9.js @@ -1,5 +1,4 @@ var searchData= [ - ['totalconstmem',['totalConstMem',['../structhipDeviceProp__t.html#a29880232c56120be3455ce00d5379665',1,'hipDeviceProp_t']]], - ['totalglobalmem',['totalGlobalMem',['../structhipDeviceProp__t.html#acedd6a2d23423441e4bf51c4a1b719f9',1,'hipDeviceProp_t']]] + ['sharedmemperblock',['sharedMemPerBlock',['../structhipDeviceProp__t.html#a3b9138678a0795c2677eddcfb1c67156',1,'hipDeviceProp_t']]] ]; diff --git a/hipamd/docs/RuntimeAPI/html/search/variables_a.js b/hipamd/docs/RuntimeAPI/html/search/variables_a.js index 46a1400a7b..b356d6e142 100644 --- a/hipamd/docs/RuntimeAPI/html/search/variables_a.js +++ b/hipamd/docs/RuntimeAPI/html/search/variables_a.js @@ -1,4 +1,5 @@ var searchData= [ - ['warpsize',['warpSize',['../structhipDeviceProp__t.html#af3357d33c004608bf05bc21a352be81b',1,'hipDeviceProp_t']]] + ['totalconstmem',['totalConstMem',['../structhipDeviceProp__t.html#a29880232c56120be3455ce00d5379665',1,'hipDeviceProp_t']]], + ['totalglobalmem',['totalGlobalMem',['../structhipDeviceProp__t.html#acedd6a2d23423441e4bf51c4a1b719f9',1,'hipDeviceProp_t']]] ]; diff --git a/hipamd/docs/RuntimeAPI/html/search/variables_b.js b/hipamd/docs/RuntimeAPI/html/search/variables_b.js index 250c203caf..46a1400a7b 100644 --- a/hipamd/docs/RuntimeAPI/html/search/variables_b.js +++ b/hipamd/docs/RuntimeAPI/html/search/variables_b.js @@ -1,4 +1,4 @@ var searchData= [ - ['x',['x',['../structdim3.html#ac866c05f83a28dac20a153fc65b3b16c',1,'dim3']]] + ['warpsize',['warpSize',['../structhipDeviceProp__t.html#af3357d33c004608bf05bc21a352be81b',1,'hipDeviceProp_t']]] ]; diff --git a/hipamd/docs/RuntimeAPI/html/search/variables_c.js b/hipamd/docs/RuntimeAPI/html/search/variables_c.js index 133dd9dc6e..250c203caf 100644 --- a/hipamd/docs/RuntimeAPI/html/search/variables_c.js +++ b/hipamd/docs/RuntimeAPI/html/search/variables_c.js @@ -1,4 +1,4 @@ var searchData= [ - ['y',['y',['../structdim3.html#a83e60e072f7e8bdfde6ac05053cbb370',1,'dim3']]] + ['x',['x',['../structdim3.html#ac866c05f83a28dac20a153fc65b3b16c',1,'dim3']]] ]; diff --git a/hipamd/docs/RuntimeAPI/html/search/variables_d.js b/hipamd/docs/RuntimeAPI/html/search/variables_d.js index e8bf38b99c..133dd9dc6e 100644 --- a/hipamd/docs/RuntimeAPI/html/search/variables_d.js +++ b/hipamd/docs/RuntimeAPI/html/search/variables_d.js @@ -1,4 +1,4 @@ var searchData= [ - ['z',['z',['../structdim3.html#a866e38993ecc4e76fd47311236c16b04',1,'dim3']]] + ['y',['y',['../structdim3.html#a83e60e072f7e8bdfde6ac05053cbb370',1,'dim3']]] ]; diff --git a/hipamd/docs/RuntimeAPI/html/structdim3-members.html b/hipamd/docs/RuntimeAPI/html/structdim3-members.html index a11da0ba47..8d97c64f1c 100644 --- a/hipamd/docs/RuntimeAPI/html/structdim3-members.html +++ b/hipamd/docs/RuntimeAPI/html/structdim3-members.html @@ -97,7 +97,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/hipamd/docs/RuntimeAPI/html/structdim3.html b/hipamd/docs/RuntimeAPI/html/structdim3.html index 9c5a6733d9..6cfaad88ee 100644 --- a/hipamd/docs/RuntimeAPI/html/structdim3.html +++ b/hipamd/docs/RuntimeAPI/html/structdim3.html @@ -118,12 +118,12 @@ uint32_t 

      Detailed Description

      Struct for data in 3D


      The documentation for this struct was generated from the following file: diff --git a/hipamd/docs/RuntimeAPI/html/structhipChannelFormatDesc-members.html b/hipamd/docs/RuntimeAPI/html/structhipChannelFormatDesc-members.html index 2670d6f1d7..bd5d2c1651 100644 --- a/hipamd/docs/RuntimeAPI/html/structhipChannelFormatDesc-members.html +++ b/hipamd/docs/RuntimeAPI/html/structhipChannelFormatDesc-members.html @@ -94,7 +94,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/hipamd/docs/RuntimeAPI/html/structhipChannelFormatDesc.html b/hipamd/docs/RuntimeAPI/html/structhipChannelFormatDesc.html index 1ac6f4cde8..c6c6e9ee5b 100644 --- a/hipamd/docs/RuntimeAPI/html/structhipChannelFormatDesc.html +++ b/hipamd/docs/RuntimeAPI/html/structhipChannelFormatDesc.html @@ -98,12 +98,12 @@ int _dummy  
      The documentation for this struct was generated from the following file:
        -
      • /home/bensander/HIP.public/include/hcc_detail/hip_texture.h
      • +
      • /home/bensander/HIP-privatestaging/include/hcc_detail/hip_texture.h
      diff --git a/hipamd/docs/RuntimeAPI/html/structhipDeviceArch__t-members.html b/hipamd/docs/RuntimeAPI/html/structhipDeviceArch__t-members.html index 5d14abe998..d04626c34d 100644 --- a/hipamd/docs/RuntimeAPI/html/structhipDeviceArch__t-members.html +++ b/hipamd/docs/RuntimeAPI/html/structhipDeviceArch__t-members.html @@ -110,7 +110,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/hipamd/docs/RuntimeAPI/html/structhipDeviceArch__t.html b/hipamd/docs/RuntimeAPI/html/structhipDeviceArch__t.html index 8bd9d10bc6..d09c7d3c6d 100644 --- a/hipamd/docs/RuntimeAPI/html/structhipDeviceArch__t.html +++ b/hipamd/docs/RuntimeAPI/html/structhipDeviceArch__t.html @@ -163,12 +163,12 @@ unsigned  
      The documentation for this struct was generated from the following file:
      diff --git a/hipamd/docs/RuntimeAPI/html/structhipDeviceProp__t-members.html b/hipamd/docs/RuntimeAPI/html/structhipDeviceProp__t-members.html index 4df537b6cc..4dc810d670 100644 --- a/hipamd/docs/RuntimeAPI/html/structhipDeviceProp__t-members.html +++ b/hipamd/docs/RuntimeAPI/html/structhipDeviceProp__t-members.html @@ -91,10 +91,12 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');

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

      - - - - + + + + + + @@ -102,21 +104,22 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); - - - - - - - - - - - + + + + + + + + + + + +
      archhipDeviceProp_t
      clockInstructionRatehipDeviceProp_t
      clockRatehipDeviceProp_t
      computeModehipDeviceProp_t
      concurrentKernelshipDeviceProp_t
      canMapHostMemoryhipDeviceProp_t
      clockInstructionRatehipDeviceProp_t
      clockRatehipDeviceProp_t
      computeModehipDeviceProp_t
      concurrentKernelshipDeviceProp_t
      isMultiGpuBoardhipDeviceProp_t
      l2CacheSizehipDeviceProp_t
      majorhipDeviceProp_t
      maxGridSizehipDeviceProp_t
      maxThreadsDimhipDeviceProp_t
      maxThreadsPerBlockhipDeviceProp_t
      maxThreadsPerMultiProcessorhipDeviceProp_t
      memoryClockRatehipDeviceProp_t
      minorhipDeviceProp_t
      multiProcessorCounthipDeviceProp_t
      namehipDeviceProp_t
      pciBusIDhipDeviceProp_t
      pciDeviceIDhipDeviceProp_t
      regsPerBlockhipDeviceProp_t
      sharedMemPerBlockhipDeviceProp_t
      totalConstMemhipDeviceProp_t
      totalGlobalMemhipDeviceProp_t
      warpSizehipDeviceProp_t
      memoryBusWidthhipDeviceProp_t
      memoryClockRatehipDeviceProp_t
      minorhipDeviceProp_t
      multiProcessorCounthipDeviceProp_t
      namehipDeviceProp_t
      pciBusIDhipDeviceProp_t
      pciDeviceIDhipDeviceProp_t
      regsPerBlockhipDeviceProp_t
      sharedMemPerBlockhipDeviceProp_t
      totalConstMemhipDeviceProp_t
      totalGlobalMemhipDeviceProp_t
      warpSizehipDeviceProp_t
      diff --git a/hipamd/docs/RuntimeAPI/html/structhipDeviceProp__t.html b/hipamd/docs/RuntimeAPI/html/structhipDeviceProp__t.html index 06e419e325..913cab44ed 100644 --- a/hipamd/docs/RuntimeAPI/html/structhipDeviceProp__t.html +++ b/hipamd/docs/RuntimeAPI/html/structhipDeviceProp__t.html @@ -133,8 +133,12 @@ int   int memoryClockRate - Max memory clock frequency in khz.
      + 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).
      @@ -187,16 +191,24 @@ int 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/hipamd/docs/RuntimeAPI/html/structhipEvent__t-members.html b/hipamd/docs/RuntimeAPI/html/structhipEvent__t-members.html index 1f7daca251..9f26bc8827 100644 --- a/hipamd/docs/RuntimeAPI/html/structhipEvent__t-members.html +++ b/hipamd/docs/RuntimeAPI/html/structhipEvent__t-members.html @@ -94,7 +94,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/hipamd/docs/RuntimeAPI/html/structhipEvent__t.html b/hipamd/docs/RuntimeAPI/html/structhipEvent__t.html index 202c20a0bb..5513b7a405 100644 --- a/hipamd/docs/RuntimeAPI/html/structhipEvent__t.html +++ b/hipamd/docs/RuntimeAPI/html/structhipEvent__t.html @@ -98,12 +98,12 @@ struct ihipEvent_t *   
      The documentation for this struct was generated from the following file: diff --git a/hipamd/docs/RuntimeAPI/html/structihipDevice__t-members.html b/hipamd/docs/RuntimeAPI/html/structihipDevice__t-members.html index 5bc69024fc..18910d1c14 100644 --- a/hipamd/docs/RuntimeAPI/html/structihipDevice__t-members.html +++ b/hipamd/docs/RuntimeAPI/html/structihipDevice__t-members.html @@ -92,17 +92,29 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); + + + + - - + + + + + + + + + +
      _acc (defined in ihipDevice_t)ihipDevice_t
      _compute_units (defined in ihipDevice_t)ihipDevice_t
      _copy_lock (defined in ihipDevice_t)ihipDevice_t
      _default_stream (defined in ihipDevice_t)ihipDevice_t
      _device_index (defined in ihipDevice_t)ihipDevice_t
      _hsa_agent (defined in ihipDevice_t)ihipDevice_t
      _null_stream (defined in ihipDevice_t)ihipDevice_t
      _props (defined in ihipDevice_t)ihipDevice_t
      _staging_buffer (defined in ihipDevice_t)ihipDevice_t
      _stream_id (defined in ihipDevice_t)ihipDevice_t
      _streams (defined in ihipDevice_t)ihipDevice_t
      getProperties(hipDeviceProp_t *prop) (defined in ihipDevice_t)ihipDevice_t
      ihipDevice_t(unsigned device_index, hc::accelerator acc) (defined in ihipDevice_t)ihipDevice_t
      getProperties(hipDeviceProp_t *prop)ihipDevice_t
      getProperties(hipDeviceProp_t *prop) (defined in ihipDevice_t)ihipDevice_t
      init(unsigned device_index, hc::accelerator acc) (defined in ihipDevice_t)ihipDevice_t
      init(unsigned device_index, hc::accelerator acc) (defined in ihipDevice_t)ihipDevice_t
      reset() (defined in ihipDevice_t)ihipDevice_t
      reset() (defined in ihipDevice_t)ihipDevice_t
      syncDefaultStream(bool waitOnSelf) (defined in ihipDevice_t)ihipDevice_tinline
      waitAllStreams() (defined in ihipDevice_t)ihipDevice_tinline
      ~ihipDevice_t() (defined in ihipDevice_t)ihipDevice_t
      ~ihipDevice_t() (defined in ihipDevice_t)ihipDevice_t
      diff --git a/hipamd/docs/RuntimeAPI/html/structihipDevice__t.html b/hipamd/docs/RuntimeAPI/html/structihipDevice__t.html index 0a91addd72..9b98762848 100644 --- a/hipamd/docs/RuntimeAPI/html/structihipDevice__t.html +++ b/hipamd/docs/RuntimeAPI/html/structihipDevice__t.html @@ -94,9 +94,26 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); - - + + + + + + + + + + + + + + @@ -115,23 +132,54 @@ hc::accelerator  - - - - + + + + + + + + + + + +

      Public Member Functions

      ihipDevice_t (unsigned device_index, hc::accelerator acc)
       
      +void init (unsigned device_index, hc::accelerator acc)
       
      +void reset ()
       
      hipError_t getProperties (hipDeviceProp_t *prop)
       
      +void waitAllStreams ()
       
      +void syncDefaultStream (bool waitOnSelf)
       
      +void reset ()
       
      +void init (unsigned device_index, hc::accelerator acc)
       
      hipError_t getProperties (hipDeviceProp_t *prop)
       
      _acc hsa_agent_t _hsa_agent
       
      -ihipStream_t_null_stream
       
      -std::list< ihipStream_t * > _streams
       
      +ihipStream_t_default_stream
       
      +std::list< ihipStream_t * > _streams
       
      unsigned _compute_units
       
      +StagingBuffer_staging_buffer [2]
       
      +ihipStream_t::SeqNum_t _stream_id
       
      +ihipStream_t_null_stream
       
      +std::mutex _copy_lock [2]
       
      -
      The documentation for this struct was generated from the following file:
        -
      • /home/bensander/HIP.public/src/hip_hcc.cpp
      • +

        Member Function Documentation

        + +
        +
        + + + + + + + + +
        hipError_t ihipDevice_t::getProperties (hipDeviceProp_tprop)
        +
        +
        Bug:
        : on HCC, isMultiGpuBoard returns True if system contains multiple GPUS (rather than if GPU is on a multi-ASIC board)
        + +
        +
        +
        The documentation for this struct was generated from the following files:
          +
        • /home/bensander/HIP-privatestaging/src/hip_hcc.cpp
        • +
        • /home/bensander/HIP-privatestaging/src/hip_hcc2.cpp
        diff --git a/hipamd/docs/RuntimeAPI/html/structihipEvent__t-members.html b/hipamd/docs/RuntimeAPI/html/structihipEvent__t-members.html index 16bad989ee..7035ef34e3 100644 --- a/hipamd/docs/RuntimeAPI/html/structihipEvent__t-members.html +++ b/hipamd/docs/RuntimeAPI/html/structihipEvent__t-members.html @@ -90,15 +90,16 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');

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

        - - - - - + + + + + +
        _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
        _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/hipamd/docs/RuntimeAPI/html/structihipEvent__t.html b/hipamd/docs/RuntimeAPI/html/structihipEvent__t.html index a378a2a2d4..b0f9f2c7ef 100644 --- a/hipamd/docs/RuntimeAPI/html/structihipEvent__t.html +++ b/hipamd/docs/RuntimeAPI/html/structihipEvent__t.html @@ -97,7 +97,7 @@ Public Attributes hipEventStatus_t _state   -hipStream_t _stream +hipStream_t _stream   unsigned _flags @@ -108,14 +108,18 @@ hc::completion_future _mar uint64_t _timestamp   + +SIGSEQNUM _copy_seq_id +  -
        The documentation for this struct was generated from the following file:
          -
        • /home/bensander/HIP.public/src/hip_hcc.cpp
        • +
          The documentation for this struct was generated from the following files:
            +
          • /home/bensander/HIP-privatestaging/src/hip_hcc.cpp
          • +
          • /home/bensander/HIP-privatestaging/src/hip_hcc2.cpp
          diff --git a/hipamd/docs/RuntimeAPI/html/structtexture-members.html b/hipamd/docs/RuntimeAPI/html/structtexture-members.html index 42ea0039e3..04556bf525 100644 --- a/hipamd/docs/RuntimeAPI/html/structtexture-members.html +++ b/hipamd/docs/RuntimeAPI/html/structtexture-members.html @@ -97,7 +97,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/hipamd/docs/RuntimeAPI/html/structtexture.html b/hipamd/docs/RuntimeAPI/html/structtexture.html index 4f8d592be9..a904f4e7d8 100644 --- a/hipamd/docs/RuntimeAPI/html/structtexture.html +++ b/hipamd/docs/RuntimeAPI/html/structtexture.html @@ -117,12 +117,12 @@ bool normalized 
          The documentation for this struct was generated from the following file:
            -
          • /home/bensander/HIP.public/include/hcc_detail/hip_texture.h
          • +
          • /home/bensander/HIP-privatestaging/include/hcc_detail/hip_texture.h
          diff --git a/hipamd/docs/RuntimeAPI/html/structtextureReference-members.html b/hipamd/docs/RuntimeAPI/html/structtextureReference-members.html index 89df171ea7..f971eeabae 100644 --- a/hipamd/docs/RuntimeAPI/html/structtextureReference-members.html +++ b/hipamd/docs/RuntimeAPI/html/structtextureReference-members.html @@ -96,7 +96,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/hipamd/docs/RuntimeAPI/html/structtextureReference.html b/hipamd/docs/RuntimeAPI/html/structtextureReference.html index 46cb4d44e7..042d943628 100644 --- a/hipamd/docs/RuntimeAPI/html/structtextureReference.html +++ b/hipamd/docs/RuntimeAPI/html/structtextureReference.html @@ -113,12 +113,12 @@ bool normalized 
          The documentation for this struct was generated from the following file:
            -
          • /home/bensander/HIP.public/include/hcc_detail/hip_texture.h
          • +
          • /home/bensander/HIP-privatestaging/include/hcc_detail/hip_texture.h
          diff --git a/hipamd/docs/markdown/hip_faq.md b/hipamd/docs/markdown/hip_faq.md index 4c321723a7..734ced94ed 100644 --- a/hipamd/docs/markdown/hip_faq.md +++ b/hipamd/docs/markdown/hip_faq.md @@ -68,7 +68,7 @@ HIP offers several benefits over OpenCL: ### What hardware does HIP support? - For AMD platforms, HIP runs on the same hardware that the HCC "hc" mode supports - specifically AMD Kaveri, Carrizo and Fiji. -- For Nvidia platforms, HIP should run on a device which runs the CUDA SDK 5.0 or newer. We have tested the Nvidia Titan and K40. +- For Nvidia platforms, HIP requires Unified Memory and should run on a device which runs the CUDA SDK 6.0 or newer. We have tested the Nvidia Titan and K40. ### Does Hipify automatically convert all source code? Typically, Hipify can automatically convert almost all run-time code, and the coordinate indexing device code. diff --git a/hipamd/include/hcc_detail/hip_runtime_api.h b/hipamd/include/hcc_detail/hip_runtime_api.h index 4c854e72f1..20adf074cf 100644 --- a/hipamd/include/hcc_detail/hip_runtime_api.h +++ b/hipamd/include/hcc_detail/hip_runtime_api.h @@ -56,15 +56,17 @@ extern "C" { #define hipEventInterprocess 0x4 ///< Event can support IPC. @warning - not supported in HIP. -#define hipHostMallocDefault 0x0 -#define hipHostMallocPortable 0x1 -#define hipHostMallocMapped 0x2 +//! Flags that can be used with hipHostMalloc +#define hipHostMallocDefault 0x0 +#define hipHostMallocPortable 0x1 +#define hipHostMallocMapped 0x2 #define hipHostMallocWriteCombined 0x4 -#define hipHostRegisterDefault 0x0 -#define hipHostRegisterPortable 0x1 -#define hipHostRegisterMapped 0x2 -#define hipHostRegisterIoMemory 0x4 +//! Flags that can be used with hipHostRegister +#define hipHostRegisterDefault 0x0 ///< Memory is Mapped and Portable +#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. /** * @warning On AMD devices and recent Nvidia devices, these hints and controls are ignored. @@ -398,7 +400,10 @@ const char *hipGetErrorString(hipError_t hip_error); * @param[in ] flags to control stream creation. * @return #hipSuccess, #hipErrorInvalidValue * - * Create a new asynchronous stream. + * Create a new asynchronous stream. @p 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. * @error hipStream_t are under development - with current HIP use the NULL stream. */ @@ -413,7 +418,12 @@ hipError_t hipStreamCreateWithFlags(hipStream_t *stream, unsigned int flags); * @param[in, out] stream Valid pointer to hipStream_t. This function writes the memory with the newly created stream. * @return #hipSuccess, #hipErrorInvalidValue * - * Create a new asynchronous stream. + * Create a new asynchronous stream. @p 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 hipStreamDestroy * */ static inline hipError_t hipStreamCreate(hipStream_t *stream) @@ -703,19 +713,41 @@ hipError_t hipHostGetDevicePointer(void** devPtr, void* hstPtr, unsigned int fla hipError_t hipHostGetFlags(unsigned int* flagsPtr, void* hostPtr) ; /** - * @brief Pin host memory + * @brief Register host memory so it can be accessed from the current device. * - * @param[out] hostPtr Pointer to host memory to be pinned + * @param[out] hostPtr Pointer to host memory to be registered. * @param[in] sizeBytes size of the host memory - * @param[in] flags Type of pinning the the host memory - * @return Error code + * @param[in] flags. See below. + * + * Flags: + * - #hipHostRegisterDefault Memory is Mapped and Portable + * - #hipHostRegisterPortable Memory is considered registered by all contexts. HIP only supports one context so this is always assumed true. + * - #hipHostRegisterMapped Map the allocation into the address space for the current device. The device pointer can be obtained with #hipHostGetDevicePointer. + * + * + * 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. + * + * @return #hipSuccess, #hipErrorMemoryAllocation */ hipError_t hipHostRegister(void* hostPtr, size_t sizeBytes, unsigned int flags) ; /** - * @brief Un-pin host pointer + * @brief Un-register host pointer * - * @param[in] hostPtr Pinned Host Pointer + * @param[in] hostPtr Host pointer previously registered with #hipHostRegister * @return Error code */ hipError_t hipHostUnregister(void* hostPtr) ; @@ -830,7 +862,7 @@ hipError_t hipMemset(void* dst, int value, size_t sizeBytes ); hipError_t hipMemsetAsync(void* dst, int value, size_t sizeBytes, hipStream_t = 0 ); -/* +/** * @brief Query memory info. * Return snapshot of free memory, and total allocatable memory on the device. * diff --git a/hipamd/src/hip_hcc.cpp b/hipamd/src/hip_hcc.cpp index b41b9c0898..0ef8b3407b 100644 --- a/hipamd/src/hip_hcc.cpp +++ b/hipamd/src/hip_hcc.cpp @@ -128,7 +128,8 @@ int HIP_DISABLE_HW_COPY_DEP = 1; #define COMPILE_HIP_TRACE_API 0x3 -// Compile code that generate +// Compile code that generates trace markers for CodeXL ATP at HIP function begin/end. +// ATP is standard CodeXL format that includes timestamps for kernels, HSA RT APIs, and HIP APIs. #ifndef COMPILE_TRACE_MARKER #define COMPILE_TRACE_MARKER 0 #endif @@ -168,7 +169,7 @@ int HIP_DISABLE_HW_COPY_DEP = 1; // This macro should be called at the beginning of every HIP API. // It initialies the hip runtime (exactly once), and -// generate trace to stderr or to ATP file. +// generate trace string that can be output to stderr or to ATP file. #define HIP_INIT_API(...) \ std::call_once(hip_initialized, ihipInit);\ API_TRACE(__VA_ARGS__);