diff --git a/docs/RuntimeAPI/html/Synchonization.html b/docs/RuntimeAPI/html/Synchonization.html index c21879b667..f60f0cc1e4 100644 --- a/docs/RuntimeAPI/html/Synchonization.html +++ b/docs/RuntimeAPI/html/Synchonization.html @@ -79,8 +79,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');

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

"Host-synchronous" commands have the following properties:

@@ -109,7 +109,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/RuntimeAPI/html/annotated.html b/docs/RuntimeAPI/html/annotated.html index 49ef4eac76..4a61698f75 100644 --- a/docs/RuntimeAPI/html/annotated.html +++ b/docs/RuntimeAPI/html/annotated.html @@ -104,7 +104,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/RuntimeAPI/html/bug.html b/docs/RuntimeAPI/html/bug.html index bdc31de0f8..d9c64d7eb8 100644 --- a/docs/RuntimeAPI/html/bug.html +++ b/docs/RuntimeAPI/html/bug.html @@ -95,7 +95,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/RuntimeAPI/html/classes.html b/docs/RuntimeAPI/html/classes.html index 6bd01f36c7..70491ef32f 100644 --- a/docs/RuntimeAPI/html/classes.html +++ b/docs/RuntimeAPI/html/classes.html @@ -105,7 +105,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/RuntimeAPI/html/dir_68267d1309a1af8e8297ef4c3efbcdba.html b/docs/RuntimeAPI/html/dir_68267d1309a1af8e8297ef4c3efbcdba.html index fd08fac040..7d6a9d0e72 100644 --- a/docs/RuntimeAPI/html/dir_68267d1309a1af8e8297ef4c3efbcdba.html +++ b/docs/RuntimeAPI/html/dir_68267d1309a1af8e8297ef4c3efbcdba.html @@ -4,7 +4,7 @@ -HIP: Heterogenous-computing Interface for Portability: /home/fpadmin/ben/HIP6/src Directory Reference +HIP: Heterogenous-computing Interface for Portability: /home/bensander/HIP.public/src Directory Reference @@ -92,7 +92,7 @@ Files diff --git a/docs/RuntimeAPI/html/dir_6d8604cb65fa6b83549668eb0ce09cac.html b/docs/RuntimeAPI/html/dir_6d8604cb65fa6b83549668eb0ce09cac.html index 7d2d877c9b..9fb345b393 100644 --- a/docs/RuntimeAPI/html/dir_6d8604cb65fa6b83549668eb0ce09cac.html +++ b/docs/RuntimeAPI/html/dir_6d8604cb65fa6b83549668eb0ce09cac.html @@ -4,7 +4,7 @@ -HIP: Heterogenous-computing Interface for Portability: /home/fpadmin/ben/HIP6/include/hcc_detail Directory Reference +HIP: Heterogenous-computing Interface for Portability: /home/bensander/HIP.public/include/hcc_detail Directory Reference @@ -87,20 +87,25 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');

Files

file  hip_runtime.h [code] + Contains definitions of APIs for HIP runtime.
  -file  hip_runtime_api.h [code] +file  hip_runtime_api.h [code] + Contains C function APIs for HIP runtime. This file does not use any HCC builtin or special language extensions (-hc mode) ; those functions in hip_runtime.h.
  -file  hip_texture.h [code] +file  hip_texture.h [code] + HIP C++ Texture API for hcc compiler.
  -file  hip_vector_types.h [code] +file  hip_vector_types.h [code] + Defines the different newt vector types for HIP runtime.
  -file  host_defines.h [code] +file  host_defines.h [code] + TODO-doc.
  diff --git a/docs/RuntimeAPI/html/dir_d44c64559bbebec7f509842c48db8b23.html b/docs/RuntimeAPI/html/dir_d44c64559bbebec7f509842c48db8b23.html index 1de6328c9c..34ef4a1333 100644 --- a/docs/RuntimeAPI/html/dir_d44c64559bbebec7f509842c48db8b23.html +++ b/docs/RuntimeAPI/html/dir_d44c64559bbebec7f509842c48db8b23.html @@ -4,7 +4,7 @@ -HIP: Heterogenous-computing Interface for Portability: /home/fpadmin/ben/HIP6/include Directory Reference +HIP: Heterogenous-computing Interface for Portability: /home/bensander/HIP.public/include Directory Reference @@ -103,7 +103,7 @@ Files diff --git a/docs/RuntimeAPI/html/files.html b/docs/RuntimeAPI/html/files.html index 06f026ba5f..bbb7037a0e 100644 --- a/docs/RuntimeAPI/html/files.html +++ b/docs/RuntimeAPI/html/files.html @@ -89,11 +89,11 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
