Commit Graph

15 Commits

Author SHA1 Message Date
jpekkila cc9d3f1b9c Found a workaround that gives good inter and intra-node performance. HPC-X MPI implementation does not know how to do p2p comm with pinned arrays (should be 80 GiB/s, measured 10 GiB/s) and internode comm is super slow without pinned arrays (should be 40 GiB/s, measured < 1 GiB/s). Made a proof of concept communicator that pins arrays that are send or received from another node. 2020-04-05 20:15:32 +03:00
jpekkila 88e53dfa21 Added a little program for testing the bandwidths of different MPI comm styles on n nodes and processes 2020-04-05 17:09:57 +03:00
Johannes Pekkila 9b6d927cf1 It might be better to benchmark MPI codes without synchronization because of overhead of timing individual steps 2020-03-31 12:37:54 +02:00
jpekkila 850b37e8c8 Added a switch for generating strong and weak scaling results 2020-03-30 17:56:12 +03:00
jpekkila d4eb3e0d35 Benchmarks are now written into a csv-file 2020-03-30 17:41:42 +03:00
jpekkila af531c1f96 Added a sample for benchmarking 2020-03-30 17:22:41 +03:00
jpekkila 5a898b8e95 mpitest now gives a warning instead of a compilation failure if MPI is not enabled 2020-03-26 15:31:29 +02:00
jpekkila 329a71d299 Added an example how to run the code with MPI 2020-03-26 15:02:55 +02:00
jpekkila 67f2fcc88d Setting inv_dsx etc explicitly is no longer required as they are set to default values in acc/stdlib/stdderiv.h 2020-01-28 18:22:27 +02:00
jpekkila 0ccd4e3dbc Major improvement: uniforms can now be set to default values. The syntax is the same as for setting any other values, f.ex. 'uniform Scalar a = 1; uniform Scalar b = 0.5 * a;'. Undefined uniforms are still allowed, but in this case the user should load a proper value into it during runtime. Default uniform values can be overwritten by calling any of the uniform loader funcions (like acDeviceLoadScalarUniform). Improved also error checking. Now there are explicit warnings if the user tries to load an invalid value into a device constant. 2020-01-28 18:17:31 +02:00
jpekkila fdd829b888 Cleaned up samples and removed old unused stuff. Simplified CMake files. 2020-01-23 20:00:19 +02:00
jpekkila f77ab8a809 Removed unnecessary README and incorrect building instructions for mpitest 2020-01-16 14:49:07 +02:00
jpekkila 65d9274eaa Updated samples to have consistent naming 2020-01-15 16:56:02 +02:00
jpekkila efa95147f3 Renamed exampleproject -> cpptest 2020-01-15 16:25:27 +02:00
jpekkila 23efcb413f Introduced a sample directory and moved all non-library-components from src to there 2020-01-15 16:24:38 +02:00