diff --git a/include/cudawrappers/cu.hpp b/include/cudawrappers/cu.hpp index 508411a7..18452132 100644 --- a/include/cudawrappers/cu.hpp +++ b/include/cudawrappers/cu.hpp @@ -17,7 +17,7 @@ #include -#ifdef __HIP__ +#if defined(__HIP__) || defined(__HIP_PLATFORM_AMD__) typedef uint32_t cuuint32_t; #endif