commit 1414534fc95a1aec2339b1a2a0ed1498a97e4b63
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Mon Jul 21 22:32:26 2025 +0200

    Avoid including opencl.h from hipcc
    
    On powerpc at least, that brings conflicts with including
    /usr/include/CL/cl_platform.h:
    
    /usr/include/CL/cl_platform.h:385:12: error: unknown type name '__vector'
      385 |    typedef __vector unsigned char     __cl_uchar16;

commit 1c94aab800f78c38c2859f7eb8d43707fed13c69
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Tue Jul 22 15:47:48 2025 +0200

    Cover more OpenCL sections which we don't want to try to compile with hipcc

diff --git a/include/starpu.h b/include/starpu.h
index 32db7abfe0..4bce45e19d 100644
--- a/include/starpu.h
+++ b/include/starpu.h
@@ -42,7 +42,7 @@ typedef INT_PTR intptr_t;
 #include <windows.h>
 #endif
 
-#if defined(STARPU_USE_OPENCL) && !defined(__CUDACC__)
+#if defined(STARPU_USE_OPENCL) && !defined(__CUDACC__) && !defined(__HIPCC__)
 #include <starpu_opencl.h>
 #endif
 
diff --git a/include/starpu_data_interfaces.h b/include/starpu_data_interfaces.h
index aa7039657a..35768b5fb7 100644
--- a/include/starpu_data_interfaces.h
+++ b/include/starpu_data_interfaces.h
@@ -295,7 +295,7 @@ struct starpu_data_copy_methods
 	int (*hip_to_hip_async)(void);
 #endif
 
-#if defined(STARPU_USE_OPENCL) && !defined(__CUDACC__)
+#if defined(STARPU_USE_OPENCL) && !defined(__CUDACC__) && !defined(__HIPCC__)
 	/**
 	   Define how to copy data from the \p src_interface interface on the
 	   \p src_node CPU node to the \p dst_interface interface on the \p
diff --git a/include/starpu_driver.h b/include/starpu_driver.h
index 8d9efe51b4..6bff38ca88 100644
--- a/include/starpu_driver.h
+++ b/include/starpu_driver.h
@@ -18,7 +18,7 @@
 #define __STARPU_DRIVER_H__
 
 #include <starpu_config.h>
-#if defined(STARPU_USE_OPENCL) && !defined(__CUDACC__)
+#if defined(STARPU_USE_OPENCL) && !defined(__CUDACC__) && !defined(__HIPCC__)
 #include <starpu_opencl.h>
 #endif
 
@@ -60,7 +60,7 @@ struct starpu_driver
 		unsigned cpu_id;
 		unsigned cuda_id;
 		unsigned hip_id;
-#if defined(STARPU_USE_OPENCL) && !defined(__CUDACC__)
+#if defined(STARPU_USE_OPENCL) && !defined(__CUDACC__) && !defined(__HIPCC__)
 		cl_device_id opencl_id;
 #endif
 	} id;
