nortega
fa3f2dd2b1
New goal before paralellization
2016-12-22 16:31:24 +01:00
nortega
591ee92971
Cast is unnecessary in C.
2016-12-15 15:16:04 +01:00
nortega
803c6f9e06
`size_t' makes this safeguard unnecessary.
2016-12-14 23:42:20 +01:00
nortega
4390fca3ef
Added comments.
2016-12-14 23:38:22 +01:00
nortega
2629c12f1a
Set goal for v1.0
2016-12-14 22:26:43 +01:00
nortega
af79d206d3
Added entry for v0.6
v0.6
2016-12-14 20:12:46 +01:00
nortega
4b034ce5e3
Print more info about the file writing.
2016-12-14 19:34:50 +01:00
nortega
f146dbf11c
Able to save found primes to a file afterwards.
2016-12-14 19:28:28 +01:00
nortega
656fee720e
Allow user to choose base.
2016-12-14 19:06:33 +01:00
nortega
5e45656e1a
Forgot that from the switch to C.
2016-12-14 17:58:12 +01:00
nortega
c522196d66
Argument parsing!
v0.5
2016-12-14 17:52:52 +01:00
nortega
b5dcadce19
Added new goal for v0.5
2016-12-14 17:31:36 +01:00
nortega
003b94dcdb
Added some more useful docs and stuff.
2016-12-14 16:14:58 +01:00
nortega
fcee95da17
Fixed something from the description
2016-12-14 16:14:37 +01:00
nortega
43620ba2d3
Enable documentation.
2016-12-14 16:08:11 +01:00
nortega
9f1160242a
Removed warning (no longer necessary).
2016-12-14 15:56:28 +01:00
nortega
b414bff9dc
Minor optimization.
2016-12-14 15:55:39 +01:00
nortega
d8c81b172b
Print some fun information at the end.
2016-12-14 15:29:06 +01:00
nortega
c2f0fb0ffd
Defining changes for v0.5
2016-12-14 15:05:24 +01:00
nortega
5bbac132bc
Use size_t, which is better for arrays of very large sizes.
2016-12-14 14:13:32 +01:00
nortega
2a3e97f4bc
Prepare version number so I don't forget later.
2016-12-13 18:09:05 +01:00
nortega
06d5ddb0cc
Fixed problem with the algorithm.
...
If it's equal to half then we want to check if it's divisible, since if
it's half then it is NOT prime.
2016-12-13 18:05:02 +01:00
nortega
a9019291c2
New goal for v0.4
v0.4
2016-12-13 17:51:48 +01:00
nortega
5aa0b333c0
Made a fix, because previously it was not measuring primes.
2016-12-13 16:32:10 +01:00
nortega
3110c74174
Added entry about `restrict' keyword.
2016-12-13 16:12:31 +01:00
nortega
a5ce845c68
`restrict' keyword must be in declaration.
2016-12-13 16:12:03 +01:00
nortega
449fef2994
Add restrict
...
Add restrict for better pointer optimizations. This is not being applied
to `addToList()' because that function we want to thread later on.
2016-12-13 11:26:12 +01:00
nortega
2e9326b5fb
Preparing for v0.4
...
I'm going to be learning OpenCL, after which I will decide whether to
use OpenCL or OpenMP for the development of Indivisible. This mostly
depends on the compatibility of each library with GMP, especially since
I believe GMP already does some of its own threading.
2016-12-12 23:21:22 +01:00
nortega
06cb271dba
Forgot to set that shit to v0.3
2016-12-12 16:20:21 +01:00
nortega
4cbc3fae7d
Cache the right .o files.
2016-12-10 17:43:31 +01:00
nortega
9b4fa96474
Remove TODO list.
2016-12-10 17:41:40 +01:00
nortega
e2aedab3b0
Added new entry.
v0.3
2016-12-10 17:12:58 +01:00
nortega
bc8b48dd29
Updated info for v0.3
2016-12-10 17:12:00 +01:00
nortega
dab78093ab
Deleted macros
2016-12-10 17:11:21 +01:00
nortega
a782bdb57d
Organized TODO.md
2016-12-10 15:31:04 +01:00
nortega
9157d15383
Added goals for v0.3
2016-12-10 15:30:51 +01:00
nortega
f1fd758bfc
Added entry for v0.2.1 (which I had previously forgotten).
2016-12-10 14:54:12 +01:00
nortega
66c0a5d027
Added a TODO list.
2016-12-10 14:54:00 +01:00
nortega
f4ee9872bc
Optimize the algorithm to avoid numbers larger than half.
2016-12-10 14:46:51 +01:00
nortega
8a42e85d04
Better explanation of error.
v0.2.1
2016-12-10 11:51:32 +01:00
nortega
dd38b53e31
Fixed leaks.
2016-12-10 11:20:01 +01:00
nortega
3c8b9922fb
Shorten the long ass `unsigned long long int' to ulli.
2016-12-10 02:20:57 +01:00
nortega
cb9e1648e9
No need to use that macro outside a loop.
2016-12-10 02:09:34 +01:00
nortega
30703314dd
Forgot it for the main loop as well.
2016-12-10 01:15:52 +01:00
nortega
4905391c82
Add more optimizations.
2016-12-10 00:50:23 +01:00
nortega
d757f3a79f
Added section for v0.2
v0.2
2016-12-09 23:26:27 +01:00
nortega
79a9ba11ff
Switch to C, stop using OpenMP, start using GMP.
2016-12-09 23:02:51 +01:00
nortega
05c50652b8
Added GMP as a deps for CI.
2016-12-02 16:35:07 +01:00
nortega
7d6ed15523
We only have to define the universal CXX flags once.
2016-12-02 16:34:12 +01:00
nortega
b66755174f
GMP is a new dependency.
2016-12-02 16:31:12 +01:00