From 203a547198f6da67a6a1de7ec05c6985d9d04cf2 Mon Sep 17 00:00:00 2001 From: Singapuram Sanjay Srivallabh Date: Thu, 20 Jul 2017 15:26:15 +0530 Subject: Update README Clarify control-flow oddities in control-flow terminology. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 22f490f..6d8609c 100644 --- a/README.md +++ b/README.md @@ -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 -- cgit v1.2.3