Skip to content

Conversation

@mdavis36
Copy link

Adding support for streaming context resources to work with Chai/Umpire/Camp. Current support added for host devices, cuda devices and asynchronous data migration from GPU to Host.

This new feature is demonstrated in new examples using Chai forall utility.

mdavis36 and others added 30 commits September 25, 2019 11:30
Conflicts:
	src/tpl/umpire
	tests/unit/CMakeLists.txt
…CHAI into feature/device-context-integration

Conflicts:
	examples/context.cpp
…CHAI into feature/device-context-integration

camp::resources::Resource* res;
if (space == chai::CPU){
res = record->m_last_resource;
Copy link
Member

Choose a reason for hiding this comment

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

It seems weird that we might ignore the resource passed in.

@@ -830,7 +830,9 @@ GPU_TEST(ManagedArray, PodTestGPU)

TEST(ManagedArray, ExternalConstructorUnowned)
Copy link
Member

Choose a reason for hiding this comment

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

@davidbeckingsale, @mdavis36, I can't get this test to pass.

Copy link
Member

Choose a reason for hiding this comment

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

It also seems that using pinned memory for the CPU space conflicts with the ability to construct using a simple malloc'ed pointer (say from a 3rd party library).

@mdavis36 mdavis36 closed this Oct 9, 2025
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.

6 participants