[clang][RISCV] Fix the condition of checking signature in getIndex (#67403)
[llvm-project.git] / libc / spec / gpu_ext.td
blobdce81ff7786203b8851eda5cfb0a1273ccd7c62c
1 def GPUExtensions : StandardSpec<"GPUExtensions"> {
2   HeaderSpec RPC = HeaderSpec<
3     "gpu/rpc.h",
4     [], // Macros
5     [], // Types
6     [], // Enumerations
7     [
8         FunctionSpec<
9             "rpc_host_call",
10             RetValSpec<VoidType>,
11             [ArgSpec<VoidPtr>, ArgSpec<VoidPtr>, ArgSpec<SizeTType>]
12         >,
13     ]
14   >;
15   let Headers = [
16     RPC,
17   ];