Nicolás A. Ortega
|
8a42e85d04
|
Better explanation of error.
|
2016-12-10 11:51:32 +01:00 |
|
Nicolás A. Ortega
|
dd38b53e31
|
Fixed leaks.
|
2016-12-10 11:20:01 +01:00 |
|
Nicolás A. Ortega
|
3c8b9922fb
|
Shorten the long ass `unsigned long long int' to ulli.
|
2016-12-10 02:20:57 +01:00 |
|
Nicolás A. Ortega
|
cb9e1648e9
|
No need to use that macro outside a loop.
|
2016-12-10 02:09:34 +01:00 |
|
Nicolás A. Ortega
|
30703314dd
|
Forgot it for the main loop as well.
|
2016-12-10 01:15:52 +01:00 |
|
Nicolás A. Ortega
|
4905391c82
|
Add more optimizations.
|
2016-12-10 00:50:23 +01:00 |
|
Nicolás A. Ortega
|
79a9ba11ff
|
Switch to C, stop using OpenMP, start using GMP.
|
2016-12-09 23:02:51 +01:00 |
|
Nicolás A. Ortega
|
6bfab05e37
|
Use lambda function instead.
|
2016-12-01 12:35:15 +01:00 |
|
Nicolás A. Ortega
|
05b6257e44
|
Skip all even numbers since they're all divisible by 2.
|
2016-12-01 12:21:09 +01:00 |
|
Nicolás A. Ortega
|
75b35b3356
|
Fixed seg fault (I think).
|
2016-11-30 21:37:10 +01:00 |
|
Nicolás A. Ortega
|
3bb757dc0d
|
Basic multi-core capabilities.
It's buggy, at some point it gives a segmentation fault at around the
`for(auto i : primes)` part. I think I should add a pragma critical
there.
|
2016-11-30 21:08:44 +01:00 |
|
Nicolás A. Ortega
|
bf2499ac3f
|
Basic prime calculator.
|
2016-11-30 15:15:52 +01:00 |
|
Nicolás A. Ortega
|
669b108c43
|
Initial commit.
|
2016-11-30 14:32:06 +01:00 |
|