From 5049825e67d4aaee864971b76dd82521a46b6711 Mon Sep 17 00:00:00 2001 From: Bradley Dice Date: Fri, 15 May 2026 14:49:08 -0500 Subject: [PATCH] Remove CUDA includes from bootstrap sources (#1044) ## Summary - Remove unused headers that pull CUDA into bootstrap-only sources - Keep bootstrap_tests independent of CUDA while compiling bootstrap sources directly ## Validation - git diff --check - checked bootstrap source/header include paths for cuda_runtime_api.h Authors: - Bradley Dice (https://github.com/bdice) Approvers: - Peter Andreas Entschev (https://github.com/pentschev) URL: https://github.com/rapidsai/rapidsmpf/pull/1044 --- cpp/include/rapidsmpf/bootstrap/slurm_backend.hpp | 2 -- cpp/src/bootstrap/bootstrap.cpp | 1 - cpp/src/bootstrap/file_backend.cpp | 1 - 3 files changed, 4 deletions(-) diff --git a/cpp/include/rapidsmpf/bootstrap/slurm_backend.hpp b/cpp/include/rapidsmpf/bootstrap/slurm_backend.hpp index a38f05083..ebeec10c6 100644 --- a/cpp/include/rapidsmpf/bootstrap/slurm_backend.hpp +++ b/cpp/include/rapidsmpf/bootstrap/slurm_backend.hpp @@ -5,8 +5,6 @@ #pragma once -#include - #ifdef RAPIDSMPF_HAVE_SLURM #include diff --git a/cpp/src/bootstrap/bootstrap.cpp b/cpp/src/bootstrap/bootstrap.cpp index e31de52bf..c58bafacc 100644 --- a/cpp/src/bootstrap/bootstrap.cpp +++ b/cpp/src/bootstrap/bootstrap.cpp @@ -11,7 +11,6 @@ #include #include #include -#include #ifdef RAPIDSMPF_HAVE_SLURM #include diff --git a/cpp/src/bootstrap/file_backend.cpp b/cpp/src/bootstrap/file_backend.cpp index 67d9ca2c2..f952313ce 100644 --- a/cpp/src/bootstrap/file_backend.cpp +++ b/cpp/src/bootstrap/file_backend.cpp @@ -22,7 +22,6 @@ #include #include -#include // NOTE: Do not use RAPIDSMPF_EXPECTS or RAPIDSMPF_FAIL in this file. // Using these macros introduces a CUDA dependency via rapidsmpf/error.hpp.