Re: OpenMP and Nim

2017-10-04 Thread mratsim
What kind of advanced usage do you need? You can always resort to the {.emit.} pragma to emit raw OpenMP pragma. Also [QEX](https://github.com/jcosborn/qex/blob/master/src/omp.nim) by jcosborn is probably the one using it the most as he even implemented barriers.

Re: OpenMP and Nim

2017-10-02 Thread perturbation2
I know that @mratsim was able to get it working in [ArrayMancer](https://github.com/mratsim/Arraymancer/) (i.e., see [openmp.nim](https://github.com/mratsim/Arraymancer/blob/dd443279f4dd759d450728c2d84dc700bd9b0c7e/src/arraymancer/backend/openmp.nim)) for some examples, but I'm not sure how

Re: OpenMP and Nim

2017-10-02 Thread mashingan
Check the last post in this thread, [https://forum.nim-lang.org/t/212](https://forum.nim-lang.org/t/212)

OpenMP and Nim

2017-10-01 Thread jzakiya
with OpenMP. I assume it can't, since I haven't seen any documentation saying it can, so I'm wondering are there any plans to allow using OpenMP in Nim to provide true parallel processing?