Skip to content

Commit

Permalink
[release] v0.5.13
Browse files Browse the repository at this point in the history
  • Loading branch information
yuanming-hu committed Apr 18, 2020
1 parent d3a5610 commit c4e5b69
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 13 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ project(taichi)

SET(TI_VERSION_MAJOR 0)
SET(TI_VERSION_MINOR 5)
SET(TI_VERSION_PATCH 12)
SET(TI_VERSION_PATCH 13)

execute_process(
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Advanced features of Taichi include [spatially sparse computing](https://taichi.
## Installation [![Downloads](https://pepy.tech/badge/taichi-nightly)](https://pepy.tech/project/taichi-nightly)

```bash
python3 -m pip install taichi
python3 -m pip install taichi # Latest version: 0.5.13
```
**Supported OS**: Windows, Linux, Mac OS X; **Python**: 3.6, 3.7, 3.8; **Backends**: x64 CPUs, CUDA, Apple Metal.

Expand All @@ -45,8 +45,8 @@ The Taichi project was created by [Yuanming Hu (yuanming-hu)](https://github.com
- [Ye Kuang (k-ye)](https://github.com/k-ye) (Apple Metal backend)
- [彭于斌 (archibate)](https://github.com/archibate) (OpenGL Compute Shader backend)
- [Mingkuan Xu (xumingkuan)](https://github.com/xumingkuan) (IR optimization & standardization)
[KLozes](https://github.com/KLozes) and [Yu Fang (squarefk)](https://github.com/squarefk) have also made notable contributions. [[List of all contributors]](https://github.com/taichi-dev/taichi/graphs/contributors)

[Kenneth Lozes (KLozes)](https://github.com/KLozes) and [Yu Fang (squarefk)](https://github.com/squarefk) have also made notable contributions. [[List of all contributors]](https://github.com/taichi-dev/taichi/graphs/contributors)

We welcome feedback and comments. If you would like to contribute to Taichi, please check out our [Contributor Guidelines](https://taichi.readthedocs.io/en/latest/contributor_guide.html).

Expand Down
1 change: 1 addition & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Changelog
- After v0.5.12: [[Releases]](https://github.com/taichi-dev/taichi/releases)
- (April 11, 2020) v0.5.11 released
- **Automatic differentiation**
- Fix floating-point type-cast gradients (#687) (by **Yuanming Hu**)
Expand Down
2 changes: 1 addition & 1 deletion docs/version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.5.12
0.5.13
9 changes: 3 additions & 6 deletions misc/make_changelog.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def format(c):
return f'{c.summary} (by **{c.author}**)'


print('Notable changes:')
print('Highlights:')

notable_changes = {}
all_changes = []
Expand All @@ -31,15 +31,15 @@ def format(c):
'metal': 'Metal backend',
'opengl': 'OpenGL backend',
'misc': 'Miscellaneous',
'opt': 'Optimization',
'opt': 'IR optimization passes',
'example': 'Examples',
'pypi': 'PyPI package',
'autodiff': 'Automatic differentiation',
'gui': 'GUI',
'llvm': 'LLVM backend (CPU and CUDA)',
'bug': 'Bug fixes',
}

print(f'- (, 2020) v{ver} released')
for i, c in enumerate(commits):
s = format(c)
if s.startswith('[release]'):
Expand Down Expand Up @@ -69,9 +69,6 @@ def format(c):
print(f' - **{details[tag]}**')
for item in notable_changes[tag]:
print(f' - {item}')
print(
f' - [Full log](https://github.com/taichi-dev/taichi/releases/tag/{ver})'
)
print()

print('Full changelog:')
Expand Down
3 changes: 1 addition & 2 deletions taichi/transforms/offload.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -443,8 +443,7 @@ class FixCrossOffloadReferences : public BasicStmtVisitor {
auto op = stmt->operand(index);
if (op == nullptr)
return false;
if (stmt_to_offloaded[stmt] ==
stmt_to_offloaded[op]) // same OffloadedStmt
if (stmt_to_offloaded[stmt] == stmt_to_offloaded[op]) // same OffloadedStmt
return false;
if (advanced_optimization) {
if (op->is<ConstStmt>()) {
Expand Down

0 comments on commit c4e5b69

Please sign in to comment.