[detail level 123]
- - - - - + + + + + @@ -105,7 +105,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/RuntimeAPI/html/functions.html b/docs/RuntimeAPI/html/functions.html index 5f2b3f24eb..ce1f2c7bf7 100644 --- a/docs/RuntimeAPI/html/functions.html +++ b/docs/RuntimeAPI/html/functions.html @@ -81,6 +81,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • l
  • m
  • n
  • +
  • p
  • r
  • s
  • t
  • @@ -125,6 +126,9 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • computeMode : hipDeviceProp_t
  • +
  • concurrentKernels +: hipDeviceProp_t +
  • @@ -197,6 +201,9 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • maxGridSize : hipDeviceProp_t
  • +
  • maxSharedMemoryPerMultiProcessor +: hipDeviceProp_t +
  • maxThreadsDim : hipDeviceProp_t
  • @@ -206,6 +213,9 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • maxThreadsPerMultiProcessor : hipDeviceProp_t
  • +
  • memoryClockRate +: hipDeviceProp_t +
  • minor : hipDeviceProp_t
  • @@ -222,6 +232,16 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); +

    - p -

    + +

    - r -

    @@ -197,6 +201,9 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • maxGridSize : hipDeviceProp_t
  • +
  • maxSharedMemoryPerMultiProcessor +: hipDeviceProp_t +
  • maxThreadsDim : hipDeviceProp_t
  • @@ -206,6 +213,9 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • maxThreadsPerMultiProcessor : hipDeviceProp_t
  • +
  • memoryClockRate +: hipDeviceProp_t +
  • minor : hipDeviceProp_t
  • @@ -222,6 +232,16 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); +

    - p -

    + +

    - r -

    @@ -96,141 +102,298 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    Here is a list of all documented file members with links to the documentation:
    +

    - _ -

    + + +

    - d -

    + +

    - h -

    + + +

    - o -

    diff --git a/docs/RuntimeAPI/html/globals_defs.html b/docs/RuntimeAPI/html/globals_defs.html index 35a768bc8c..1d2aada594 100644 --- a/docs/RuntimeAPI/html/globals_defs.html +++ b/docs/RuntimeAPI/html/globals_defs.html @@ -70,6 +70,9 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • All
  • Functions
  • Variables
  • +
  • Typedefs
  • +
  • Enumerations
  • +
  • Enumerator
  • Macros
  • @@ -90,14 +93,38 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
     
    diff --git a/docs/RuntimeAPI/html/globals_func.html b/docs/RuntimeAPI/html/globals_func.html index dff1f0b16e..17fe7c5f66 100644 --- a/docs/RuntimeAPI/html/globals_func.html +++ b/docs/RuntimeAPI/html/globals_func.html @@ -70,6 +70,9 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • All
  • Functions
  • Variables
  • +
  • Typedefs
  • +
  • Enumerations
  • +
  • Enumerator
  • Macros
  • @@ -98,124 +101,185 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');

    - h -

    diff --git a/docs/RuntimeAPI/html/globals_vars.html b/docs/RuntimeAPI/html/globals_vars.html index 8117f6041c..eb20781be3 100644 --- a/docs/RuntimeAPI/html/globals_vars.html +++ b/docs/RuntimeAPI/html/globals_vars.html @@ -70,6 +70,9 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • All
  • Functions
  • Variables
  • +
  • Typedefs
  • +
  • Enumerations
  • +
  • Enumerator
  • Macros
  • @@ -106,7 +109,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/RuntimeAPI/html/group__API.html b/docs/RuntimeAPI/html/group__API.html index ad2ed4ea23..895c153259 100644 --- a/docs/RuntimeAPI/html/group__API.html +++ b/docs/RuntimeAPI/html/group__API.html @@ -110,7 +110,7 @@ Modules diff --git a/docs/RuntimeAPI/html/group__Device.html b/docs/RuntimeAPI/html/group__Device.html index c5b4996e69..5f42bdb840 100644 --- a/docs/RuntimeAPI/html/group__Device.html +++ b/docs/RuntimeAPI/html/group__Device.html @@ -99,6 +99,9 @@ Functions + + + @@ -121,6 +124,48 @@ Functions

    Detailed Description

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

    Function Documentation

    + +
    +
    +
    o-include
    |o-hcc_detail
    ||o*hip_runtime.h
    ||o*hip_runtime_api.h
    ||o*hip_texture.h
    ||o*hip_vector_types.h
    ||\*host_defines.h
    ||o*hip_runtime.hContains definitions of APIs for HIP runtime
    ||o*hip_runtime_api.hContains C function APIs for HIP runtime. This file does not use any HCC builtin or special language extensions (-hc mode) ; those functions in hip_runtime.h
    ||o*hip_texture.hHIP C++ Texture API for hcc compiler
    ||o*hip_vector_types.hDefines the different newt vector types for HIP runtime
    ||\*host_defines.hTODO-doc
    |o*hip_common.h
    |o*hip_runtime.h
    |o*hip_runtime_api.h
    hipError_t hipGetDeviceCount (int *count)
     Return number of compute-capable devices. More...
     
    hipError_t hipDeviceGetAttribute (int *pi, hipDeviceAttribute_t attr, int device)
     Query device attribute. More...
     
    hipError_t hipDeviceGetProperties (hipDeviceProp_t *prop, int device)
     Returns device properties. More...
     
    + + + + + + + + + + + + + + + + + + + + + + + +
    hipError_t hipDeviceGetAttribute (int * pi,
    hipDeviceAttribute_t attr,
    int device 
    )
    +
    + +

    Query device attribute.

    +
    Parameters
    + + + + +
    [out]pipointer to value to return
    [in]attrattribute to query
    [in]devicewhich device to query for information
    +
    +
    + +
    +
    @@ -136,7 +181,7 @@ Functions

    Set Cache configuration for a specific function.

    -

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

    +

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

    Returns
    hipSuccess
    @@ -197,7 +242,7 @@ Functions

    Get Shared memory bank configuration.

    -

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

    +

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

    Returns
    hipSuccess
    @@ -240,7 +285,7 @@ Functions

    Set L1/Shared cache partition.

    -

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

    +

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

    Returns
    hipSuccess
    @@ -260,7 +305,7 @@ Functions

    Set Shared memory bank configuration.

    -

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

    +

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

    Returns
    hipSuccess
    @@ -301,7 +346,7 @@ Functions

    Set Cache configuration for a specific function.

    -

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

    +

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

    Returns
    hipSuccess
    @@ -354,8 +399,8 @@ 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
    +

    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
    @@ -397,7 +442,7 @@ Functions diff --git a/docs/RuntimeAPI/html/group__Error.html b/docs/RuntimeAPI/html/group__Error.html index cea57daed9..f6aeb04eb5 100644 --- a/docs/RuntimeAPI/html/group__Error.html +++ b/docs/RuntimeAPI/html/group__Error.html @@ -197,7 +197,7 @@ Functions diff --git a/docs/RuntimeAPI/html/group__Event.html b/docs/RuntimeAPI/html/group__Event.html index 07c053b451..3b54300dd3 100644 --- a/docs/RuntimeAPI/html/group__Event.html +++ b/docs/RuntimeAPI/html/group__Event.html @@ -209,11 +209,11 @@ Functions -
    Returns
    : hipSuccess, hipErrorInvalidResourceHandle, hipErrorNotReady,
    +
    Returns
    : hipSuccess, hipErrorInvalidResourceHandle, hipErrorNotReady,

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

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

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

    -

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

    +

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

    @@ -239,7 +239,7 @@ Functions
    Returns
    hipSuccess, hipEventNotReady
    -

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

    +

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

    @@ -315,7 +315,7 @@ Functions diff --git a/docs/RuntimeAPI/html/group__GlobalDefs.html b/docs/RuntimeAPI/html/group__GlobalDefs.html index 7ec1058aed..53d57a58c1 100644 --- a/docs/RuntimeAPI/html/group__GlobalDefs.html +++ b/docs/RuntimeAPI/html/group__GlobalDefs.html @@ -119,6 +119,9 @@ Typedefs typedef enum hipError_t hipError_t   + +typedef enum hipDeviceAttribute_t hipDeviceAttribute_t +  typedef enum hipFuncCache hipFuncCache   typedef enum hipSharedMemConfig hipSharedMemConfig @@ -146,6 +149,38 @@ Enumerations
    }   +enum  hipDeviceAttribute_t {
    +  hipDeviceAttributeMaxThreadsPerBlock, +hipDeviceAttributeMaxBlockDimX, +hipDeviceAttributeMaxBlockDimY, +hipDeviceAttributeMaxBlockDimZ, +
    +  hipDeviceAttributeMaxGridDimX, +hipDeviceAttributeMaxGridDimY, +hipDeviceAttributeMaxGridDimZ, +hipDeviceAttributeMaxSharedMemoryPerBlock, +
    +  hipDeviceAttributeTotalConstantMemory, +hipDeviceAttributeWarpSize, +hipDeviceAttributeMaxRegistersPerBlock, +hipDeviceAttributeClockRate, +
    +  hipDeviceAttributeMemoryClockRate, +hipDeviceAttributeMultiprocessorCount, +hipDeviceAttributeComputeMode, +hipDeviceAttributeL2CacheSize, +
    +  hipDeviceAttributeMaxThreadsPerMultiProcessor, +hipDeviceAttributeComputeCapabilityMajor, +hipDeviceAttributeComputeCapabilityMinor, +hipDeviceAttributeConcurrentKernels, +
    +  hipDeviceAttributePciBusId, +hipDeviceAttributePciDeviceId, +hipDeviceAttributeMaxSharedMemoryPerMultiprocessor +
    + } +  enum  hipFuncCache { hipFuncCachePreferNone, hipFuncCachePreferShared, hipFuncCachePreferL1, @@ -238,7 +273,7 @@ Enumerations
    -
    Warning
    On AMD devices and recent NVIDIA devices, these hints and controls are ignored.
    +
    Warning
    On AMD devices and recent Nvidia devices, these hints and controls are ignored.
    @@ -251,11 +286,94 @@ Enumerations
    -
    Warning
    On AMD devices and recent NVIDIA devices, these hints and controls are ignored.
    +
    Warning
    On AMD devices and recent Nvidia devices, these hints and controls are ignored.

    Enumeration Type Documentation

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

    Maximum number of threads per block.

    +
    hipDeviceAttributeMaxBlockDimX  +

    Maximum x-dimension of a block.

    +
    hipDeviceAttributeMaxBlockDimY  +

    Maximum y-dimension of a block.

    +
    hipDeviceAttributeMaxBlockDimZ  +

    Maximum z-dimension of a block.

    +
    hipDeviceAttributeMaxGridDimX  +

    Maximum x-dimension of a grid.

    +
    hipDeviceAttributeMaxGridDimY  +

    Maximum y-dimension of a grid.

    +
    hipDeviceAttributeMaxGridDimZ  +

    Maximum z-dimension of a grid.

    +
    hipDeviceAttributeMaxSharedMemoryPerBlock  +

    Maximum shared memory available per block in bytes.

    +
    hipDeviceAttributeTotalConstantMemory  +

    Constant memory size in bytes.

    +
    hipDeviceAttributeWarpSize  +

    Warp size in threads.

    +
    hipDeviceAttributeMaxRegistersPerBlock  +

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

    +
    hipDeviceAttributeClockRate  +

    Peak clock frequency in kilohertz.

    +
    hipDeviceAttributeMemoryClockRate  +

    Peak memory clock frequency in kilohertz.

    +
    hipDeviceAttributeMultiprocessorCount  +

    Number of multiprocessors on the device.

    +
    hipDeviceAttributeComputeMode  +

    Compute mode that device is currently in.

    +
    hipDeviceAttributeL2CacheSize  +

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

    +
    hipDeviceAttributeMaxThreadsPerMultiProcessor  +

    Maximum resident threads per multiprocessor.

    +
    hipDeviceAttributeComputeCapabilityMajor  +

    Major compute capability version number.

    +
    hipDeviceAttributeComputeCapabilityMinor  +

    Minor compute capability version number.

    +
    hipDeviceAttributeConcurrentKernels  +

    Device can possibly execute multiple kernels concurrently.

    +
    hipDeviceAttributePciBusId  +

    PCI Bus ID.

    +
    hipDeviceAttributePciDeviceId  +

    PCI Device ID.

    +
    hipDeviceAttributeMaxSharedMemoryPerMultiprocessor  +

    Maximum Shared Memory Per Multiprocessor.

    +
    + +
    +
    @@ -282,7 +400,7 @@ Enumerations

    Out of resources error.

    hipErrorInvalidValue  -

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

    +

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

    hipErrorInvalidResourceHandle 

    Resource handle (hipEvent_t or hipStream_t) invalid.

    @@ -291,10 +409,10 @@ Enumerations

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

    hipErrorNoDevice  -

    Call to cudaGetDeviceCount returned 0 devices.

    +

    Call to hipGetDeviceCount returned 0 devices.

    hipErrorNotReady  -

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

    +

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

    hipErrorUnknown 

    Unknown error.

    @@ -315,7 +433,7 @@ Enumerations
    -
    Warning
    On AMD devices and recent NVIDIA devices, these hints and controls are ignored.
    +
    Warning
    On AMD devices and recent Nvidia devices, these hints and controls are ignored.
    Enumerator
    hipFuncCachePreferNone 

    no preference for shared memory or L1 (default)

    @@ -372,7 +490,7 @@ Enumerations
    -
    Warning
    On AMD devices and recent NVIDIA devices, these hints and controls are ignored.
    +
    Warning
    On AMD devices and recent Nvidia devices, these hints and controls are ignored.
    diff --git a/docs/RuntimeAPI/html/group__HCC__Specific.html b/docs/RuntimeAPI/html/group__HCC__Specific.html index dda77995f2..10eb0d5298 100644 --- a/docs/RuntimeAPI/html/group__HCC__Specific.html +++ b/docs/RuntimeAPI/html/group__HCC__Specific.html @@ -85,10 +85,10 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); - + - +
    Enumerator
    hipSharedMemBankSizeDefault 

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

    @@ -390,7 +508,7 @@ Enumerations

    Functions

    hipError_t hipHccGetAccelerator (int deviceId, hc::accelerator *acc)
     Return hc::acclerator associated with the specified deviceId. More...
     Return hc::accelerator associated with the specified deviceId. More...
     
    hipError_t hipHccGetAcceleratorView (hipStream_t stream, hc::accelerator_view **av)
     Return hc::acclerator_view associated with the specified stream. More...
     Return hc::accelerator_view associated with the specified stream. More...
     

    Detailed Description

    @@ -123,7 +123,7 @@ Functions
    -

    Return hc::acclerator associated with the specified deviceId.

    +

    Return hc::accelerator associated with the specified deviceId.

    Returns
    hipSuccess, hipErrorInvalidDevice
    @@ -152,7 +152,7 @@ Functions
    -

    Return hc::acclerator_view associated with the specified stream.

    +

    Return hc::accelerator_view associated with the specified stream.

    Returns
    hipSuccess
    @@ -160,7 +160,7 @@ Functions diff --git a/docs/RuntimeAPI/html/group__HIP-ENV.html b/docs/RuntimeAPI/html/group__HIP-ENV.html index 49583a5127..b4f0537b8b 100644 --- a/docs/RuntimeAPI/html/group__HIP-ENV.html +++ b/docs/RuntimeAPI/html/group__HIP-ENV.html @@ -101,7 +101,7 @@ int  diff --git a/docs/RuntimeAPI/html/group__Memory.html b/docs/RuntimeAPI/html/group__Memory.html index f2d06c6a49..362fb6a8d8 100644 --- a/docs/RuntimeAPI/html/group__Memory.html +++ b/docs/RuntimeAPI/html/group__Memory.html @@ -85,25 +85,31 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');

    Functions

    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 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 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) +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) + Copy data from src to dst asynchronously. More...
      - -hipError_t hipMemset (void *dst, int value, size_t sizeBytes) +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) @@ -131,14 +137,15 @@ Functions
    -

    Free memory allocated by the hcc hip memory allocation API. This API performs an implicit hipDeviceSynchronize() call.

    + +

    Free memory allocated by the hcc hip memory allocation API. This API performs an implicit hipDeviceSynchronize() call.

    Parameters
    [in]ptrPointer to memory to be freed
    -
    Returns
    Error code
    +
    Returns
    hipSuccess, hipErrorMemoryFree
    @@ -155,14 +162,15 @@ Functions
    -

    Free memory allocated by the hcc hip host memory allocation API

    + +

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

    Parameters
    [in]ptrPointer to memory to be freed
    -
    Returns
    Error code
    +
    Returns
    hipSuccess, hipErrorMemoryFree
    @@ -189,7 +197,8 @@ Functions
    -

    Allocate memory on the default accelerator

    + +

    Allocate memory on the default accelerator.

    Parameters
    @@ -224,11 +233,12 @@ Functions
    [out]ptrPointer to the allocated memory
    -

    Allocate pinned host memory

    + +

    Allocate pinned host memory.

    Parameters
    - - + +
    [in]ptrPointer to the allocated host pinned memory
    [out]sizeRequested memory size
    [out]ptrPointer to the allocated host pinned memory
    [in]sizeRequested memory size
    @@ -271,18 +281,19 @@ 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. If the

    -

    This function is host-synchronous for most inputs. It uses the default NULL stream and will synchronize with other blocking streams on the same device.

    + +

    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

    Parameters
    - +
    being copy to
    [out]dstData being copy to
    [in]srcData being copy from
    [in]sizeBytesData size in bytes
    [in]copyTypeMemory copy type
    -
    Returns
    Error code
    +
    Returns
    hipSuccess, hipErrorInvalidValue, hipErrorMemoryFree, hipErrorUnknown
    @@ -327,7 +338,9 @@ Functions
    -

    Copy data from src to dst asynchronously. It supports memory from host to device, device to host, device to device and host to host.

    + +

    Copy data from src to dst asynchronously.

    +

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

    Parameters
    @@ -337,14 +350,168 @@ Functions
    [out]dstData being copy to
    -
    Returns
    Error code
    +
    Returns
    hipSuccess, hipErrorInvalidValue, hipErrorMemoryFree, hipErrorUnknown
    + +
    + + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    hipError_t hipMemcpyToSymbol (const char * symbolName,
    const void * src,
    size_t sizeBytes,
    size_t offset,
    hipMemcpyKind kind 
    )
    +
    + +

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

    +

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

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

    Copy data from src to dst asynchronously.

    +

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

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

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

    +

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

    +
    Parameters
    + + + + + +
    [out]dstPointer to device memory
    [in]value- Value to set for each byte of specified memory
    [in]sizeBytes- Size in bytes to set
    [in]stream- Stream identifier
    +
    +
    +
    Returns
    hipSuccess, hipErrorInvalidValue, hipErrorMemoryFree
    diff --git a/docs/RuntimeAPI/html/group__PeerToPeer.html b/docs/RuntimeAPI/html/group__PeerToPeer.html index 9b2174c2bd..c9417b25c0 100644 --- a/docs/RuntimeAPI/html/group__PeerToPeer.html +++ b/docs/RuntimeAPI/html/group__PeerToPeer.html @@ -88,13 +88,16 @@ Functions  Determine if a device can access a peer's memory. More...
      hipError_t hipDeviceDisablePeerAccess (int peerDevice) + Disables registering memory on peerDevice for direct access from the current device. More...
      hipError_t hipDeviceEnablePeerAccess (int peerDevice, unsigned int flags) + Enables registering memory on peerDevice for direct access from the current device. More...
      - -hipError_t hipMemcpyPeer (void *dst, int dstDevice, const void *src, int srcDevice, size_t sizeBytes) +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) + Copies memory from one device to memory on another device. More...
     

    Detailed Description

    @@ -135,7 +138,7 @@ Functions - +
    [out]canAccessPeerreturns true if specified devices are peers.
    [in]device
    [in]peerDeviceReturns "1" in canAccessPeer if the specified device is capable of directly accessing memory phyically located on peerDevice , or "0" if not.
    [in]peerDeviceReturns "1" in canAccessPeer if the specified device is capable of directly accessing memory physically located on peerDevice , or "0" if not.
    @@ -156,6 +159,15 @@ Functions
    + +

    Disables registering memory on peerDevice for direct access from the current device.

    +

    If there are any allocations on peerDevice which were registered in the current device using hipPeerRegister() then these allocations will be automatically unregistered. Returns hipErrorPeerAccessNotEnabled if direct access to memory on peerDevice has not yet been enabled from the current device.

    +
    Parameters
    + + +
    [in]peerDeviceTODO:cudaErrorPeerAccessNotEnabled and cudaErrorInvalidDevice error not supported in HIP, return hipErrorUnknown Returns hipSuccess, hipErrorUnknown
    +
    +
    Warning
    Need to update this function when RT supports P2P
    @@ -183,8 +195,74 @@ Functions
    + +

    Enables registering memory on peerDevice for direct access from the current device.

    +
    Parameters
    + + + +
    [in]peerDevice
    [in]flagsTODO:cudaErrorInvalidDevice error not supported in HIP, return hipErrorUnknown Returns hipSuccess, hipErrorInvalidDevice, hipErrorInvalidValue, hipErrorUnknown
    +
    +
    Warning
    Need to update this function when RT supports P2P
    +
    + + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    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.

    +
    Parameters
    + + + + + + +
    [out]dst- Destination device pointer.
    [in]dstDevice- Destination device
    [in]src- Source device pointer
    [in]srcDevice- Source device
    [in]sizeBytes- Size of memory copy in bytes
    +
    +
    +

    Returns hipSuccess, hipErrorInvalidValue, hipErrorInvalidDevice

    +
    @@ -234,6 +312,20 @@ Functions
    + +

    Copies memory from one device to memory on another device.

    +
    Parameters
    + + + + + + + +
    [out]dst- Destination device pointer.
    [in]dstDevice- Destination device
    [in]src- Source device pointer
    [in]srcDevice- Source device
    [in]sizeBytes- Size of memory copy in bytes
    [in]stream- Stream identifier
    +
    +
    +

    Returns hipSuccess, hipErrorInvalidValue, hipErrorInvalidDevice

    Bug:
    This function uses a synchronous copy
    @@ -241,7 +333,7 @@ Functions diff --git a/docs/RuntimeAPI/html/group__Profiler.html b/docs/RuntimeAPI/html/group__Profiler.html index 354d17569d..30e28d3ac5 100644 --- a/docs/RuntimeAPI/html/group__Profiler.html +++ b/docs/RuntimeAPI/html/group__Profiler.html @@ -80,12 +80,12 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');

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

    -

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

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

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

    diff --git a/docs/RuntimeAPI/html/group__Stream.html b/docs/RuntimeAPI/html/group__Stream.html index 6f2efc9edc..7f54af7b00 100644 --- a/docs/RuntimeAPI/html/group__Stream.html +++ b/docs/RuntimeAPI/html/group__Stream.html @@ -140,7 +140,7 @@ Functions -
    Returns
    hipSuccess, hipErrorInvalidValue
    +
    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.

    @@ -206,7 +206,7 @@ Functions -
    Returns
    hipSuccess, hipErrorInvalidValue, hipErrorInvalidResourceHandle
    +
    Returns
    hipSuccess, hipErrorInvalidValue, hipErrorInvalidResourceHandle

    Return flags associated with this stream in *flags.

    See Also
    hipStreamCreateWithFlags
    Returns
    hipSuccess
    @@ -283,7 +283,7 @@ Functions diff --git a/docs/RuntimeAPI/html/group__Texture.html b/docs/RuntimeAPI/html/group__Texture.html index a19d108f0a..97808148e7 100644 --- a/docs/RuntimeAPI/html/group__Texture.html +++ b/docs/RuntimeAPI/html/group__Texture.html @@ -121,7 +121,7 @@ template<class T , int dim, enum hipTextureReadMode readMode> diff --git a/docs/RuntimeAPI/html/group__Version.html b/docs/RuntimeAPI/html/group__Version.html index f5cb9f0063..21f2a17ee4 100644 --- a/docs/RuntimeAPI/html/group__Version.html +++ b/docs/RuntimeAPI/html/group__Version.html @@ -85,7 +85,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');

    Functions

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

    Detailed Description

    @@ -105,8 +105,8 @@ Functions
    -

    Returns the approximate HIP driver versin.

    -
    Warning
    The HIP feature set does not correpond to an exact CUDA SDK driver revision. This function always set *driverVersion to 4 as an approximation though HIP supports some features which were introduced in later CUDA SDK revisions. HIP apps code should not rely on the driver revision number here and should use arch feature flags to test device capabiliies or conditional compilation.
    +

    Returns the approximate HIP driver version.

    +
    Warning
    The HIP feature set does not correspond to an exact CUDA SDK driver revision. This function always set *driverVersion to 4 as an approximation though HIP supports some features which were introduced in later CUDA SDK revisions. HIP apps code should not rely on the driver revision number here and should use arch feature flags to test device capabilities or conditional compilation.
    Returns
    hipSuccess
    @@ -114,7 +114,7 @@ Functions diff --git a/docs/RuntimeAPI/html/hcc__detail_2hip__runtime_8h.html b/docs/RuntimeAPI/html/hcc__detail_2hip__runtime_8h.html index 2b02e80742..984fe07ceb 100644 --- a/docs/RuntimeAPI/html/hcc__detail_2hip__runtime_8h.html +++ b/docs/RuntimeAPI/html/hcc__detail_2hip__runtime_8h.html @@ -4,7 +4,7 @@ -HIP: Heterogenous-computing Interface for Portability: /home/fpadmin/ben/HIP6/include/hcc_detail/hip_runtime.h File Reference +HIP: Heterogenous-computing Interface for Portability: /home/bensander/HIP.public/include/hcc_detail/hip_runtime.h File Reference @@ -93,15 +93,19 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    hip_runtime.h File Reference
    + +

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

    #include <cstring>
    #include <cmath>
    #include <string.h>
    #include <stddef.h>
    -#include <hip_runtime_api.h>
    +#include <hip_runtime_api.h>
    #include <hc.hpp>
    #include <grid_launch.h>
    -#include <hcc_detail/hip_texture.h>
    -#include <hcc_detail/host_defines.h>
    +#include <hcc_detail/hip_texture.h>
    +#include <hcc_detail/host_defines.h>
    +#include <hc_math.hpp>

    Go to the source code of this file.

    @@ -113,9 +117,6 @@ Macros - - @@ -224,12 +225,6 @@ __device__ unsigned int  - - - - @@ -290,6 +285,12 @@ __device__ unsigned int  + + + + @@ -305,9 +306,95 @@ __device__ int  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    #define hipLaunchParm   grid_launch_parm
     
    -#define __HIP_DEVICE_COMPILE__   0
     
    #define __launch_bounds__(requiredMaxThreadsPerBlock, minBlocksPerMultiprocessor)
     
    at
    __device__ unsigned long long int atomicMax (unsigned long long int *address, unsigned long long int val)
     
    -__device__ unsigned int atomicInc (unsigned int *address)
     
    -__device__ unsigned int atomicDec (unsigned int *address)
     
    __device__ int atomicCAS (int *address, int compare, int val)
     
    __
    __device__ unsigned int __ffsll (unsigned long long int input)
     
    +__device__ unsigned int __ffs (int input)
     
    +__device__ unsigned int __ffsll (long long int input)
     
    __device__ unsigned int __brev (unsigned int input)
     
    __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)
     
    +int min (int arg1, int arg2) __attribute((hc
     
    +int max (int arg1, int arg2) __attribute((hc
     
    +__device__ float __cosf (float x)
     
    +__device__ float __expf (float x)
     
    +__device__ float __frsqrt_rn (float x)
     
    +__device__ float __fsqrt_rd (float x)
     
    +__device__ float __fsqrt_rn (float x)
     
    +__device__ float __fsqrt_ru (float x)
     
    +__device__ float __fsqrt_rz (float x)
     
    +__device__ float __log10f (float x)
     
    +__device__ float __log2f (float x)
     
    +__device__ float __logf (float x)
     
    +__device__ float __powf (float base, float exponent)
     
    +__device__ void __sincosf (float x, float *s, float *c)
     
    +__device__ float __sinf (float x)
     
    +__device__ float __tanf (float x)
     
    +__device__ float __dsqrt_rd (double x)
     
    +__device__ float __dsqrt_rn (double x)
     
    +__device__ float __dsqrt_ru (double x)
     
    +__device__ float __dsqrt_rz (double x)
     
    + + @@ -324,7 +411,9 @@ int 

    Variables

    int cpu
     
    int warpSize
     
     Make all HIP APIs host-synchronous.
     
    -

    Macro Definition Documentation

    +

    Detailed Description

    +

    Contains definitions of APIs for HIP runtime.

    +

    Macro Definition Documentation

    @@ -384,10 +473,25 @@ int Variable Documentation + +
    +
    + + + + +
    int cpu
    +
    +Initial value:
    {
    +
    return (int)(hc::precise_math::fmin((float)arg1, (float)arg2))
    +
    +
    +
    diff --git a/docs/RuntimeAPI/html/hcc__detail_2hip__runtime_8h_source.html b/docs/RuntimeAPI/html/hcc__detail_2hip__runtime_8h_source.html index 667d8a38e2..a6c1b5210d 100644 --- a/docs/RuntimeAPI/html/hcc__detail_2hip__runtime_8h_source.html +++ b/docs/RuntimeAPI/html/hcc__detail_2hip__runtime_8h_source.html @@ -4,7 +4,7 @@ -HIP: Heterogenous-computing Interface for Portability: /home/fpadmin/ben/HIP6/include/hcc_detail/hip_runtime.h Source File +HIP: Heterogenous-computing Interface for Portability: /home/bensander/HIP.public/include/hcc_detail/hip_runtime.h Source File @@ -124,7 +124,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    38 
    39 #define CUDA_SUCCESS hipSuccess
    40 
    -
    41 #include <hip_runtime_api.h>
    +
    41 #include <hip_runtime_api.h>
    42 
    43 //---
    44 // Remainder of this file only compiles with HCC
    @@ -136,8 +136,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    50 //typedef grid_launch_parm hipLaunchParm ;
    51 #define hipLaunchParm grid_launch_parm
    52 
    -
    53 #include <hcc_detail/hip_texture.h>
    -
    54 #include <hcc_detail/host_defines.h>
    +
    53 #include <hcc_detail/hip_texture.h>
    +
    55 
    56 // TODO-HCC remove old definitions ; ~1602 hcc supports __HCC_ACCELERATOR__ define.
    57 #if defined (__KALMAR_ACCELERATOR__) && not defined (__HCC_ACCELERATOR__)
    @@ -148,488 +148,530 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    62 #if defined(__HCC_ACCELERATOR__) and (__HCC_ACCELERATOR__ != 0)
    63 // Device compile and not host compile:
    64 
    -
    65 
    -
    66 #define __HIP_DEVICE_COMPILE__ 1
    -
    67 
    -
    68 //TODO-HCC enable __HIP_ARCH_HAS_ATOMICS__ when HCC supports these.
    -
    69  // 32-bit Atomics:
    -
    70 #define __HIP_ARCH_HAS_GLOBAL_INT32_ATOMICS__ (1)
    -
    71 #define __HIP_ARCH_HAS_GLOBAL_FLOAT_ATOMIC_EXCH__ (1)
    -
    72 #define __HIP_ARCH_HAS_SHARED_INT32_ATOMICS__ (0)
    -
    73 #define __HIP_ARCH_HAS_SHARED_FLOAT_ATOMIC_EXCH__ (0)
    -
    74 #define __HIP_ARCH_HAS_FLOAT_ATOMIC_ADD__ (0)
    -
    75 
    -
    76 // 64-bit Atomics:
    -
    77 #define __HIP_ARCH_HAS_GLOBAL_INT64_ATOMICS__ (1)
    -
    78 #define __HIP_ARCH_HAS_SHARED_INT64_ATOMICS__ (0)
    +
    65 //TODO-HCC enable __HIP_ARCH_HAS_ATOMICS__ when HCC supports these.
    +
    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)
    +
    71 #define __HIP_ARCH_HAS_FLOAT_ATOMIC_ADD__ (0)
    +
    72 
    +
    73 // 64-bit Atomics:
    +
    74 #define __HIP_ARCH_HAS_GLOBAL_INT64_ATOMICS__ (1)
    +
    75 #define __HIP_ARCH_HAS_SHARED_INT64_ATOMICS__ (0)
    +
    76 
    +
    77 // Doubles
    +
    78 #define __HIP_ARCH_HAS_DOUBLES__ (1)
    79 
    -
    80 // Doubles
    -
    81 #define __HIP_ARCH_HAS_DOUBLES__ (1)
    -
    82 
    -
    83 //warp cross-lane operations:
    -
    84 #define __HIP_ARCH_HAS_WARP_VOTE__ (1)
    -
    85 #define __HIP_ARCH_HAS_WARP_BALLOT__ (1)
    -
    86 #define __HIP_ARCH_HAS_WARP_SHUFFLE__ (1)
    -
    87 #define __HIP_ARCH_HAS_WARP_FUNNEL_SHIFT__ (0)
    -
    88 
    -
    89 //sync
    -
    90 #define __HIP_ARCH_HAS_THREAD_FENCE_SYSTEM__ (0)
    -
    91 #define __HIP_ARCH_HAS_SYNC_THREAD_EXT__ (0)
    -
    92 
    -
    93 // misc
    -
    94 #define __HIP_ARCH_HAS_SURFACE_FUNCS__ (0)
    -
    95 #define __HIP_ARCH_HAS_3DGRID__ (1)
    -
    96 #define __HIP_ARCH_HAS_DYNAMIC_PARALLEL__ (0)
    -
    97 
    -
    98 #else
    -
    99 // Host compile and not device compile:
    -
    100 #define __HIP_DEVICE_COMPILE__ 0
    -
    101 
    -
    102 #endif
    +
    80 //warp cross-lane operations:
    +
    81 #define __HIP_ARCH_HAS_WARP_VOTE__ (1)
    +
    82 #define __HIP_ARCH_HAS_WARP_BALLOT__ (1)
    +
    83 #define __HIP_ARCH_HAS_WARP_SHUFFLE__ (1)
    +
    84 #define __HIP_ARCH_HAS_WARP_FUNNEL_SHIFT__ (0)
    +
    85 
    +
    86 //sync
    +
    87 #define __HIP_ARCH_HAS_THREAD_FENCE_SYSTEM__ (0)
    +
    88 #define __HIP_ARCH_HAS_SYNC_THREAD_EXT__ (0)
    +
    89 
    +
    90 // misc
    +
    91 #define __HIP_ARCH_HAS_SURFACE_FUNCS__ (0)
    +
    92 #define __HIP_ARCH_HAS_3DGRID__ (1)
    +
    93 #define __HIP_ARCH_HAS_DYNAMIC_PARALLEL__ (0)
    +
    94 
    +
    95 #endif
    +
    96 
    +
    97 
    +
    98 
    +
    99 
    +
    100 
    +
    101 //TODO-HCC this is currently ignored by HCC target of HIP
    +
    102 #define __launch_bounds__(requiredMaxThreadsPerBlock, minBlocksPerMultiprocessor)
    103 
    -
    104 
    -
    105 
    -
    106 
    -
    107 
    -
    108 //TODO-HCC this is currently ignored by HCC target of HIP
    -
    109 #define __launch_bounds__(requiredMaxThreadsPerBlock, minBlocksPerMultiprocessor)
    +
    104 // Detect if we are compiling C++ mode or C mode
    +
    105 #if defined(__cplusplus)
    +
    106 #define __HCC_CPP__
    +
    107 #elif defined(__STDC_VERSION__)
    +
    108 #define __HCC_C__
    +
    109 #endif
    110 
    -
    111 // Detect if we are compiling C++ mode or C mode
    -
    112 #if defined(__cplusplus)
    -
    113 #define __HCC_CPP__
    -
    114 #elif defined(__STDC_VERSION__)
    -
    115 #define __HCC_C__
    -
    116 #endif
    -
    117 
    -
    118 #define clock_t long long int
    -
    119 __device__ inline long long int clock64() { return (long long int)hc::__clock_u64(); };
    -
    120 __device__ inline clock_t clock() { return (clock_t)hc::__clock_u64(); };
    -
    121 
    -
    122 //atomicAdd()
    -
    123 __device__ inline int atomicAdd(int* address, int val)
    -
    124 {
    -
    125  return hc::atomic_fetch_add(address,val);
    -
    126 }
    -
    127 __device__ inline unsigned int atomicAdd(unsigned int* address,
    -
    128  unsigned int val)
    -
    129 {
    -
    130  return hc::atomic_fetch_add(address,val);
    -
    131 }
    -
    132 __device__ inline unsigned long long int atomicAdd(unsigned long long int* address,
    -
    133  unsigned long long int val)
    -
    134 {
    -
    135  return (long long int)hc::atomic_fetch_add((uint64_t*)address,(uint64_t)val);
    -
    136 }
    -
    137 __device__ inline float atomicAdd(float* address, float val)
    -
    138 {
    -
    139  return hc::atomic_fetch_add(address,val);
    -
    140 }
    -
    141 
    -
    142 //atomicSub()
    -
    143 __device__ inline int atomicSub(int* address, int val)
    -
    144 {
    -
    145  return hc::atomic_fetch_sub(address,val);
    -
    146 }
    -
    147 __device__ inline unsigned int atomicSub(unsigned int* address,
    -
    148  unsigned int val)
    -
    149 {
    -
    150  return hc::atomic_fetch_sub(address,val);
    -
    151 }
    -
    152 
    -
    153 //atomicExch()
    -
    154 __device__ inline int atomicExch(int* address, int val)
    -
    155 {
    -
    156  return hc::atomic_exchange(address,val);
    -
    157 }
    -
    158 __device__ inline unsigned int atomicExch(unsigned int* address,
    -
    159  unsigned int val)
    -
    160 {
    -
    161  return hc::atomic_exchange(address,val);
    -
    162 }
    -
    163 __device__ inline unsigned long long int atomicExch(unsigned long long int* address,
    -
    164  unsigned long long int val)
    -
    165 {
    -
    166  return (long long int)hc::atomic_exchange((uint64_t*)address,(uint64_t)val);
    -
    167 }
    -
    168 __device__ inline float atomicExch(float* address, float val)
    -
    169 {
    -
    170  return hc::atomic_exchange(address,val);
    -
    171 }
    -
    172 
    -
    173 //atomicMin()
    -
    174 __device__ inline int atomicMin(int* address, int val)
    -
    175 {
    -
    176  return hc::atomic_fetch_min(address,val);
    -
    177 }
    -
    178 __device__ inline unsigned int atomicMin(unsigned int* address,
    -
    179  unsigned int val)
    -
    180 {
    -
    181  return hc::atomic_fetch_min(address,val);
    -
    182 }
    -
    183 __device__ inline unsigned long long int atomicMin(unsigned long long int* address,
    -
    184  unsigned long long int val)
    -
    185 {
    -
    186  return (long long int)hc::atomic_fetch_min((uint64_t*)address,(uint64_t)val);
    -
    187 }
    -
    188 
    -
    189 //atomicMax()
    -
    190 __device__ inline int atomicMax(int* address, int val)
    -
    191 {
    -
    192  return hc::atomic_fetch_max(address,val);
    -
    193 }
    -
    194 __device__ inline unsigned int atomicMax(unsigned int* address,
    -
    195  unsigned int val)
    -
    196 {
    -
    197  return hc::atomic_fetch_max(address,val);
    -
    198 }
    -
    199 __device__ inline unsigned long long int atomicMax(unsigned long long int* address,
    -
    200  unsigned long long int val)
    -
    201 {
    -
    202  return (long long int)hc::atomic_fetch_max((uint64_t*)address,(uint64_t)val);
    +
    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)
    +
    137 {
    +
    138  return hc::atomic_fetch_sub(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)
    +
    148 {
    +
    149  return hc::atomic_exchange(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)
    +
    168 {
    +
    169  return hc::atomic_fetch_min(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)
    +
    184 {
    +
    185  return hc::atomic_fetch_max(address,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)
    +
    200 {
    +
    201  hc::atomic_compare_exchange(address,&compare,val);
    +
    202  return *address;
    203 }
    -
    204 
    -
    205 //atomicInc()
    -
    206 __device__ inline unsigned int atomicInc(unsigned int* address)
    +
    204 __device__ inline unsigned int atomicCAS(unsigned int* address,
    +
    205  unsigned int compare,
    +
    206  unsigned int val)
    207 {
    -
    208  return hc::atomic_fetch_inc(address);
    -
    209 }
    -
    210 
    -
    211 //atomicDec()
    -
    212 __device__ inline unsigned int atomicDec(unsigned int* address)
    -
    213 {
    -
    214  return hc::atomic_fetch_dec(address);
    -
    215 }
    -
    216 
    -
    217 //atomicCAS()
    -
    218 __device__ inline int atomicCAS(int* address, int compare, int val)
    -
    219 {
    -
    220  hc::atomic_compare_exchange(address,&compare,val);
    -
    221  return *address;
    -
    222 }
    -
    223 __device__ inline unsigned int atomicCAS(unsigned int* address,
    -
    224  unsigned int compare,
    +
    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);
    +
    223 }
    +
    224 __device__ inline unsigned int atomicAnd(unsigned int* address,
    225  unsigned int val)
    226 {
    -
    227  hc::atomic_compare_exchange(address,&compare,val);
    -
    228  return *address;
    -
    229 }
    -
    230 __device__ inline unsigned long long int atomicCAS(unsigned long long int* address,
    -
    231  unsigned long long int compare,
    -
    232  unsigned long long int val)
    -
    233 {
    -
    234  hc::atomic_compare_exchange((uint64_t*)address,(uint64_t*)&compare,(uint64_t)val);
    -
    235  return *address;
    -
    236 }
    -
    237 
    -
    238 //atomicAnd()
    -
    239 __device__ inline int atomicAnd(int* address, int val)
    -
    240 {
    -
    241  return hc::atomic_fetch_and(address,val);
    -
    242 }
    -
    243 __device__ inline unsigned int atomicAnd(unsigned int* address,
    -
    244  unsigned int val)
    -
    245 {
    -
    246  return hc::atomic_fetch_and(address,val);
    -
    247 }
    -
    248 __device__ inline unsigned long long int atomicAnd(unsigned long long int* address,
    -
    249  unsigned long long int val)
    -
    250 {
    -
    251  return (long long int)hc::atomic_fetch_and((uint64_t*)address,(uint64_t)val);
    -
    252 }
    -
    253 
    -
    254 //atomicOr()
    -
    255 __device__ inline int atomicOr(int* address, int val)
    -
    256 {
    -
    257  return hc::atomic_fetch_or(address,val);
    -
    258 }
    -
    259 __device__ inline unsigned int atomicOr(unsigned int* address,
    -
    260  unsigned int val)
    -
    261 {
    -
    262  return hc::atomic_fetch_or(address,val);
    -
    263 }
    -
    264 __device__ inline unsigned long long int atomicOr(unsigned long long int* address,
    -
    265  unsigned long long int val)
    -
    266 {
    -
    267  return (long long int)hc::atomic_fetch_or((uint64_t*)address,(uint64_t)val);
    -
    268 }
    -
    269 
    -
    270 //atomicXor()
    -
    271 __device__ inline int atomicXor(int* address, int val)
    -
    272 {
    -
    273  return hc::atomic_fetch_xor(address,val);
    -
    274 }
    -
    275 __device__ inline unsigned int atomicXor(unsigned int* address,
    -
    276  unsigned int val)
    -
    277 {
    -
    278  return hc::atomic_fetch_xor(address,val);
    -
    279 }
    -
    280 __device__ inline unsigned long long int atomicXor(unsigned long long int* address,
    -
    281  unsigned long long int val)
    -
    282 {
    -
    283  return (long long int)hc::atomic_fetch_xor((uint64_t*)address,(uint64_t)val);
    -
    284 }
    -
    285 
    -
    286 #ifdef __HCC__
    -
    287 #include <hc.hpp>
    -
    288 // integer intrinsic function __poc __clz __ffs __brev
    -
    289 __device__ inline unsigned int __popc( unsigned int input)
    +
    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)
    +
    237 {
    +
    238  return hc::atomic_fetch_or(address,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)
    +
    253 {
    +
    254  return hc::atomic_fetch_xor(address,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::__popcount_u32_b32( input);
    +
    291  return hc::__firstbit_u32_s32( input);
    292 }
    293 
    -
    294 __device__ inline unsigned int __popcll( unsigned long long int input)
    +
    294 __device__ inline unsigned int __clzll(long long int input)
    295 {
    -
    296  return hc::__popcount_u32_b64(input);
    +
    296  return hc::__firstbit_u32_s64( input);
    297 }
    298 
    -
    299 __device__ inline unsigned int __clz(unsigned int input)
    +
    299 __device__ inline unsigned int __ffs(unsigned int input)
    300 {
    -
    301  return hc::__firstbit_u32_u32( input);
    +
    301  return hc::__lastbit_u32_u32( input)+1;
    302 }
    303 
    -
    304 __device__ inline unsigned int __clzll(unsigned long long int input)
    +
    304 __device__ inline unsigned int __ffsll(unsigned long long int input)
    305 {
    -
    306  return hc::__firstbit_u32_u64( input);
    +
    306  return hc::__lastbit_u32_u64( input)+1;
    307 }
    308 
    -
    309 __device__ inline unsigned int __clz(int input)
    +
    309 __device__ inline unsigned int __ffs(int input)
    310 {
    -
    311  return hc::__firstbit_u32_s32( input);
    +
    311  return hc::__lastbit_u32_s32( input)+1;
    312 }
    313 
    -
    314 __device__ inline unsigned int __clzll(long long int input)
    +
    314 __device__ inline unsigned int __ffsll(long long int input)
    315 {
    -
    316  return hc::__firstbit_u32_s64( input);
    +
    316  return hc::__lastbit_u32_s64( input)+1;
    317 }
    318 
    -
    319 __device__ inline unsigned int __ffs(unsigned int input)
    +
    319 __device__ inline unsigned int __brev( unsigned int input)
    320 {
    -
    321  return hc::__lastbit_u32_u32( input)+1;
    +
    321  return hc::__bitrev_b32( input);
    322 }
    323 
    -
    324 __device__ inline unsigned int __ffsll(unsigned long long int input)
    +
    324 __device__ inline unsigned long long int __brevll( unsigned long long int input)
    325 {
    -
    326  return hc::__lastbit_u32_u64( input)+1;
    +
    326  return hc::__bitrev_b64( input);
    327 }
    328 
    -
    329 __device__ inline unsigned int __brev( unsigned int input)
    -
    330 {
    -
    331  return hc::__bitrev_b32( input);
    -
    332 }
    -
    333 
    -
    334 __device__ inline unsigned long long int __brevll( unsigned long long int input)
    -
    335 {
    -
    336  return hc::__bitrev_b64( input);
    -
    337 }
    -
    338 
    -
    339 // warp vote function __all __any __ballot
    +
    329 // warp vote function __all __any __ballot
    +
    330 __device__ inline int __all( int input)
    +
    331 {
    +
    332  return hc::__all( input);
    +
    333 }
    +
    334 
    +
    335 __device__ inline int __any( int input)
    +
    336 {
    +
    337  if( hc::__any( input)!=0) return 1;
    +
    338  else return 0;
    +
    339 }
    340 
    -
    341 __device__ inline int __all( int input)
    +
    341 __device__ inline unsigned long long int __ballot( int input)
    342 {
    -
    343  return hc::__all( input);
    +
    343  return hc::__ballot( input);
    344 }
    345 
    -
    346 
    -
    347 __device__ inline int __any( int input)
    +
    346 // warp shuffle functions
    +
    347 __device__ inline int __shfl(int input, int lane, int width)
    348 {
    -
    349  return hc::__any( input);
    +
    349  return hc::__shfl(input,lane,width);
    350 }
    351 
    -
    352 
    -
    353 __device__ inline unsigned long long int __ballot( int input)
    -
    354 {
    -
    355  return hc::__ballot( input);
    -
    356 }
    -
    357 
    -
    358 #endif
    -
    359 
    -
    360 
    +
    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 #ifdef __HCC_ACCELERATOR__
    -
    363 #include <hc_math.hpp>
    -
    364 // TODO: Choose whether default is precise math or fast math based on compilation flag.
    -
    365 using namespace hc::precise_math;
    +
    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 //TODO: Undo this once min/max functions are supported by hc
    -
    368 inline int min(int arg1, int arg2) __attribute((hc,cpu)) { \
    -
    369  return (int)(hc::precise_math::fmin((float)arg1, (float)arg2));}
    -
    370 inline int max(int arg1, int arg2) __attribute((hc,cpu)) { \
    -
    371  return (int)(hc::precise_math::fmax((float)arg1, (float)arg2));}
    -
    372 
    -
    373 
    -
    374 //TODO - add a couple fast math operations here, the set here will grow :
    -
    375 __device__ inline float __log2f(float x) {return hc::fast_math::log2(x); };
    -
    376 __device__ inline float __powf(float base, float exponent) {return hc::fast_math::powf(base, exponent); };
    -
    377 
    -
    378 #endif
    -
    379 
    -
    380 
    +
    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 
    -
    385 #define hipThreadIdx_x (amp_get_local_id(2))
    -
    386 #define hipThreadIdx_y (amp_get_local_id(1))
    -
    387 #define hipThreadIdx_z (amp_get_local_id(0))
    -
    388 
    -
    389 #define hipBlockIdx_x (hc_get_group_id(2))
    -
    390 #define hipBlockIdx_y (hc_get_group_id(1))
    -
    391 #define hipBlockIdx_z (hc_get_group_id(0))
    -
    392 
    -
    393 #define hipBlockDim_x (amp_get_local_size(2))
    -
    394 #define hipBlockDim_y (amp_get_local_size(1))
    -
    395 #define hipBlockDim_z (amp_get_local_size(0))
    -
    396 
    -
    397 #define hipGridDim_x (hc_get_num_groups(2))
    -
    398 #define hipGridDim_y (hc_get_num_groups(1))
    -
    399 #define hipGridDim_z (hc_get_num_groups(0))
    -
    400 
    -
    401 
    -
    402 extern int warpSize ;
    -
    403 
    -
    404 
    -
    405 #define __syncthreads() hc_barrier(CLK_LOCAL_MEM_FENCE)
    -
    406 
    -
    407 
    -
    408 #if 0
    -
    409 #define KALMAR_PFE_BEGIN() \
    -
    410  hc::extent<3> ext(lp.gridDim.x, lp.gridDim.y, lp.gridDim.z);\
    -
    411  auto __hipExtTile = ext.tile(lp.groupDim.x, lp.groupDim.y, lp.groupDim.z);\
    -
    412  __hipExtTile.set_dynamic_group_segment_size(lp.groupMemBytes);\
    -
    413  \
    -
    414  hc::completion_future cf = hc::parallel_for_each (\
    -
    415  *lp.av,\
    -
    416  __hipExtTile,\
    -
    417  [=] (hc::tiled_index<3> __hipIdx) mutable [[hc]]
    -
    418 
    -
    419 
    +
    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 
    -
    421 #define KALMAR_PFE_END \
    -
    422  ); \
    -
    423  if (HIP_LAUNCH_BLOCKING) {\
    -
    424  if (HIP_TRACE_API) {\
    -
    425  fprintf(stderr, "hiptrace1: HIP_LAUNCH_BLOCKING ...\n");\
    -
    426  }\
    -
    427  cf.wait(); \
    -
    428  if (HIP_TRACE_API) {\
    -
    429  fprintf(stderr, "hiptrace1: ...completed.\n");\
    -
    430  }\
    -
    431  }
    -
    432 #endif
    -
    433 
    -
    434 
    -
    435 
    -
    436 #define HIP_KERNEL_NAME(...) __VA_ARGS__
    -
    437 
    -
    438 
    -
    439 #ifdef __HCC_CPP__
    -
    440 hc::accelerator_view *ihipLaunchKernel(hipStream_t stream);
    -
    441 
    -
    442 #if not defined(DISABLE_GRID_LAUNCH)
    -
    443 #define hipLaunchKernel(_kernelName, _numBlocks3D, _blockDim3D, _groupMemBytes, _stream, ...) \
    -
    444 do {\
    -
    445  grid_launch_parm lp;\
    -
    446  lp.gridDim.x = _numBlocks3D.x; \
    -
    447  lp.gridDim.y = _numBlocks3D.y; \
    -
    448  lp.gridDim.z = _numBlocks3D.z; \
    -
    449  lp.groupDim.x = _blockDim3D.x; \
    -
    450  lp.groupDim.y = _blockDim3D.y; \
    -
    451  lp.groupDim.z = _blockDim3D.z; \
    -
    452  lp.groupMemBytes = _groupMemBytes;\
    -
    453  hc::completion_future cf;\
    -
    454  lp.cf = &cf; \
    -
    455  lp.av = (ihipLaunchKernel(_stream)); \
    -
    456  if (HIP_TRACE_API) {\
    -
    457  fprintf(stderr, "hiptrace1: launch '%s' gridDim:[%d.%d.%d] groupDim:[%d.%d.%d] groupMem:+%d stream=%p\n", \
    -
    458  #_kernelName, lp.gridDim.z, lp.gridDim.y, lp.gridDim.x, lp.groupDim.z, lp.groupDim.y, lp.groupDim.x, lp.groupMemBytes, (void*)(_stream));\
    -
    459  }\
    -
    460  _kernelName (lp, __VA_ARGS__);\
    -
    461 } while(0)
    -
    462 
    -
    463 #else
    -
    464 #warning(DISABLE_GRID_LAUNCH set)
    -
    465 
    -
    466 #define hipLaunchKernel(_kernelName, _numBlocks3D, _blockDim3D, _groupMemBytes, _stream, ...) \
    -
    467 do {\
    -
    468  grid_launch_parm lp;\
    -
    469  lp.gridDim.x = _numBlocks3D.x * _blockDim3D.x;/*Convert from #blocks to #threads*/ \
    -
    470  lp.gridDim.y = _numBlocks3D.y * _blockDim3D.y;/*Convert from #blocks to #threads*/ \
    -
    471  lp.gridDim.z = _numBlocks3D.z * _blockDim3D.z;/*Convert from #blocks to #threads*/ \
    -
    472  lp.groupDim.x = _blockDim3D.x; \
    -
    473  lp.groupDim.y = _blockDim3D.y; \
    -
    474  lp.groupDim.z = _blockDim3D.z; \
    -
    475  lp.groupMemBytes = _groupMemBytes;\
    -
    476  hc::completion_future cf;\
    -
    477  lp.cf = &cf; \
    -
    478  lp.av = (ihipLaunchKernel(_stream)); \
    -
    479  if (HIP_TRACE_API) {\
    -
    480  fprintf(stderr, "hiptrace1: launch '%s' gridDim:[%d.%d.%d] groupDim:[%d.%d.%d] groupMem:+%d stream=%p\n", \
    -
    481  #_kernelName, lp.gridDim.z, lp.gridDim.y, lp.gridDim.x, lp.groupDim.z, lp.groupDim.y, lp.groupDim.x, lp.groupMemBytes, (void*)(_stream));\
    -
    482  }\
    -
    483  _kernelName (lp, __VA_ARGS__);\
    -
    484 } while(0)
    -
    485 /*end hipLaunchKernel */
    -
    486 #endif
    -
    487 
    -
    488 #elif defined (__HCC_C__)
    -
    489 
    -
    490 //TODO - develop C interface.
    -
    491 
    -
    492 #endif
    -
    493 
    -
    494 
    -
    495 #if not defined(DISABLE_GRID_LAUNCH)
    -
    496 // TODO -In GL these are no-ops and can be removed:
    -
    497 // Keep them around for a little while as a fallback.
    -
    498 #define KERNELBEGIN
    -
    499 #define KERNELEND
    -
    500 
    -
    501 #else
    -
    502 
    -
    503 // TODO-GL:
    -
    504 // These wrap the kernel in a PFE loop with macros.
    -
    505 // Not required with GL but exist here as a fallback.
    -
    506 #define KERNELBEGIN \
    -
    507  hc::extent<3> ext(lp.gridDim.x, lp.gridDim.y, lp.gridDim.z);\
    -
    508  auto __hipExtTile = ext.tile(lp.groupDim.x, lp.groupDim.y, lp.groupDim.z);\
    -
    509  __hipExtTile.set_dynamic_group_segment_size(lp.groupMemBytes);\
    -
    510  \
    -
    511  hc::completion_future cf = \
    -
    512  hc::parallel_for_each (\
    -
    513  *lp.av,\
    -
    514  __hipExtTile,\
    -
    515  [=] (hc::tiled_index<3> __hipIdx) mutable [[hc]] \
    -
    516  {
    -
    517 
    -
    518 
    -
    519 #define KERNELEND \
    -
    520  }); \
    -
    521  if (HIP_LAUNCH_BLOCKING) {\
    -
    522  if (HIP_TRACE_API) {\
    -
    523  fprintf(stderr, "hiptrace1: HIP_LAUNCH_BLOCKING ...\n");\
    -
    524  }\
    -
    525  cf.wait(); \
    -
    526  if (HIP_TRACE_API) {\
    -
    527  fprintf(stderr, "hiptrace1: ...completed.\n");\
    -
    528  }\
    -
    529  }
    -
    530 
    -
    531 #endif /*DISABLE_GRID_LAUNCH*/
    +
    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);
    +
    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 #endif // __HCC__
    -
    535 
    -
    536 
    -
    541 extern int HIP_PRINT_ENV ;
    -
    542 extern int HIP_TRACE_API;
    -
    543 extern int HIP_LAUNCH_BLOCKING ;
    -
    544 
    -
    550 // End doxygen API:
    +
    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
    +
    539 
    +
    540 #else
    +
    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  }
    +
    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
    +
    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
    +
    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
    diff --git a/docs/RuntimeAPI/html/hcc__detail_2hip__runtime__api_8h_source.html b/docs/RuntimeAPI/html/hcc__detail_2hip__runtime__api_8h_source.html index 45bbf45deb..876afac7f7 100644 --- a/docs/RuntimeAPI/html/hcc__detail_2hip__runtime__api_8h_source.html +++ b/docs/RuntimeAPI/html/hcc__detail_2hip__runtime__api_8h_source.html @@ -4,7 +4,7 @@ -HIP: Heterogenous-computing Interface for Portability: /home/fpadmin/ben/HIP6/include/hcc_detail/hip_runtime_api.h Source File +HIP: Heterogenous-computing Interface for Portability: /home/bensander/HIP.public/include/hcc_detail/hip_runtime_api.h Source File @@ -89,7 +89,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    hip_runtime_api.h
    -
    1 /*
    +Go to the documentation of this file.
    1 /*
    2 Copyright (c) 2015-2016 Advanced Micro Devices, Inc. All rights reserved.
    3 
    4 Permission is hereby granted, free of charge, to any person obtaining a copy
    @@ -112,356 +112,345 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    21 */
    22 #pragma once
    23 
    -
    24 
    -
    25 #include <stdint.h>
    -
    26 #include <stddef.h>
    -
    27 
    -
    28 #include <hcc_detail/host_defines.h>
    -
    29 
    -
    30 #if defined (__HCC__) && (__hcc_workweek__ < 1602)
    -
    31 #error("This version of HIP requires a newer version of HCC.");
    -
    32 #endif
    -
    33 
    -
    34 
    -
    35 // hip_api_hcc.h
    -
    36 // Contains C function APIs for HIP runtime.
    -
    37 // This file does not use any HCC builtins or special language extensions (-hc mode) ; those functions in hip_hcc.h.
    -
    38 
    -
    39 
    -
    40 // Structure definitions:
    -
    41 #ifdef __cplusplus
    -
    42 extern "C" {
    -
    43 #endif
    -
    44 
    -
    49 #define hipStreamDefault 0x00
    -
    51 #define hipStreamNonBlocking 0x01
    -
    52 
    -
    53 
    -
    55 #define hipEventDefault 0x0
    -
    56 #define hipEventBlockingSync 0x1
    -
    57 #define hipEventDisableTiming 0x2
    -
    58 #define hipEventInterprocess 0x4
    -
    59 
    -
    60 
    -
    64 typedef enum hipFuncCache {
    - - - - -
    69 } hipFuncCache;
    -
    70 
    -
    71 
    -
    75 typedef enum hipSharedMemConfig {
    - - - - +
    29 #include <stdint.h>
    +
    30 #include <stddef.h>
    +
    31 
    + +
    33 
    +
    34 #if defined (__HCC__) && (__hcc_workweek__ < 1602)
    +
    35 #error("This version of HIP requires a newer version of HCC.");
    +
    36 #endif
    +
    37 
    +
    38 // Structure definitions:
    +
    39 #ifdef __cplusplus
    +
    40 extern "C" {
    +
    41 #endif
    +
    42 
    +
    47 #define hipStreamDefault 0x00
    +
    49 #define hipStreamNonBlocking 0x01
    +
    50 
    +
    51 
    +
    53 #define hipEventDefault 0x0
    +
    54 #define hipEventBlockingSync 0x1
    +
    55 #define hipEventDisableTiming 0x2
    +
    56 #define hipEventInterprocess 0x4
    +
    57 
    +
    58 
    +
    62 typedef enum hipFuncCache {
    + + + + +
    67 } hipFuncCache;
    +
    68 
    +
    69 
    +
    73 typedef enum hipSharedMemConfig {
    + + + + +
    78 
    +
    79 
    80 
    -
    81 
    -
    82 
    -
    87 typedef struct dim3 {
    -
    88  uint32_t x;
    -
    89  uint32_t y;
    -
    90  uint32_t z;
    -
    91 
    -
    92  dim3(uint32_t _x=1, uint32_t _y=1, uint32_t _z=1) : x(_x), y(_y), z(_z) {};
    -
    93 } dim3;
    +
    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;
    +
    92 
    +
    93 
    94 
    -
    95 
    -
    96 
    - - - - - - -
    107 } ;
    -
    108 
    -
    109 
    -
    110 // Doxygen end group GlobalDefs
    -
    114 //-------------------------------------------------------------------------------------------------
    -
    115 
    -
    116 
    -
    117 // The handle allows the async commands to use the stream even if the parent hipStream_t goes out-of-scope.
    -
    118 typedef struct ihipStream_t * hipStream_t;
    -
    119 
    -
    120 
    -
    121 /*
    -
    122  * Opaque structure allows the true event (pointed at by the handle) to remain "live" even if the surrounding hipEvent_t goes out-of-scope.
    -
    123  * 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 */
    -
    124 typedef struct hipEvent_t {
    -
    125  struct ihipEvent_t *_handle;
    -
    126 } hipEvent_t;
    + + + + + + +
    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 
    +
    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 
    127 
    128 
    129 
    130 
    -
    131 
    -
    132 
    -
    133 #ifdef __cplusplus
    -
    134 } /* extern "C" */
    -
    135 #endif
    -
    136 
    +
    131 #ifdef __cplusplus
    +
    132 } /* extern "C" */
    +
    133 #endif
    +
    134 
    +
    135 
    +
    136 
    137 
    -
    138 
    -
    139 
    -
    140 //==================================================================================================
    -
    141 #ifdef __cplusplus
    -
    142 extern "C" {
    -
    143 #endif
    -
    144 
    - +
    138 //==================================================================================================
    +
    139 #ifdef __cplusplus
    +
    140 extern "C" {
    +
    141 #endif
    +
    142 
    + +
    167 
    +
    168 
    169 
    -
    170 
    -
    171 
    - -
    183 
    -
    184 
    -
    209 hipError_t hipSetDevice(int device);
    -
    210 
    -
    211 
    -
    223 hipError_t hipGetDevice(int *device);
    -
    224 
    -
    225 
    -
    233 hipError_t hipGetDeviceCount(int *count);
    -
    234 
    -
    235 
    - -
    245 
    -
    246 
    -
    247 
    -
    248 //Cache partitioning functions:
    -
    249 
    - -
    257 
    -
    258 
    - -
    266 
    -
    267 
    - -
    275 
    -
    276 //---
    -
    277 //Shared bank config functions:
    -
    278 
    - -
    286 
    -
    287 
    - -
    295 
    -
    296 
    -
    297 // end doxygen Device
    - -
    318 
    -
    319 
    - -
    332 
    -
    333 
    -
    334 
    -
    343 const char *hipGetErrorName(hipError_t hip_error);
    -
    344 
    -
    345 
    -
    356 const char *hipGetErrorString(hipError_t hip_error);
    -
    357 
    -
    358 // end doxygen Error
    -
    388 hipError_t hipStreamCreateWithFlags(hipStream_t *stream, unsigned int flags);
    -
    389 
    -
    390 
    -
    391 
    -
    401 static inline hipError_t hipStreamCreate(hipStream_t *stream)
    -
    402 {
    - -
    404 }
    -
    405 
    -
    406 
    -
    422 hipError_t hipStreamWaitEvent(hipStream_t stream, hipEvent_t event, unsigned int flags);
    -
    423 
    -
    424 
    - -
    437 
    -
    438 
    - -
    453 
    -
    454 
    -
    468 hipError_t hipStreamGetFlags(hipStream_t stream, unsigned int *flags);
    -
    469 
    -
    470 
    -
    471 // end doxygen Stream
    -
    496 hipError_t hipEventCreateWithFlags(hipEvent_t* event, unsigned flags);
    -
    497 
    -
    498 
    -
    505 static inline hipError_t hipEventCreate(hipEvent_t* event)
    -
    506 {
    -
    507  return hipEventCreateWithFlags(event, 0);
    -
    508 }
    -
    509 
    -
    510 
    -
    536 hipError_t hipEventRecord(hipEvent_t event, hipStream_t stream = NULL);
    -
    537 
    -
    538 
    - -
    550 
    -
    551 
    - -
    566 
    -
    567 
    -
    592 hipError_t hipEventElapsedTime(float *ms, hipEvent_t start, hipEvent_t stop);
    -
    593 
    -
    594 
    - -
    608 
    -
    609 
    -
    610 // end doxygen Events
    -
    640 hipError_t hipMalloc(void** ptr, size_t size) ;
    -
    641 
    -
    642 
    -
    650 hipError_t hipMallocHost(void** ptr, size_t size) ;
    -
    651 
    -
    652 
    -
    653 
    -
    654 // TODO-doc (error codes)
    -
    662 hipError_t hipFree(void* ptr);
    -
    663 
    -
    664 
    -
    665 
    -
    666 // TODO-doc (error codes)
    -
    673 hipError_t hipFreeHost(void* ptr);
    -
    674 
    -
    675 
    + +
    181 
    +
    182 
    +
    207 hipError_t hipSetDevice(int device);
    +
    208 
    +
    209 
    +
    221 hipError_t hipGetDevice(int *device);
    +
    222 
    +
    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 
    +
    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 // TODO-doc (error codes)
    -
    694 hipError_t hipMemcpy(void* dst, const void* src, size_t sizeBytes, hipMemcpyKind kind);
    +
    678 
    +
    693 hipError_t hipMemcpy(void* dst, const void* src, size_t sizeBytes, hipMemcpyKind kind);
    +
    694 
    695 
    -
    696 
    -
    697 hipError_t hipMemcpyToSymbol(const char* symbolName, const void *src, size_t sizeBytes, size_t offset, hipMemcpyKind kind);
    -
    698 
    -
    699 
    -
    700 
    -
    701 // TODO-doc (error codes)
    -
    712 hipError_t hipMemcpyAsync(void* dst, const void* src, size_t sizeBytes, hipMemcpyKind kind, hipStream_t stream=0);
    -
    713 
    -
    714 
    -
    715 // TODO-doc
    -
    716 /*
    -
    717  * This function is host-asynchronous and may return before the memset operation completes.
    -
    718  * Same as hipMemsetAsync with null stream.
    -
    719  *
    -
    720  * */
    -
    721 hipError_t hipMemset(void* dst, int value, size_t sizeBytes );
    -
    722 hipError_t hipMemsetAsync(void* dst, int value, size_t sizeBytes, hipStream_t = 0 );
    -
    723 
    -
    724 
    -
    725 /*
    -
    726  * @brief Query memory info. Return snapshot of free memory, and total allocatable memory on the device.
    -
    727  *
    -
    728  * Returns in *free a snapshot of the current free memory o
    -
    729  **/
    -
    730 hipError_t hipMemGetInfo (size_t * free, size_t * total) ;
    -
    731 
    -
    732 // doxygen end Memory
    -
    757 hipError_t hipDeviceCanAccessPeer ( int* canAccessPeer, int device, int peerDevice );
    -
    758 
    -
    759 // TODO-DOC
    -
    760 hipError_t hipDeviceDisablePeerAccess ( int peerDevice );
    -
    761 
    -
    762 // TODO-DOC
    -
    763 hipError_t hipDeviceEnablePeerAccess ( int peerDevice, unsigned int flags );
    -
    764 
    -
    765 // TODO-DOC
    -
    766 hipError_t hipMemcpyPeer ( void* dst, int dstDevice, const void* src, int srcDevice, size_t sizeBytes );
    -
    767 
    -
    768 // TODO-DOC
    -
    769 hipError_t hipMemcpyPeerAsync ( void* dst, int dstDevice, const void* src, int srcDevice, size_t sizeBytes, hipStream_t stream=0 );
    -
    770 // doxygen end PeerToPeer
    -
    794 hipError_t hipDriverGetVersion(int *driverVersion) ;
    -
    795 
    -
    796 
    -
    797 
    -
    798 // doxygen end Version Management
    -
    825 #ifdef __cplusplus
    -
    826 } /* extern "c" */
    -
    827 #endif
    -
    828 
    -
    829 
    -
    847 #ifdef __HCC__
    -
    848 #include <hc.hpp>
    -
    852 hipError_t hipHccGetAccelerator(int deviceId, hc::accelerator *acc);
    -
    853 
    -
    857 hipError_t hipHccGetAcceleratorView(hipStream_t stream, hc::accelerator_view **av);
    -
    858 #endif
    -
    859 
    -
    860 
    -
    861 // end-group HCC_Specific
    -
    868 // doxygen end HIP API
    -
    hipError_t hipDeviceEnablePeerAccess(int peerDevice, unsigned int flags)
    Definition: hip_hcc.cpp:1575
    -
    hipError_t hipDeviceCanAccessPeer(int *canAccessPeer, int device, int peerDevice)
    Determine if a device can access a peer's memory.
    Definition: hip_hcc.cpp:1551
    +
    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) ;
    +
    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 );
    +
    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
    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::acclerator_view associated with the specified stream.
    Definition: hip_hcc.cpp:1647
    +
    hipError_t hipHccGetAcceleratorView(hipStream_t stream, hc::accelerator_view **av)
    Return hc::accelerator_view associated with the specified stream.
    Definition: hip_hcc.cpp:1730
    struct dim3 dim3
    -
    hipError_t hipFreeHost(void *ptr)
    Definition: hip_hcc.cpp:1529
    -
    hipError_t hipFuncSetCacheConfig(hipFuncCache config)
    Set Cache configuration for a specific function.
    Definition: hip_hcc.cpp:704
    -
    no preference for shared memory or L1 (default)
    Definition: hip_runtime_api.h:65
    -
    uint32_t x
    x
    Definition: hip_runtime_api.h:88
    -
    Host-to-Device Copy.
    Definition: hip_runtime_api.h:103
    -
    hipError_t hipDeviceGetSharedMemConfig(hipSharedMemConfig *pConfig)
    Get Shared memory bank configuration.
    Definition: hip_hcc.cpp:734
    -
    hipError_t hipSetDevice(int device)
    Set default device to be used for subsequent hip API calls from this thread.
    Definition: hip_hcc.cpp:747
    -
    Device-to-Host Copy.
    Definition: hip_runtime_api.h:104
    -
    hipError_t hipEventSynchronize(hipEvent_t event)
    : Wait for an event to complete.
    Definition: hip_hcc.cpp:1074
    -
    hipError_t hipDeviceGetProperties(hipDeviceProp_t *prop, int device)
    Returns device properties.
    Definition: hip_hcc.cpp:801
    -
    hipFuncCache
    Definition: hip_runtime_api.h:64
    -
    hipError_t hipEventQuery(hipEvent_t event)
    Query event status.
    Definition: hip_hcc.cpp:1169
    -
    hipError_t hipDeviceGetCacheConfig(hipFuncCache *cacheConfig)
    Set Cache configuration for a specific function.
    Definition: hip_hcc.cpp:690
    -
    hipError_t hipEventRecord(hipEvent_t event, hipStream_t stream=NULL)
    Record an event in the specified stream.
    Definition: hip_hcc.cpp:1025
    -
    hipError_t hipGetDevice(int *device)
    Return the default device id for the calling host thread.
    Definition: hip_hcc.cpp:645
    -
    hipError_t hipEventDestroy(hipEvent_t event)
    Destroy the specified event.
    Definition: hip_hcc.cpp:1059
    -
    hipError_t hipStreamCreateWithFlags(hipStream_t *stream, unsigned int flags)
    Create an asynchronous stream.
    Definition: hip_hcc.cpp:891
    -
    hipError_t hipDeviceDisablePeerAccess(int peerDevice)
    Definition: hip_hcc.cpp:1563
    -
    Definition: hip_runtime_api.h:87
    -
    uint32_t y
    y
    Definition: hip_runtime_api.h:89
    -
    prefer equal size L1 cache and shared memory
    Definition: hip_runtime_api.h:68
    -
    hipError_t hipEventCreateWithFlags(hipEvent_t *event, unsigned flags)
    Create an event with the specified flags.
    Definition: hip_hcc.cpp:1002
    -
    hipError_t hipMallocHost(void **ptr, size_t size)
    Definition: hip_hcc.cpp:1289
    -
    hipError_t hipEventElapsedTime(float *ms, hipEvent_t start, hipEvent_t stop)
    Return the elapsed time between two events.
    Definition: hip_hcc.cpp:1124
    -
    hipError_t hipMemcpyPeerAsync(void *dst, int dstDevice, const void *src, int srcDevice, size_t sizeBytes, hipStream_t stream=0)
    Definition: hip_hcc.cpp:1596
    -
    hipError_t hipGetDeviceCount(int *count)
    Return number of compute-capable devices.
    Definition: hip_hcc.cpp:658
    -
    hipError_t hipStreamDestroy(hipStream_t stream)
    Destroys the specified stream.
    Definition: hip_hcc.cpp:955
    -
    hipError_t hipStreamSynchronize(hipStream_t stream)
    Wait for all commands in stream to complete.
    Definition: hip_hcc.cpp:932
    +
    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:77
    -
    hipError_t
    Definition: hip_runtime_api.h:112
    -
    hipMemcpyKind
    Definition: hip_runtime_api.h:101
    -
    prefer larger L1 cache and smaller shared memory
    Definition: hip_runtime_api.h:67
    -
    hipError_t hipDriverGetVersion(int *driverVersion)
    Returns the approximate HIP driver versin.
    Definition: hip_hcc.cpp:1608
    -
    hipError_t hipDeviceSynchronize(void)
    Blocks until the default device has completed all preceding requested tasks.
    Definition: hip_hcc.cpp:764
    -
    Definition: hip_runtime_api.h:124
    -
    hipError_t hipDeviceSetCacheConfig(hipFuncCache cacheConfig)
    Set L1/Shared cache partition.
    Definition: hip_hcc.cpp:676
    -
    hipError_t hipMalloc(void **ptr, size_t size)
    Definition: hip_hcc.cpp:1268
    -
    const char * hipGetErrorName(hipError_t hip_error)
    Return name of the specified error code in text form.
    Definition: hip_hcc.cpp:848
    -
    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:829
    -
    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:915
    -
    hipError_t hipStreamGetFlags(hipStream_t stream, unsigned int *flags)
    Return flags associated with this stream.
    Definition: hip_hcc.cpp:979
    -
    #define hipStreamDefault
    Flags that can be used with hipStreamCreateWithFlags.
    Definition: hip_runtime_api.h:50
    -
    hipError_t hipFree(void *ptr)
    Definition: hip_hcc.cpp:1513
    -
    uint32_t z
    z
    Definition: hip_runtime_api.h:90
    -
    hipError_t hipDeviceReset(void)
    Destroy all resources and reset all state on the default device in the current process.
    Definition: hip_hcc.cpp:779
    +
    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
    +
    #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
    Definition: hip_runtime_api.h:74
    -
    hipError_t hipMemcpyAsync(void *dst, const void *src, size_t sizeBytes, hipMemcpyKind kind, hipStream_t stream=0)
    Definition: hip_hcc.cpp:1388
    -
    The compiler selects a device-specific value for the banking.
    Definition: hip_runtime_api.h:76
    -
    Device-to-Device Copy.
    Definition: hip_runtime_api.h:105
    +
    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:106
    -
    hipSharedMemConfig
    Definition: hip_runtime_api.h:75
    -
    hipError_t hipMemcpy(void *dst, const void *src, size_t sizeBytes, hipMemcpyKind kind)
    Definition: hip_hcc.cpp:1346
    -
    hipError_t hipDeviceSetSharedMemConfig(hipSharedMemConfig config)
    Set Shared memory bank configuration.
    Definition: hip_hcc.cpp:719
    -
    prefer larger shared memory and smaller L1 cache
    Definition: hip_runtime_api.h:66
    -
    Host-to-Host Copy.
    Definition: hip_runtime_api.h:102
    -
    hipError_t hipHccGetAccelerator(int deviceId, hc::accelerator *acc)
    Return hc::acclerator associated with the specified deviceId.
    Definition: hip_hcc.cpp:1627
    -
    Shared mem is banked at 8-byte intervals and performs best when adjacent threads access data 4 bytes ...
    Definition: hip_runtime_api.h:78
    -
    const char * hipGetErrorString(hipError_t hip_error)
    Return handy text string message to explain the error which occurred.
    Definition: hip_hcc.cpp:875
    +
    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
    diff --git a/docs/RuntimeAPI/html/hcc__detail_2hip__vector__types_8h_source.html b/docs/RuntimeAPI/html/hcc__detail_2hip__vector__types_8h_source.html index 73911b9082..9bd0f090ab 100644 --- a/docs/RuntimeAPI/html/hcc__detail_2hip__vector__types_8h_source.html +++ b/docs/RuntimeAPI/html/hcc__detail_2hip__vector__types_8h_source.html @@ -4,7 +4,7 @@ -HIP: Heterogenous-computing Interface for Portability: /home/fpadmin/ben/HIP6/include/hcc_detail/hip_vector_types.h Source File +HIP: Heterogenous-computing Interface for Portability: /home/bensander/HIP.public/include/hcc_detail/hip_vector_types.h Source File @@ -89,7 +89,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    hip_vector_types.h
    -
    1 /*
    +Go to the documentation of this file.
    1 /*
    2 Copyright (c) 2015-2016 Advanced Micro Devices, Inc. All rights reserved.
    3 
    4 Permission is hereby granted, free of charge, to any person obtaining a copy
    @@ -110,147 +110,177 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    19 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
    20 THE SOFTWARE.
    21 */
    -
    22 #if defined (__HCC__) && (__hcc_workweek__ < 16032)
    -
    23 #error("This version of HIP requires a newer version of HCC.");
    -
    24 #endif
    -
    25 
    -
    26 #include <hc_short_vector.hpp>
    -
    27 
    -
    28 // Define char vector types
    -
    29 typedef hc::short_vector::char1 char1;
    -
    30 typedef hc::short_vector::char2 char2;
    -
    31 typedef hc::short_vector::char3 char3;
    -
    32 typedef hc::short_vector::char4 char4;
    +
    22 
    +
    28 #if defined (__HCC__) && (__hcc_workweek__ < 16032)
    +
    29 #error("This version of HIP requires a newer version of HCC.");
    +
    30 #endif
    +
    31 
    +
    32 #include <hc_short_vector.hpp>
    33 
    -
    34 // Define uchar vector types
    -
    35 typedef hc::short_vector::uchar1 uchar1;
    -
    36 typedef hc::short_vector::uchar2 uchar2;
    -
    37 typedef hc::short_vector::uchar3 uchar3;
    -
    38 typedef hc::short_vector::uchar4 uchar4;
    -
    39 
    -
    40 // Define short vector types
    -
    41 typedef hc::short_vector::short1 short1;
    -
    42 typedef hc::short_vector::short2 short2;
    -
    43 typedef hc::short_vector::short3 short3;
    -
    44 typedef hc::short_vector::short4 short4;
    -
    45 
    -
    46 // Define ushort vector types
    -
    47 typedef hc::short_vector::ushort1 ushort1;
    -
    48 typedef hc::short_vector::ushort2 ushort2;
    -
    49 typedef hc::short_vector::ushort3 ushort3;
    -
    50 typedef hc::short_vector::ushort4 ushort4;
    -
    51 
    -
    52 // Define int vector types
    -
    53 typedef hc::short_vector::int1 int1;
    -
    54 typedef hc::short_vector::int2 int2;
    -
    55 typedef hc::short_vector::int3 int3;
    -
    56 typedef hc::short_vector::int4 int4;
    -
    57 
    -
    58 // Define uint vector types
    -
    59 typedef hc::short_vector::uint1 uint1;
    -
    60 typedef hc::short_vector::uint2 uint2;
    -
    61 typedef hc::short_vector::uint3 uint3;
    -
    62 typedef hc::short_vector::uint4 uint4;
    -
    63 
    -
    64 // Define long vector types
    -
    65 typedef hc::short_vector::long1 long1;
    -
    66 typedef hc::short_vector::long2 long2;
    -
    67 typedef hc::short_vector::long3 long3;
    -
    68 typedef hc::short_vector::long4 long4;
    -
    69 
    -
    70 // Define ulong vector types
    -
    71 typedef hc::short_vector::ulong1 ulong1;
    -
    72 typedef hc::short_vector::ulong2 ulong2;
    -
    73 typedef hc::short_vector::ulong3 ulong3;
    -
    74 typedef hc::short_vector::ulong4 ulong4;
    -
    75 
    -
    76 // Define longlong vector types
    -
    77 typedef hc::short_vector::longlong1 longlong1;
    -
    78 typedef hc::short_vector::longlong2 longlong2;
    -
    79 typedef hc::short_vector::longlong3 longlong3;
    -
    80 typedef hc::short_vector::longlong4 longlong4;
    -
    81 
    -
    82 // Define ulonglong vector types
    -
    83 typedef hc::short_vector::ulonglong1 ulonglong1;
    -
    84 typedef hc::short_vector::ulonglong2 ulonglong2;
    -
    85 typedef hc::short_vector::ulonglong3 ulonglong3;
    -
    86 typedef hc::short_vector::ulonglong4 ulonglong4;
    -
    87 
    -
    88 // Define float vector types
    -
    89 typedef hc::short_vector::float1 float1;
    -
    90 typedef hc::short_vector::float2 float2;
    -
    91 typedef hc::short_vector::float3 float3;
    -
    92 typedef hc::short_vector::float4 float4;
    -
    93 
    -
    94 // Define double vector types
    -
    95 typedef hc::short_vector::double1 double1;
    -
    96 typedef hc::short_vector::double2 double2;
    -
    97 typedef hc::short_vector::double3 double3;
    -
    98 typedef hc::short_vector::double4 double4;
    -
    99 
    -
    100 // Inline functions for creating vector types from basic types
    -
    101 inline char1 make_char1(signed char x) { char1 t; t.x = x; return t; };
    -
    102 inline char2 make_char2(signed char x, signed char y) { char2 t; t.x = x; t.y = y; return t; };
    -
    103 inline char3 make_char3(signed char x, signed char y, signed char z) { char3 t; t.x = x; t.y = y; t.z = z; return t; };
    -
    104 inline char4 make_char4(signed char x, signed char y, signed char z, signed char w) { char4 t; t.x = x; t.y = y; t.z = z; t.w = w; return t; };
    -
    105 
    -
    106 inline uchar1 make_uchar1(unsigned char x) { uchar1 t; t.x = x; return t; };
    -
    107 inline uchar2 make_uchar2(unsigned char x, unsigned char y) { uchar2 t; t.x = x; t.y = y; return t; };
    -
    108 inline uchar3 make_uchar3(unsigned char x, unsigned char y, unsigned char z) { uchar3 t; t.x = x; t.y = y; t.z = z; return t; };
    -
    109 inline uchar4 make_uchar4(unsigned char x, unsigned char y, unsigned char z, unsigned char w) { uchar4 t; t.x = x; t.y = y; t.z = z; t.w = w; return t; };
    +
    34 //-- Signed
    +
    35 // Define char vector types
    +
    36 typedef hc::short_vector::char1 char1;
    +
    37 typedef hc::short_vector::char2 char2;
    +
    38 typedef hc::short_vector::char3 char3;
    +
    39 typedef hc::short_vector::char4 char4;
    +
    40 
    +
    41 // Define short vector types
    +
    42 typedef hc::short_vector::short1 short1;
    +
    43 typedef hc::short_vector::short2 short2;
    +
    44 typedef hc::short_vector::short3 short3;
    +
    45 typedef hc::short_vector::short4 short4;
    +
    46 
    +
    47 // Define int vector types
    +
    48 typedef hc::short_vector::int1 int1;
    +
    49 typedef hc::short_vector::int2 int2;
    +
    50 typedef hc::short_vector::int3 int3;
    +
    51 typedef hc::short_vector::int4 int4;
    +
    52 
    +
    53 // Define long vector types
    +
    54 typedef hc::short_vector::long1 long1;
    +
    55 typedef hc::short_vector::long2 long2;
    +
    56 typedef hc::short_vector::long3 long3;
    +
    57 typedef hc::short_vector::long4 long4;
    +
    58 
    +
    59 // Define longlong vector types
    +
    60 typedef hc::short_vector::longlong1 longlong1;
    +
    61 typedef hc::short_vector::longlong2 longlong2;
    +
    62 typedef hc::short_vector::longlong3 longlong3;
    +
    63 typedef hc::short_vector::longlong4 longlong4;
    +
    64 
    +
    65 
    +
    66 //-- Unsigned
    +
    67 // Define uchar vector types
    +
    68 typedef hc::short_vector::uchar1 uchar1;
    +
    69 typedef hc::short_vector::uchar2 uchar2;
    +
    70 typedef hc::short_vector::uchar3 uchar3;
    +
    71 typedef hc::short_vector::uchar4 uchar4;
    +
    72 
    +
    73 // Define ushort vector types
    +
    74 typedef hc::short_vector::ushort1 ushort1;
    +
    75 typedef hc::short_vector::ushort2 ushort2;
    +
    76 typedef hc::short_vector::ushort3 ushort3;
    +
    77 typedef hc::short_vector::ushort4 ushort4;
    +
    78 
    +
    79 // Define uint vector types
    +
    80 typedef hc::short_vector::uint1 uint1;
    +
    81 typedef hc::short_vector::uint2 uint2;
    +
    82 typedef hc::short_vector::uint3 uint3;
    +
    83 typedef hc::short_vector::uint4 uint4;
    +
    84 
    +
    85 // Define ulong vector types
    +
    86 typedef hc::short_vector::ulong1 ulong1;
    +
    87 typedef hc::short_vector::ulong2 ulong2;
    +
    88 typedef hc::short_vector::ulong3 ulong3;
    +
    89 typedef hc::short_vector::ulong4 ulong4;
    +
    90 
    +
    91 // Define ulonglong vector types
    +
    92 typedef hc::short_vector::ulonglong1 ulonglong1;
    +
    93 typedef hc::short_vector::ulonglong2 ulonglong2;
    +
    94 typedef hc::short_vector::ulonglong3 ulonglong3;
    +
    95 typedef hc::short_vector::ulonglong4 ulonglong4;
    +
    96 
    +
    97 
    +
    98 //-- Floating point
    +
    99 // Define float vector types
    +
    100 typedef hc::short_vector::float1 float1;
    +
    101 typedef hc::short_vector::float2 float2;
    +
    102 typedef hc::short_vector::float3 float3;
    +
    103 typedef hc::short_vector::float4 float4;
    +
    104 
    +
    105 // Define double vector types
    +
    106 typedef hc::short_vector::double1 double1;
    +
    107 typedef hc::short_vector::double2 double2;
    +
    108 typedef hc::short_vector::double3 double3;
    +
    109 typedef hc::short_vector::double4 double4;
    110 
    -
    111 inline short1 make_short1(short x) { short1 t; t.x = x; return t; };
    -
    112 inline short2 make_short2(short x, short y) { short2 t; t.x = x; t.y = y; return t; };
    -
    113 inline short3 make_short3(short x,short y, short z) { short3 t; t.x = x; t.y = y; t.z = z; return t; };
    -
    114 inline short4 make_short4(short x, short y, short z, short w) { short4 t; t.x = x; t.y = y; t.z = z; t.w = w; return t; };
    -
    115 
    -
    116 inline ushort1 make_ushort1(unsigned short x) { ushort1 t; t.x = x; return t; };
    -
    117 inline ushort2 make_ushort2(unsigned short x, unsigned short y) { ushort2 t; t.x = x; t.y = y; return t; };
    -
    118 inline ushort3 make_ushort3(unsigned short x, unsigned short y, unsigned short z) { ushort3 t; t.x = x; t.y = y; t.z = z; return t; };
    -
    119 inline ushort4 make_ushort4(unsigned short x, unsigned short y, unsigned short z, unsigned short w) { ushort4 t; t.x = x; t.y = y; t.z = z; t.w = w; return t; };
    -
    120 
    -
    121 inline int1 make_int1(int x) { int1 t; t.x = x; return t; };
    -
    122 inline int2 make_int2(int x, int y) { int2 t; t.x = x; t.y = y; return t; };
    -
    123 inline int3 make_int3(int x, int y, int z) { int3 t; t.x = x; t.y = y; t.z = z; return t; };
    -
    124 inline int4 make_int4(int x, int y, int z, int w) { int4 t; t.x = x; t.y = y; t.z = z; t.w = w; return t; };
    -
    125 inline uint1 make_uint1(unsigned int x) { uint1 t; t.x = x; return t; };
    -
    126 inline uint2 make_uint2(unsigned int x, unsigned int y) { uint2 t; t.x = x; t.y = y; return t; };
    -
    127 inline uint3 make_uint3(unsigned int x, unsigned int y, unsigned int z) { uint3 t; t.x = x; t.y = y; t.z = z; return t; };
    -
    128 inline uint4 make_uint4(unsigned int x, unsigned int y, unsigned int z, unsigned int w) { uint4 t; t.x = x; t.y = y; t.z = z; t.w = w; return t; };
    -
    129 
    -
    130 inline long1 make_long1(long int x) { long1 t; t.x = x; return t; };
    -
    131 inline long2 make_long2(long int x, long int y) { long2 t; t.x = x; t.y = y; return t; };
    -
    132 inline long3 make_long3(long int x, long int y, long int z) { long3 t; t.x = x; t.y = y; t.z = z; return t; };
    -
    133 inline long4 make_long4(long int x, long int y, long int z, long int w) { long4 t; t.x = x; t.y = y; t.z = z; t.w = w; return t; };
    -
    134 
    -
    135 inline ulong1 make_ulong1(unsigned long int x) { ulong1 t; t.x = x; return t; };
    -
    136 inline ulong2 make_ulong2(unsigned long int x, unsigned long int y) { ulong2 t; t.x = x; t.y = y; return t; };
    -
    137 inline ulong3 make_ulong3(unsigned long int x, unsigned long int y, unsigned long int z) { ulong3 t; t.x = x; t.y = y; t.z = z; return t; };
    -
    138 inline ulong4 make_ulong4(unsigned long int x, unsigned long int y, unsigned long int z, unsigned long int w) { ulong4 t; t.x = x; t.y = y; t.z = z; t.w = w; return t; };
    -
    139 
    -
    140 inline longlong1 make_longlong1(long long int x) { longlong1 t; t.x = x; return t; };
    -
    141 inline longlong2 make_longlong2(long long int x, long long int y) { longlong2 t; t.x = x; t.y = y; return t; };
    -
    142 inline longlong3 make_longlong3(long long int x, long long int y, long long int z) { longlong3 t; t.x = x; t.y = y; t.z = z; return t; };
    -
    143 inline longlong4 make_longlong4(long long int x, long long int y, long long int z, long long int w) { longlong4 t; t.x = x; t.y = y; t.z = z; t.w = w; return t; };
    -
    144 
    -
    145 inline ulonglong1 make_ulonglong1(unsigned long long int x) { ulonglong1 t; t.x = x; return t; };
    -
    146 inline ulonglong2 make_ulonglong2(unsigned long long int x, unsigned long long int y) { ulonglong2 t; t.x = x; t.y = y; return t; };
    -
    147 inline ulonglong3 make_ulonglong3(unsigned long long int x, unsigned long long int y, unsigned long long int z) { ulonglong3 t; t.x = x; t.y = y; t.z = z; return t; };
    -
    148 inline ulonglong4 make_ulonglong4(unsigned long long int x, unsigned long long int y, unsigned long long int z, unsigned long long int w) { ulonglong4 t; t.x = x; t.y = y; t.z = z; t.w = w; return t; };
    -
    149 
    -
    150 inline float1 make_float1(float x) { float1 t; t.x = x; return t; };
    -
    151 inline float2 make_float2(float x, float y) { float2 t; t.x = x; t.y = y; return t; };
    -
    152 inline float3 make_float3(float x, float y, float z) { float3 t; t.x = x; t.y = y; t.z = z; return t; };
    -
    153 inline float4 make_float4(float x, float y, float z, float w) { float4 t; t.x = x; t.y = y; t.z = z; t.w = w; return t; };
    -
    154 
    -
    155 inline double1 make_double1(double x) { double1 t; t.x = x; return t; };
    -
    156 inline double2 make_double2(double x, double y) { double2 t; t.x = x; t.y = y; return t; };
    -
    157 inline double3 make_double3(double x, double y, double z) { double3 t; t.x = x; t.y = y; t.z = z; return t; };
    -
    158 inline double4 make_double4(double x, double y, double z, double w) { double4 t; t.x = x; t.y = y; t.z = z; t.w = w; return t; };
    +
    111 
    +
    113 // Inline functions for creating vector types from basic types
    +
    114 #define ONE_COMPONENT_ACCESS(T, VT) inline VT make_ ##VT (T x) { VT t; t.x = x; return t; };
    +
    115 #define TWO_COMPONENT_ACCESS(T, VT) inline VT make_ ##VT (T x, T y) { VT t; t.x=x; t.y=y; return t; };
    +
    116 #define THREE_COMPONENT_ACCESS(T, VT) inline VT make_ ##VT (T x, T y, T z) { VT t; t.x=x; t.y=y; t.z=z; return t; };
    +
    117 #define FOUR_COMPONENT_ACCESS(T, VT) inline VT make_ ##VT (T x, T y, T z, T w) { VT t; t.x=x; t.y=y; t.z=z; t.w=w; return t; };
    +
    118 
    +
    119 
    +
    120 //signed:
    +
    121 ONE_COMPONENT_ACCESS (signed char, char1);
    +
    122 TWO_COMPONENT_ACCESS (signed char, char2);
    +
    123 THREE_COMPONENT_ACCESS(signed char, char3);
    +
    124 FOUR_COMPONENT_ACCESS (signed char, char4);
    +
    125 
    +
    126 ONE_COMPONENT_ACCESS (short, short1);
    +
    127 TWO_COMPONENT_ACCESS (short, short2);
    +
    128 THREE_COMPONENT_ACCESS(short, short3);
    +
    129 FOUR_COMPONENT_ACCESS (short, short4);
    +
    130 
    +
    131 ONE_COMPONENT_ACCESS (int, int1);
    +
    132 TWO_COMPONENT_ACCESS (int, int2);
    +
    133 THREE_COMPONENT_ACCESS(int, int3);
    +
    134 FOUR_COMPONENT_ACCESS (int, int4);
    +
    135 
    +
    136 ONE_COMPONENT_ACCESS (long int, long1);
    +
    137 TWO_COMPONENT_ACCESS (long int, long2);
    +
    138 THREE_COMPONENT_ACCESS(long int, long3);
    +
    139 FOUR_COMPONENT_ACCESS (long int, long4);
    +
    140 
    +
    141 ONE_COMPONENT_ACCESS (long long int, ulong1);
    +
    142 TWO_COMPONENT_ACCESS (long long int, ulong2);
    +
    143 THREE_COMPONENT_ACCESS(long long int, ulong3);
    +
    144 FOUR_COMPONENT_ACCESS (long long int, ulong4);
    +
    145 
    +
    146 ONE_COMPONENT_ACCESS (long long int, longlong1);
    +
    147 TWO_COMPONENT_ACCESS (long long int, longlong2);
    +
    148 THREE_COMPONENT_ACCESS(long long int, longlong3);
    +
    149 FOUR_COMPONENT_ACCESS (long long int, longlong4);
    +
    150 
    +
    151 
    +
    152 // unsigned:
    +
    153 ONE_COMPONENT_ACCESS (unsigned char, uchar1);
    +
    154 TWO_COMPONENT_ACCESS (unsigned char, uchar2);
    +
    155 THREE_COMPONENT_ACCESS(unsigned char, uchar3);
    +
    156 FOUR_COMPONENT_ACCESS (unsigned char, uchar4);
    +
    157 
    +
    158 ONE_COMPONENT_ACCESS (unsigned short, ushort1);
    +
    159 TWO_COMPONENT_ACCESS (unsigned short, ushort2);
    +
    160 THREE_COMPONENT_ACCESS(unsigned short, ushort3);
    +
    161 FOUR_COMPONENT_ACCESS (unsigned short, ushort4);
    +
    162 
    +
    163 ONE_COMPONENT_ACCESS (unsigned int, uint1);
    +
    164 TWO_COMPONENT_ACCESS (unsigned int, uint2);
    +
    165 THREE_COMPONENT_ACCESS(unsigned int, uint3);
    +
    166 FOUR_COMPONENT_ACCESS (unsigned int, uint4);
    +
    167 
    +
    168 ONE_COMPONENT_ACCESS (unsigned long int, ulong1);
    +
    169 TWO_COMPONENT_ACCESS (unsigned long int, ulong2);
    +
    170 THREE_COMPONENT_ACCESS(unsigned long int, ulong3);
    +
    171 FOUR_COMPONENT_ACCESS (unsigned long int, ulong4);
    +
    172 
    +
    173 ONE_COMPONENT_ACCESS (unsigned long long int, ulong1);
    +
    174 TWO_COMPONENT_ACCESS (unsigned long long int, ulong2);
    +
    175 THREE_COMPONENT_ACCESS(unsigned long long int, ulong3);
    +
    176 FOUR_COMPONENT_ACCESS (unsigned long long int, ulong4);
    +
    177 
    +
    178 ONE_COMPONENT_ACCESS (unsigned long long int, ulonglong1);
    +
    179 TWO_COMPONENT_ACCESS (unsigned long long int, ulonglong2);
    +
    180 THREE_COMPONENT_ACCESS(unsigned long long int, ulonglong3);
    +
    181 FOUR_COMPONENT_ACCESS (unsigned long long int, ulonglong4);
    +
    182 
    +
    183 
    +
    184 //Floating point
    +
    185 ONE_COMPONENT_ACCESS (float, float1);
    +
    186 TWO_COMPONENT_ACCESS (float, float2);
    +
    187 THREE_COMPONENT_ACCESS(float, float3);
    +
    188 FOUR_COMPONENT_ACCESS (float, float4);
    +
    189 
    +
    190 ONE_COMPONENT_ACCESS (double, double1);
    +
    191 TWO_COMPONENT_ACCESS (double, double2);
    +
    192 THREE_COMPONENT_ACCESS(double, double3);
    +
    193 FOUR_COMPONENT_ACCESS (double, double4);
    +
    #define ONE_COMPONENT_ACCESS(T, VT)
    Definition: hip_vector_types.h:114
    diff --git a/docs/RuntimeAPI/html/hierarchy.html b/docs/RuntimeAPI/html/hierarchy.html index f10211f59f..801ddcd197 100644 --- a/docs/RuntimeAPI/html/hierarchy.html +++ b/docs/RuntimeAPI/html/hierarchy.html @@ -104,7 +104,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    diff --git a/docs/RuntimeAPI/html/hip__common_8h_source.html b/docs/RuntimeAPI/html/hip__common_8h_source.html index aa62aa5504..5a5a586bdf 100644 --- a/docs/RuntimeAPI/html/hip__common_8h_source.html +++ b/docs/RuntimeAPI/html/hip__common_8h_source.html @@ -4,7 +4,7 @@ -HIP: Heterogenous-computing Interface for Portability: /home/fpadmin/ben/HIP6/include/hip_common.h Source File +HIP: Heterogenous-computing Interface for Portability: /home/bensander/HIP.public/include/hip_common.h Source File @@ -123,61 +123,65 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    32 #define __HIP_PLATFORM_HCC__
    33 #define __HIPCC__
    34 
    -
    35 # if defined __HCC_ACCELERATOR__
    -
    36 # define __HIP_DEVICE_COMPILE__ 1
    -
    37 # endif
    -
    38 #endif
    -
    39 
    -
    40 // Auto enable __HIP_PLATFORM_NVCC__ if compiling with NVCC
    -
    41 #if defined(__NVCC__)
    -
    42 #define __HIP_PLATFORM_NVCC__
    -
    43 # ifdef __CUDACC__
    -
    44 # define __HIPCC__
    -
    45 # endif
    -
    46 
    -
    47 # ifdef __CUDA_ARCH__
    -
    48 # define __HIP_DEVICE_COMPILE__ 1
    -
    49 # endif
    -
    50 
    -
    51 #endif
    -
    52 
    -
    53 
    -
    54 
    -
    55 
    -
    56 #if __HIP_DEVICE_COMPILE__ == 0
    -
    57 // 32-bit Atomics
    -
    58 #define __HIP_ARCH_HAS_GLOBAL_INT32_ATOMICS__ (0)
    -
    59 #define __HIP_ARCH_HAS_GLOBAL_FLOAT_ATOMIC_EXCH__ (0)
    -
    60 #define __HIP_ARCH_HAS_SHARED_INT32_ATOMICS__ (0)
    -
    61 #define __HIP_ARCH_HAS_SHARED_FLOAT_ATOMIC_EXCH__ (0)
    -
    62 #define __HIP_ARCH_HAS_FLOAT_ATOMIC_ADD__ (0)
    -
    63 
    -
    64 // 64-bit Atomics
    -
    65 #define __HIP_ARCH_HAS_GLOBAL_INT64_ATOMICS__ (0)
    -
    66 #define __HIP_ARCH_HAS_SHARED_INT64_ATOMICS__ (0)
    +
    35 #if defined(__HCC_ACCELERATOR__) and (__HCC_ACCELERATOR__ != 0)
    +
    36 #define __HIP_DEVICE_COMPILE__ 1
    +
    37 #else
    +
    38 #define __HIP_DEVICE_COMPILE__ 0
    +
    39 #endif
    +
    40 #endif
    +
    41 
    +
    42 // Auto enable __HIP_PLATFORM_NVCC__ if compiling with NVCC
    +
    43 #if defined(__NVCC__)
    +
    44 #define __HIP_PLATFORM_NVCC__
    +
    45 # ifdef __CUDACC__
    +
    46 # define __HIPCC__
    +
    47 # endif
    +
    48 
    +
    49 #if defined(__CUDA_ARCH__) and (__CUDA_ARCH__ != 0)
    +
    50 #define __HIP_DEVICE_COMPILE__ 1
    +
    51 #else
    +
    52 #define __HIP_DEVICE_COMPILE__ 0
    +
    53 #endif
    +
    54 
    +
    55 #endif
    +
    56 
    +
    57 
    +
    58 
    +
    59 
    +
    60 #if __HIP_DEVICE_COMPILE__ == 0
    +
    61 // 32-bit Atomics
    +
    62 #define __HIP_ARCH_HAS_GLOBAL_INT32_ATOMICS__ (0)
    +
    63 #define __HIP_ARCH_HAS_GLOBAL_FLOAT_ATOMIC_EXCH__ (0)
    +
    64 #define __HIP_ARCH_HAS_SHARED_INT32_ATOMICS__ (0)
    +
    65 #define __HIP_ARCH_HAS_SHARED_FLOAT_ATOMIC_EXCH__ (0)
    +
    66 #define __HIP_ARCH_HAS_FLOAT_ATOMIC_ADD__ (0)
    67 
    -
    68 // Doubles
    -
    69 #define __HIP_ARCH_HAS_DOUBLES__ (0)
    -
    70 
    -
    71 // Warp cross-lane operations
    -
    72 #define __HIP_ARCH_HAS_WARP_VOTE__ (0)
    -
    73 #define __HIP_ARCH_HAS_WARP_BALLOT__ (0)
    -
    74 #define __HIP_ARCH_HAS_WARP_SHUFFLE__ (0)
    -
    75 #define __HIP_ARCH_HAS_WARP_FUNNEL_SHIFT__ (0)
    -
    76 
    -
    77 // Sync
    -
    78 #define __HIP_ARCH_HAS_THREAD_FENCE_SYSTEM__ (0)
    -
    79 #define __HIP_ARCH_HAS_SYNC_THREAD_EXT__ (0)
    +
    68 // 64-bit Atomics
    +
    69 #define __HIP_ARCH_HAS_GLOBAL_INT64_ATOMICS__ (0)
    +
    70 #define __HIP_ARCH_HAS_SHARED_INT64_ATOMICS__ (0)
    +
    71 
    +
    72 // Doubles
    +
    73 #define __HIP_ARCH_HAS_DOUBLES__ (0)
    +
    74 
    +
    75 // Warp cross-lane operations
    +
    76 #define __HIP_ARCH_HAS_WARP_VOTE__ (0)
    +
    77 #define __HIP_ARCH_HAS_WARP_BALLOT__ (0)
    +
    78 #define __HIP_ARCH_HAS_WARP_SHUFFLE__ (0)
    +
    79 #define __HIP_ARCH_HAS_WARP_FUNNEL_SHIFT__ (0)
    80 
    -
    81 // Misc
    -
    82 #define __HIP_ARCH_HAS_SURFACE_FUNCS__ (0)
    -
    83 #define __HIP_ARCH_HAS_3DGRID__ (0)
    -
    84 #define __HIP_ARCH_HAS_DYNAMIC_PARALLEL__ (0)
    -
    85 #endif
    +
    81 // Sync
    +
    82 #define __HIP_ARCH_HAS_THREAD_FENCE_SYSTEM__ (0)
    +
    83 #define __HIP_ARCH_HAS_SYNC_THREAD_EXT__ (0)
    +
    84 
    +
    85 // Misc
    +
    86 #define __HIP_ARCH_HAS_SURFACE_FUNCS__ (0)
    +
    87 #define __HIP_ARCH_HAS_3DGRID__ (0)
    +
    88 #define __HIP_ARCH_HAS_DYNAMIC_PARALLEL__ (0)
    +
    89 #endif
    diff --git a/docs/RuntimeAPI/html/hip__hcc_8cpp.html b/docs/RuntimeAPI/html/hip__hcc_8cpp.html index 733d1a79a7..adfc13a1df 100644 --- a/docs/RuntimeAPI/html/hip__hcc_8cpp.html +++ b/docs/RuntimeAPI/html/hip__hcc_8cpp.html @@ -4,7 +4,7 @@ -HIP: Heterogenous-computing Interface for Portability: /home/fpadmin/ben/HIP6/src/hip_hcc.cpp File Reference +HIP: Heterogenous-computing Interface for Portability: /home/bensander/HIP.public/src/hip_hcc.cpp File Reference @@ -223,6 +223,9 @@ hc::accelerator_view * ihi hipError_t hipDeviceReset (void)  Destroy all resources and reset all state on the default device in the current process. More...
      +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...
      @@ -283,49 +286,58 @@ template<typename T > 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 hipMemcpyToSymbol (const char *symbolName, const void *src, size_t count, size_t offset, hipMemcpyKind kind) +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) + 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) +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 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 hipDeviceCanAccessPeer (int *canAccessPeer, int device, int peerDevice)  Determine if a device can access a peer's memory. More...
      hipError_t hipDeviceDisablePeerAccess (int peerDevice) + Disables registering memory on peerDevice for direct access from the current device. More...
      hipError_t hipDeviceEnablePeerAccess (int peerDevice, unsigned int flags) + Enables registering memory on peerDevice for direct access from the current device. More...
      - -hipError_t hipMemcpyPeer (void *dst, int dstDevice, const void *src, int srcDevice, size_t sizeBytes) +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) + Copies memory from one device to memory on another device. More...
      hipError_t hipDriverGetVersion (int *driverVersion) - Returns the approximate HIP driver versin. More...
    + Returns the approximate HIP driver version. More...
      hipError_t hipHccGetAccelerator (int deviceId, hc::accelerator *acc) - Return hc::acclerator associated with the specified deviceId. More...
    + Return hc::accelerator associated with the specified deviceId. More...
      hipError_t hipHccGetAcceleratorView (hipStream_t stream, hc::accelerator_view **av) - Return hc::acclerator_view associated with the specified stream. More...
    + Return hc::accelerator_view associated with the specified stream. More...
     

    @@ -466,7 +478,7 @@ std::vector< ihipDevice_t & diff --git a/docs/RuntimeAPI/html/hip__runtime_8h_source.html b/docs/RuntimeAPI/html/hip__runtime_8h_source.html index d79618630c..40c09acfeb 100644 --- a/docs/RuntimeAPI/html/hip__runtime_8h_source.html +++ b/docs/RuntimeAPI/html/hip__runtime_8h_source.html @@ -4,7 +4,7 @@ -HIP: Heterogenous-computing Interface for Portability: /home/fpadmin/ben/HIP6/include/hip_runtime.h Source File +HIP: Heterogenous-computing Interface for Portability: /home/bensander/HIP.public/include/hip_runtime.h Source File @@ -135,14 +135,16 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    54 #endif
    55 
    56 
    -
    57 #include <hip_runtime_api.h>
    -
    58 #include <hip_vector_types.h>
    +
    57 #include <hip_runtime_api.h>
    +
    58 #include <hip_vector_types.h>
    59 
    - + +
    Contains definitions of APIs for HIP runtime.
    + diff --git a/docs/RuntimeAPI/html/hip__runtime__api_8h_source.html b/docs/RuntimeAPI/html/hip__runtime__api_8h_source.html index 66d3cc5cfa..4ef99226aa 100644 --- a/docs/RuntimeAPI/html/hip__runtime__api_8h_source.html +++ b/docs/RuntimeAPI/html/hip__runtime__api_8h_source.html @@ -4,7 +4,7 @@ -HIP: Heterogenous-computing Interface for Portability: /home/fpadmin/ben/HIP6/include/hip_runtime_api.h Source File +HIP: Heterogenous-computing Interface for Portability: /home/bensander/HIP.public/include/hip_runtime_api.h Source File @@ -117,21 +117,21 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    33 #include <hip_common.h>
    34 
    35 typedef struct {
    -
    36  // 32-bit Atomics:
    +
    36  // 32-bit Atomics
    37  unsigned hasGlobalInt32Atomics : 1;
    38  unsigned hasGlobalFloatAtomicExch : 1;
    39  unsigned hasSharedInt32Atomics : 1;
    40  unsigned hasSharedFloatAtomicExch : 1;
    41  unsigned hasFloatAtomicAdd : 1;
    42 
    -
    43  // 64-bit Atomics:
    +
    43  // 64-bit Atomics
    44  unsigned hasGlobalInt64Atomics : 1;
    45  unsigned hasSharedInt64Atomics : 1;
    46 
    47  // Doubles
    48  unsigned hasDoubles : 1;
    49 
    -
    50  // Warp cross-lane operations:
    +
    50  // Warp cross-lane operations
    51  unsigned hasWarpVote : 1;
    52  unsigned hasWarpBallot : 1;
    53  unsigned hasWarpShuffle : 1;
    @@ -152,115 +152,175 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    68 // Common headers for both NVCC and HCC paths:
    69 
    74 typedef struct hipDeviceProp_t {
    -
    75  char name[256];
    -
    76  size_t totalGlobalMem;
    - -
    78  int regsPerBlock ;
    -
    79  int warpSize ;
    - -
    81  int maxThreadsDim[3];
    -
    82  int maxGridSize[3];
    -
    83  int clockRate ;
    -
    84 
    -
    85  size_t totalConstMem;
    -
    86  int major ;
    -
    87  int minor;
    - - - - -
    92 
    - -
    94 
    - - -
    97 
    -
    98 
    -
    99 // hack to get these to show up in Doxygen:
    -
    107 /*
    -
    108  * @brief hipError_t
    -
    109  * @enum
    -
    110  * @ingroup Enumerations
    -
    111  */
    -
    112 typedef enum hipError_t {
    - - - - - - - - - - -
    123 
    - - -
    126 } hipError_t;
    -
    127 
    +
    75  char name[256];
    +
    76  size_t totalGlobalMem;
    + + +
    79  int warpSize;
    + +
    81  int maxThreadsDim[3];
    +
    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 
    -
    134 #if defined(__HIP_PLATFORM_HCC__) and not defined (__HIP_PLATFORM_NVCC__)
    -
    135 #include "hcc_detail/hip_runtime_api.h"
    -
    136 #elif defined(__HIP_PLATFORM_NVCC__) and not defined (__HIP_PLATFORM_HCC__)
    -
    137 #include "nvcc_detail/hip_runtime_api.h"
    -
    138 #else
    -
    139 #error("Must define exactly one of __HIP_PLATFORM_HCC__ or __HIP_PLATFORM_NVCC__");
    -
    140 #endif
    -
    141 
    -
    142 
    -
    150 #ifdef __cplusplus
    -
    151 template<class T>
    -
    152 static inline hipError_t hipMalloc ( T** devPtr, size_t size)
    -
    153 {
    -
    154  return hipMalloc((void**)devPtr, size);
    -
    155 }
    -
    156 
    -
    157 template<class T>
    -
    158 static inline hipError_t hipMallocHost ( T** ptr, size_t size)
    -
    159 {
    -
    160  return hipMallocHost((void**)ptr, size);
    -
    161 }
    -
    162 #endif
    -
    Call to cudaGetDeviceCount returned 0 devices.
    Definition: hip_runtime_api.h:121
    -
    size_t totalConstMem
    Size of shared memory region (in bytes)
    Definition: hip_runtime_api.h:85
    -
    Unknown symbol.
    Definition: hip_runtime_api.h:116
    -
    Successful completion.
    Definition: hip_runtime_api.h:113
    +
    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
    -
    int regsPerBlock
    registers per block
    Definition: hip_runtime_api.h:78
    -
    DeviceID must be in range 0...#compute-devices.
    Definition: hip_runtime_api.h:120
    -
    int clockRate
    max clock frequency of the multiProcessors, in khz.
    Definition: hip_runtime_api.h:83
    -
    Out of resources error.
    Definition: hip_runtime_api.h:117
    -
    Unknown error.
    Definition: hip_runtime_api.h:124
    -
    int maxThreadsPerBlock
    max work items per work group or workgroup max size
    Definition: hip_runtime_api.h:80
    -
    size_t sharedMemPerBlock
    Size of shared memory region (in bytes)
    Definition: hip_runtime_api.h:77
    +
    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
    +
    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
    +
    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
    +
    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
    +
    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
    -
    Resource handle (hipEvent_t or hipStream_t) invalid.
    Definition: hip_runtime_api.h:119
    -
    Memory allocation error.
    Definition: hip_runtime_api.h:114
    -
    hipDeviceArch_t arch
    Architectural feature flags. New for HIP.
    Definition: hip_runtime_api.h:95
    -
    int maxGridSize[3]
    max grid dimensions (XYZ)
    Definition: hip_runtime_api.h:82
    +
    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 maxGridSize[3]
    Max grid dimensions (XYZ).
    Definition: hip_runtime_api.h:82
    int computeMode
    Compute mode.
    Definition: hip_runtime_api.h:91
    -
    hipError_t hipMallocHost(void **ptr, size_t size)
    Definition: hip_hcc.cpp:1289
    -
    Marker that more error codes are needed.
    Definition: hip_runtime_api.h:125
    +
    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
    -
    hipError_t
    Definition: hip_runtime_api.h:112
    -
    int clockInstructionRate
    Frequency in khz of the timer used by the device-side "clock*" instructions. New for HIP...
    Definition: hip_runtime_api.h:93
    -
    Memory free error.
    Definition: hip_runtime_api.h:115
    -
    int warpSize
    warp size
    Definition: hip_runtime_api.h:79
    -
    size_t totalGlobalMem
    Size of global memory region (in bytes)
    Definition: hip_runtime_api.h:76
    -
    hipError_t hipMalloc(void **ptr, size_t size)
    Definition: hip_hcc.cpp:1268
    -
    int maxThreadsDim[3]
    max number of threads in each dimension (XYZ) of a block
    Definition: hip_runtime_api.h:81
    -
    One or more of the paramters passed to the API call is NULL or not in an acceptable range...
    Definition: hip_runtime_api.h:118
    +
    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 warpSize
    Warp size.
    Definition: hip_runtime_api.h:79
    +
    int concurrentKernels
    Device can possibly execute multiple kernels concurrently.
    Definition: hip_runtime_api.h:94
    +
    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
    +
    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
    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:122
    +
    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
    char name[256]
    Device name.
    Definition: hip_runtime_api.h:75
    Definition: hip_runtime_api.h:35
    -
    int multiProcessorCount
    number of multi-processors (compute units)
    Definition: hip_runtime_api.h:88
    +
    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
    diff --git a/docs/RuntimeAPI/html/hip__texture_8h_source.html b/docs/RuntimeAPI/html/hip__texture_8h_source.html index 9888a5c9a5..cdf660b728 100644 --- a/docs/RuntimeAPI/html/hip__texture_8h_source.html +++ b/docs/RuntimeAPI/html/hip__texture_8h_source.html @@ -4,7 +4,7 @@ -HIP: Heterogenous-computing Interface for Portability: /home/fpadmin/ben/HIP6/include/hcc_detail/hip_texture.h Source File +HIP: Heterogenous-computing Interface for Portability: /home/bensander/HIP.public/include/hcc_detail/hip_texture.h Source File @@ -89,7 +89,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    hip_texture.h
    -
    1 /*
    +Go to the documentation of this file.
    1 /*
    2 Copyright (c) 2015-2016 Advanced Micro Devices, Inc. All rights reserved.
    3 
    4 Permission is hereby granted, free of charge, to any person obtaining a copy
    @@ -112,7 +112,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    21 */
    22 #pragma once
    23 
    -
    28 #include <limits.h>
    +
    28 #include <limits.h>
    29 
    30 #include <hip_runtime.h>
    31 
    @@ -125,18 +125,18 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    38  int _dummy;
    40 
    -
    41 typedef enum hipTextureReadMode
    +
    41 typedef enum hipTextureReadMode
    42 {
    -
    43  hipReadModeElementType,
    -
    44 } hipTextureReadMode;
    + +
    46 
    -
    47 typedef enum hipTextureFilterMode
    +
    48 {
    -
    49  hipFilterModePoint,
    -
    50 } hipTextureFilterMode;
    + +
    52 
    -
    54  hipTextureFilterMode filterMode;
    +
    54  hipTextureFilterMode filterMode;
    55  bool normalized;
    56  hipChannelFormatDesc channelDesc;
    57 };
    @@ -160,7 +160,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    82 // These are C++ APIs - maybe belong in separate file.
    106 // C API:
    107 #if 0
    -
    108 hipChannelFormatDesc hipBindTexture(size_t *offset, struct textureReference *tex, const void *devPtr, const struct hipChannelFormatDesc *desc, size_t size=UINT_MAX)
    +
    108 hipChannelFormatDesc hipBindTexture(size_t *offset, struct textureReference *tex, const void *devPtr, const struct hipChannelFormatDesc *desc, size_t size=UINT_MAX)
    109 {
    110  tex->_dataPtr = devPtr;
    111 }
    @@ -171,7 +171,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    116  **/
    117 // TODO
    118 template <class T>
    -
    119 hipChannelFormatDesc hipCreateChannelDesc()
    +
    119 hipChannelFormatDesc hipCreateChannelDesc()
    120 {
    122  return desc;
    @@ -182,11 +182,11 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    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)
    +
    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 
    @@ -199,10 +199,10 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    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)
    +
    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);
    153 }
    @@ -224,16 +224,20 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    169 
    170 // doxygen end Texture
    176 // End doxygen API:
    -
    Successful completion.
    Definition: hip_runtime_api.h:113
    +
    Definition: hip_texture.h:43
    +
    Successful completion.
    Definition: hip_runtime_api.h:115
    +
    Definition: hip_texture.h:49
    Definition: hip_texture.h:53
    - -
    hipError_t
    Definition: hip_runtime_api.h:112
    +
    Contains definitions of APIs for HIP runtime.
    +
    hipError_t
    Definition: hip_runtime_api.h:114
    +
    hipTextureReadMode
    Definition: hip_texture.h:41
    +
    hipTextureFilterMode
    Definition: hip_texture.h:47
    Definition: hip_texture.h:36
    Definition: hip_texture.h:60
    diff --git a/docs/RuntimeAPI/html/hip__vector__types_8h_source.html b/docs/RuntimeAPI/html/hip__vector__types_8h_source.html index 15eba01435..b12e96e36d 100644 --- a/docs/RuntimeAPI/html/hip__vector__types_8h_source.html +++ b/docs/RuntimeAPI/html/hip__vector__types_8h_source.html @@ -4,7 +4,7 @@ -HIP: Heterogenous-computing Interface for Portability: /home/fpadmin/ben/HIP6/include/hip_vector_types.h Source File +HIP: Heterogenous-computing Interface for Portability: /home/bensander/HIP.public/include/hip_vector_types.h Source File @@ -117,16 +117,17 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    27 
    28 
    29 #if defined(__HIP_PLATFORM_HCC__) and not defined (__HIP_PLATFORM_NVCC__)
    -
    30 #include <hcc_detail/hip_vector_types.h>
    +
    31 #elif defined(__HIP_PLATFORM_NVCC__) and not defined (__HIP_PLATFORM_HCC__)
    32 #include <vector_types.h>
    33 #else
    34 #error("Must define exactly one of __HIP_PLATFORM_HCC__ or __HIP_PLATFORM_NVCC__");
    35 #endif
    +
    Defines the different newt vector types for HIP runtime.
    diff --git a/docs/RuntimeAPI/html/host__defines_8h_source.html b/docs/RuntimeAPI/html/host__defines_8h_source.html index c10f6c5202..f4430d5190 100644 --- a/docs/RuntimeAPI/html/host__defines_8h_source.html +++ b/docs/RuntimeAPI/html/host__defines_8h_source.html @@ -4,7 +4,7 @@ -HIP: Heterogenous-computing Interface for Portability: /home/fpadmin/ben/HIP6/include/hcc_detail/host_defines.h Source File +HIP: Heterogenous-computing Interface for Portability: /home/bensander/HIP.public/include/hcc_detail/host_defines.h Source File @@ -89,7 +89,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    host_defines.h
    -
    1 /*
    +Go to the documentation of this file.
    1 /*
    2 Copyright (c) 2015-2016 Advanced Micro Devices, Inc. All rights reserved.
    3 
    4 Permission is hereby granted, free of charge, to any person obtaining a copy
    @@ -110,47 +110,48 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    19 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
    20 THE SOFTWARE.
    21 */
    -
    22 #ifdef __HCC__
    -
    23 
    -
    26 #define __host__ __attribute__((cpu))
    -
    27 #define __device__ __attribute__((hc))
    -
    28 
    -
    29 #ifndef DISABLE_GRID_LAUNCH
    -
    30 #define __global__ __attribute__((hc_grid_launch))
    -
    31 #else
    -
    32 #define __global__
    -
    33 #endif
    +
    22 
    +
    28 #ifdef __HCC__
    +
    29 
    +
    32 #define __host__ __attribute__((cpu))
    +
    33 #define __device__ __attribute__((hc))
    34 
    -
    35 #define __noinline__ __attribute__((noinline))
    -
    36 #define __forceinline__ __attribute__((always_inline))
    -
    37 
    -
    38 
    -
    39 
    -
    40 /*
    -
    41  * Variable Type Qualifiers:
    -
    42  */
    -
    43 // _restrict is supported by the compiler
    -
    44 #define __shared__ tile_static
    -
    45 #define __constant__ __attribute__((address_space(2)))
    -
    46 
    -
    47 #else
    -
    48 // Non-HCC compiler
    -
    52 #define __host__
    -
    53 #define __device__
    -
    54 
    -
    55 #define __global__
    -
    56 
    -
    57 #define __noinline__
    -
    58 #define __forceinline__
    -
    59 
    -
    60 #define __shared__
    -
    61 #define __constant__
    +
    35 #ifndef DISABLE_GRID_LAUNCH
    +
    36 #define __global__ __attribute__((hc_grid_launch))
    +
    37 #else
    +
    38 #define __global__
    +
    39 #endif
    +
    40 
    +
    41 #define __noinline__ __attribute__((noinline))
    +
    42 #define __forceinline__ __attribute__((always_inline))
    +
    43 
    +
    44 
    +
    45 
    +
    46 /*
    +
    47  * Variable Type Qualifiers:
    +
    48  */
    +
    49 // _restrict is supported by the compiler
    +
    50 #define __shared__ tile_static
    +
    51 #define __constant__ __attribute__((address_space(2)))
    +
    52 
    +
    53 #else
    +
    54 // Non-HCC compiler
    +
    58 #define __host__
    +
    59 #define __device__
    +
    60 
    +
    61 #define __global__
    62 
    -
    63 #endif
    +
    63 #define __noinline__
    +
    64 #define __forceinline__
    +
    65 
    +
    66 #define __shared__
    +
    67 #define __constant__
    +
    68 
    +
    69 #endif
    diff --git a/docs/RuntimeAPI/html/index.html b/docs/RuntimeAPI/html/index.html index 7fc6c60b4d..8ba01822a2 100644 --- a/docs/RuntimeAPI/html/index.html +++ b/docs/RuntimeAPI/html/index.html @@ -91,7 +91,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    diff --git a/docs/RuntimeAPI/html/modules.html b/docs/RuntimeAPI/html/modules.html index d2d046519d..6c65a6cbdd 100644 --- a/docs/RuntimeAPI/html/modules.html +++ b/docs/RuntimeAPI/html/modules.html @@ -99,7 +99,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/RuntimeAPI/html/pages.html b/docs/RuntimeAPI/html/pages.html index 1ac5403b3f..ecccd28e6d 100644 --- a/docs/RuntimeAPI/html/pages.html +++ b/docs/RuntimeAPI/html/pages.html @@ -88,7 +88,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/RuntimeAPI/html/search/all_0.js b/docs/RuntimeAPI/html/search/all_0.js index 2fba32867b..00fe08ccff 100644 --- a/docs/RuntimeAPI/html/search/all_0.js +++ b/docs/RuntimeAPI/html/search/all_0.js @@ -1,4 +1,4 @@ var searchData= [ - ['arch',['arch',['../structhipDeviceProp__t.html#afc58158e44bef6ad26f2be401434b049',1,'hipDeviceProp_t']]] + ['_5f_5fhost_5f_5f',['__host__',['../host__defines_8h.html#a803050db3c78e0db3ea59a0c35499622',1,'host_defines.h']]] ]; diff --git a/docs/RuntimeAPI/html/search/all_1.js b/docs/RuntimeAPI/html/search/all_1.js index 8d42650d49..2fba32867b 100644 --- a/docs/RuntimeAPI/html/search/all_1.js +++ b/docs/RuntimeAPI/html/search/all_1.js @@ -1,4 +1,4 @@ var searchData= [ - ['bug_20list',['Bug List',['../bug.html',1,'']]] + ['arch',['arch',['../structhipDeviceProp__t.html#afc58158e44bef6ad26f2be401434b049',1,'hipDeviceProp_t']]] ]; diff --git a/docs/RuntimeAPI/html/search/all_10.js b/docs/RuntimeAPI/html/search/all_10.js index 133dd9dc6e..9043ae6945 100644 --- a/docs/RuntimeAPI/html/search/all_10.js +++ b/docs/RuntimeAPI/html/search/all_10.js @@ -1,4 +1,7 @@ var searchData= [ - ['y',['y',['../structdim3.html#a83e60e072f7e8bdfde6ac05053cbb370',1,'dim3']]] + ['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/docs/RuntimeAPI/html/search/all_11.js b/docs/RuntimeAPI/html/search/all_11.js index e8bf38b99c..46a1400a7b 100644 --- a/docs/RuntimeAPI/html/search/all_11.js +++ b/docs/RuntimeAPI/html/search/all_11.js @@ -1,4 +1,4 @@ var searchData= [ - ['z',['z',['../structdim3.html#a866e38993ecc4e76fd47311236c16b04',1,'dim3']]] + ['warpsize',['warpSize',['../structhipDeviceProp__t.html#af3357d33c004608bf05bc21a352be81b',1,'hipDeviceProp_t']]] ]; diff --git a/docs/RuntimeAPI/html/search/all_2.js b/docs/RuntimeAPI/html/search/all_2.js index f928b2e2ec..8d42650d49 100644 --- a/docs/RuntimeAPI/html/search/all_2.js +++ b/docs/RuntimeAPI/html/search/all_2.js @@ -1,7 +1,4 @@ var searchData= [ - ['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']]], - ['control',['Control',['../group__Profiler.html',1,'']]] + ['bug_20list',['Bug List',['../bug.html',1,'']]] ]; diff --git a/docs/RuntimeAPI/html/search/all_3.js b/docs/RuntimeAPI/html/search/all_3.js index d715da215b..e6f0e7edea 100644 --- a/docs/RuntimeAPI/html/search/all_3.js +++ b/docs/RuntimeAPI/html/search/all_3.js @@ -1,6 +1,8 @@ var searchData= [ - ['device_20management',['Device Management',['../group__Device.html',1,'']]], - ['dim3',['dim3',['../structdim3.html',1,'dim3'],['../group__GlobalDefs.html#gacb37281795c3567d0b10a61c056d512b',1,'dim3(): hip_runtime_api.h']]], - ['device_20memory_20access',['Device Memory Access',['../group__PeerToPeer.html',1,'']]] + ['clockinstructionrate',['clockInstructionRate',['../structhipDeviceProp__t.html#a6fbf3b08a1a08ae700f1a06265f6666b',1,'hipDeviceProp_t']]], + ['clockrate',['clockRate',['../structhipDeviceProp__t.html#a1dd15bee43692b8649dfbdc1adbaaf96',1,'hipDeviceProp_t']]], + ['computemode',['computeMode',['../structhipDeviceProp__t.html#ae7d9216f8583a703359d0b9373823f5d',1,'hipDeviceProp_t']]], + ['concurrentkernels',['concurrentKernels',['../structhipDeviceProp__t.html#ad8461a28caf9c38c58cf358583b5bee3',1,'hipDeviceProp_t']]], + ['control',['Control',['../group__Profiler.html',1,'']]] ]; diff --git a/docs/RuntimeAPI/html/search/all_4.js b/docs/RuntimeAPI/html/search/all_4.js index c9fd17e83e..d715da215b 100644 --- a/docs/RuntimeAPI/html/search/all_4.js +++ b/docs/RuntimeAPI/html/search/all_4.js @@ -1,5 +1,6 @@ var searchData= [ - ['error_20handling',['Error Handling',['../group__Error.html',1,'']]], - ['event_20management',['Event Management',['../group__Event.html',1,'']]] + ['device_20management',['Device Management',['../group__Device.html',1,'']]], + ['dim3',['dim3',['../structdim3.html',1,'dim3'],['../group__GlobalDefs.html#gacb37281795c3567d0b10a61c056d512b',1,'dim3(): hip_runtime_api.h']]], + ['device_20memory_20access',['Device Memory Access',['../group__PeerToPeer.html',1,'']]] ]; diff --git a/docs/RuntimeAPI/html/search/all_5.js b/docs/RuntimeAPI/html/search/all_5.js index 529e9394c3..c9fd17e83e 100644 --- a/docs/RuntimeAPI/html/search/all_5.js +++ b/docs/RuntimeAPI/html/search/all_5.js @@ -1,4 +1,5 @@ var searchData= [ - ['global_20enum_20and_20defines',['Global enum and defines',['../group__GlobalDefs.html',1,'']]] + ['error_20handling',['Error Handling',['../group__Error.html',1,'']]], + ['event_20management',['Event Management',['../group__Event.html',1,'']]] ]; diff --git a/docs/RuntimeAPI/html/search/all_6.js b/docs/RuntimeAPI/html/search/all_6.js index 84510111be..529e9394c3 100644 --- a/docs/RuntimeAPI/html/search/all_6.js +++ b/docs/RuntimeAPI/html/search/all_6.js @@ -1,107 +1,4 @@ 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_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']]], - ['hipchannelformatdesc',['hipChannelFormatDesc',['../structhipChannelFormatDesc.html',1,'']]], - ['hipdevicearch_5ft',['hipDeviceArch_t',['../structhipDeviceArch__t.html',1,'']]], - ['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']]], - ['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']]], - ['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']]], - ['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']]], - ['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']]], - ['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']]], - ['hipthreadidx_5fx',['hipThreadIdx_x',['../hcc__detail_2hip__runtime_8h.html#a48f5f9da77c5fab1fbcf0205bb347d89',1,'hip_runtime.h']]], - ['heterogeneous_2dcomputing_20interface_20for_20portability_20_28hip_29',['Heterogeneous-computing Interface for Portability (HIP)',['../index.html',1,'']]] + ['global_20enum_20and_20defines',['Global enum and defines',['../group__GlobalDefs.html',1,'']]] ]; diff --git a/docs/RuntimeAPI/html/search/all_7.js b/docs/RuntimeAPI/html/search/all_7.js index 69beb95adf..be2e145b56 100644 --- a/docs/RuntimeAPI/html/search/all_7.js +++ b/docs/RuntimeAPI/html/search/all_7.js @@ -1,6 +1,144 @@ 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']]], + ['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,'']]] ]; diff --git a/docs/RuntimeAPI/html/search/all_8.js b/docs/RuntimeAPI/html/search/all_8.js index 41a7c59602..69beb95adf 100644 --- a/docs/RuntimeAPI/html/search/all_8.js +++ b/docs/RuntimeAPI/html/search/all_8.js @@ -1,4 +1,6 @@ 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,'']]], + ['ihipstream_5ft',['ihipStream_t',['../structihipStream__t.html',1,'']]] ]; diff --git a/docs/RuntimeAPI/html/search/all_9.js b/docs/RuntimeAPI/html/search/all_9.js index fd7cb073be..41a7c59602 100644 --- a/docs/RuntimeAPI/html/search/all_9.js +++ b/docs/RuntimeAPI/html/search/all_9.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']]], - ['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,'']]], - ['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/docs/RuntimeAPI/html/search/all_a.js b/docs/RuntimeAPI/html/search/all_a.js index 124bf0ddb8..ea8ffca597 100644 --- a/docs/RuntimeAPI/html/search/all_a.js +++ b/docs/RuntimeAPI/html/search/all_a.js @@ -1,4 +1,14 @@ 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,'']]], + ['memoryclockrate',['memoryClockRate',['../structhipDeviceProp__t.html#a6db0ab8e7e8cc13c84d7bb7f70226d5e',1,'hipDeviceProp_t']]], + ['minor',['minor',['../structhipDeviceProp__t.html#abb51208e2509a7a1d107f0da69108938',1,'hipDeviceProp_t']]], + ['multiprocessorcount',['multiProcessorCount',['../structhipDeviceProp__t.html#add8d9d2ad52aece9fd1dbe25c18d9d57',1,'hipDeviceProp_t']]], + ['management',['Management',['../group__Version.html',1,'']]] ]; diff --git a/docs/RuntimeAPI/html/search/all_b.js b/docs/RuntimeAPI/html/search/all_b.js index 44ba50e0b7..124bf0ddb8 100644 --- a/docs/RuntimeAPI/html/search/all_b.js +++ b/docs/RuntimeAPI/html/search/all_b.js @@ -1,4 +1,4 @@ var searchData= [ - ['regsperblock',['regsPerBlock',['../structhipDeviceProp__t.html#a73c1c21648a901799ff6bef83c11135b',1,'hipDeviceProp_t']]] + ['name',['name',['../structhipDeviceProp__t.html#a5b44bf8fa46faefcde989942b1d11a5e',1,'hipDeviceProp_t']]] ]; diff --git a/docs/RuntimeAPI/html/search/all_c.js b/docs/RuntimeAPI/html/search/all_c.js index 559f8252a3..3eaae3688b 100644 --- a/docs/RuntimeAPI/html/search/all_c.js +++ b/docs/RuntimeAPI/html/search/all_c.js @@ -1,5 +1,4 @@ var searchData= [ - ['sharedmemperblock',['sharedMemPerBlock',['../structhipDeviceProp__t.html#a3b9138678a0795c2677eddcfb1c67156',1,'hipDeviceProp_t']]], - ['stream_20management',['Stream Management',['../group__Stream.html',1,'']]] + ['one_5fcomponent_5faccess',['ONE_COMPONENT_ACCESS',['../hcc__detail_2hip__vector__types_8h.html#add5d9c0f058c5a52c2b9165a66035d0e',1,'hip_vector_types.h']]] ]; diff --git a/docs/RuntimeAPI/html/search/all_d.js b/docs/RuntimeAPI/html/search/all_d.js index 9043ae6945..71b6a5df56 100644 --- a/docs/RuntimeAPI/html/search/all_d.js +++ b/docs/RuntimeAPI/html/search/all_d.js @@ -1,7 +1,5 @@ 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']]] + ['pcibusid',['pciBusID',['../structhipDeviceProp__t.html#a1350f64d49b717ed3a06458f7549ccb0',1,'hipDeviceProp_t']]], + ['pcideviceid',['pciDeviceID',['../structhipDeviceProp__t.html#ae6aa845dc2d540f85098ea30be35f4eb',1,'hipDeviceProp_t']]] ]; diff --git a/docs/RuntimeAPI/html/search/all_e.js b/docs/RuntimeAPI/html/search/all_e.js index 46a1400a7b..44ba50e0b7 100644 --- a/docs/RuntimeAPI/html/search/all_e.js +++ b/docs/RuntimeAPI/html/search/all_e.js @@ -1,4 +1,4 @@ var searchData= [ - ['warpsize',['warpSize',['../structhipDeviceProp__t.html#af3357d33c004608bf05bc21a352be81b',1,'hipDeviceProp_t']]] + ['regsperblock',['regsPerBlock',['../structhipDeviceProp__t.html#a73c1c21648a901799ff6bef83c11135b',1,'hipDeviceProp_t']]] ]; diff --git a/docs/RuntimeAPI/html/search/all_f.js b/docs/RuntimeAPI/html/search/all_f.js index 250c203caf..559f8252a3 100644 --- a/docs/RuntimeAPI/html/search/all_f.js +++ b/docs/RuntimeAPI/html/search/all_f.js @@ -1,4 +1,5 @@ var searchData= [ - ['x',['x',['../structdim3.html#ac866c05f83a28dac20a153fc65b3b16c',1,'dim3']]] + ['sharedmemperblock',['sharedMemPerBlock',['../structhipDeviceProp__t.html#a3b9138678a0795c2677eddcfb1c67156',1,'hipDeviceProp_t']]], + ['stream_20management',['Stream Management',['../group__Stream.html',1,'']]] ]; diff --git a/docs/RuntimeAPI/html/search/defines_0.js b/docs/RuntimeAPI/html/search/defines_0.js index c7c61558ca..00fe08ccff 100644 --- a/docs/RuntimeAPI/html/search/defines_0.js +++ b/docs/RuntimeAPI/html/search/defines_0.js @@ -1,4 +1,4 @@ var searchData= [ - ['hipthreadidx_5fx',['hipThreadIdx_x',['../hcc__detail_2hip__runtime_8h.html#a48f5f9da77c5fab1fbcf0205bb347d89',1,'hip_runtime.h']]] + ['_5f_5fhost_5f_5f',['__host__',['../host__defines_8h.html#a803050db3c78e0db3ea59a0c35499622',1,'host_defines.h']]] ]; diff --git a/docs/RuntimeAPI/html/search/enums_0.js b/docs/RuntimeAPI/html/search/enums_0.js index c47574066e..8258fd4f05 100644 --- a/docs/RuntimeAPI/html/search/enums_0.js +++ b/docs/RuntimeAPI/html/search/enums_0.js @@ -1,7 +1,10 @@ var searchData= [ + ['hipdeviceattribute_5ft',['hipDeviceAttribute_t',['../group__GlobalDefs.html#gacc0acd7b9bda126c6bb3dfd6e2796d7c',1,'hip_runtime_api.h']]], ['hiperror_5ft',['hipError_t',['../group__GlobalDefs.html#gadf5010f6e140a53ecbdf949e73e87594',1,'hip_runtime_api.h']]], ['hipfunccache',['hipFuncCache',['../group__GlobalDefs.html#gac7e4bfd88340fc06642136c839a3d822',1,'hip_runtime_api.h']]], ['hipmemcpykind',['hipMemcpyKind',['../group__GlobalDefs.html#ga232e222db36b1fc672ba98054d036a18',1,'hip_runtime_api.h']]], - ['hipsharedmemconfig',['hipSharedMemConfig',['../group__GlobalDefs.html#ga2e17b71d94ac350f2ccd914fd49d104e',1,'hip_runtime_api.h']]] + ['hipsharedmemconfig',['hipSharedMemConfig',['../group__GlobalDefs.html#ga2e17b71d94ac350f2ccd914fd49d104e',1,'hip_runtime_api.h']]], + ['hiptexturefiltermode',['hipTextureFilterMode',['../hip__texture_8h.html#aa2f0b6002b81d0a43a808cb880bb21e6',1,'hip_texture.h']]], + ['hiptexturereadmode',['hipTextureReadMode',['../hip__texture_8h.html#a442e950774f7306dc33692e358c92c94',1,'hip_texture.h']]] ]; diff --git a/docs/RuntimeAPI/html/search/enumvalues_0.js b/docs/RuntimeAPI/html/search/enumvalues_0.js index bb82e15f9b..5fadbd65af 100644 --- a/docs/RuntimeAPI/html/search/enumvalues_0.js +++ b/docs/RuntimeAPI/html/search/enumvalues_0.js @@ -1,5 +1,28 @@ var searchData= [ + ['hipdeviceattributeclockrate',['hipDeviceAttributeClockRate',['../group__GlobalDefs.html#ggacc0acd7b9bda126c6bb3dfd6e2796d7ca2300e077e020e7967592065561373b00',1,'hip_runtime_api.h']]], + ['hipdeviceattributecomputecapabilitymajor',['hipDeviceAttributeComputeCapabilityMajor',['../group__GlobalDefs.html#ggacc0acd7b9bda126c6bb3dfd6e2796d7ca2735739cf977b7d303266f6781131e8d',1,'hip_runtime_api.h']]], + ['hipdeviceattributecomputecapabilityminor',['hipDeviceAttributeComputeCapabilityMinor',['../group__GlobalDefs.html#ggacc0acd7b9bda126c6bb3dfd6e2796d7ca38edc4fcae456e47160d349da3249b85',1,'hip_runtime_api.h']]], + ['hipdeviceattributecomputemode',['hipDeviceAttributeComputeMode',['../group__GlobalDefs.html#ggacc0acd7b9bda126c6bb3dfd6e2796d7ca4d0369a6ef7bd7890fdcabc16ed3385d',1,'hip_runtime_api.h']]], + ['hipdeviceattributeconcurrentkernels',['hipDeviceAttributeConcurrentKernels',['../group__GlobalDefs.html#ggacc0acd7b9bda126c6bb3dfd6e2796d7cad9f45254d0d048677f560032532d5504',1,'hip_runtime_api.h']]], + ['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']]], ['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']]], @@ -11,6 +34,7 @@ var searchData= ['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']]], + ['hipfiltermodepoint',['hipFilterModePoint',['../hip__texture_8h.html#aa2f0b6002b81d0a43a808cb880bb21e6a56ede038ab7c805ec4b5b61d2b678dfc',1,'hip_texture.h']]], ['hipfunccachepreferequal',['hipFuncCachePreferEqual',['../group__GlobalDefs.html#ggac7e4bfd88340fc06642136c839a3d822a0ddab0e840107634a152033103be44d7',1,'hip_runtime_api.h']]], ['hipfunccachepreferl1',['hipFuncCachePreferL1',['../group__GlobalDefs.html#ggac7e4bfd88340fc06642136c839a3d822a636a3c140db6b9d4a8bf7d5a61c398c5',1,'hip_runtime_api.h']]], ['hipfunccacheprefernone',['hipFuncCachePreferNone',['../group__GlobalDefs.html#ggac7e4bfd88340fc06642136c839a3d822a0813fbaa008ce1231ff9fed3911eb3af',1,'hip_runtime_api.h']]], @@ -20,6 +44,7 @@ var searchData= ['hipmemcpydevicetohost',['hipMemcpyDeviceToHost',['../group__GlobalDefs.html#gga232e222db36b1fc672ba98054d036a18aba2505e9ce1e5382f17730bc670917d1',1,'hip_runtime_api.h']]], ['hipmemcpyhosttodevice',['hipMemcpyHostToDevice',['../group__GlobalDefs.html#gga232e222db36b1fc672ba98054d036a18aff32175ecb0c7113200286eff8211008',1,'hip_runtime_api.h']]], ['hipmemcpyhosttohost',['hipMemcpyHostToHost',['../group__GlobalDefs.html#gga232e222db36b1fc672ba98054d036a18a9d66b705aa85a9c83f0f533cef70d0af',1,'hip_runtime_api.h']]], + ['hipreadmodeelementtype',['hipReadModeElementType',['../hip__texture_8h.html#a442e950774f7306dc33692e358c92c94a829645801202174d052d667ffa4e1b8d',1,'hip_texture.h']]], ['hipsharedmembanksizedefault',['hipSharedMemBankSizeDefault',['../group__GlobalDefs.html#gga2e17b71d94ac350f2ccd914fd49d104eaf5b325c9b7bde878913f768eaba5014d',1,'hip_runtime_api.h']]], ['hipsharedmembanksizeeightbyte',['hipSharedMemBankSizeEightByte',['../group__GlobalDefs.html#gga2e17b71d94ac350f2ccd914fd49d104ea64518b4f5a25f536c883330167e79258',1,'hip_runtime_api.h']]], ['hipsharedmembanksizefourbyte',['hipSharedMemBankSizeFourByte',['../group__GlobalDefs.html#gga2e17b71d94ac350f2ccd914fd49d104ea0a95a6e0c33106c42d66ab9476ff954a',1,'hip_runtime_api.h']]], diff --git a/docs/RuntimeAPI/html/search/files_0.js b/docs/RuntimeAPI/html/search/files_0.js index c6c9f7ce28..c60cd7e29f 100644 --- a/docs/RuntimeAPI/html/search/files_0.js +++ b/docs/RuntimeAPI/html/search/files_0.js @@ -1,5 +1,9 @@ var searchData= [ ['hip_5fhcc_2ecpp',['hip_hcc.cpp',['../hip__hcc_8cpp.html',1,'']]], - ['hip_5fruntime_2eh',['hip_runtime.h',['../hcc__detail_2hip__runtime_8h.html',1,'']]] + ['hip_5fruntime_2eh',['hip_runtime.h',['../hcc__detail_2hip__runtime_8h.html',1,'']]], + ['hip_5fruntime_5fapi_2eh',['hip_runtime_api.h',['../hcc__detail_2hip__runtime__api_8h.html',1,'']]], + ['hip_5ftexture_2eh',['hip_texture.h',['../hip__texture_8h.html',1,'']]], + ['hip_5fvector_5ftypes_2eh',['hip_vector_types.h',['../hcc__detail_2hip__vector__types_8h.html',1,'']]], + ['host_5fdefines_2eh',['host_defines.h',['../host__defines_8h.html',1,'']]] ]; diff --git a/docs/RuntimeAPI/html/search/functions_0.js b/docs/RuntimeAPI/html/search/functions_0.js index 4b4091e9d3..9e6f4be60d 100644 --- a/docs/RuntimeAPI/html/search/functions_0.js +++ b/docs/RuntimeAPI/html/search/functions_0.js @@ -3,6 +3,7 @@ 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']]], @@ -31,7 +32,11 @@ var searchData= ['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']]], diff --git a/docs/RuntimeAPI/html/search/search.js b/docs/RuntimeAPI/html/search/search.js index ef361551ef..57684da009 100644 --- a/docs/RuntimeAPI/html/search/search.js +++ b/docs/RuntimeAPI/html/search/search.js @@ -7,15 +7,15 @@ var indexSectionsWithContent = { - 0: "abcdeghilmnrstwxyz", + 0: "_abcdeghilmnoprstwxyz", 1: "dhit", 2: "h", 3: "h", - 4: "achlmnrstwxyz", + 4: "achlmnprstwxyz", 5: "dh", 6: "h", 7: "h", - 8: "h", + 8: "_ho", 9: "cdeghmst", 10: "bh" }; diff --git a/docs/RuntimeAPI/html/search/variables_1.js b/docs/RuntimeAPI/html/search/variables_1.js index 1ba67673c4..06748f6da1 100644 --- a/docs/RuntimeAPI/html/search/variables_1.js +++ b/docs/RuntimeAPI/html/search/variables_1.js @@ -2,5 +2,6 @@ var searchData= [ ['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']]] + ['computemode',['computeMode',['../structhipDeviceProp__t.html#ae7d9216f8583a703359d0b9373823f5d',1,'hipDeviceProp_t']]], + ['concurrentkernels',['concurrentKernels',['../structhipDeviceProp__t.html#ad8461a28caf9c38c58cf358583b5bee3',1,'hipDeviceProp_t']]] ]; diff --git a/docs/RuntimeAPI/html/search/variables_4.js b/docs/RuntimeAPI/html/search/variables_4.js index 037341d156..12f7d72a4a 100644 --- a/docs/RuntimeAPI/html/search/variables_4.js +++ b/docs/RuntimeAPI/html/search/variables_4.js @@ -2,9 +2,11 @@ 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']]] ]; diff --git a/docs/RuntimeAPI/html/search/variables_6.js b/docs/RuntimeAPI/html/search/variables_6.js index 44ba50e0b7..71b6a5df56 100644 --- a/docs/RuntimeAPI/html/search/variables_6.js +++ b/docs/RuntimeAPI/html/search/variables_6.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/docs/RuntimeAPI/html/search/variables_7.js b/docs/RuntimeAPI/html/search/variables_7.js index a582d60c6a..44ba50e0b7 100644 --- a/docs/RuntimeAPI/html/search/variables_7.js +++ b/docs/RuntimeAPI/html/search/variables_7.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/docs/RuntimeAPI/html/search/variables_8.js b/docs/RuntimeAPI/html/search/variables_8.js index b356d6e142..a582d60c6a 100644 --- a/docs/RuntimeAPI/html/search/variables_8.js +++ b/docs/RuntimeAPI/html/search/variables_8.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/docs/RuntimeAPI/html/search/variables_9.js b/docs/RuntimeAPI/html/search/variables_9.js index 46a1400a7b..b356d6e142 100644 --- a/docs/RuntimeAPI/html/search/variables_9.js +++ b/docs/RuntimeAPI/html/search/variables_9.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/docs/RuntimeAPI/html/search/variables_a.js b/docs/RuntimeAPI/html/search/variables_a.js index 250c203caf..46a1400a7b 100644 --- a/docs/RuntimeAPI/html/search/variables_a.js +++ b/docs/RuntimeAPI/html/search/variables_a.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/docs/RuntimeAPI/html/search/variables_b.js b/docs/RuntimeAPI/html/search/variables_b.js index 133dd9dc6e..250c203caf 100644 --- a/docs/RuntimeAPI/html/search/variables_b.js +++ b/docs/RuntimeAPI/html/search/variables_b.js @@ -1,4 +1,4 @@ var searchData= [ - ['y',['y',['../structdim3.html#a83e60e072f7e8bdfde6ac05053cbb370',1,'dim3']]] + ['x',['x',['../structdim3.html#ac866c05f83a28dac20a153fc65b3b16c',1,'dim3']]] ]; diff --git a/docs/RuntimeAPI/html/search/variables_c.js b/docs/RuntimeAPI/html/search/variables_c.js index e8bf38b99c..133dd9dc6e 100644 --- a/docs/RuntimeAPI/html/search/variables_c.js +++ b/docs/RuntimeAPI/html/search/variables_c.js @@ -1,4 +1,4 @@ var searchData= [ - ['z',['z',['../structdim3.html#a866e38993ecc4e76fd47311236c16b04',1,'dim3']]] + ['y',['y',['../structdim3.html#a83e60e072f7e8bdfde6ac05053cbb370',1,'dim3']]] ]; diff --git a/docs/RuntimeAPI/html/structdim3-members.html b/docs/RuntimeAPI/html/structdim3-members.html index 429ba0bf78..a11da0ba47 100644 --- a/docs/RuntimeAPI/html/structdim3-members.html +++ b/docs/RuntimeAPI/html/structdim3-members.html @@ -97,7 +97,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');

    diff --git a/docs/RuntimeAPI/html/structdim3.html b/docs/RuntimeAPI/html/structdim3.html index e305c9dfdc..9c5a6733d9 100644 --- a/docs/RuntimeAPI/html/structdim3.html +++ b/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/docs/RuntimeAPI/html/structhipChannelFormatDesc-members.html b/docs/RuntimeAPI/html/structhipChannelFormatDesc-members.html index 87eaf5aa59..2670d6f1d7 100644 --- a/docs/RuntimeAPI/html/structhipChannelFormatDesc-members.html +++ b/docs/RuntimeAPI/html/structhipChannelFormatDesc-members.html @@ -94,7 +94,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/RuntimeAPI/html/structhipChannelFormatDesc.html b/docs/RuntimeAPI/html/structhipChannelFormatDesc.html index d292794181..1ac6f4cde8 100644 --- a/docs/RuntimeAPI/html/structhipChannelFormatDesc.html +++ b/docs/RuntimeAPI/html/structhipChannelFormatDesc.html @@ -98,12 +98,12 @@ int _dummy  
    The documentation for this struct was generated from the following file: diff --git a/docs/RuntimeAPI/html/structhipDeviceArch__t-members.html b/docs/RuntimeAPI/html/structhipDeviceArch__t-members.html index 1b606771ad..5d14abe998 100644 --- a/docs/RuntimeAPI/html/structhipDeviceArch__t-members.html +++ b/docs/RuntimeAPI/html/structhipDeviceArch__t-members.html @@ -110,7 +110,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/RuntimeAPI/html/structhipDeviceArch__t.html b/docs/RuntimeAPI/html/structhipDeviceArch__t.html index 7e28d4ee8e..8bd9d10bc6 100644 --- a/docs/RuntimeAPI/html/structhipDeviceArch__t.html +++ b/docs/RuntimeAPI/html/structhipDeviceArch__t.html @@ -95,59 +95,59 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); Public Attributes unsigned hasGlobalInt32Atomics: 1 - 32-bit integer atomics for global memory
    + 32-bit integer atomics for global memory.
      unsigned hasGlobalFloatAtomicExch: 1 - 32-bit float atomic exch for global memory
    + 32-bit float atomic exch for global memory.
      unsigned hasSharedInt32Atomics: 1 - 32-bit integer atomics for shared memory
    + 32-bit integer atomics for shared memory.
      unsigned hasSharedFloatAtomicExch: 1 - 32-bit float atomic exch for shared memory
    + 32-bit float atomic exch for shared memory.
      unsigned hasFloatAtomicAdd: 1 - 32-bit float atomic add in global and shared memory
    + 32-bit float atomic add in global and shared memory.
      unsigned hasGlobalInt64Atomics: 1 - 64-bit integer atomics for global memory
    + 64-bit integer atomics for global memory.
      unsigned hasSharedInt64Atomics: 1 - 64-bit integer atomics for shared memory
    + 64-bit integer atomics for shared memory.
      unsigned hasDoubles: 1 - double-precision floating point.
    + Double-precision floating point.
      unsigned hasWarpVote: 1 - warp vote instructions (__any, __all)
    + Warp vote instructions (__any, __all).
      unsigned hasWarpBallot: 1 - warp ballot instructions (__ballot)
    + Warp ballot instructions (__ballot).
      unsigned hasWarpShuffle: 1 - warp shuffle operations. (__shfl_*)
    + Warp shuffle operations. (__shfl_*).
      unsigned hasFunnelShift: 1 - funnel two words into one, with shift&mask caps
    + Funnel two words into one with shift&mask caps.
      unsigned hasThreadFenceSystem: 1 - __threadfence_system
    + __threadfence_system.
      unsigned hasSyncThreadsExt: 1 - __syncthreads_count, syncthreads_and, syncthreads_or
    + __syncthreads_count, syncthreads_and, syncthreads_or.
      unsigned hasSurfaceFuncs: 1 @@ -155,20 +155,20 @@ unsigned   unsigned has3dGrid: 1 - Grid and group dims are 3D (rather than 2D)
    + Grid and group dims are 3D (rather than 2D).
      unsigned hasDynamicParallelism: 1 - Dynamic parallellism.
    + Dynamic parallelism.
     
    The documentation for this struct was generated from the following file: diff --git a/docs/RuntimeAPI/html/structhipDeviceProp__t-members.html b/docs/RuntimeAPI/html/structhipDeviceProp__t-members.html index d37974762e..4df537b6cc 100644 --- a/docs/RuntimeAPI/html/structhipDeviceProp__t-members.html +++ b/docs/RuntimeAPI/html/structhipDeviceProp__t-members.html @@ -94,24 +94,29 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); clockInstructionRatehipDeviceProp_t clockRatehipDeviceProp_t computeModehipDeviceProp_t - l2CacheSizehipDeviceProp_t - majorhipDeviceProp_t - maxGridSizehipDeviceProp_t + concurrentKernelshipDeviceProp_t + l2CacheSizehipDeviceProp_t + majorhipDeviceProp_t + maxGridSizehipDeviceProp_t + maxSharedMemoryPerMultiProcessorhipDeviceProp_t maxThreadsDimhipDeviceProp_t maxThreadsPerBlockhipDeviceProp_t maxThreadsPerMultiProcessorhipDeviceProp_t - minorhipDeviceProp_t - multiProcessorCounthipDeviceProp_t - namehipDeviceProp_t - regsPerBlockhipDeviceProp_t - sharedMemPerBlockhipDeviceProp_t - totalConstMemhipDeviceProp_t - totalGlobalMemhipDeviceProp_t - warpSizehipDeviceProp_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/docs/RuntimeAPI/html/structhipDeviceProp__t.html b/docs/RuntimeAPI/html/structhipDeviceProp__t.html index 09483a9577..06e419e325 100644 --- a/docs/RuntimeAPI/html/structhipDeviceProp__t.html +++ b/docs/RuntimeAPI/html/structhipDeviceProp__t.html @@ -101,39 +101,43 @@ char   size_t totalGlobalMem - Size of global memory region (in bytes)
    + Size of global memory region (in bytes).
      size_t sharedMemPerBlock - Size of shared memory region (in bytes)
    + Size of shared memory region (in bytes).
      int regsPerBlock - registers per block
    + Registers per block.
      int warpSize - warp size
    + Warp size.
      int maxThreadsPerBlock - max work items per work group or workgroup max size
    + Max work items per work group or workgroup max size.
      int maxThreadsDim [3] - max number of threads in each dimension (XYZ) of a block
    + Max number of threads in each dimension (XYZ) of a block.
      int maxGridSize [3] - max grid dimensions (XYZ)
    + Max grid dimensions (XYZ).
      int clockRate - max clock frequency of the multiProcessors, in khz.
    + Max clock frequency of the multiProcessors in khz.
      + +int memoryClockRate + Max memory clock frequency in khz.
    size_t totalConstMem - Size of shared memory region (in bytes)
    + Size of shared memory region (in bytes).
      int major @@ -145,7 +149,7 @@ int   int multiProcessorCount - number of multi-processors (compute units)
    + Number of multi-processors (compute units).
      int l2CacheSize @@ -167,16 +171,32 @@ int hipDeviceArch_t arch  Architectural feature flags. New for HIP.
      + +int concurrentKernels + Device can possibly execute multiple kernels concurrently.
    +  + +int pciBusID + PCI Bus ID.
    +  + +int pciDeviceID + PCI Device ID.
    +  + +size_t maxSharedMemoryPerMultiProcessor + Maximum Shared Memory Per Multiprocessor.

    Detailed Description

    hipDeviceProp


    The documentation for this struct was generated from the following file: diff --git a/docs/RuntimeAPI/html/structhipEvent__t-members.html b/docs/RuntimeAPI/html/structhipEvent__t-members.html index 22a528a157..1f7daca251 100644 --- a/docs/RuntimeAPI/html/structhipEvent__t-members.html +++ b/docs/RuntimeAPI/html/structhipEvent__t-members.html @@ -94,7 +94,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/RuntimeAPI/html/structhipEvent__t.html b/docs/RuntimeAPI/html/structhipEvent__t.html index e904fd699b..202c20a0bb 100644 --- a/docs/RuntimeAPI/html/structhipEvent__t.html +++ b/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/docs/RuntimeAPI/html/structihipDevice__t-members.html b/docs/RuntimeAPI/html/structihipDevice__t-members.html index 5018e17cdd..5bc69024fc 100644 --- a/docs/RuntimeAPI/html/structihipDevice__t-members.html +++ b/docs/RuntimeAPI/html/structihipDevice__t-members.html @@ -102,7 +102,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/RuntimeAPI/html/structihipDevice__t.html b/docs/RuntimeAPI/html/structihipDevice__t.html index 9b98f8364e..0a91addd72 100644 --- a/docs/RuntimeAPI/html/structihipDevice__t.html +++ b/docs/RuntimeAPI/html/structihipDevice__t.html @@ -126,12 +126,12 @@ unsigned _compute_units 
    The documentation for this struct was generated from the following file: diff --git a/docs/RuntimeAPI/html/structihipEvent__t-members.html b/docs/RuntimeAPI/html/structihipEvent__t-members.html index 0776e7e875..16bad989ee 100644 --- a/docs/RuntimeAPI/html/structihipEvent__t-members.html +++ b/docs/RuntimeAPI/html/structihipEvent__t-members.html @@ -98,7 +98,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/RuntimeAPI/html/structihipEvent__t.html b/docs/RuntimeAPI/html/structihipEvent__t.html index 9c01e12246..a378a2a2d4 100644 --- a/docs/RuntimeAPI/html/structihipEvent__t.html +++ b/docs/RuntimeAPI/html/structihipEvent__t.html @@ -110,12 +110,12 @@ uint64_t _timestamp 
    The documentation for this struct was generated from the following file: diff --git a/docs/RuntimeAPI/html/structihipStream__t-members.html b/docs/RuntimeAPI/html/structihipStream__t-members.html index d46a3b9656..57df3ae1ba 100644 --- a/docs/RuntimeAPI/html/structihipStream__t-members.html +++ b/docs/RuntimeAPI/html/structihipStream__t-members.html @@ -98,7 +98,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/RuntimeAPI/html/structihipStream__t.html b/docs/RuntimeAPI/html/structihipStream__t.html index ba671e68af..264d5ffd81 100644 --- a/docs/RuntimeAPI/html/structihipStream__t.html +++ b/docs/RuntimeAPI/html/structihipStream__t.html @@ -114,12 +114,12 @@ ihipCommand_t _last_comman  
    The documentation for this struct was generated from the following file: diff --git a/docs/RuntimeAPI/html/structtexture-members.html b/docs/RuntimeAPI/html/structtexture-members.html index 12b5319739..42ea0039e3 100644 --- a/docs/RuntimeAPI/html/structtexture-members.html +++ b/docs/RuntimeAPI/html/structtexture-members.html @@ -97,7 +97,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/RuntimeAPI/html/structtexture.html b/docs/RuntimeAPI/html/structtexture.html index bafbc0f8e3..4f8d592be9 100644 --- a/docs/RuntimeAPI/html/structtexture.html +++ b/docs/RuntimeAPI/html/structtexture.html @@ -107,7 +107,7 @@ const T * _dataPtr  - Public Attributes inherited from textureReference -hipTextureFilterMode filterMode +hipTextureFilterMode filterMode   bool normalized @@ -117,12 +117,12 @@ bool normalized 
    The documentation for this struct was generated from the following file: diff --git a/docs/RuntimeAPI/html/structtextureReference-members.html b/docs/RuntimeAPI/html/structtextureReference-members.html index 8b3c890f40..89df171ea7 100644 --- a/docs/RuntimeAPI/html/structtextureReference-members.html +++ b/docs/RuntimeAPI/html/structtextureReference-members.html @@ -96,7 +96,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/docs/RuntimeAPI/html/structtextureReference.html b/docs/RuntimeAPI/html/structtextureReference.html index d5fd3910fc..46cb4d44e7 100644 --- a/docs/RuntimeAPI/html/structtextureReference.html +++ b/docs/RuntimeAPI/html/structtextureReference.html @@ -103,7 +103,7 @@ Inheritance diagram for textureReference:

    Public Attributes

    -hipTextureFilterMode filterMode +hipTextureFilterMode filterMode   bool normalized @@ -113,12 +113,12 @@ bool normalized 
    The documentation for this struct was generated from the following file: