clang 20.0.0git
|
Define the current global CUDA host/device context where a function may be called. More...
#include "clang/Sema/SemaCUDA.h"
Public Attributes | |
CUDAFunctionTarget | Target = CUDAFunctionTarget::HostDevice |
CUDATargetContextKind | Kind = CTCK_Unknown |
Decl * | D = nullptr |
Define the current global CUDA host/device context where a function may be called.
Only used when a function is called outside of any functions.
Definition at line 137 of file SemaCUDA.h.
Decl* clang::SemaCUDA::CUDATargetContext::D = nullptr |
Definition at line 140 of file SemaCUDA.h.
CUDATargetContextKind clang::SemaCUDA::CUDATargetContext::Kind = CTCK_Unknown |
Definition at line 139 of file SemaCUDA.h.
Referenced by clang::SemaCUDA::IdentifyPreference().
CUDAFunctionTarget clang::SemaCUDA::CUDATargetContext::Target = CUDAFunctionTarget::HostDevice |
Definition at line 138 of file SemaCUDA.h.
Referenced by clang::SemaCUDA::IdentifyPreference(), and clang::SemaCUDA::IdentifyTarget().