-
Notifications
You must be signed in to change notification settings - Fork 0
PipelineFrame_and_ABI
fujiaze edited this page Aug 4, 2026
·
1 revision
定义统一AstroScalarType { FLOAT32, FLOAT64 }。每个科学数组块必须携带dtype、shape、element_count、byte_size、ownership和alignment。
可使用统一typed view:
struct AstroArrayView {
void* data;
AstroScalarType dtype;
uint64_t element_count;
uint32_t ndim;
uint64_t shape[4];
};模块入口验证dtype与PrecisionContext一致。实现可用模板双实例、F32/F64内核或稳定C ABI dispatch。禁止float输入转double计算、FP64先转float、仅修改HISS dtype或用日志冒充类型传播。