Better HN
topnewbestaskshowjobs
Log inSign up

etdeagle2

3 karma · joined Feb 13, 2020 (6y ago) · 3 submissions

Submissions

comment 2y ago · link · parent

Please do! I would love to read about it. I have been playing with GPU hash tables shared between all the threads using locking (Interlocked.CompareExchange) and such in a Compute Shader. I have been wondering if there are better ways than locking.

comment 6y ago · link · parent

thanks!

comment 6y ago · link · parent

I tried a small C++ program and it does not exhibit this behavior. Why is it not showing there?

program: #include <iostream>

using namespace std;

int main(int argc, char argv) { float s = 165 * 1.40; cout << s << endl; }

output: ./floats 231