Skip to content

Commit

Permalink
fix a small bug
Browse files Browse the repository at this point in the history
  • Loading branch information
FindDefinition committed Jun 15, 2023
1 parent 7d7b9b2 commit b816f6f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 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.4.10] - 2023-06-15
### Fixed
- fix a bug in when compile code with arch < sm_75

## [0.4.9] - 2023-04-06
### Added
Expand Down
2 changes: 1 addition & 1 deletion cumm/gemm/arch/memory.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ def run(self):
}}
""")
else:
with code.macro_if_("CUDA_VERSION >= 11040"):
with code.macro_if_("CUDA_VERSION >= 11040 && (__CUDA_ARCH__ >= 750)"):
self._run(code, self.level, self.prefetch_size)
with code.macro_else_():
self._run(code)
Expand Down
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.4.9
0.4.10

0 comments on commit b816f6f

Please sign in to comment.