Lines Matching refs:CallerTarget
99 CUDAFunctionTarget CallerTarget = in IdentifyCUDAPreference() local
104 if (CallerTarget == CFT_InvalidTarget || CalleeTarget == CFT_InvalidTarget) in IdentifyCUDAPreference()
110 (CallerTarget == CFT_Global || CallerTarget == CFT_Device || in IdentifyCUDAPreference()
111 (CallerTarget == CFT_HostDevice && getLangOpts().CUDAIsDevice))) in IdentifyCUDAPreference()
115 if (CalleeTarget == CallerTarget || in IdentifyCUDAPreference()
116 (CallerTarget == CFT_Host && CalleeTarget == CFT_Global) || in IdentifyCUDAPreference()
117 (CallerTarget == CFT_Global && CalleeTarget == CFT_Device)) in IdentifyCUDAPreference()
131 if (CallerTarget == CFT_HostDevice) { in IdentifyCUDAPreference()
143 if ((CallerTarget == CFT_Host && CalleeTarget == CFT_Device) || in IdentifyCUDAPreference()
144 (CallerTarget == CFT_Device && CalleeTarget == CFT_Host) || in IdentifyCUDAPreference()
145 (CallerTarget == CFT_Global && CalleeTarget == CFT_Host)) in IdentifyCUDAPreference()
163 CUDAFunctionTarget CallerTarget = IdentifyCUDATarget(Caller), in CheckCUDATarget() local
168 if (CallerTarget == CFT_InvalidTarget || CalleeTarget == CFT_InvalidTarget) in CheckCUDATarget()
173 if (CallerTarget == CFT_Host && CalleeTarget == CFT_Device) in CheckCUDATarget()
180 if ((CallerTarget == CFT_Device || CallerTarget == CFT_Global) && in CheckCUDATarget()
188 if (CallerTarget == CFT_HostDevice && CalleeTarget != CFT_HostDevice) { in CheckCUDATarget()