pytc.df.thc._as_fp64_host

pytc.df.thc._as_fp64_host(name, value, ndim)[source]

FP64 as a HOST array – for operands the panel loops only ever slice.

A wholesale device cast of the full 3-index B block costs its entire size on device even though every consumer reads it one aux panel at a time. Kept on the host, each panel slice is uploaded by the jitted kernel that receives it, so peak device cost is one panel.

Parameters:
  • name (str)

  • value (object)

  • ndim (int)