Skip to content

Commit

Permalink
v0.5.1: fix small bug
Browse files Browse the repository at this point in the history
  • Loading branch information
FindDefinition committed Dec 26, 2023
1 parent b380181 commit 20ac6f9
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
# Changelog
## [0.5.1] - 2023-12-26
### Fixed
- fix a small bug in `mp_helper.h`

## [0.5.0] - 2023-11-15
### Added
Expand Down
2 changes: 1 addition & 1 deletion cumm/tensorview/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,7 @@ def numpy_view(self):

ALL_TV_TENSOR_DTYPES = set([
bool_, float16, float32, float64, int8, int16, int32, int64, uint8, uint16,
uint32, uint64, tf32, custom16, custom32, custom48, custom64, custom80,
uint32, uint64, tf32, bfloat16, custom16, custom32, custom48, custom64, custom80,
custom96, custom128
])

Expand Down
2 changes: 1 addition & 1 deletion include/tensorview/core/mp_helper.h
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,7 @@ template <class L, class F> constexpr F mp_for_each(F &&f) {
#endif

template <class L, class F> TV_HOST_DEVICE_INLINE constexpr F mp_for_each_cuda(F &&f) {
return detail::mp_for_each_impl(mp_rename<L, mp_list>(), std::forward<F>(f));
return detail::mp_for_each_impl_cuda(mp_rename<L, mp_list>(), std::forward<F>(f));
}

template <unsigned N, unsigned... Ns> struct mp_prod_int {
Expand Down
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.5.0
0.5.1

0 comments on commit 20ac6f9

Please sign in to comment.