![]() |
OpenPFC
0.1.4
Phase Field Crystal simulation framework
|
Backend-agnostic memory buffer with tag-based dispatch. More...


Go to the source code of this file.
Classes | |
| struct | pfc::core::DataBuffer< backend::CpuTag, T > |
| CPU specialization of DataBuffer. More... | |
Backend-agnostic memory buffer with tag-based dispatch.
DataBuffer provides a unified interface for memory management across different backends (CPU, CUDA, HIP) using template specialization. Each backend is conditionally compiled, ensuring that CPU-only builds work without GPU dependencies.
Key features: