algeon-cudf 0.1.2

Safe libcudf execution component for Algeon
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use crate::core::{
    error::{self, Error, FACT_TYPE_ID},
    types::TypeId,
};

pub(super) fn foreign_factorization_row_code_dtype_error(operation: &'static str, actual_type_id: TypeId) -> Error {
    error::foreign_invariant_violation(
        operation,
        "factorization row-code dtype must be Int32",
        "row_codes",
        "unexpected_dtype",
        "ensure the factorization backend emits Int32 row codes",
    )
    .with_fact(FACT_TYPE_ID, actual_type_id)
}