Click here to Skip to main content
15,887,485 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionWin32 Scheduled jobs Pin
Jach Mullan5-Aug-10 11:52
Jach Mullan5-Aug-10 11:52 
AnswerRe: Win32 Scheduled jobs Pin
Yusuf5-Aug-10 12:15
Yusuf5-Aug-10 12:15 
Questionwinsock connect() and how to reduce intial timeout value from, 3 seconds to 1 second or less Pin
Alan Kurlansky5-Aug-10 10:29
Alan Kurlansky5-Aug-10 10:29 
AnswerRe: winsock connect() and how to reduce intial timeout value from, 3 seconds to 1 second or less Pin
Moak5-Aug-10 12:50
Moak5-Aug-10 12:50 
Questioninput message injection on windows logon desktop Pin
linuwin5-Aug-10 3:47
linuwin5-Aug-10 3:47 
QuestionOpenMP concurrency issues Pin
Chesnokov Yuriy5-Aug-10 0:53
professionalChesnokov Yuriy5-Aug-10 0:53 
AnswerRe: OpenMP concurrency issues Pin
Aescleal5-Aug-10 2:21
Aescleal5-Aug-10 2:21 
QuestionOpenMP performance inconsistency on i7 Pin
Chesnokov Yuriy5-Aug-10 0:48
professionalChesnokov Yuriy5-Aug-10 0:48 
I'm running that code on i7 computer with 4 cores and 8 threads

N = 10000;
...
#pragma omp parallel for
for (i = 0; i < N * N; i++)    
    vec3[i] = vec1[i] * vec2[i];
...


Setting number of threads with omp_set_num_threads to 2, 4 and 8 the performance increase compared to omp_set_num_threads(1) is not consistent: x1.4, x1.55, x1.58

Should be we expect the rates to be: x2, x4, x8 instead?
Чесноков

AnswerRe: OpenMP performance inconsistency on i7 Pin
Sauro Viti5-Aug-10 0:58
professionalSauro Viti5-Aug-10 0:58 
GeneralRe: OpenMP performance inconsistency on i7 Pin
Aescleal5-Aug-10 2:14
Aescleal5-Aug-10 2:14 
GeneralRe: OpenMP performance inconsistency on i7 Pin
Sauro Viti5-Aug-10 2:34
professionalSauro Viti5-Aug-10 2:34 
GeneralRe: OpenMP performance inconsistency on i7 Pin
harold aptroot5-Aug-10 13:54
harold aptroot5-Aug-10 13:54 
GeneralRe: OpenMP performance inconsistency on i7 Pin
Aescleal6-Aug-10 6:29
Aescleal6-Aug-10 6:29 
GeneralRe: OpenMP performance inconsistency on i7 Pin
Aescleal6-Aug-10 6:30
Aescleal6-Aug-10 6:30 
AnswerRe: OpenMP performance inconsistency on i7 Pin
Aescleal5-Aug-10 2:12
Aescleal5-Aug-10 2:12 
GeneralRe: OpenMP performance inconsistency on i7 Pin
Chesnokov Yuriy5-Aug-10 3:02
professionalChesnokov Yuriy5-Aug-10 3:02 
GeneralRe: OpenMP performance inconsistency on i7 Pin
Aescleal5-Aug-10 3:11
Aescleal5-Aug-10 3:11 
Questionregisterhotkey function affects other applications when my app is still running Pin
Jayapal Chandran5-Aug-10 0:22
Jayapal Chandran5-Aug-10 0:22 
AnswerRe: registerhotkey function affects other applications when my app is still running Pin
Sauro Viti5-Aug-10 1:01
professionalSauro Viti5-Aug-10 1:01 
GeneralRe: registerhotkey function affects other applications when my app is still running Pin
Jayapal Chandran5-Aug-10 9:35
Jayapal Chandran5-Aug-10 9:35 
AnswerRe: registerhotkey function affects other applications when my app is still running Pin
Sauro Viti5-Aug-10 10:45
professionalSauro Viti5-Aug-10 10:45 
GeneralRe: registerhotkey function affects other applications when my app is still running Pin
Jayapal Chandran5-Aug-10 11:55
Jayapal Chandran5-Aug-10 11:55 
QuestionHow to get the Selected Item from CListControl Pin
Sakhalean4-Aug-10 20:30
Sakhalean4-Aug-10 20:30 
QuestionRe: How to get the Selected Item from CListControl Pin
CPallini4-Aug-10 21:04
mveCPallini4-Aug-10 21:04 
QuestionIs it ok to use uninitialized pointer? Pin
Sameerkumar Namdeo4-Aug-10 18:46
Sameerkumar Namdeo4-Aug-10 18:46 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.