Skip to content

Commit

Permalink
Fixes #638: Dropped native_word_t, which was effectively unused + `…
Browse files Browse the repository at this point in the history
…cuda::warp_size` is now an `int` enum
  • Loading branch information
eyalroz committed Apr 13, 2024
1 parent 0e4db71 commit 2a73f15
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion src/cuda/api/constants.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ namespace cuda {
*
* If nVIDIA comes out with 64-lanes-per-warp GPUs - we'll refactor this.
*/
enum : native_word_t { warp_size = 32 };
enum { warp_size = 32 };

namespace stream {

Expand Down
2 changes: 0 additions & 2 deletions src/cuda/api/types.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -770,8 +770,6 @@ using host_thread_sync_scheduling_policy_t = context::host_thread_sync_schedulin

} // namespace device

using native_word_t = unsigned;

namespace detail_ {

template <typename T, typename U>
Expand Down

0 comments on commit 2a73f15

Please sign in to comment.