HIP: Heterogenous-computing Interface for Portability
Macros
host_defines.h File Reference

TODO-doc. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define GENERIC_GRID_LAUNCH   1
 
#define __host__   __attribute__((cpu))
 
#define __device__   __attribute__((hc))
 
#define __global__   __attribute__((hc, used))
 
#define __noinline__   __attribute__((noinline))
 
#define __forceinline__   inline __attribute__((always_inline))
 
#define __shared__   tile_static
 
#define __constant__   __attribute__((hc, annotate("__HIP_constant__")))
 

Detailed Description

TODO-doc.

Macro Definition Documentation

◆ __host__

#define __host__   __attribute__((cpu))

Function and kernel markers