daphne-eu / daphne

DAPHNE: An Open and Extensible System Infrastructure for Integrated Data Analysis Pipelines
Apache License 2.0
67 stars 62 forks source link

[DAPHNE-#852] Kernel Hint Built-In Implementation for Matrix Representation #853

Open StoeckOverflow opened 1 month ago

StoeckOverflow commented 1 month ago

This PR introduces the implementation of a Kernel Hint Built-In to provide matrix representation hints (Dense or Sparse) in DaphneDSL. The primary aim is to enhance matrix computations by allowing the user to specify whether a matrix should be represented in Dense or CSR (Compressed Sparse Row) format.

Key Highlights:

Source Code Modifications:

Tests: Tests for the new matrix representation hints have been added to validate both the Dense and CSR formats. These can be found in the following locations: