Searched refs:CurCUDATargetCtx (Results 1 – 2 of 2) sorted by relevance
131 } CurCUDATargetCtx; variable138 ~CUDATargetContextRAII() { S.CurCUDATargetCtx = SavedCtx; } in ~CUDATargetContextRAII()
121 SavedCtx = S.CurCUDATargetCtx; in CUDATargetContextRAII()131 S.CurCUDATargetCtx = {Target, K, VD}; in CUDATargetContextRAII()140 return CurCUDATargetCtx.Target; in IdentifyTarget()234 if (Caller == nullptr && CurCUDATargetCtx.Kind == CTCK_InitGlobalVar && in IdentifyPreference()235 CurCUDATargetCtx.Target == CUDAFunctionTarget::Device && in IdentifyPreference()