Go to the documentation of this file.
13#ifndef __CLANG_GPU_RUNTIME_WRAPPER_H__
14#define __CLANG_GPU_RUNTIME_WRAPPER_H__
16#if defined(__HIP__) || defined(__CUDA__)
19#define __host__ __attribute__((host))
20#define __device__ __attribute__((device))
21#define __global__ __attribute__((global))
22#define __shared__ __attribute__((shared))
23#define __constant__ __attribute__((constant))
24#define __managed__ __attribute__((managed))