Skip to content

Commit c39974c

Browse files
committed
[ROCm] Drop remaining duplicate CUDA header includes
1 parent cdcc1a0 commit c39974c

3 files changed

Lines changed: 0 additions & 18 deletions

File tree

internal/internal_types.h

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,6 @@ limitations under the License.
2222
#include "cuda_to_hip.h"
2323
#include "cusparse_compat.h"
2424

25-
// On CUDA, include the standard headers; on HIP, cuda_to_hip.h already included them.
26-
#if !defined(USE_HIP) && !defined(__HIP_PLATFORM_AMD__)
27-
#include <cublas_v2.h>
28-
#include <cusparse.h>
29-
#endif
30-
3125
#include <stdbool.h>
3226
#include <time.h>
3327

src/feasibility_polish.cu

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,6 @@ limitations under the License.
1717
#include "feasibility_polish.h"
1818
#include "utils.h"
1919

20-
// CUDA/HIP headers - cuda_to_hip.h in utils.h handles the mapping
21-
#if !defined(USE_HIP) && !defined(__HIP_PLATFORM_AMD__)
22-
#include <cublas_v2.h>
23-
#include <cuda_runtime.h>
24-
#include <cusparse.h>
25-
#endif
2620
#include <math.h>
2721
#include <stdbool.h>
2822
#include <stdio.h>

src/solver.cu

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,6 @@ limitations under the License.
2222
#include "solver.h"
2323
#include "utils.h"
2424

25-
// CUDA/HIP headers - cuda_to_hip.h in utils.h handles the mapping
26-
#if !defined(USE_HIP) && !defined(__HIP_PLATFORM_AMD__)
27-
#include <cublas_v2.h>
28-
#include <cuda_runtime.h>
29-
#include <cusparse.h>
30-
#endif
3125
#include <math.h>
3226
#include <stdbool.h>
3327
#include <stdio.h>

0 commit comments

Comments
 (0)