![]() |
OpenPFC
0.1.4
Phase Field Crystal simulation framework
|
Backend tags for compile-time backend selection. More...

Go to the source code of this file.
Classes | |
| struct | pfc::backend::CpuTag |
| CPU backend tag. More... | |
Backend tags for compile-time backend selection.
This header defines empty struct tags used for template specialization to select different memory and compute backends at compile-time.
CpuTag: CPU backend (always available)CudaTag: CUDA backend (only when OpenPFC_ENABLE_CUDA is defined)HipTag: HIP/ROCm backend (only when OpenPFC_ENABLE_HIP is defined)These tags are used with template specialization to provide backend-specific implementations of data structures and operations with zero runtime overhead.