Back to home page

EIC code displayed by LXR

 
 

    


Warning, /include/clang/Basic/AMDGPUTypes.def is written in an unsupported language. File is not indexed.

0001 //===-- AMDGPUTypes.def - Metadata about AMDGPU types -----------*- C++ -*-===//
0002 //
0003 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
0004 // See https://llvm.org/LICENSE.txt for license information.
0005 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
0006 //
0007 //===----------------------------------------------------------------------===//
0008 //
0009 //  This file defines various AMDGPU builtin types.
0010 //
0011 //===----------------------------------------------------------------------===//
0012 
0013 #ifndef AMDGPU_OPAQUE_PTR_TYPE
0014 #define AMDGPU_OPAQUE_PTR_TYPE(Name, Id, SingletonId, Width, Align, AS) \
0015   AMDGPU_TYPE(Name, Id, SingletonId, Width, Align)
0016 #endif
0017 
0018 #ifndef AMDGPU_NAMED_BARRIER_TYPE
0019 #define AMDGPU_NAMED_BARRIER_TYPE(Name, Id, SingletonId, Width, Align, Scope) \
0020   AMDGPU_TYPE(Name, Id, SingletonId, Width, Align)
0021 #endif
0022 
0023 AMDGPU_OPAQUE_PTR_TYPE("__amdgpu_buffer_rsrc_t", AMDGPUBufferRsrc, AMDGPUBufferRsrcTy, 128, 128, 8)
0024 
0025 AMDGPU_NAMED_BARRIER_TYPE("__amdgpu_named_workgroup_barrier_t", AMDGPUNamedWorkgroupBarrier, AMDGPUNamedWorkgroupBarrierTy, 128, 32, 0)
0026 
0027 #undef AMDGPU_TYPE
0028 #undef AMDGPU_OPAQUE_PTR_TYPE
0029 #undef AMDGPU_NAMED_BARRIER_TYPE