HIP: Heterogenous-computing Interface for Portability
Loading...
Searching...
No Matches
device_library_decls.h File Reference

Contains declarations for types and functions in device library. Uses int64_t and uint64_t instead of long, long long, unsigned long and unsigned long long types for device library API declarations. More...

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
 

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__ uint64_t __ockl_fprintf_stderr_begin ()
 
__device__ uint64_t __ockl_fprintf_append_args (uint64_t msg_desc, uint32_t num_args, uint64_t value0, uint64_t value1, uint64_t value2, uint64_t value3, uint64_t value4, uint64_t value5, uint64_t value6, uint32_t is_last)
 
__device__ uint64_t __ockl_fprintf_append_string_n (uint64_t msg_desc, const char *data, uint64_t length, uint32_t is_last)
 

Variables

__device__ int
 
__device__ float
 
__device__ uint rid
 

Detailed Description

Contains declarations for types and functions in device library. Uses int64_t and uint64_t instead of long, long long, unsigned long and unsigned long long types for device library API declarations.