Skip to content
Prev Previous commit
Next Next commit
test4
  • Loading branch information
YqGe585 committed Dec 18, 2025
commit 3510ef382a887fd90047bddafb3872856bc2fc6c
2 changes: 1 addition & 1 deletion python/setup.py.in
Original file line number Diff line number Diff line change
Expand Up @@ -1579,7 +1579,7 @@ if (
headers += list(find_files('*.h', '@PADDLE_SOURCE_DIR@/paddle/fluid/fp8/deep_gemm/include/cutlass/', recursive=True))
headers += list(find_files('*.hpp', '@PADDLE_SOURCE_DIR@/paddle/fluid/fp8/deep_gemm/include/cutlass/', recursive=True))
headers += list(find_files('*.cuh', '@PADDLE_SOURCE_DIR@/paddle/fluid/fp8/deep_gemm/include/deep_gemm', recursive=True))
if True: # Custom Device
if True:
headers += list(
find_files('*.h', '@PADDLE_SOURCE_DIR@/paddle/phi/backends/cpu')
)
Expand Down
6 changes: 1 addition & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2409,11 +2409,7 @@ def get_headers():
)
)

if (
env_dict.get("WITH_GPU") == 'OFF'
and env_dict.get("WITH_ROCM") == 'OFF'
and env_dict.get("WITH_XPU") == 'OFF'
): # Custom Device
if True:
headers += list(
find_files('*.h', paddle_source_dir + '/paddle/phi/backends/cpu')
)
Expand Down
Loading