================
@@ -502,8 +502,7 @@ RValue CodeGenFunction::EmitCUDAKernelCallExpr(const
CUDAKernelCallExpr *E,
ReturnValueSlot ReturnValue,
llvm::CallBase **CallOrInvoke) {
// Emit as a device kernel call if CUDA device code is to be generated.
- // TODO: implement for HIP
- if (!getLangOpts().HIP && getLangOpts().CUDAIsDevice)
+ if (getLangOpts().CUDAIsDevice)
----------------
erichkeane wrote:
This change probably requires that we write a test for HIP, I don't see this
tested.
https://github.com/llvm/llvm-project/pull/175032
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits