General C++ Programming (Page 2)

by Zaap
Threading: changing processor count does not change performances
 
Hi, I've been doing some multi-threading in my program. This program essentially iterates over a dataset and for each line computes some stuff. My multi-t...
[8 replies] Last: [quote=Zaap]I think using a for_each in my code will create an excessi... (by TheIdeasMan)
Why is my fft function not working as expected?
 
Trying to take the fft of 2D array along one direction (x for example and not y) so it's a 1D FFT of 2D array. I have done this successfully before using Eigen ...
[9 replies] Last: it makes no difference whether you store your matrix row or column maj... (by jonnin)
Cyclic dependencies - how to deal with them?
 
Hi, I have a class GridCtrl that delegates to GridCtrlHandler but GridCtrlHandler must also be able to call methods on GridCtrl. I cannot have GridCtrl.h ...
[6 replies] Last: Heh, I created a circular dependency issue using modules and Visual St... (by George P)
why use decltype(auto) return type instead of auto?
 
Hi, I have this code namespace detail { template <class F, class Tuple, std::size_t... I> decltype(auto) apply_impl(F&& f, Tuple&& t, std::index_sequence<I....
[3 replies] Last: I swear modern C++ is a minefield Too bad there's no golden idol acr... (by George P)
by Cplusc
MPI Blocking and Non_Blocking Communication
 
I'm currently working on a lattice Boltzmann code (D3Q27) employing MPI for parallelization. I've implemented MPI 3D topology for communication, and my code sni...
[7 replies] Last: @mbozzi thanks for your help. In your algorithm, I assume there's a ... (by Cplusc)
Pages: 12
  Archived months: [feb2024]

Cannot post in this page. To post a new message, go to the first page.