Wondered why some (GPU) code was slow at work this morning. I was literally computing sin and cos a billion times when the argument was actually a constant and I could have done it once for the entire program

· · Web · 2 · 0 · 1

That might not have been the only dumb thing I did today, I think the answer was staring me in the face with something else too

@neglesaks Yeah and trig functions on my GPU were *particularly* slow it seemed

Sign in to participate in the conversation

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!