fabc2daba9
Increase column limit in format
2020-12-16 20:05:39 +01:00
f90d9f6e24
Fix false delete statement
...
should be delete[]
2020-12-16 20:00:34 +01:00
4fdb56faa6
Apply clang-format
2020-12-16 20:00:12 +01:00
db6c5215df
Add formatting tools
2020-12-16 19:59:21 +01:00
a09e50f5ec
Add License
2020-12-16 19:59:10 +01:00
4276d8d9b1
Add gitignore
2020-12-16 19:59:03 +01:00
6d1d360ec0
Correctly handle --threads
param
2020-12-16 19:22:02 +01:00
4c687844d3
More minor code improvements
2020-12-16 19:19:35 +01:00
7bcc724d8e
Improve code readability
...
updated comments and separate function also for OMP/seq
2020-12-16 19:17:07 +01:00
a4d0a5dca8
OpenCL mode is working!
2020-12-16 12:17:58 +01:00
fddb092a56
OpenCL called correctly, but not yet giving result
2020-12-16 11:29:59 +01:00
62ce8f1b06
First draft for OpenCL code
2020-12-16 11:14:47 +01:00
d17e057912
Add OpenMP version + command line parsing
...
Lots of code duplication for this now -- maybe there's a better way to do this
2020-11-26 23:34:21 +01:00
35b728bc4a
Merge branch 'main' of https://github.com/kb173/game-of-life-cpp into main
2020-11-20 12:05:32 +01:00
4e7583e817
Add Harald optimization
...
thanks :D
2020-11-20 12:04:54 +01:00
72a0bdb9e4
Update README with build/run instructions
2020-11-04 16:06:26 +01:00
bb70b3e9b1
Change output to desired format
2020-11-04 16:01:42 +01:00
2ae1a81b6a
Parse command line arguments
2020-10-23 11:22:47 +02:00
75588b85cd
Comments and minor fix
2020-10-21 18:49:03 +02:00
8015d16dac
Macro for number of generations
2020-10-21 18:30:07 +02:00
1ad10e00d1
Add readme
2020-10-21 18:27:49 +02:00
56d89d800a
Remove unnecessary includes
...
These were accidentally included when copying the structure over from another project
2020-10-21 18:27:24 +02:00
0d622d5852
More optimizations
...
Inlined some functions (compiler probably did this anyways)
Use bool array instead of char array (speeds up neighbor calculation)
Manually handle x=0 and x=size_x-1 because this prevents a lot of if-checks
2020-10-21 18:20:30 +02:00
8a48e00d17
Time measurement + basic optimizations
2020-10-21 16:29:49 +02:00
d9f7e6ab5a
Game itself is functional and correct
2020-10-21 15:23:10 +02:00