Removed circle include
MODIFY
thrust/system/hip/detail/memory.inl
thrust/system/hip/detail/memory.inl
#pragma once
-#include <limits>
#include <thrust/detail/config.h>
#include <thrust/system/hip/detail/malloc_and_free.h>
-#include <thrust/system/hip/memory.h>
+#include <limits>
BEGIN_NS_THRUST
namespace hip_rocprim
@@ -45,5 +44,5 @@ THRUST_HIP_FUNCTION void free(pointer<void> ptr)
return thrust::hip_rocprim::free(hip_tag, ptr.get());
} // end free()
-} // namespace hip_rocprim
-END_NS_THRUST
+} // end hip_rocprim
+} // end thrust

MODIFY
thrust/system/hip/detail/transform.h
thrust/system/hip/detail/transform.h
#if THRUST_DEVICE_COMPILER == THRUST_DEVICE_COMPILER_HCC
#include <thrust/system/hip/config.h>
-// This include is needed to circumvent issue with thrust::pointer
-// not having a value_type member when passing to a rocPRIM function
-#include <thrust/system/hip/pointer.h>
#include <thrust/system/hip/detail/util.h>
#include <thrust/detail/type_traits/result_of_adaptable_function.h>

Removed circle include