[mlpack-git] [mlpack/mlpack] Binarize Function + Test (#666)

Keon Kim notifications at github.com
Tue Jun 14 07:25:31 EDT 2016


Turns out omp + pointer is the fastest approach. The code is now updated to use openmp + pointer.

1000 iterations on 1000 by 10000 matrix:
```
binarize_all: 140.256035s             // just iterating through matrix
binarize_all_omp: 120.522770s    // openmp(4 threads)
binarize_all_omp: 31.964506s      // openmp(4 threads) + pointer 
```

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/mlpack/mlpack/pull/666#issuecomment-225853038
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20160614/ad5f9047/attachment.html>


More information about the mlpack-git mailing list