diff --git a/src/cuda/api/virtual_memory.hpp b/src/cuda/api/virtual_memory.hpp index 2a8b1246..a5b6d858 100644 --- a/src/cuda/api/virtual_memory.hpp +++ b/src/cuda/api/virtual_memory.hpp @@ -120,7 +120,7 @@ template struct shared_handle_type_helper; template <> struct shared_handle_type_helper { using type = int; }; #if defined(WIN32) || defined(_WIN32) || defined(WIN64) || defined(_WIN64) -template <> struct shared_handle_type_helper { using type = HANDLE; }; +template <> struct shared_handle_type_helper { using type = void *; }; #endif // TODO: What about WIN32_KMT? } // namespace detail_