Description Usage Author(s) Examples
This pauses execution until the processing is complete on the device (CPU/GPU/etc.). This is important especially for benchmarking applications.
1 |
Charles Determan Jr.
1 2 3 4 5 6 | ## Not run:
mat <- vclMatrix(rnorm(500^2), ncol = 500, nrow = 500)
system.time(mat %*% mat)
system.time(mat %*% mat; synchronize())
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.