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  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						a9019291c2 
					 
					
						
						
							
							New goal for v0.4  
						
						 
						
						
						
						
							
  v0.4
 
						
					 
					
						2016-12-13 17:51:48 +01:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						5aa0b333c0 
					 
					
						
						
							
							Made a fix, because previously it was not measuring primes.  
						
						 
						
						
						
						
							
						
					 
					
						2016-12-13 16:32:10 +01:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						3110c74174 
					 
					
						
						
							
							Added entry about `restrict' keyword.  
						
						 
						
						
						
						
							
						
					 
					
						2016-12-13 16:12:31 +01:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						a5ce845c68 
					 
					
						
						
							
							`restrict' keyword must be in declaration.  
						
						 
						
						
						
						
							
						
					 
					
						2016-12-13 16:12:03 +01:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						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  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						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  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						06cb271dba 
					 
					
						
						
							
							Forgot to set that shit to v0.3  
						
						 
						
						
						
						
							
						
					 
					
						2016-12-12 16:20:21 +01:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						4cbc3fae7d 
					 
					
						
						
							
							Cache the right .o files.  
						
						 
						
						
						
						
							
						
					 
					
						2016-12-10 17:43:31 +01:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						9b4fa96474 
					 
					
						
						
							
							Remove TODO list.  
						
						 
						
						
						
						
							
						
					 
					
						2016-12-10 17:41:40 +01:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						e2aedab3b0 
					 
					
						
						
							
							Added new entry.  
						
						 
						
						
						
						
							
  v0.3
 
						
					 
					
						2016-12-10 17:12:58 +01:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						bc8b48dd29 
					 
					
						
						
							
							Updated info for v0.3  
						
						 
						
						
						
						
							
						
					 
					
						2016-12-10 17:12:00 +01:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						dab78093ab 
					 
					
						
						
							
							Deleted macros  
						
						 
						
						
						
						
							
						
					 
					
						2016-12-10 17:11:21 +01:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						a782bdb57d 
					 
					
						
						
							
							Organized TODO.md  
						
						 
						
						
						
						
							
						
					 
					
						2016-12-10 15:31:04 +01:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						9157d15383 
					 
					
						
						
							
							Added goals for v0.3  
						
						 
						
						
						
						
							
						
					 
					
						2016-12-10 15:30:51 +01:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						f1fd758bfc 
					 
					
						
						
							
							Added entry for v0.2.1 (which I had previously forgotten).  
						
						 
						
						
						
						
							
						
					 
					
						2016-12-10 14:54:12 +01:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						66c0a5d027 
					 
					
						
						
							
							Added a TODO list.  
						
						 
						
						
						
						
							
						
					 
					
						2016-12-10 14:54:00 +01:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						f4ee9872bc 
					 
					
						
						
							
							Optimize the algorithm to avoid numbers larger than half.  
						
						 
						
						
						
						
							
						
					 
					
						2016-12-10 14:46:51 +01:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						8a42e85d04 
					 
					
						
						
							
							Better explanation of error.  
						
						 
						
						
						
						
							
  v0.2.1
 
						
					 
					
						2016-12-10 11:51:32 +01:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						dd38b53e31 
					 
					
						
						
							
							Fixed leaks.  
						
						 
						
						
						
						
							
						
					 
					
						2016-12-10 11:20:01 +01:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						3c8b9922fb 
					 
					
						
						
							
							Shorten the long ass `unsigned long long int' to ulli.  
						
						 
						
						
						
						
							
						
					 
					
						2016-12-10 02:20:57 +01:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						cb9e1648e9 
					 
					
						
						
							
							No need to use that macro outside a loop.  
						
						 
						
						
						
						
							
						
					 
					
						2016-12-10 02:09:34 +01:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						30703314dd 
					 
					
						
						
							
							Forgot it for the main loop as well.  
						
						 
						
						
						
						
							
						
					 
					
						2016-12-10 01:15:52 +01:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						4905391c82 
					 
					
						
						
							
							Add more optimizations.  
						
						 
						
						
						
						
							
						
					 
					
						2016-12-10 00:50:23 +01:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						d757f3a79f 
					 
					
						
						
							
							Added section for v0.2  
						
						 
						
						
						
						
							
  v0.2
 
						
					 
					
						2016-12-09 23:26:27 +01:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						79a9ba11ff 
					 
					
						
						
							
							Switch to C, stop using OpenMP, start using GMP.  
						
						 
						
						
						
						
							
						
					 
					
						2016-12-09 23:02:51 +01:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						05c50652b8 
					 
					
						
						
							
							Added GMP as a deps for CI.  
						
						 
						
						
						
						
							
						
					 
					
						2016-12-02 16:35:07 +01:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						7d6ed15523 
					 
					
						
						
							
							We only have to define the universal CXX flags once.  
						
						 
						
						
						
						
							
						
					 
					
						2016-12-02 16:34:12 +01:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						b66755174f 
					 
					
						
						
							
							GMP is a new dependency.  
						
						 
						
						
						
						
							
						
					 
					
						2016-12-02 16:31:12 +01:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						04a8d7ddde 
					 
					
						
						
							
							Downgrade to C++11 to support g++4.8  
						
						 
						
						
						
						
							
						
					 
					
						2016-12-02 15:55:29 +01:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						6bfab05e37 
					 
					
						
						
							
							Use lambda function instead.  
						
						 
						
						
						
						
							
						
					 
					
						2016-12-01 12:35:15 +01:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						05b6257e44 
					 
					
						
						
							
							Skip all even numbers since they're all divisible by 2.  
						
						 
						
						
						
						
							
						
					 
					
						2016-12-01 12:21:09 +01:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						1593e57e90 
					 
					
						
						
							
							CMake check for OpenMP  
						
						 
						
						
						
						
							
						
					 
					
						2016-11-30 22:20:46 +01:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						75b35b3356 
					 
					
						
						
							
							Fixed seg fault (I think).  
						
						 
						
						
						
						
							
						
					 
					
						2016-11-30 21:37:10 +01:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						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  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						1032e099a1 
					 
					
						
						
							
							Added Vim swap files to gitignore.  
						
						 
						
						
						
						
							
						
					 
					
						2016-11-30 20:34:06 +01:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						a236f88d12 
					 
					
						
						
							
							Added libgomp to dependencies.  
						
						 
						
						
						
						
							
						
					 
					
						2016-11-30 19:10:00 +01:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						87b96e4ebc 
					 
					
						
						
							
							Added OpenMP to the project.  
						
						 
						
						
						
						
							
						
					 
					
						2016-11-30 19:09:29 +01:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						52aece5481 
					 
					
						
						
							
							Changed the name so GitLab would like it.  
						
						 
						
						
						
						
							
  v0.1
 
						
					 
					
						2016-11-30 18:44:40 +01:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						b0c0718116 
					 
					
						
						
							
							Added a changelog.  
						
						 
						
						
						
						
							
						
					 
					
						2016-11-30 18:43:20 +01:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						d802bad1f6 
					 
					
						
						
							
							Add markdown badge for CI.  
						
						 
						
						
						
						
							
						
					 
					
						2016-11-30 15:19:59 +01:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						05eb78ff8f 
					 
					
						
						
							
							Fixed a few things in the README.md  
						
						 
						
						
						
						
							
						
					 
					
						2016-11-30 15:18:12 +01:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						bf2499ac3f 
					 
					
						
						
							
							Basic prime calculator.  
						
						 
						
						
						
						
							
						
					 
					
						2016-11-30 15:15:52 +01:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						669b108c43 
					 
					
						
						
							
							Initial commit.  
						
						 
						
						
						
						
							
						
					 
					
						2016-11-30 14:32:06 +01:00