Commit Graph

12 Commits

Author SHA1 Message Date
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