Skip to content

Commit

Permalink
remove opengl_backend.py, add comment in mpm99 for ti.opengl
Browse files Browse the repository at this point in the history
  • Loading branch information
archibate committed Feb 26, 2020
1 parent 81c00e6 commit 4a3fa91
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 14 deletions.
2 changes: 1 addition & 1 deletion examples/mpm99.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import taichi as ti
ti.init(arch=ti.cuda) # Try to run on GPU
ti.init(arch=ti.cuda) # Try to run on GPU. Use arch=ti.opengl on old GPUs
quality = 1 # Use a larger value for higher-res simulations
n_particles, n_grid = 9000 * quality ** 2, 128 * quality
dx, inv_dx = 1 / n_grid, float(n_grid)
Expand Down
13 changes: 0 additions & 13 deletions examples/opengl_backend.py

This file was deleted.

0 comments on commit 4a3fa91

Please sign in to comment.