Skip to content

Commit

Permalink
Merge pull request #162 from marcbone/fix-cpu-option-in-cloth-example
Browse files Browse the repository at this point in the history
Fix cpu option in example cloth_on_rigid
  • Loading branch information
ziyanx02 authored Dec 21, 2024
2 parents 24b79cb + 7f52f40 commit e72e146
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/coupling/cloth_on_rigid.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def main():
args = parser.parse_args()

########################## init ##########################
gs.init(seed=0, precision="32", logging_level="debug")
gs.init(seed=0, precision="32", logging_level="debug", backend=gs.cpu if args.cpu else gs.gpu)

scene = gs.Scene(
sim_options=gs.options.SimOptions(
Expand Down

0 comments on commit e72e146

Please sign in to comment.