-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TestCUDASimulation.AllDeviceIdValues causes test failures on multi-gpu systems #395
Comments
It seems to be linked to having multiple devices available. |
If the test This test runs an empty model on each device, then returns to cuda set device 0. |
Running |
Adding a This is not a true fix however, F2 in general needs to be a bit more device aware (singletons, init, device memory in general). We shouldn't support anyone calling |
Unconfirmed, however it appears to be a case that the singletons/device-reset-detection are getting confused over device switching.
Fix would be to add some level of multi device awareness to singletons/CUDASim |
Make Curve singleton thread-safe and unique per-device Make EnvironmentManager singleton thread-safe and unique per-device Add mutex locks around agent function execution, to prevent environment data getting changed by defragment during before execution). Add nvcc arg --default-stream per-thread to CMake (and then comment it out as it would require far more testing) Fix double inclusion of common.cmake if configuring with an example as root. Modify initialisation of CUDASimulation so that EnvironmentManager is not used before device has been selected. Add tests for multi-threading and multi-device CUDASimulation execution. Adds a reduced set of multi-thread and multi-device tests for RTC. Fix a bug, where rtc_offsets were reset to 0 when EnvironmentManager:defragment() was called. Required for #245 Closes #395
Make Curve singleton thread-safe and unique per-device Make EnvironmentManager singleton thread-safe and unique per-device Add mutex locks around agent function execution, to prevent environment data getting changed by defragment during before execution). Add nvcc arg --default-stream per-thread to CMake (and then comment it out as it would require far more testing) Fix double inclusion of common.cmake if configuring with an example as root. Modify initialisation of CUDASimulation so that EnvironmentManager is not used before device has been selected. Add tests for multi-threading and multi-device CUDASimulation execution. Adds a reduced set of multi-thread and multi-device tests for RTC. Fix a bug, where rtc_offsets were reset to 0 when EnvironmentManager:defragment() was called. Required for #245 Closes #395
Tests haven't been run recently on mavericks. When running with
NO_SEATBELTS
in either configuration 26 tests fail. This is unusual given all test pass for both @ptheywood and I on our local machines. This was discovered on PR #371, however testing has shown the same to apply to master branch.Seemingly in common the tests all make use of environment properties, however I haven't dug into it further than that.
Full list of failing tests:
The text was updated successfully, but these errors were encountered: