Tag Archives: compute
So working on two things at the same time: getting a Linux Mint install to work properly, and finding a good way to debug/profile compute shaders… Decided to try Linux Mint because I ran into a problem with some updates on Ubuntu 14.04… It’s not the first time this happens. I install something on Ubuntu […]
After getting compute shaders working properly yesterday, decided to check some profiling… After some moving code around, got some rudimentary profiling working. In terms of CPU flow, running the compute shader to sum 33 million elements took about 0.2 ms (against 37ms of CPU time)… This looks great, in theory… But the reality is way […]
Started today with compute shaders… The concepts behind them are a bit weird at first, especially the relation between threads and groups, read/write orders, barriers, etc… Anyway, I made some headway and I have a naïve compute shader that sums all elements of an array… Impressive, I know, but it’s a start… Now I can […]