Proteus
Programmable JIT compilation and optimization for C/C++ using LLVM
Loading...
Searching...
No Matches
Builtins.hpp
Go to the documentation of this file.
1#ifndef PROTEUS_FRONTEND_BUILTINS_HPP
2#define PROTEUS_FRONTEND_BUILTINS_HPP
3
5
6namespace proteus {
7namespace builtins {
8namespace gpu {
9
13
14Var<unsigned int> getBlockIdX(FuncBase &Fn);
15Var<unsigned int> getBlockIdY(FuncBase &Fn);
16Var<unsigned int> getBlockIdZ(FuncBase &Fn);
17
21
22Var<unsigned int> getGridDimX(FuncBase &Fn);
23Var<unsigned int> getGridDimY(FuncBase &Fn);
24Var<unsigned int> getGridDimZ(FuncBase &Fn);
25
26void syncThreads(FuncBase &Fn);
27
28} // namespace gpu
29} // namespace builtins
30} // namespace proteus
31
32#endif
Var< unsigned int > getBlockDimY(FuncBase &Fn)
Definition BuiltinsCUDA.cpp:128
Var< unsigned int > getGridDimZ(FuncBase &Fn)
Definition BuiltinsCUDA.cpp:173
Var< unsigned int > getBlockDimZ(FuncBase &Fn)
Definition BuiltinsCUDA.cpp:143
Var< unsigned int > getBlockIdZ(FuncBase &Fn)
Definition BuiltinsCUDA.cpp:113
Var< unsigned int > getGridDimY(FuncBase &Fn)
Definition BuiltinsCUDA.cpp:158
Var< unsigned int > getThreadIdX(FuncBase &Fn)
Definition BuiltinsCUDA.cpp:8
Var< unsigned int > getBlockIdY(FuncBase &Fn)
Definition BuiltinsCUDA.cpp:98
Var< unsigned int > getBlockIdX(FuncBase &Fn)
Definition BuiltinsCUDA.cpp:23
Var< unsigned int > getThreadIdZ(FuncBase &Fn)
Definition BuiltinsCUDA.cpp:83
Var< unsigned int > getGridDimX(FuncBase &Fn)
Definition BuiltinsCUDA.cpp:53
Var< unsigned int > getBlockDimX(FuncBase &Fn)
Definition BuiltinsCUDA.cpp:38
Var< unsigned int > getThreadIdY(FuncBase &Fn)
Definition BuiltinsCUDA.cpp:68
void syncThreads(FuncBase &Fn)
Definition BuiltinsCUDA.cpp:188
Definition StorageCache.cpp:24
T getRuntimeConstantValue(void *Arg)
Definition CompilerInterfaceRuntimeConstantInfo.h:114