33 Commits (master)
 

Author SHA1 Message Date
mitchellhansen a794671c16 Merge branch 'master' of https://github.com/MitchellHansen/conways-game-of-life-opencl
4 years ago
mitchellhansen f83e5290dd .
4 years ago
Mitchell b8a129e2c4
Update README.md
6 years ago
MitchellHansen 2e2fb9ffd2 small tweaks, addind mouse control and preview of chosen pattern
7 years ago
MitchellHansen fb32b9a0be GUI tweaks and zooming + scrolling
7 years ago
Mitchell cb017cc551 Create README.md
7 years ago
MitchellHansen c7ddfd8ba5 Cleaned up the decoder, weird failbit behaviour from gitline.
7 years ago
MitchellHansen 66ca187f45 structural changes + a repo of a bunch of patterns to choose from
7 years ago
MitchellHansen efc9c34ebe Added ImGUI FPS slider along with an RLE decoder for .rle conways game of life files
7 years ago
MitchellHansen 823f2e78aa Forgot to turn off the FPS limiting, wow this thing is speedy
7 years ago
MitchellHansen 79abf8f924 fixed that dumb bug
7 years ago
Mitchell f81af35884 Update README.md
7 years ago
MitchellHansen 7743321465 Rewrote the entire thing using my new OpenCL template. Makes small one offs like these reallly simple
7 years ago
MitchellHansen 08fd8b2398 Revert
8 years ago
MitchellHansen 7b25b1e845 Damn, broke it
8 years ago
MitchellHansen ed04d13d7b Another roadblock. After one iteration the neighbor count gets corrupted and starts spitting out random negative values.
8 years ago
MitchellHansen 1b379e095e It draws!!
8 years ago
MitchellHansen d8f31d2e81 Oh my, it worked. Clean up time
8 years ago
MitchellHansen 699150de2d Can't for the life of me get this to work. It's real darn good at crashing my computer though. Probably all those waits...
8 years ago
MitchellHansen d93a57cbdf So, it is sharing the textures correctly, it is drawing the OpenGL texture fine. But OpenCL will not touch the thing. CodeXL wont debug it for some reason, and I can't read out from enqueueReadBuffer. I really don't know whats going on here
8 years ago
MitchellHansen d999828bee Aha, found it and fixed
8 years ago
MitchellHansen 15fd83147b Doing some OpenGL to OpenCL trickery here, OpenGL is now drawing but the pixel array isn't displaying right. Probably some alignment of the chars being weird
8 years ago
MitchellHansen 6334e9c848 Trying to find a way to make this as simd friendly as possible. Perhaps a kernel for calucation and then a kernel to "clean" the back buffer
8 years ago
MitchellHansen c5d73bd5fd Removed some of the C'ness, moving stuff into the kernel
8 years ago
MitchellHansen 515c0767a9 Alright, I think thats the best performance I'm gonna get by tweaking the loop. Gonna move the rendering shtuff over to the kernel code
9 years ago
MitchellHansen 5929079075 Still some funky stuff going on off screen, probably because I'm abusing the hell out of the way OpenCL handles out of bounds arrays. But I consider this a rousing success
9 years ago
MitchellHansen e25de1bf46 MY GOD, ITS GLORIOUS
9 years ago
MitchellHansen 88c5cc71e4 IT WORKSSSSSSS!!!!!!!!! performance sucks, but IT WORKS!!!!!
9 years ago
MitchellHansen 5fbc65d9df Hah, well something is happening!!!!
9 years ago
MitchellHansen 6d439eef86 Drawing works now, but OpenCL will only run two cicles before stopping output. Something to do with the buffers, kernel, or the command queue I think
9 years ago
MitchellHansen 7d1cc67143 I thiiiiink that the gpu is computing things correctly now, but I'm having trouble getting data back out of the gpu. More tomorrow
9 years ago
MitchellHansen 5c593695e8 Init
9 years ago
MitchellHansen 73651afb9c Initial commit to add default .gitIgnore and .gitAttribute files.
9 years ago