mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-12-24 13:28:13 +08:00
[Iluvatar][CI] disable compiling cudaLaunch API (#5100)
This commit is contained in:
@@ -717,6 +717,7 @@ inline bool getBoolEnv(char const *name) {
|
||||
|
||||
bool getEnvEnablePDL();
|
||||
|
||||
#ifndef PADDLE_WITH_COREX
|
||||
template <typename KernelFn, typename... Args>
|
||||
inline void launchWithPdlWhenEnabled(KernelFn kernelFn,
|
||||
dim3 grid,
|
||||
@@ -738,3 +739,4 @@ inline void launchWithPdlWhenEnabled(KernelFn kernelFn,
|
||||
|
||||
cudaLaunchKernelEx(&kernelConfig, kernelFn, std::forward<Args>(args)...);
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user