mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-23 09:57:08 +03:00
The threaded tests for inc_and_test, dec_and_test, and sub_and_test were not "passing" reliably for the "not_atomic" variants. This updates these tests (atomic and non-atomic) to increase concurrency of the operations by having each thread execute the operation 100 times each rather than just once. For the sake of test time, it creates new args for the threaded versions to keep iterations reasonable. JIRA NVGPU-3954 Change-Id: I1fe2baa73ed1b9d4a8e13c97656411329b141db0 Signed-off-by: Philip Elcan <pelcan@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2189347 Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> Reviewed-by: Nicolas Benech <nbenech@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Alex Waterman <alexw@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
42 KiB
42 KiB