-
Notifications
You must be signed in to change notification settings - Fork 183
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
CUDA exception handling #4095
Merged
Merged
CUDA exception handling #4095
Commits on Jan 15, 2021
-
Configuration menu - View commit details
-
Copy full SHA for e2e7952 - Browse repository at this point
Copy the full SHA e2e7952View commit details -
Configuration menu - View commit details
-
Copy full SHA for 537206d - Browse repository at this point
Copy the full SHA 537206dView commit details -
This header file can only be used in CUDA source files.
Configuration menu - View commit details
-
Copy full SHA for 5b8e575 - Browse repository at this point
Copy the full SHA 5b8e575View commit details -
core: Introduce exception mechanism for CUDA code
Utility CUDA functions now throw a runtime error wrapping the CUDA error message when a primitive CUDA function returns an error code. The LB GPU checking function gpu_init_particle_comm() was rewritten to check the currently selected GPU instead of the one with ID 0. The warning about insufficient compute capability was converted to an error message. The warning about default GPU ID was removed. The Python-specific message was removed. The function now calls std::abort() upon any error since we cannot recover from it in the Python interface (the list of actors cannot be cleared due to a mismatch between `Actor` and `Actors` regarding active actors). The dipolar Barnes-Hut code now exits early upon any CUDA error to avoid undefined behavior in memory allocation on the GPU.
Configuration menu - View commit details
-
Copy full SHA for 11d9489 - Browse repository at this point
Copy the full SHA 11d9489View commit details -
Configuration menu - View commit details
-
Copy full SHA for fe8ddaa - Browse repository at this point
Copy the full SHA fe8ddaaView commit details -
core: Simplify code involving EspressoGpuDevice
Also fix the type of the memory field to avoid integer overflow.
Configuration menu - View commit details
-
Copy full SHA for d8aeff0 - Browse repository at this point
Copy the full SHA d8aeff0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5003b3d - Browse repository at this point
Copy the full SHA 5003b3dView commit details -
Configuration menu - View commit details
-
Copy full SHA for a915aa8 - Browse repository at this point
Copy the full SHA a915aa8View commit details -
core: Improve doxygen documentation
Convert regular comments to doxygen comments where appropriate, document function arguments, remove duplicate doxygen blocks.
Configuration menu - View commit details
-
Copy full SHA for c49f7a6 - Browse repository at this point
Copy the full SHA c49f7a6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9f465c1 - Browse repository at this point
Copy the full SHA 9f465c1View commit details -
python: Fix unnecessary fatal exceptions
`import espressomd` shouldn't fail on a machine without GPU when CUDA is compiled in.
Configuration menu - View commit details
-
Copy full SHA for 655b8b9 - Browse repository at this point
Copy the full SHA 655b8b9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 72ce6e3 - Browse repository at this point
Copy the full SHA 72ce6e3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0262c7f - Browse repository at this point
Copy the full SHA 0262c7fView commit details
Commits on Jan 21, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 51086fd - Browse repository at this point
Copy the full SHA 51086fdView commit details -
Configuration menu - View commit details
-
Copy full SHA for cb298f6 - Browse repository at this point
Copy the full SHA cb298f6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 901c2e7 - Browse repository at this point
Copy the full SHA 901c2e7View commit details
Commits on Jan 22, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 8c814aa - Browse repository at this point
Copy the full SHA 8c814aaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 55ed518 - Browse repository at this point
Copy the full SHA 55ed518View commit details -
Configuration menu - View commit details
-
Copy full SHA for 12f6ea2 - Browse repository at this point
Copy the full SHA 12f6ea2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8c949d0 - Browse repository at this point
Copy the full SHA 8c949d0View commit details
Commits on Jan 25, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 6fb98bd - Browse repository at this point
Copy the full SHA 6fb98bdView commit details
Commits on Jan 29, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 2f17f89 - Browse repository at this point
Copy the full SHA 2f17f89View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.