|
|
|
|
|
by gsliepen
3 hours ago
|
|
Hyper-threading is a way to make better use of the execution engines of a CPU core. Some instructions stall (for example, because they need to wait for memory), so you want to run something else in the mean time. Instruction reordering and speculative execution only goes so far. If you have a completely separate thread available that can do some useful work, then you improve the overal efficiency. Note that GPUs basically are hyper-threaded CPUs that not have just 2 or 4 threads per core, but thousands. This approach avoids needing all the complicated out-of-order circuitry, but it only works if you really have thousands of threads, which for a GPU is actually the case. |
|
They were much faster using only real cores.
So maybe my experience is tainted due to the runtimes not being written in a way that they could take advantage of hyperthreading, however I have my doubts it has improved since then, unless the code is aware of being executed in hypethreads and act accordingly.