From 4e3cb2a784f0c651208b4f5d29c41e281a1205d5 Mon Sep 17 00:00:00 2001 From: wujiji Date: Tue, 18 Nov 2025 10:20:22 +0800 Subject: [PATCH] [Iluvatar][CI] disable compiling cudaLaunch API --- custom_ops/gpu_ops/helper.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/custom_ops/gpu_ops/helper.h b/custom_ops/gpu_ops/helper.h index b06ec0211eb..9b54c11282d 100644 --- a/custom_ops/gpu_ops/helper.h +++ b/custom_ops/gpu_ops/helper.h @@ -717,6 +717,7 @@ inline bool getBoolEnv(char const *name) { bool getEnvEnablePDL(); +#ifndef PADDLE_WITH_COREX template inline void launchWithPdlWhenEnabled(KernelFn kernelFn, dim3 grid, @@ -738,3 +739,4 @@ inline void launchWithPdlWhenEnabled(KernelFn kernelFn, cudaLaunchKernelEx(&kernelConfig, kernelFn, std::forward(args)...); } +#endif