Skip to main content

All Questions

Filter by
Sorted by
Tagged with
-1 votes
1 answer
59 views

Multi Processing vs Multi Threading and Hyper-Threading

What is the difference between thread and process? Threads can use multi core and process use multi core too. Threads shares same memory but process cant share. What if we use shared memory for multi-...
murathanklc's user avatar
0 votes
0 answers
489 views

Local Memory vs Global Memory

Just for clarity. Does Local Memory refer to the memory allocated to a certain program? And does the Global memory refer the the Main memory? I am reading about Uniform Memory Access time and Non ...
Sibulele's user avatar
  • 370
2 votes
0 answers
509 views

Control threads inside oneAPI/MKL/BLAS/cblas_dgemm(and cblas_daxpy) for different multi-threaded schemes

I'm measuring the time-performance of multiple multi-threaded schemes nested with BLAS functions. More specifically, the following calls: cblas_dgemm(CblasColMajor, CblasTrans, CblasNoTrans, phr, phr,...
Oliari's user avatar
  • 51
1 vote
1 answer
726 views

Is Simultaneous Multithreading (Hyperthreading) "true" multicore processing?

So what I am aware of is that Simultaneous Multithreading (Intel's Hyperthreading for example) enables a single CPU core to efficiently manage several threads at once. And most explainations I find is ...
Kaptain's user avatar
  • 57
0 votes
1 answer
980 views

How to optimize code for Simultaneous Multithreading?

Currently, I am learning parallel processing using CPU, which is a well-covered topic with plenty of tutorials and books. However, I could not find a single tutorial or resource that talks about ...
Duke Le's user avatar
  • 342
3 votes
1 answer
3k views

Can a hyper-threaded processor core execute two threads at the exact same time?

I'm having a hard time understanding hyper-threading. If the logical core doesn't actually exist, what's the point of using hyper-threading?. The wikipedia article states that: For each processor ...
Trey's user avatar
  • 544
5 votes
1 answer
3k views

Go counts virtual cores, not physical?

I have some Go code I am benchmarking on my Macbook (Intel Core i5 processor with two physical cores). Go's runtime.NumCPU() yields 4, because it counts "virtual cores" I don't know much about ...
domoarigato's user avatar
  • 2,912
2 votes
1 answer
3k views

Hyper-threading, Multi-threading, Multi-processing and Multi-tasking - Theory

I am confused on the different terms as to their actual differences. What are each of them and what do they actually mean? My IT teacher at school gives us one definition the one day, and another the ...
user3241507's user avatar
13 votes
4 answers
9k views

python how to find out whether hyperthreading is enabled

I have Intel i7-2600K quadcore, with hyperthreading enabled on Ubuntu 12.04. I know that I can find out how many cores I have in Python with import multiprocessing; multiprocessing.cpu_count(), but ...
Ray's user avatar
  • 8,463
4 votes
4 answers
4k views

Running simulation with hyperthreading doubles runtime

I use a simulation written in python/numpy/cython. Since i need to average over many simulation runs i use the multiprocessing module to run all the individual simulation runs in batches. At the ...
Mickey Diamant's user avatar