
Parameter: device_exx
Type:      String
Default:   cpu
Category:  Exact Exchange (LCAO)
Availability: basis_type==lcao

Description:
  Selects the LibRI tensor-contraction device for LCAO Kohn-Sham exact
  exchange.
  - cpu: retain CPU contractions, including when device=gpu.
  - gpu: use the experimental GPU backend; requires
    ENABLE_LIBRI_GPU=ON and device=gpu.
  GPU contractions temporarily reject symmetry=1, regardless of
  exx_symmetry_realspace, pending a validated LibRI GPU symmetry fix.
  Use symmetry=0 (time reversal only) or symmetry=-1 (no symmetry).
  Independent LR and RDMFT exchange engines retain CPU contractions.
  LR inherits this selection only when it reuses the Kohn-Sham
  exchange object. For GPU contractions, all MPI ranks on a node must
  see the same allocated GPU list, with at least as many visible GPUs
  as local ranks; per-rank single-GPU masking is unsupported.

