Lines Matching refs:CalleeTarget

98   CUDAFunctionTarget CalleeTarget = IdentifyCUDATarget(Callee);  in IdentifyCUDAPreference()  local
104 if (CallerTarget == CFT_InvalidTarget || CalleeTarget == CFT_InvalidTarget) in IdentifyCUDAPreference()
109 if (CalleeTarget == CFT_Global && 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()
121 if (CalleeTarget == CFT_HostDevice) in IdentifyCUDAPreference()
135 return CalleeTarget == CFT_Device ? CFP_Fallback : QuestionableResult; in IdentifyCUDAPreference()
137 return (CalleeTarget == CFT_Host || CalleeTarget == CFT_Global) 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()
164 CalleeTarget = IdentifyCUDATarget(Callee); in CheckCUDATarget() local
168 if (CallerTarget == CFT_InvalidTarget || CalleeTarget == CFT_InvalidTarget) in CheckCUDATarget()
173 if (CallerTarget == CFT_Host && CalleeTarget == CFT_Device) in CheckCUDATarget()
181 (CalleeTarget == CFT_Host || CalleeTarget == CFT_Global)) in CheckCUDATarget()
188 if (CallerTarget == CFT_HostDevice && CalleeTarget != CFT_HostDevice) { in CheckCUDATarget()
193 if (!InDeviceMode && CalleeTarget != CFT_Host) in CheckCUDATarget()
195 if (InDeviceMode && CalleeTarget != CFT_Device) { in CheckCUDATarget()
198 if (CalleeTarget == CFT_Host && in CheckCUDATarget()