clang 20.0.0git
|
#include <stdint.h>
Go to the source code of this file.
Macros | |
#define | bool _Bool |
#define | __gpu_private __attribute__((address_space(5))) |
#define | __gpu_constant __attribute__((address_space(4))) |
#define | __gpu_local __attribute__((address_space(3))) |
#define | __gpu_global __attribute__((address_space(1))) |
#define | __gpu_generic __attribute__((address_space(0))) |
#define | __gpu_kernel __attribute__((amdgpu_kernel, visibility("protected"))) |
Functions | |
_Pragma ("push_macro(\"bool\")") | |
_Pragma ("omp begin declare target device_type(nohost)") | |
_Pragma ("omp begin declare variant match(device = {arch(amdgcn)})") | |
static _DEFAULT_FN_ATTRS __inline__ uint32_t | __gpu_num_blocks_x (void) |
static _DEFAULT_FN_ATTRS __inline__ uint32_t | __gpu_num_blocks_y (void) |
static _DEFAULT_FN_ATTRS __inline__ uint32_t | __gpu_num_blocks_z (void) |
static _DEFAULT_FN_ATTRS __inline__ uint32_t | __gpu_block_id_x (void) |
static _DEFAULT_FN_ATTRS __inline__ uint32_t | __gpu_block_id_y (void) |
static _DEFAULT_FN_ATTRS __inline__ uint32_t | __gpu_block_id_z (void) |
static _DEFAULT_FN_ATTRS __inline__ uint32_t | __gpu_num_threads_x (void) |
static _DEFAULT_FN_ATTRS __inline__ uint32_t | __gpu_num_threads_y (void) |
static _DEFAULT_FN_ATTRS __inline__ uint32_t | __gpu_num_threads_z (void) |
static _DEFAULT_FN_ATTRS __inline__ uint32_t | __gpu_thread_id_x (void) |
static _DEFAULT_FN_ATTRS __inline__ uint32_t | __gpu_thread_id_y (void) |
static _DEFAULT_FN_ATTRS __inline__ uint32_t | __gpu_thread_id_z (void) |
static _DEFAULT_FN_ATTRS __inline__ uint32_t | __gpu_num_lanes (void) |
static _DEFAULT_FN_ATTRS __inline__ uint32_t | __gpu_lane_id (void) |
static _DEFAULT_FN_ATTRS __inline__ uint64_t | __gpu_lane_mask (void) |
static _DEFAULT_FN_ATTRS __inline__ uint32_t | __gpu_read_first_lane_u32 (uint64_t __lane_mask, uint32_t __x) |
_DEFAULT_FN_ATTRS __inline__ uint64_t | __gpu_read_first_lane_u64 (uint64_t __lane_mask, uint64_t __x) |
static _DEFAULT_FN_ATTRS __inline__ uint64_t | __gpu_ballot (uint64_t __lane_mask, bool __x) |
static _DEFAULT_FN_ATTRS __inline__ void | __gpu_sync_threads (void) |
static _DEFAULT_FN_ATTRS __inline__ void | __gpu_sync_lane (uint64_t __lane_mask) |
static _DEFAULT_FN_ATTRS __inline__ uint32_t | __gpu_shuffle_idx_u32 (uint64_t __lane_mask, uint32_t __idx, uint32_t __x) |
static _DEFAULT_FN_ATTRS __inline__ uint64_t | __gpu_shuffle_idx_u64 (uint64_t __lane_mask, uint32_t __idx, uint64_t __x) |
static _DEFAULT_FN_ATTRS __inline__ bool | __gpu_is_ptr_local (void *ptr) |
static _DEFAULT_FN_ATTRS __inline__ bool | __gpu_is_ptr_private (void *ptr) |
static _DEFAULT_FN_ATTRS __inline__ void | __gpu_exit (void) |
static _DEFAULT_FN_ATTRS __inline__ void | __gpu_thread_suspend (void) |
_Pragma ("omp end declare variant") | |
_Pragma ("omp end declare target") | |
_Pragma ("pop_macro(\"bool\")") | |
#define __gpu_constant __attribute__((address_space(4))) |
Definition at line 28 of file amdgpuintrin.h.
#define __gpu_generic __attribute__((address_space(0))) |
Definition at line 31 of file amdgpuintrin.h.
#define __gpu_global __attribute__((address_space(1))) |
Definition at line 30 of file amdgpuintrin.h.
#define __gpu_kernel __attribute__((amdgpu_kernel, visibility("protected"))) |
Definition at line 34 of file amdgpuintrin.h.
#define __gpu_local __attribute__((address_space(3))) |
Definition at line 29 of file amdgpuintrin.h.
#define __gpu_private __attribute__((address_space(5))) |
Definition at line 27 of file amdgpuintrin.h.
#define bool _Bool |
Definition at line 20 of file amdgpuintrin.h.
|
static |
Definition at line 128 of file amdgpuintrin.h.
|
static |
Definition at line 52 of file amdgpuintrin.h.
Referenced by __gpu_block_id().
|
static |
Definition at line 57 of file amdgpuintrin.h.
Referenced by __gpu_block_id().
|
static |
Definition at line 62 of file amdgpuintrin.h.
Referenced by __gpu_block_id().
|
static |
Definition at line 174 of file amdgpuintrin.h.
|
static |
Definition at line 162 of file amdgpuintrin.h.
References clang::opencl_generic.
|
static |
Definition at line 168 of file amdgpuintrin.h.
References clang::opencl_generic.
|
static |
Definition at line 103 of file amdgpuintrin.h.
Referenced by __gpu_is_first_in_lane().
|
static |
Definition at line 108 of file amdgpuintrin.h.
|
static |
Definition at line 37 of file amdgpuintrin.h.
Referenced by __gpu_num_blocks().
|
static |
Definition at line 42 of file amdgpuintrin.h.
Referenced by __gpu_num_blocks().
|
static |
Definition at line 47 of file amdgpuintrin.h.
Referenced by __gpu_num_blocks().
|
static |
Definition at line 98 of file amdgpuintrin.h.
|
static |
Definition at line 67 of file amdgpuintrin.h.
Referenced by __gpu_num_threads().
|
static |
Definition at line 72 of file amdgpuintrin.h.
Referenced by __gpu_num_threads().
|
static |
Definition at line 77 of file amdgpuintrin.h.
Referenced by __gpu_num_threads().
|
static |
Definition at line 114 of file amdgpuintrin.h.
Referenced by __gpu_read_first_lane_f32().
_DEFAULT_FN_ATTRS __inline__ uint64_t __gpu_read_first_lane_u64 | ( | uint64_t | __lane_mask, |
uint64_t | __x | ||
) |
Definition at line 120 of file amdgpuintrin.h.
Referenced by __gpu_read_first_lane_f64().
|
static |
Definition at line 148 of file amdgpuintrin.h.
Referenced by __gpu_shuffle_idx_f32().
|
static |
Definition at line 154 of file amdgpuintrin.h.
Referenced by __gpu_shuffle_idx_f64().
|
static |
Definition at line 142 of file amdgpuintrin.h.
|
static |
Definition at line 136 of file amdgpuintrin.h.
|
static |
Definition at line 82 of file amdgpuintrin.h.
Referenced by __gpu_thread_id().
|
static |
Definition at line 87 of file amdgpuintrin.h.
Referenced by __gpu_thread_id().
|
static |
Definition at line 92 of file amdgpuintrin.h.
Referenced by __gpu_thread_id().
|
static |
Definition at line 179 of file amdgpuintrin.h.
_Pragma | ( | "omp begin declare target device_type(nohost)" | ) |
_Pragma | ( | "omp begin declare variant match(device = {arch(amdgcn)})" | ) |
_Pragma | ( | "omp end declare target" | ) |
_Pragma | ( | "omp end declare variant" | ) |
_Pragma | ( | "pop_macro(\"bool\")" | ) |
_Pragma | ( | "push_macro(\"bool\")" | ) |