Skip to content

DRAFT: Fix Device Direct Buffer Seg Fault - #80

Open
rchen20 wants to merge 1 commit into
developfrom
bugfix/chen59/devicedirectsegfault
Open

DRAFT: Fix Device Direct Buffer Seg Fault#80
rchen20 wants to merge 1 commit into
developfrom
bugfix/chen59/devicedirectsegfault

Conversation

@rchen20

@rchen20 rchen20 commented Aug 1, 2026

Copy link
Copy Markdown
Member

No description provided.

Comment on lines 164 to 166
if(useGpuAwareMPI(plane_data)){
plane_data_ptr = plane_data.getDeviceData(sdom_id);
}

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
if(useGpuAwareMPI(plane_data)){
synchronizeDeviceForMPI();
plane_data_ptr = plane_data.getDeviceData(sdom_id);
}

@rfhaque rfhaque Aug 3, 2026

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rchen20 Need one more device synchronize.
Also would it be a good idea to add a pragma guard around the GPU-aware MPI sections?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants