Skip to content
GitLab
Menu
Why GitLab
Pricing
Contact Sales
Explore
Why GitLab
Pricing
Contact Sales
Explore
Sign in
Get free trial
Primary navigation
Search or go to…
Project
GROMACS
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Privacy statement
Keyboard shortcuts
?
What's new
6
Snippets
Groups
Projects
Show more breadcrumbs
GROMACS
GROMACS
Commits
5220936b
You need to sign in or sign up before continuing.
Commit
5220936b
authored
7 months ago
by
Paul Bauer
Browse files
Options
Downloads
Patches
Plain Diff
Continue working on fixes
parent
588fc3c6
No related branches found
No related tags found
Loading
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/gromacs/gpu_utils/gpueventsynchronizer_helpers.cpp
+3
-3
3 additions, 3 deletions
src/gromacs/gpu_utils/gpueventsynchronizer_helpers.cpp
with
3 additions
and
3 deletions
src/gromacs/gpu_utils/gpueventsynchronizer_helpers.cpp
+
3
−
3
View file @
5220936b
...
...
@@ -46,7 +46,7 @@
#include
"gromacs/utility/gmxassert.h"
#if GMX_GPU_CUDA
#if GMX_GPU_CUDA
|| GMX_GPU_HIP
// Enable event consumption tracking in debug builds, see #3988.
// In OpenCL and SYCL builds, g_useEventConsumptionCounting is constexpr true.
// NOLINTNEXTLINE(cppcoreguidelines-avoid-non-const-global-variables)
...
...
@@ -60,8 +60,8 @@ namespace gmx::internal
{
void
disableGpuEventConsumptionCounting
()
{
GMX_RELEASE_ASSERT
(
GMX_GPU_CUDA
,
"Can only be called in CUDA builds"
);
#if GMX_GPU_CUDA
GMX_RELEASE_ASSERT
(
GMX_GPU_CUDA
||
GMX_GPU_HIP
,
"Can only be called in CUDA
and HIP
builds"
);
#if GMX_GPU_CUDA
|| GMX_GPU_HIP
/* With threadMPI, we can have a race between different threads setting and reading this flag.
* However, either all ranks call this function or no one does,
* so the expected value is the same for all threads,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment