Skip to content

Commit

Permalink
Fixes #338: Now using void* instead of HANDLE for the Windows phy…
Browse files Browse the repository at this point in the history
…sical allocation handle.
  • Loading branch information
eyalroz committed Jun 20, 2022
1 parent f8b5625 commit 3383bbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cuda/api/virtual_memory.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ template<kind_t SharedHandleKind> struct shared_handle_type_helper;

template <> struct shared_handle_type_helper<kind_t::posix_file_descriptor> { using type = int; };
#if defined(WIN32) || defined(_WIN32) || defined(WIN64) || defined(_WIN64)
template <> struct shared_handle_type_helper<kind_t::win32_handle> { using type = HANDLE; };
template <> struct shared_handle_type_helper<kind_t::win32_handle> { using type = void *; };
#endif
// TODO: What about WIN32_KMT?
} // namespace detail_
Expand Down

0 comments on commit 3383bbb

Please sign in to comment.