Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cuda_managed_memory_resource #7

Closed
wants to merge 6 commits into from
Closed

Conversation

miscco
Copy link
Owner

@miscco miscco commented Apr 2, 2024

Fixes Implement a memory_resource using cudaMallocManaged and cudaFree NVIDIA#1515

Respin of NVIDIA#1556

miscco and others added 6 commits April 2, 2024 14:06
* Add internal `cuda/std/__memory` header to test changes

* Add cstdlib to the publicly exported headers

* Move `exception` and `bad_exception` into their own file

* Move `terminate` into its own file

* Remove `exception_ptr`

* Remove `nested_exception`

* Cleanup `<exception>`

* Move `std::bad_alloc` to its own file

* Move `std::align_val_t` to its own file

* Move `std::nothrow_t` to its own file

* Move `std::{set,get}_new_handler` into its own file

* Move `std::destroying_delete` to its own file

* Move `std::launder` to its own file

* Move internal allocation functions into their own file

* Drop `operator new` related functionality from `<new>` as it is not supported

* Make `stdexcept` usable internally

* Address review comments
)

* Add test support for running clusters

* Only support `cudaLaunchKernelEx` when available

---------

Co-authored-by: Michael Schellenberger Costa <[email protected]>
* Cleanup `<cuda/memory_resource>`

* Unconditionally enable `<cuda/memory_resource>`

* Modularize `<cuda/memory_resource>`

* Add `__different_resource` helper concept

* More cleanup

* Fix `get_property`

* Try test war

* Do not use static constexpr variables in `resource_ref`

* Drop MSVC_2017 support for memory_resource

* change name of test struct

* More tries

* Try to unICE clang

* Drop inclusion for MSVC2017

* Use minimal includes internally

* Use libcu++ config rather than __cccl_config in cuda headers

* Do not rely on transitive includes
Fixes Implement a memory_resource using `cudaMallocManaged` and `cudaFree` NVIDIA#1515
@miscco miscco closed this Apr 2, 2024
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.

3 participants