pytc.solver.isdf_xtc_ccsd._stream_partial_x

pytc.solver.isdf_xtc_ccsd._stream_partial_x(panel_kernel, t2, left_out, left_inner, x_backing, nocc, *, occupied_pair_batch_size, rank_panel_size)[source]

Host-loop rank-panel streaming shared by the left and right X terms.

left_out/left_inner are the small endpoint factors (device- resident); x_backing is the (nmo, nmo, rank) X factor on any backing – a NumPy array (view slicing) or an HDF5 dataset (partial reads) – and only one panel is on the device at a time. Panels are transposed rank-leading (panel, nvir, nvir) on the host before upload; the panel kernels require that layout (see _xstream_left_panel_jit()).