Project

General

Profile

Task #3077

Feature #2816: GPU offload / optimization for update&constraits, buffer ops and multi-gpu communication

Feature #2891: PME/PP GPU communications

PME/PP GPU Comms unique pointer deletion causes seg fault when CUDA calls exist in destructor

Added by Alan Gray about 1 month ago. Updated 28 days ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Difficulty:
uncategorized
Close

Description

When the unique pointer used for the PME-PP GPU communications objects are automatically deleted, the code sometimes seg-faults. I originally thought this was only the case when CUDA calls exist in the destructor, but have now also seen it happen even with default destructors. I have reverted to regular pointers for now. This should be investigated further, with unique pointers reinstated.

History

#1 Updated by Alan Gray about 1 month ago

  • Description updated (diff)

#2 Updated by Szilárd Páll 29 days ago

Is this still an issue?

#3 Updated by Alan Gray 29 days ago

Yes, it's still an issue - I've not had time to properly investigate/fix it yet.

#4 Updated by Mark Abraham 28 days ago

I've not seen any issues with such patches

Also available in: Atom PDF