1 //===--- AMDGPUAttributes.def
---------------------------------*- C
++ -*---===//
3 // Part of the LLVM Project
, under the Apache License v2.0 with LLVM Exceptions.
4 // See https
://llvm.org
/LICENSE.txt for license information.
5 // SPDX
-License
-Identifier
: Apache
-2.0 WITH LLVM
-exception
7 //===----------------------------------------------------------------------===//
9 // This file contains descriptions of the various function attributes
10 // that indicate
*absence
* of the corresponding implicit kernel
13 //===----------------------------------------------------------------------===//
15 // NOTE
: NO INCLUDE GUARD DESIRED
!
17 AMDGPU_ATTRIBUTE(DISPATCH_PTR
, "amdgpu-no-dispatch-ptr")
18 AMDGPU_ATTRIBUTE(QUEUE_PTR
, "amdgpu-no-queue-ptr")
19 AMDGPU_ATTRIBUTE(DISPATCH_ID
, "amdgpu-no-dispatch-id")
20 AMDGPU_ATTRIBUTE(IMPLICIT_ARG_PTR
, "amdgpu-no-implicitarg-ptr")
21 AMDGPU_ATTRIBUTE(MULTIGRID_SYNC_ARG
, "amdgpu-no-multigrid-sync-arg")
22 AMDGPU_ATTRIBUTE(HOSTCALL_PTR
, "amdgpu-no-hostcall-ptr")
23 AMDGPU_ATTRIBUTE(HEAP_PTR
, "amdgpu-no-heap-ptr")
24 AMDGPU_ATTRIBUTE(WORKGROUP_ID_X
, "amdgpu-no-workgroup-id-x")
25 AMDGPU_ATTRIBUTE(WORKGROUP_ID_Y
, "amdgpu-no-workgroup-id-y")
26 AMDGPU_ATTRIBUTE(WORKGROUP_ID_Z
, "amdgpu-no-workgroup-id-z")
27 AMDGPU_ATTRIBUTE(WORKITEM_ID_X
, "amdgpu-no-workitem-id-x")
28 AMDGPU_ATTRIBUTE(WORKITEM_ID_Y
, "amdgpu-no-workitem-id-y")
29 AMDGPU_ATTRIBUTE(WORKITEM_ID_Z
, "amdgpu-no-workitem-id-z")
30 AMDGPU_ATTRIBUTE(LDS_KERNEL_ID
, "amdgpu-no-lds-kernel-id")
31 AMDGPU_ATTRIBUTE(DEFAULT_QUEUE
, "amdgpu-no-default-queue")
32 AMDGPU_ATTRIBUTE(COMPLETION_ACTION
, "amdgpu-no-completion-action")
34 #undef AMDGPU_ATTRIBUTE