Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
Clarify control-flow oddities in control-flow terminology.
  • Loading branch information
singam-sanjay authored Jul 20, 2017
1 parent a4381e1 commit 203a547
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ local a = torch.CudaTensor(1000,1000):uniform()
a:add(1)
```
... the GPU kernel to add 1 will only be scheduled for launch by `a:add(1)`. It might not have completed yet, or
even have reached the GPU, at the time that the `a:add(1)` instructions has completed
even have reached the GPU, at the time that the `a:add(1)` returns
* therefore for running wall-clock timings, you should call `cutorch.synchronize()` before each timecheck
point:
```lua
Expand Down

0 comments on commit 203a547

Please sign in to comment.