Skip to content

Commit af48ec1

Browse files
committed
Fix unintended error on V100.
1 parent 31bbae6 commit af48ec1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CHANGELOG.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Change Log
99

1010
*Fixed*
1111

12-
* Ensure that GPU devices have full unified memory capabilities
12+
* Ensure that GPU devices have concurrent unified memory capabilities
1313
(`#2099 <https://github.com/glotzerlab/hoomd-blue/pull/2099>`__).
1414
* Fix segfault when attaching nlists with meshes
1515
(`#2089 <https://github.com/glotzerlab/hoomd-blue/pull/2089>`__).

hoomd/ExecutionConfiguration.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,7 @@ void ExecutionConfiguration::scanGPUs()
389389
#ifdef __HIP_PLATFORM_NVCC__
390390
int supports_managed_memory = 0;
391391
cudaError_t cuda_error = cudaDeviceGetAttribute(&supports_managed_memory,
392-
cudaDevAttrPageableMemoryAccess,
392+
cudaDevAttrConcurrentManagedAccess,
393393
dev);
394394
if (cuda_error != cudaSuccess)
395395
{

0 commit comments

Comments
 (0)