HIP: Heterogenous-computing Interface for Portability
Macros | Typedefs | Enumerations | Functions | Variables
device_library_decls.h File Reference

Contains declarations for types and functions in device library. More...

#include "hip/amd_detail/host_defines.h"
Include dependency graph for device_library_decls.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define __local   __attribute__((address_space(3)))
 
#define __CLK_LOCAL_MEM_FENCE   0x01
 

Typedefs

typedef unsigned char uchar
 
typedef unsigned short ushort
 
typedef unsigned int uint
 
typedef unsigned long ulong
 
typedef unsigned long long ullong
 
typedef unsigned __cl_mem_fence_flags
 
typedef enum __memory_scope __memory_scope
 
typedef enum __memory_order __memory_order
 

Enumerations

enum  __memory_scope {
  __memory_scope_work_item = __OPENCL_MEMORY_SCOPE_WORK_ITEM, __memory_scope_work_group = __OPENCL_MEMORY_SCOPE_WORK_GROUP, __memory_scope_device = __OPENCL_MEMORY_SCOPE_DEVICE, __memory_scope_all_svm_devices = __OPENCL_MEMORY_SCOPE_ALL_SVM_DEVICES,
  __memory_scope_sub_group = __OPENCL_MEMORY_SCOPE_SUB_GROUP
}
 
enum  __memory_order {
  __memory_order_relaxed = __ATOMIC_RELAXED, __memory_order_acquire = __ATOMIC_ACQUIRE, __memory_order_release = __ATOMIC_RELEASE, __memory_order_acq_rel = __ATOMIC_ACQ_REL,
  __memory_order_seq_cst = __ATOMIC_SEQ_CST
}
 

Functions

__device__ __attribute__ ((const)) bool __ockl_wfany_i32(int)
 
__device__ uint __ockl_activelane_u32 (void)
 
__device__ __attribute__ ((convergent)) void __ockl_gws_init(uint nwm1
 
__device__ void __ockl_atomic_add_noret_f32 (float *, float)
 
__device__ void __atomic_work_item_fence (__cl_mem_fence_flags, __memory_order, __memory_scope)
 

Variables

__device__ int
 
__device__ float
 
__device__ uint rid
 

Detailed Description

Contains declarations for types and functions in device library.