![]() |
Shamrock 2025.10.0
Astrophysical Code
|
This file contains the declaration of the USMPtrHolder class. More...
#include "shambase/ptr.hpp"#include "shambackends/DeviceScheduler.hpp"#include <memory>#include <utility>
Include dependency graph for USMPtrHolder.hpp:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Classes | |
| class | sham::USMPtrHolder< target > |
| Class for holding a USM pointer. More... | |
Namespaces | |
| namespace | sham |
| namespace for backends this one is named only sham since shambackends is too long to write | |
Enumerations | |
| enum | sham::USMKindTarget { sham::device , sham::shared , sham::host } |
| Enum listing the different types of USM pointers allocations. More... | |
This file contains the declaration of the USMPtrHolder class.
The USMPtrHolder class is a smart pointer that manages the memory allocated using SYCL unified shared memory (USM). It provides a way to safely allocate, use, and deallocate memory in USM.
Definition in file USMPtrHolder.hpp.