OpenPFC  0.1.4
Phase Field Crystal simulation framework
Loading...
Searching...
No Matches
pfc::core::backend_traits< BackendTag > Struct Template Reference

Type traits for backend capabilities. More...

Detailed Description

template<typename BackendTag>
struct pfc::core::backend_traits< BackendTag >

Type traits for backend capabilities.

Provides compile-time information about backend capabilities:

  • has_host_access: Can access memory directly from host (operator[])
  • has_device_access: Memory lives on device (GPU)
  • requires_transfer: Requires explicit CPU-GPU transfers
Template Parameters
BackendTagBackend tag to query

The documentation for this struct was generated from the following file: